/*
Theme Name: Raftario Cabs
Theme URI: http://localhost/raftario-cabs/
Author: Green Cubes
Author URI: http://localhost/raftario-cabs/
Description: Custom theme Raftario Cabs
Version: 1.0
*/

.menu-links ul .current-menu-item>a {
    color: #fcb900;
}

.whatsapp-sticky img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    position: fixed;
    right: 40px;
    bottom: 40px;
    z-index: 20;
}

.navbar-nav a {
    color: white !important;
}



/*.form-input-fields .form-flex .form-field select {*/
/*  width: 100% !important;*/
/*  padding: 15px 55px 15px 12px !important;*/
/*  border: 1px solid #ddd !important;*/
/*  border-radius: 10px !important;*/
/*  outline: none !important;*/
/*  font-size: 18px !important;*/
/*  font-weight: 500 !important;*/
/*}*/



.form-input-fields .form-flex .form-field select {
    width: 100% !important;
    padding: 14px 55px 15px 12px !important;
    border: 1px solid #ddd !important;
    border-radius: 10px !important;
    outline: none !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    appearance: none;
    background-image: none;
    cursor: pointer;
    color: black;
    margin-top: 20px;
}

.form-input-fields .form-flex .form-field select option {
    color: gray !important;
}

.services-content h4 a {
    color: var(--voilet-color);
}

.form-inner .form-flex .form-field i {
    top: 39px
}

.form-input-fields .form-flex .form-field .mapboxgl-ctrl-geocoder {
    width: 100%;
    padding: 15px 55px 15px 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    outline: none;
    font-size: 18px;
    font-weight: 500;
    max-width: 100% !important;
}

.form-input-fields .form-flex .form-field .mapboxgl-ctrl-geocoder input {
    width: 100%;
    padding: 0px;
    border: none;
    border-radius: 10px;
    outline: none;
    font-size: 18px;
    font-weight: 500;
    font-family: inherit !important;
    height: 28px;
}


/*car details page button*/

.main-btn button {
    border: 2px solid var(--yellow-color);
    background-color: var(--yellow-color);
    color: var(--black-color);
    text-align: center;
    letter-spacing: .5px;
    text-transform: none;
    border-radius: 0;
    padding: 14px 22px;
    font-size: 16px;
    transition: all .3s;
    display: inline-block;
}

.otp button {
    border: 2px solid var(--yellow-color);
    background-color: var(--yellow-color);
    color: var(--black-color);
    text-align: center;
    letter-spacing: .5px;
    text-transform: none;
    border-radius: 0;
    padding: 14px 22px;
    font-size: 16px;
    transition: all .3s;
    display: inline-block;
    margin-top: 12px;
}

.otp a {
    border: 2px solid var(--yellow-color);
    background-color: var(--yellow-color);
    color: var(--black-color);
    text-align: center;
    letter-spacing: .5px;
    text-transform: none;
    border-radius: 0;
    padding: 14px 22px;
    font-size: 16px;
    transition: all .3s;
    display: inline-block;
    margin-top: 12px;
}



/*resend otp */
.otp-timer-text {
    font-size: 20px;
    color: red;
    margin-top: 15px;
    font-style: bold;
    transition: opacity 0.3s ease;
}

/* General button styling */
#resend-otp {
    padding: 15px 20px;
    color: #fff;
    border: none;
    cursor: pointer;
    color: #0A0411;
}

/* Disabled state */
#resend-otp:disabled {
    background-color: #999999;
    cursor: not-allowed;
    opacity: 0.6;
}

#resend-my-rides-otp {
    padding: 15px 20px;
    color: #fff;
    border: none;
    cursor: pointer;
    color: #0A0411;
}

/* Disabled state */
#resend-my-rides-otp:disabled {
    background-color: #999999;
    cursor: not-allowed;
    opacity: 0.6;
}





/*ride form date time */
/* Booking form box */
#ride-form {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    text-align: left;
    margin-bottom: 30px;
    max-width: 800px;
}

/* Labels */
#ride-form label {
    font-weight: 600;
    color: #222;
    display: block;
    margin-bottom: 6px;
    font-size: 15px;
}

/* Date and Time Inputs */
#ride_date,
#ride_time {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    outline: none;
    transition: all 0.3s ease;
    background: #f9f9f9;
    margin-bottom: 18px;
}

/* Focus Effect */
#ride_date:focus,
#ride_time:focus {
    border-color: #f6a400;
    /* yellow brand color */
    box-shadow: 0 0 5px rgba(246, 164, 0, 0.5);
    background: #fff;
}

/* Confirm Booking Button */
#ride-form button,
#ride-form input[type="submit"] {
    width: 100%;
    background: var(--yellow-color);
    ;
    /* yellow brand color */
    color: #fff;
    border: none;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#ride-form button:hover,
#ride-form input[type="submit"]:hover {
    background: #d88d00;
    /* darker yellow on hover */
}


/*for button disable*/
#send-otp:disabled {
    background-color: #999999;
    cursor: not-allowed;
    opacity: 0.6;
}

#my-rides-form button:disabled {
    background-color: #999999 !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}


@media screen and (min-width: 640px) {
    .mapboxgl-ctrl-geocoder--icon-search {
        left: 12px !important;
        width: 22px !important;
        height: 52px !important;
    }
}

.mapboxgl-ctrl-geocoder,
.mapboxgl-ctrl {
    position: relative !important;
    overflow: visible !important;
    /*z-index: 9999 !important;*/
}

.mapboxgl-ctrl-geocoder .suggestions {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    background: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    z-index: 99999 !important;
    /* maximum priority */
    max-height: 250px !important;
    overflow-y: auto !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

.mapboxgl-ctrl-geocoder .suggestions li {
    padding: 8px 12px !important;
    cursor: pointer !important;
    font-size: 15px;
}

.mapboxgl-ctrl-geocoder .suggestions li:hover {
    background: #f2f2f2 !important;
}

.suggestions-wrapper .suggestions {
    display: contents !important;

}


.booking-table {
    width: 100%;
    max-width: 800px;
    margin: 30px auto;
    border-collapse: collapse;
    font-family: 'Segoe UI', sans-serif;
    font-size: 15px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    overflow: hidden;
}

.booking-table th,
.booking-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e6e6e6;
    text-align: left;
    vertical-align: middle;
}

.booking-table th {
    background-color: #f5f5f5;
    color: #333;
    width: 200px;
}

.booking-table td {
    background-color: #fff;
}

.booking-table tr:last-child td {
    border-bottom: none;
}

.booking-table strong {
    color: #fcb900;
    font-weight: bold;
}

.booking-details h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #2c3e50;
}

/*form#ride-form {*/
/*  max-width: 600px;*/
/*  margin: 30px auto;*/
/*  background: #f9f9f9;*/
/*  padding: 20px 25px;*/
/*  border-radius: 6px;*/
/*  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);*/
/*}*/

/*form#ride-form label {*/
/*  display: block;*/
/*  margin-bottom: 8px;*/
/*  font-weight: bold;*/
/*  color: #2c3e50;*/
/*}*/

/*form#ride-form input[type="date"],*/
/*form#ride-form input[type="time"] {*/
/*  width: 100%;*/
/*  padding: 8px 12px;*/
/*  margin-bottom: 15px;*/
/*  border: 1px solid #ccc;*/
/*  border-radius: 6px;*/
/*}*/

/*form#ride-form button {*/
/*  width: 100%;*/
/*  padding: 10px;*/
/*  background-color: #fcb900;*/
/*  color: white;*/
/*  border: none;*/
/*  border-radius: 6px;*/
/*  font-size: 16px;*/
/*  cursor: pointer;*/
/*}*/

/*form#ride-form button:hover {*/
/*  background-color: #005f8d;*/
/*}*/


.booking-details.container h2 {
    margin-top: 50px;
}

.btn-home {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: var(--yellow-color);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}






@media screen and (min-width: 640px) {
    .mapboxgl-ctrl-geocoder--icon-close {
        width: 22px !important;
        height: 16px !important;
        margin-top: 15px !important;
        margin-right: 11px !important;
    }
}

.error-message {
    color: red;
    font-size: 0.85em;
    margin-top: 5px;
    display: block;
}

select.error,
input.error {
    border-color: red;
}

.contact-us-form-left .form-inner p {
    margin-bottom: 0px;
}

@media (max-width: 1550px) {
    button.prev-btn {
        margin-left: -10px;
    }

    button.next-btn {
        margin-right: -10px;
    }
}



@media (max-width: 768px) {
    .raftar-hero-main {
        height: 950px;
    }
}

/*mobile buttons*/
@media (max-width: 1150px) {
    .menu-links ul {
        display: flex;
        align-items: center;
        gap: 15px;
        justify-content: center;
    }

    .nav-logo {
        max-width: 230px;
    }

    .booknow-btn a {
        padding: 10px 13px;
        margin: 10px 0;
    }
}

@media (min-width: 991px) {
    .booknow-btn {
        margin-top: 15px;
    }
}

svg.mapboxgl-ctrl-geocoder--icon.mapboxgl-ctrl-geocoder--icon-search {
    display: none;
}


/*car details page */
.car-table {
  width: 100%;
  /* max-width: 500px; */
  border: 1px solid #ddd;
  border-radius: 6px;
  margin: 20px auto;
  background: #FBFBFB;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 12px;
}
.car-row {
  display: block;
  border-bottom: unset;
}
.car-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  font-size: 14px;
  margin-bottom: 6px;
  width: 100%;
  border-bottom: 1px solid #000;
}
.car-info h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  color: #333;
}
.car-info p,
.car-info h4:last-of-type {
  margin: 0;
  font-size: 14px;
  font-weight: normal;
  color: #000;
}
.car-info:nth-last-of-type(2) h4 {
  margin-bottom: 5px;
}
.car-stats {
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-radius: 4px;
  padding: 8px;
  margin-bottom: 6px;
}
.car-stats span {
  font-size: 14px;
  color: #333;
}
.main-btn.price-btn {
  text-align: center;
}
.main-btn.price-btn a,.main-btn.price-btn button {
  display: block;
  width: 100%;
  background: var(--yellow-color);
  color: #000;
  padding: 10px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid #ccc;
  transition: 0.3s;
}
.main-btn.price-btn a:hover,.main-btn.price-btn button:hover {
  background: transparent;
  border: 1px solid var(--yellow-color);
}
.car-info {
  margin-bottom: 15px;
}
.cab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: flex-end;
}
.fare-table-grid{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 70px;
}
.avaiable-cabs-heading h4{
   /* padding-right: 70px; */
   max-width: 120px;
   line-height: 1.6;
}
.car-info span{
    font-size: 22px;
}
.cab-list span {
  border-radius: 6px;
  font-size: 14px;
}
.car-info h4 {
    color: #000;
}

.car-img-2 {
    max-width: 180px;
    margin: 0 auto;
}



/*my ride page */


.page-template-my-rides {
    
    background: #f9f9f9;
}

/* Tabs */
.page-template-my-rides .ride-tabs {
    margin-bottom: 20px;
    text-align: center;
}
.page-template-my-rides .tab-nav {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    border-bottom: 2px solid #ddd;
}
.page-template-my-rides .tab-nav li {
    padding: 10px 20px;
    cursor: pointer;
    background: #f1f1f1;
    margin-right: 5px;
    border: 1px solid #ccc;
    border-bottom: none;
    border-radius: 5px 5px 0 0;
    transition: all 0.3s ease;
}
.page-template-my-rides .tab-nav li.active {
    background: #fff;
    color: #007bff;
    border-color: #007bff #007bff #fff;
}

/* Tab content */
.page-template-my-rides .tab-pane {
    display: none;
}
.page-template-my-rides .tab-pane.active {
    display: block;
}

/* Ride cards */
.page-template-my-rides .car-row {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.page-template-my-rides .car-info {
    display: flex;
    flex: 2;
}

.page-template-my-rides .car-info img {
    width: 100px;
    height: auto;
    margin-right: 15px;
    border-radius: 6px;
    object-fit: cover;
}

.page-template-my-rides .car-details h4 {
    margin: 0 0 6px;
    font-size: 16px;
}

.page-template-my-rides .car-details p {
    margin: 4px 0;
    font-size: 14px;
}

.page-template-my-rides .car-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

.page-template-my-rides .main-btn {
    margin-left: auto;
    margin-top: 10px;
    margin-right: 10px;
}

.page-template-my-rides .main-btn button,
.page-template-my-rides .main-btn span {
    padding: 10px 12px;
    font-size: 14px;
    border-radius: 4px;
    border: none;
    background: #007bff;
    color: white;
    cursor: pointer;
}

.page-template-my-rides .cancel-btn button {
    background: #dc3545;
}

.page-template-my-rides .edit-btn button {
    background: #ffc107;
    color: #000;
}

.page-template-my-rides .cancelled-label span {
    background: #f8d7da;
    color: #721c24;
    padding: 6px 12px;
    border-radius: 4px;
}

/* Cancelled style */
.page-template-my-rides .cancelled-row {
    opacity: 0.6;
    background: #ffe6e6;
}

/* Responsive */
@media (max-width: 1100px){
    .fare-table-grid{
    gap:40px;
    }
}
@media (max-width: 991px){
    .fare-table-grid{
    grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .page-template-my-rides .car-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-template-my-rides .car-stats {
        align-items: flex-start;
        margin-top: 10px;
    }

    .page-template-my-rides .tab-nav {
        flex-direction: column;
        align-items: center;
    }

    .page-template-my-rides .tab-nav li {
        margin-bottom: 5px;
    }
    .fare-table-grid{
    grid-template-columns: repeat(1, 1fr);
    gap:20px
    }
}



.cancelled-row {
    opacity: 0.7;
    background: #ffe6e6;
}
.cancelled-label span {
    font-size: 14px;
}


.modal-footer button{
    background: var(--yellow-color);
}

button.btn.btn-sm.btn-success.ms-2.add-drop {
    width: 10%;
    font-size: 24px;
}

select#modal_round_drop_1 {
    width: 80%;
}
button.btn.btn-sm.btn-danger.ms-1.remove-drop {
    width: 10%;
    font-size: 24px;
}

.form-input-fields .form-flex .form-field textarea{
        width: 100%;
    padding: 15px 55px 15px 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    outline: none;
    font-size: 18px;
    font-weight: 500;
}


.rafbut{
    width: 100% !important;
    padding: 14px 55px 15px 12px !important;
    border: 1px solid #ddd !important;
    border-radius: 10px !important;
    outline: none !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    appearance: none;
    background-image: none;
    cursor: pointer;
    color: black;
    margin-top: 20px;
    background-color: white;
    text-align: left;
}

.cancelpage {
    line-height: 1.6;
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    max-width: 900px;
    margin: auto;
}


.cancelpage h2 {
    font-size: 24px;
    margin-bottom: 10px;
    margin-top: 15px;
    color: #222;
}

.cancelpage h3 {
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 13px;
    color: #444;
}


.cancelpage p {
    margin: 10px 0;
    color: #555;
}


.cancelpage ul {
    margin: 10px 0 10px 20px;
    list-style-type: disc;
}


.cancelpage a {
    color: var(--yellow-color);
    text-decoration: none;
}

.cancelpage a:hover {
    text-decoration: none;
}


@media (max-width: 768px) {
    .cancelpage {
        padding: 20px;
    }

    .cancelpage h2 {
        font-size: 22px;
    }

    .cancelpage h3 {
        font-size: 17px;
    }

    .cancelpage p,
    .cancelpage ul {
        font-size: 15px;
    }
}


@media (max-width: 480px) {
    .cancelpage {
        padding: 15px;
        border-radius: 6px;
    }

    .cancelpage h2 {
        font-size: 20px;
        text-align: center;
        line-height: 1.4;
    }

    .cancelpage h3 {
        font-size: 16px;
    }

    .cancelpage p,
    .cancelpage ul {
        font-size: 14px;
        line-height: 1.5;
    }

    .cancelpage ul {
        margin-left: 15px;
    }
}

@media (max-width: 991px) {
    .cancelpage {
        padding: 22px;
        border-radius: 7px;
                margin-top: 50px;
    }

    .cancelpage h2 {
        font-size: 23px;
    }

    .cancelpage h3 {
        font-size: 17px;
    }

    .cancelpage p,
    .cancelpage ul {
        font-size: 15px;
    }

    .cancelpage ul {
        margin-left: 18px;
    }
}

