/* booking-widget-home2.css — вынесено из inline <style> компонента view/common/booking-widget-home2.php */
.form-row {
        display: flex;
        flex-wrap: wrap;
        margin: 0px !important;
        padding: 15px 15px;
        border-top: 2px solid #f6f6f6;
    }

    .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #495057!important;
}

.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
    border-color: transparent;
}
    @media (max-width:767px) {
        .form-row {
            margin: 0px !important;
            padding: 17px 15px 0;
            background-color: #ffffff30 !important;
        }
    }


.form-group {
    flex: 1;
    position: relative;
    margin-bottom: 0;
}


.col-3 {
    max-width:100%!important;
}


.date-time-wrapper {
        display: flex;    max-width: 320px;
}

.form-group.col-md-6.col-sm-2 {
    padding-left: 5px;
    padding-right: 5px;
}

.date-time-wrapper .form-group {
    flex: 1;
}
.date-time-wrapper .form-group.col-2 {
    flex: 1;
    width: 100%;
    margin: 0;
    padding-left:5px;
    padding-right:5px;

 }

 

 .date-time-wrapper .form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    background-color: #fff;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

@media (max-width: 767px) {
  
    .date-time-wrapper {
        display: flex;
        flex: 1.5;
        gap: 0px;
        width: 100% !important;
        min-width: 100%;
       }

    .date-time-wrapper .form-group {
        width: 50%;
        padding: 0 5px;
    }

    .form-group.col-3 {
        flex: 2;
        min-width: 0;
    }

    .form-group.col-2,
    .form-group.col-1 {
        flex: 1;
        min-width: 100%;
    }

    .date-time-wrapper .form-group.col-md-6.col-sm-2  {
        padding: 0 5px;
    }

    .form-control {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
     .date-time-wrapper .form-control {
        width: 100%;
    }
}



.swiper-wrapper {
        height: auto;
    }
    .hdpi .pac-icon,
    .pac-icon-marker {
        background-image:none;
        display:none!important;
    }
    .pac-item-query {
        display: flex;
        line-height: 5px!important;
    }
    .datepicker, .timepicker {
        cursor: pointer;
    }
    .flatpickr-calendar {
        z-index: 9999 !important;
    }
    .flatpickr-time {
        z-index: 9999 !important;
    }
    .flatpickr-calendar.hasTime.open {
        max-width: 160px;
    }
    .flatpickr-wrapper .form-control[readonly] {
        background-color: #ffffff;
    }



    @media (max-width: 767px) {
        .flatpickr-calendar, .flatpickr-time {
            width: 100%;
            max-width: fit-content;
        }
        .flatpickr-days {
            width: 100% !important;
        }
        .flatpickr-day {
            max-width: none;
            flex-basis: 14.28% !important;
        }
    }
.choices__list--dropdown .choices__item--selectable {
    font-weight: normal; 
}
.pac-item {
    padding: 13px 8px 0!important;
}
.hdpi.pac-logo:after {
    background-size: 0 0; 
    height: 0;
}
/* .pac-logo {
    display:none!important;
} */
.autocomplete-suggestions {
    border: 1px solid #ccc;
    background: #fff;
    overflow: auto;
    max-height: 200px;
    position: absolute;
    z-index: 1000;
}
.autocomplete-suggestion {
    padding: 10px;
    cursor: pointer;
}
.autocomplete-suggestion:hover {
    background: #f0f0f0;
}

.form-control.passenger-count {
    background-color: #ffffff!important;
    opacity: 1;
    cursor:pointer;
}


.bookingwidget.form-cstnew {
    position: relative;
    margin: 0 auto;
    border: 0px solid #F4F4F4;
    width: 90%;
    max-width: 1360px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2rem 2rem 0.3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

@media (max-width:767px) {
    .bookingwidget.form-cstnew {
        margin: 0;
        padding: 22px 0px 25px 0px;
    }
    .btn:not(:disabled):not(.disabled) {
        width: 100% !important;
        display: block;
        min-width: 100%;
        line-height: 44px;
        margin: 6px 0 0;
    }
    .services-section {
        padding: 0px 0 45px;
    }
    .services-section .section-subtitle {
        font-size: 17px;
    }
}

.nav-link {
    padding: .5rem .8rem;
}
.booking-form ul.nav {
    justify-content: center;
}
.booking-form label {
    margin-bottom: 1px;
    text-align: left;
    width: 100%;
    font-size: 14px;
}
.request-main.newstylebl2 .form-cst {
    padding: 0;
    margin: 0;
    box-shadow: none;
}
.booking-form .form-group {
    margin-bottom: 15px;
}


.custom-pax-trigger {
  position: relative;
}

.checkbox-wrapper {
    padding: 15px 0;
   border-top: 1px solid #eee;
   margin: 12px 0px -10px 5px;
}


.custom-pax-info {
   text-aling:left;
}

#passengers-count {
    width: 100%;
   padding: 12px;
   border: 1px solid #ddd;
   border-radius: 8px;
   font-size: 16px;
   color: #333;
   background: #ffffff;
   cursor: pointer;
}

.custom-pax-widget {
    position: absolute;
    top: 104%;
    background: white;
    border-radius: 5px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 15px;
    display: none;
    z-index: 9999;
    animation: customPaxSlideDown 0.2s ease-out;
    isolation: isolate;
    z-index: 9999;
    width: 100%;
    min-width: 308px;
}


@keyframes customPaxSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.custom-pax-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 5px;
    cursor: pointer;
}


.custom-pax-category {
  font-weight: 500;
  color: #212121;
}

.custom-pax-age {
  font-size: 12px;
  color: #666;
}

.custom-pax-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: default;
}

.custom-pax-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #f5f5f5;
  color: #212121;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 2;
}

.custom-pax-btn:hover {
  background: #e0e0e0;
}

.custom-pax-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.custom-pax-count {
  width: 40px;
  text-align: center;
  font-weight: 500;
}

.custom-pax-nested {
        margin-left: 30px;
    border-left: 2px solid #eee;
    padding-left: 0px;
}

.custom-pax-confirm {
  width: 100%;
  padding: 7px;
  background: #000;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.2s;
  margin-top:13px;
}

.custom-pax-confirm:hover {
  background: #333;
}

@media (max-width: 768px) {
  .custom-pax-widget {
    width: 90%;
    max-width: 350px;
        animation: customPaxSlideUp 0.3s ease-out;
        z-index: 20;
        position: relative;
  }

  .custom-pax-actions {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .custom-pax-btn {
        width: 36px;
        height: 36px; 
        border-radius: 50%;
        background: #f5f5f5;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px; 
        color: #333;
        cursor: pointer;
        padding: 0;
        line-height: 1;
    }

    .custom-pax-count {
        width: 24px;
        text-align: center;
        font-size: 16px;
        font-weight: 400;
        color: #333;
    }

    .custom-pax-nested {
        margin-left: 30px;
    border-left: 2px solid #eee;
    padding-left: 0px;
}
    }

    .custom-pax-row {
        margin-bottom: 0px;
        text-align: start;
    }

    .custom-pax-category {
        font-size: 14px;
        color: #333;
    }

    .custom-pax-age {
        font-size: 12px;
        color: #666;
    }
  
  @keyframes customPaxSlideUp {
    from {
      transform: translateY(100%);
    }
    to {
      transform: translateY(0);
    }
  }



.custom-pax-expand {
    background: none;
    border: none;
    padding: 0;
    margin-left: 5px;
    cursor: pointer;
    color: #666;
}

.expand-icon {
    display: inline-block;
    transition: transform 0.3s;
}

.expand-icon.expanded {
    transform: rotate(180deg);
}

.infant-seat-note {
    font-size: 10px;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}


.custom-pax-widget::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 22px;
    border-style: solid;
    border-width: 4px;
    border-color: #925b5b00 #ffffff00 #ffffff #ffffff00;
}

.custom-pax-widget::after {
    content: '';
    position: absolute;
    top: -4px;
    left: 22px;
    border-style: solid;
    border-width: 4px;
    border-color: transparent transparent #ffffff transparent;
}

.time-picker-widget {
    position: relative;
}

.time-picker-widget::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 6%;
    transform: translateX(-50%);
    border-style: solid;
    border-width: 5px;
    border-color: #ffffff00 transparent #ffffff transparent;
    z-index: 1;
}


.custom-pax-checkbox {
    border-top: 1px solid #eee;
    padding-top: 10px;
    margin-bottom: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    color: #333;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
}


.passenger-align {
   margin-top: 5px;
}

.checkbox-text {
    padding:0px 5px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
}


.time-picker-widget {
    position: absolute;
    top: 104%;
    border-radius: 8px;
    padding: 10px;
    z-index: 11000;
    min-width: 308px;
    right: 3px;
    width: auto;
    max-width: 300px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}


@media (max-width:767px) {
    .time-picker-widget {
        position: absolute;
    top: 104%;
    padding: 10px;
    z-index: 11000;
    min-width: 299px;
    right: 3px;
    width: 100%;
    max-width: 300px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);

    }
}
 
.time-picker-content {
    display: flex;
    flex-direction: row; 
    gap: 6px;
}

.time-header {
    text-align: start;
    margin-bottom: 5px;
    color: #333;
    font-size: 18px;
    margin-left: 3px;
}


.hours-grid, .minutes-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.hours-grid {
    grid-template-columns: repeat(4, 1fr); 
    display: grid;
    gap: 5px;
}

.hour-cell, .minute-cell {
    padding: 5px;
    text-align: center;
    border: 1px solid #e9e9e9;
    border-radius: 3px;
    font-size: 13px;
    color: #333;
    background-color: #fff;
    cursor: pointer;
    width: 50px;
    height: 30px;
}
.flatpickr-day.selected {
    background: #000000!important;
    border-color: #484848!important;
}
.hour-cell:hover, .minute-cell:hover {
    background-color: #f0f0f0;
}

.hour-cell.selected, .minute-cell.selected {
    border-color: #7d7d7d;
    background: #0f0f0f;
    color: #fff;
}

.time-confirm-btn {
    padding: 6px 0;
    border: none;
    border-radius: 3px;
    background-color: #ededed;
    color: #000000;
    cursor: pointer;
    width: 75%;
    font-size: 14px;
    height: 100%;
}

.minutes-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-confirm-btn {
    margin-top: 10px;
}


.btn.cta-primary.btn:not(:disabled):not(.disabled) {
    background: #ffffff;
    border: 1px solid grey;
}

.icon {
    width: 33px;
    height: 22px;
    margin-bottom: 5px; 
    transition: transform 0.3s ease;
}

button:hover .icon {
    transform: translate(3px, -2px);
}
.cta-primary {
        background: black!important;
    }


.form-control.timepicker {
    background-color: #ffffff;
    opacity: 1;
}

.form-control.duration {
cursor:pointer;
}

.form-group.custom-pax-trigger {
    margin-bottom:0px;
}


.nav-tabs {
    border-bottom: 1px solid #ffffff!important;
}

.nav-item {
    margin-top:5px;
}
.nav-tabs .nav-link {
    font-size: 18px;
}
.durationblock {
    width: 111px;
    max-width: 111px;
}
@media (max-width:767px) {
    .nav-item {
    margin-bottom:5px;
    margin-top:0px;
}
.list-media {
    margin-top: 2rem;
}
.list-media li {
    margin-bottom: 12px;
}
.list-media li .media .media-body {
    font-size: 15px;
}
.hero-main {
    min-height: 670px; 
}
li.badgeblock {
    display: none;
}
.hero-footer {
    bottom: unset;
}
.hero-footer .company-brands li {
    margin-right: 2rem;
}
.booking-tabs {
    gap: 1rem!important;
}
.booking-tab {
    gap: 7px!important;
}
.tab-icon {
    width: 40px!important;
    height: 40px!important;
}
.tab-title { 
    font-size: 17px!important;
}
.tab-subtitle {
    font-size: 10px!important;
}
}


.nav-tabs .nav-link {
    border-bottom: 1px solid #6c757d00!important;
    margin-bottom: 0px;
}

.time-format {
    position: absolute;
    top: 14px;
    color: #495057;
    pointer-events: none;
    z-index: 999999;
    left: unset;
    right: 17px;
    font-size: 14px;
}

.time-input-wrapper {
    position: relative;
}

.time-divider {
    color: #6E6E6E;
    margin: 0px 2px;
    position: relative;
    top: -1px;
    display: none;
}

.btn.cta-primary.w-100:hover {
    /* background: #808080 !important; */
    transform: translateY(-2px);
}


@media (max-width:767px) {
    .time-format {
        position: absolute;
        top: 13.2px;
        color: #495057;
        pointer-events: none;
        z-index: 999999;
        right: 12px;
        font-size: 15px;
    }
}

@media (max-width:767px) {
    input, textarea {
        font-size: 15px !important;
    }

    .form-control {
   font-size:15px;
    }
}

.input-with-icon {
    position: relative;
    width: 100%;
}

.field-icon {
    position: absolute;
    left: 11px;
    top: 24px;
    transform: translateY(-50%);
    color: #6B7280;
    pointer-events: none;
    z-index: 1;
    width: 18px;
}

.input-with-icon .form-control {
    padding-left: 36px;
}

.form-control {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    transition: all 0.2s ease;
}

.form-control:focus {
    background: #FFFFFF;
    border-color: #000000;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}


@media (max-width: 767px) {
    .field-icon {
        left: 9px;
    }
}
