input[type="checkbox"] {
  accent-color: #e52c43;
}

#round-trip_mobile:checked {
  border-color: #e52c43 !important;
}

/* Branding Color Fixes - Overriding #1A6982 with #e52c43 */

/* Header Navigation */
.main-menu ul li a.active {
    color: #e52c43 !important;
}
.main-menu ul li a::before {
    background: #e52c43 !important;
}
.main-menu > ul li:hover a {
    color: #e52c43 !important;
}
.main-menu ul li ul.submenu {
    background: #e52c43 !important;
}
.nav-link, a.nav-link {
    color: #232323 !important;
}
/* Booking Tabs */
ul.nav.nav-tabs li a.active,
.nav-tabs .nav-link.active,
.sformlink.active {
    border-bottom: 2px solid #e52c43 !important;
    color: #e52c43 !important;
    font-weight: 500 !important;
    background-color: transparent !important;
}

ul.nav.nav-tabs li {
   font-weight: 500 !important;
}
/* Buttons */
a.btn-booking-start {
    border-color: #e52c43 !important;
    color: #e52c43 !important;
}
a.btn-booking-start:hover {
    background: #e52c43 !important;
    color: #fff !important;
}
.btn-primary {
    background-color: #e52c43 !important;
    border-color: #e52c43 !important;
}
.btn-primary:hover {
    background-color: #c41e33 !important; /* Slightly darker for hover */
    border-color: #c41e33 !important;
}

/* General Brand Color Replacements */
.loader-wrap .pin {
    background: #e52c43 !important;
}
.loader-wrap .pulse::after {
    box-shadow: 0 0 1px 3px #e52c43 !important;
}
#scrollUp {
    background-color: #e52c43 !important;
}
.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
    background: #e52c43 !important;
}
.slick-current .slide-icon {
    background: #e52c43 !important;
}
.slick-prev::before, .slick-next::before {
    background: #e52c43 !important;
}
.cat-icon {
    background-color: #e52c43 !important;
}
.tags li a {
    background-color: #e52c43 !important;
}
.item-content h4:hover a {
    color: #e52c43 !important;
}
.item-feedback li i {
    color: #e52c43 !important;
}
a.btn-wishlist {
    color: #e52c43 !important;
}
a.btn-promo {
    background: #e52c43 !important;
}
.location-tag span {
    background-color: #e52c43 !important;
}
a.call-action-btn {
    background-color: #e52c43 !important;
}
a.call-action-btn:hover {
    background-color: #c41e33 !important;
}
.widget-title::before {
    background: #e52c43 !important;
}
.widget-cats li a:hover {
    color: #e52c43 !important;
}
.footer-section ul li:hover a {
    color: #e52c43 !important;
}
.subscribe-box form button {
    background: #e52c43 !important;
}
.about-us-content-left ul li::before {
    background: #e52c43 !important;
}
a.btn-button {
    background-color: #e52c43 !important;
}
.single-experiance span {
    background: #e52c43 !important;
}
button.btn-search {
    background: #e52c43 !important;
}
.tags-sidebar ul li:hover a::before {
    border: 1px solid #e52c43 !important;
}
.banner-icon {
    background: #e52c43 !important;
}
.feedback-option a:hover, .feedback-option a:hover i {
    color: #e52c43 !important;
}
.all-reviews i {
    color: #e52c43 !important;
}
.social-link-share li a {
    color: #e52c43 !important;
}
.details-nav a:hover {
    color: #e52c43 !important;
}
.menu-item-price li:hover {
    color: #e52c43 !important;
}
.widgets li a:hover {
    color: #e52c43 !important;
}
.btn-submit {
    background-color: #e52c43 !important;
}
.rate-base-layer, .rate-select-layer, .rate-hover-layer {
    color: #e52c43 !important;
}
.contact-form form input:hover, .contact-form form textarea:hover {
    border-color: #e52c43 !important;
}
.contact-form form button {
    background-color: #e52c43 !important;
}
a.btn-loadmore {
    border-color: #e52c43 !important;
}
a.btn-loadmore:hover {
    background-color: #e52c43 !important;
}
.tags ul li:first-child:hover a {
    background: #e52c43 !important;
}
.item-content h4 a:hover, .login-form form a:hover {
    color: #e52c43 !important;
}
.item-meta-data li a {
    color: #e52c43 !important;
}
.single-details-navbar button.navbar-toggler {
    color: #e52c43 !important;
    border-color: #e52c43 !important;
}

/* Scoped or Specific Styles Only */

.search-tab-wrap .submenu {
    padding: 0 !important;
}

/* Pagination styles - kept generic but specific enough */
.page-item.active .page-link {
    background: #e52c43 !important;
    border-color: #e52c43 !important;
}

/* Form specific focus states */
.search-form-box select:focus,
.search-form-box input:focus {
    color: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-color: #e52c43 !important;
}

.internal-links {
    color: black !important;
}

/* Removed global 'a' tag override */

.skip-btn {
    width: 30% !important;
}

/* Removed global .btn-primary overrides to allow new theme to take over */
/* Only keeping specific overrides if strictly necessary for the form, but let's try relying on new theme first */

.payment-methods {
    display: flex !important;
    margin-top: 8px !important;
    max-width: 75% !important;
}

.material-icons {
    color: white !important;
}

/* Removed global button focus override */

.login-now, .register-now {
    display: none;
}

/* Scoped text colors */
.search-form-box .text-primary,
.search-form-box .text-p2 {
    color: #2c314a !important;
}

.booking_step_container {
    margin-bottom: 3dvh;
}

/* Floating Input Styles - Preserved for form */
.floating-bordered-input:hover {
  border: 1px solid #fc731c;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.floating-bordered-input:focus-within {
  border-color: #fc731c;
}
.dtp-actual-year {
    color: white !important;
}
.dtp-btn-ok {
    text-align: center !important;
}
.selected {
    background: #e52c43 !important ;
}
.btn-check:focus+.btn, .btn:focus {
    box-shadow: none !important;
}
.rotate-90 {
  display: inline-block !important;
  transform: rotate(90deg) !important;
  vertical-align: middle;
}

/* Specific inputs in form */
.search-form-box input,
.search-form-box select,
.search-form-box strong {
    color: black !important;
}

.meanmenu-reveal{
    width: 27px !important;
    height: 18px !important;
    padding: 9px 13px 11px !important;
    top: 18px !important;
}
.mobile-startnow{
    display: none;
}
.header-section{
    position: fixed;
    width: 100%;
    z-index: 8;
}

.search-form-mobile{
    position: relative;
    z-index: 20;
}

/* Form Container Styles */
.search-tab-wrap{
    background: #fff;
    border-radius: 8px;
    box-shadow: 0px 0px 4px #6e6e6e;
    padding: 30px 50px;
    width: 100%; /* Changed from fixed 430px to 100% to fit container */
    max-width: 450px; /* Added max-width for sanity */
    margin: auto;
    position: relative;
    float: right !important;
}

.search-tab-wrap > .nav-tabs{
    justify-content: start;
    border-bottom: none !important;
    position: relative;
}
.search-tab-wrap .nav-tabs::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50%;
    height: 2px;
    background: #e52c43;
    transition: left 0.4s ease;
    z-index: 1;
}
.search-tab-wrap .nav-tabs:has(li:last-child .nav-link.active)::after {
    left: 50%;
}

.search-tab-wrap .nav-tabs .nav-link {
    border-bottom: 2px solid transparent !important;
    transition: color 0.3s ease;
    border-radius: 4px;
    padding: 8px 12px !important;
}
.search-tab-wrap .nav-tabs .nav-link.active {
    animation: tabActivePop 0.45s ease forwards;
}
@keyframes tabActivePop {
    0% {
        background-color: rgba(229, 44, 67, 0.2);
    }
    100% {
        background-color: transparent;
    }
}
.search-tab-wrap .tab-content {
    position: relative;
    min-height: 1px;
}
.search-tab-wrap .tab-content .tab-pane.active.show {
    animation: searchTabPaneIn 0.4s ease forwards;
}
@keyframes searchTabPaneIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Removed .hero-container, .search-form-row, .main-hero, .search-section, #map overrides that conflict */
/* Kept #map only if needed, but likely handled by inline styles or new css */
#map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.search-form-box{
    margin-top: 20px !important;
}

/* Removed global html, body overrides */

/* Mobile styles - Cleaned up */
@media (max-width: 768px) {
 
 
     .car-price h4 {
       
        font-weight: 800;
    }
 

p.mt-1.mb-0.text-muted.small.text-start {
    font-size: 13px;
    margin-top: 0px !important;
    padding-top: 0px;
    margin-left: 9px;
}

.px-4.mb-3.col-md-8.mobile-mg-dc {
    background: #fff;
    padding: 21px 29px 30px 27px !important;
    margin-bottom: 0px !important;
}
    .mobile-card-methods .payment-methods {
    
        width: 55% !important;
    }
    .section-title {
    font-size: 23px !important; 
    margin-bottom: 30px !important;
}
    
  .px-3.py-2.bg-white.d-flex.justify-content-between.align-items-center {
    background-color: #fff !important;
}
   
.col-12.col-md-9.col-lg-8.car-section.order-1.order-md-2 {
    padding-top: 15px;
}
    #final-pay-button {
        display: none !important;
    }
    .search-tab-wrap {
        padding-top: 26px !important;
        float: none !important;
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 30px 12px;
        box-shadow: none !important;
    }
    .mb-3.floating-bordered-input.position-relative.rlx-theme {
    padding-top: 5px !important;
}

        .floating-bordered-input.rlx-theme .rlx-select .rlx-arrow {
     left: 314px;
}


    
    h5.mb-2.step-title {
    margin: 0px;
    font-family: Mukta, sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 1.334;
}


    
    .mob-step-dots {
     gap: 7px !important;
        margin-left: 3px !important;
        justify-content: flex-end;
    }
    .px-3.py-2.bg-white.d-flex.justify-content-between.align-items-center h6 {
    margin: 0px;
    font-family: Mukta, sans-serif;
    font-size: 16px;
}
span#expandText {
    font-family: Mukta, sans-serif;
    line-height: 1.5;
    font-size: 1rem;
    color: rgb(0 0 0);
    margin-right: 4px;
}

        #home-text-content h1 {
        text-align: center !important;
        white-space: nowrap !important;
        font-size: 27px;
        font-weight: 500 !important;
    }
    div#map {
    border: 1px solid #c9b3b3 !important;
}
   
   .p-3.mt-3.rounded-lg.shadow-sm.bg-light {
 
    box-shadow: none !important;
}

div#pricing-area-wrapper {
    background: #fff !important;
}

    .floating-bordered-input {
  ;
    padding: 12px 20px 12px 40px !important;
 
}
 /*   .rlx-option {
        margin-left: 15px !important;
    }*/
 
    .summary-value-inline {
        
        color: #373737 !important;
    }
        .mob-step-dot.upcoming {
        border-color: #acacac !important;
        background: #fff !important;
        color: #000000 !important;
    }
    
    .mbs-back {
 
    padding: 10px 0 7px 0;
   
}


    .vehical-card {
        padding: 0.75rem 7px 0.75rem 5px !important;
        position: relative;
    } 
    .skip-btn {
        width: 100% !important;
    }

    /* Mobile Layout Fixes */
    .search-form-mobile {
        background-color: #fff !important;
        display: block !important;
        width: 100% !important;
    }

    .home-banner-section,
    #hero-banner-container {
        margin-top: 0 !important;
        min-height: auto !important;
    }

    #hero-banner-container {
        padding-top: 25px !important;
        padding-bottom: 0px !important;
        height: auto !important;
        margin-left: 23px !important;
        margin-right: 23px !important;
    }
    .side_section {
        margin-bottom: 4.5rem !important;
    }
    .continue-button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 95% !important;
    }
    .sformlink{
        font-size: 16.4px !important;
        font-weight: 300 !important;
    }
    /* Removed .search-tab-wrap overrides that strip styling on mobile */
    .gallary-inner-row .col-12.col-md-6.col-lg-4:nth-child(n+4) {
        display: none;
    }
    .onlyMobile {
        display: block;
    }
    .onlyDesktop {
        display: none;
    }
    /* Removed hero/map mobile overrides */
}

/* Desktop styles - Cleaned up */
@media (min-width: 769px) {
    .car-section {
        padding-bottom: 8% !important;
    }
    .form-check-label{
        font-size: 16px !important;
    }
    /* Removed duplicate search-tab-wrap */
    .onlyMobile {
        display: none;
    }
    .onlyDesktop {
        display: block;
    }
    .gallary-inner-row {
        padding-left: 8px;
        padding-right: 8px;
    }
    #hero-banner-container {
        padding-top: 75px !important;
    }
    /* Removed layout breaking overrides */

    
  


    
}

/* FAQ Section - Scoped just in case */
.faq-section {
  max-width: 800px;
  margin: auto;
  padding: 20px;
  font-family: "Segoe UI", sans-serif;
  margin-top: 20px;
}
/* ... (FAQ styles can stay if used elsewhere, or removed if replaced by new theme) ... */

.rlx-option.selected {
    color: white !important;
}
/* Floating Bordered Input - Essential for form */
.floating-bordered-input {
    position: relative;
    border: 1px solid #C4C4C4;
    border-radius: 4px;
    padding: 12px 40px;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    background: #fff;
    margin-bottom: 1.5rem;
}
.hours-space {
    margin-bottom: 10px !important;
}
.floating-bordered-input .floating-label {
    position: absolute;
    top: -14px;
    left: 7px;
    background: #fff;
    padding: 0 6px;
    font-size: 10px;
    color: #3c3b3b;
    pointer-events: none;
    padding-bottom: 10px !important;
}
.rlx-select .rlx-trigger {
    font-size: 15px;
    min-height: 42px;
    padding-left: 0px !important;
    text-align: left;
    padding-bottom: 10px !important;
}
.floating-bordered-input .form-control {
    border: none !important;
    box-shadow: none !important;
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 12px;
    padding-bottom: 20px;
    margin-top: 10px !important;
    min-height: 46px;
    box-sizing: border-box;
    line-height: 1.45;
}

.floating-bordered-input .input-icon-left,
.floating-bordered-input .input-icon-right {
    position: absolute;
    color: #777;
    font-size: 18px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.floating-bordered-input .input-icon-left {
    left: 12px;
}

.floating-bordered-input .input-icon-right {
    right: 12px;
}

/* Flatpickr Styles - Keep */
.form-control.flatpickr {
  padding-right: 2.5rem;
  background-color: #fff;
  color: #222;
  border: 1px solid #2e2e2e;
  border-radius: 5px;
}
.flatpickr-calendar {
  background: #fff;
  border: 1px solid #e5e5e5;
  color: #222;
  z-index: 10050;
}
.flatpickr-time input {
  background-color: #fff;
  color: #222;
  border-color: #ddd;
}
.flatpickr-day.disabled,
.flatpickr-day.disabled:hover,
.flatpickr-day.notAllowed,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay,
.flatpickr-day.flatpickr-disabled,
.flatpickr-day[aria-disabled="true"] {
  color: #949699 !important;
  opacity: 1 !important;
}

/* Cleaned up remaining overrides */

/* Autocomplete Dropdown Styles */
.location-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 1000;
    border: 1px solid #ddd;
    border-radius: 0 0 4px 4px;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: none; /* Controlled by JS */
}

.suggestion-item {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background-color: #f8f9fa;
}

.suggestion-item i,
.suggestion-item svg {
    color: #6c757d;
    fill: currentColor;
    font-size: 1.1rem;
    width: 1.1rem;
    height: 1.1rem;
}

.suggestion-item .main-text {
    display: block;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.suggestion-item .sub-text {
    display: block;
    font-size: 0.85rem;
    color: #777;
}

/* Fix for Material Datepicker - Compact Mode (No Scroll) */
.dtp > .dtp-content {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;

    width: 300px !important;
    max-width: 95vw;
    max-height: 95vh; /* Changed to 95 to prevent touching screen edges */

    margin: 0 !important; /* Removed 'auto' as translate handles centering */
    overflow: visible !important;
    z-index: 9999; /* Ensures it stays above other elements */
}

/* Shrink Header */
.dtp-header {
    height: auto !important;
    padding: 10px !important;
}
.dtp-header .dtp-actual-day {
    font-size: 1.2em !important;
}
.dtp-header .dtp-actual-year {
    font-size: 1em !important;
    color: rgba(255,255,255,0.8);
}
.dtp div.dtp-date, .dtp div.dtp-time {
    padding: 5px 0 !important;
}

/* Compact Clock Face */
.dtp-picker-clock {
    margin: 10px auto !important;
    padding: 0 !important;
    width: 220px !important; /* Smaller clock */
    height: 220px !important;
}
.dtp-picker-clock .dtp-clock-center {
    width: 10px !important;
    height: 10px !important;
    margin-top: -5px !important;
    margin-left: -5px !important;
}

/* Compact Calendar */
.dtp-picker-calendar table {
    margin-bottom: 5px !important;
}
.dtp-picker-calendar > table > tbody > tr > td {
    padding: 2px !important;
}

/* Ensure buttons are compact and visible */
.dtp .dtp-buttons {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 8px 12px !important;
    margin: 0 !important;
    min-height: 40px;
    gap: 24px;
}
.dtp .dtp-buttons .btn {
    font-size: 0.9em !important;
    padding: 5px 12px !important;
    margin: 0 !important;
    float: none !important;
    width: auto !important;
    flex: 0 0 auto;
    text-align: center;
    margin-left: 23px !important;
}
.nav-tabs .nav-link {
    border: none !important;
}

.inactive-tab {
    color: #232323 !important;
}

/* Force Inactive Tabs to be Black/Gray */
div.search-tab-wrap ul.nav-tabs li.nav-item a.nav-link {
    color: #232323 !important;
}

div.search-tab-wrap ul.nav-tabs li.nav-item a.nav-link.active,
.nav-link.inactive-tab.active {
    color: #e52c43 !important;
    border-bottom-color: transparent !important;
    background-color: transparent !important;
}
div.search-tab-wrap ul.nav-tabs li.nav-item a.nav-link:hover:not(.active) {
    color: #555 !important;
    border-bottom: 2px solid transparent !important;
    background-color: transparent !important;
}
div.search-tab-wrap ul.nav-tabs li.nav-item a.nav-link:focus {
    outline: none;
}
.info-card {
    padding: 26px 26px 36px 33px !important;
}

.benefits-section {
    padding: 27px 36px 27px 33px !important;
}
.passenger-info-container {
    padding: 10px 0px 80px 0px !important;
}
    .col-divider {
        border-left: 1px solid #cbcbcb !important;
    }
    
    .px-4.mb-3.col-md-8.mobile-mg-dc {
    background: #fff;
    padding: 21px 29px 35px 27px !important;
}
.p-3.mt-3.rounded-lg.shadow-sm.bg-light {
    margin-top: 0px !important;
    background: #fff !important;
    padding-bottom: 25px !important;
    padding-top: 25px !important;
}
.rlx-option:hover .rlx-option-icon, .rlx-option[aria-selected="true"] .rlx-option-icon, .rlx-option.selected .rlx-option-icon {
    color: #ffffff !important;
}

 
.col-md-8.payment-for-css {
    background: #fff;
    padding: 25px 28px 45px 25px;
}

.side_section .card {
     padding-left: 28px !important; 
}
    .side_section .card .card-body a.mail_side {
    font-size: 18px;
    }
    
    
    .side_section .card hr {
     background: linear-gradient(90deg, rgb(0 0 0), rgba(255, 108, 0, 0.05)) !important;

}
.side_section .card .card-body .card-title.hassle_free {
    margin-bottom: 7px !important;
}

.side_section .card .card-body .card-title {
    font-size: 20px !important;
}
 
button#final-pay-button {
    border-radius: 4px !important;
}

/*    .rlx-option {
        margin-left: 15px !important;
    }*/
.vehical-card {
    border: 1.5px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    padding: 1rem 55px 0rem 30px;
    margin-bottom: 9PX;
    position: relative;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 4px 2px -3px #80808040;
}




@media (max-width: 850px) {
   .return-item:nth-child(1), .return-item:nth-child(2) {
    flex: 1 1 350px;
    max-width: 112px !important;
}
}

@media (max-width: 1024px) {
   .return-item:nth-child(1), .return-item:nth-child(2) {
    flex: 1 1 350px;
    max-width: 182px !important;
}
}
@media (max-width: 1028px) {
   .return-item:nth-child(1), .return-item:nth-child(2) {
    flex: 1 1 350px;
    max-width: 212px !important;
}
}
@media (max-width: 1198px) {
   .return-item:nth-child(1), .return-item:nth-child(2) {
    flex: 1 1 350px;
    max-width: 212px !important;
}

 

.side_section .card .card-body a.number_side {
  
    font-size: 20px !important;
  
}

.side_section .card .card-body .call_heading {
    font-size: 20px !important;
 
}
.side_section .card .card-body a.mail_side {
    font-size: 16px !important;
}
.side_section .card .card-body .card-text {
     font-size: 16px !important;
 }
 
.side_section .card hr {
     margin: 15px 0 14px 0 !important;
}


.payment-methods {
    display: flex !important;
    margin-top: 8px !important;
    max-width: 100% !important;
    margin-left: 0px !important;
}
}


    @media (max-width: 890px) {
   .return-item:nth-child(1), .return-item:nth-child(2) {
    flex: 1 1 350px;
    max-width: 112px !important;
}
}


    @media (max-width: 990px) {
   .return-item:nth-child(1), .return-item:nth-child(2) {
    flex: 1 1 350px;
    max-width: 112px !important;
}
}

