/* sep-booking-widget-form.css — вынесено из inline <style> компонента view/common/sep-booking-widget-form.php */
.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;
    }

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

    
    .flatpickr-calendar.hasTime.open {
        max-width: 160px;
    }
    .flatpickr-wrapper .form-control[readonly] {
        background-color: #f8f9fa;
    }
    @media (max-width: 767px) {
        .time-format {
            top: 11px;
        }
        .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;
}

.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;
}
.form-cst {
    box-shadow: none;
}
.booking-form .form-group {
    margin-bottom: 15px;
}
.booking-form .formgreyblock {
    padding: 10px 22px 16px;
    margin: 3px 0px 12px;
    border-radius: 8px;
    border: 1px solid #e9e9e9;
}

.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: #f8f9fa;
   cursor: pointer;
}

.custom-pax-widget {
  position: absolute;
  top: 84%;
  width: 100%;
  max-width:300px;
  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;
}

@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: 100%;
    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);
}


.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: 4px; 
}
.cta-primary {
        background: black!important;
    }
@media (max-width:767px) {
    .bookingwidget  {
        padding: 0;
    position: sticky;
    top: 87px;
    border-radius: 0;
    box-sizing: border-box;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
    }
    .newbookingwidget {
        margin-top: 77px;
    }
    .nav-tabs .nav-link {
        display: flex;
        /* flex-direction: column; */
    }
    .tab-title {
        margin: 0px 0 -8px!important;
    }
}

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

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

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

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

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

.nav-tabs .nav-link {
    border: none;
    position: relative;
    transition: color 0.3s ease;
}

.nav-tabs .nav-link.active {
    background: none;
}

.nav-tabs .nav-link.active:after {
    transform: scaleX(1);
}

.btn.cta-primary {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn.cta-primary svg {
    transition: transform 0.3s ease;
}

.btn.cta-primary:hover svg {
    transform: translateX(4px);
}
.booking-form-container {
    overflow: hidden;
}
.booking-form {
    background-color: #fff;
    
}
.booking-form-container {
border-radius: 12px;
}
.nav-tabs {
    border-bottom: none;
}

.nav-tabs .nav-link {
    border: none;
    background: none;
    padding: 0;
}

.nav-tabs .nav-link:hover,
.nav-tabs .nav-link:focus {
    border: none;
    outline: none;
}

.booking-tabs {
    display: flex;
    gap: 57px;
    margin: 0rem;
    padding: 19px 11px;
    background: #efefef;
    justify-content: space-between;
}

.booking-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 1.5rem;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.booking-tab.active {
    opacity: 1;
}

.tab-icon {
    width: 44px;
    height: 44px;
    background: #6b5d4a40;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.booking-tab.active .tab-icon {
    background: #000;
    color: #fff; 
}

.tab-content {
    text-align: left;
}

.tab-title {
    display: block;
    font-weight: 500;
    font-size: 14px;
    color: #000;
    margin: 1px 0 -5px;

}

.tab-subtitle {
    font-size: 10px;
    color: #000;
    margin-top: 7px;
}
.wrapper {
    padding: 23px 30px 10px;
}
.form-control:not([type="text"]) {
}

.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
    isolation: isolate;
}
.tabs-black.booking-tabs {
    background: #1a1919;
}
.tabs-black .booking-tab.active .tab-icon {
    background: #ffffff;
    color: #000000;
}
.tabs-black .tab-title {
    color: #ffffff;
}
.tabs-black .tab-icon {
    background: #cecece;
}
.tabs-black .tab-subtitle {
    color: #e5e5e5;
}
.bookingwidget input {
    background-color: #f8f8f8;
}

@media (max-width: 767px) {
    .booking-tabs {
        gap: 24px;
        padding: 15px 11px 13px;
    }
    .booking-form form {
        padding: 16px 23px;
    }
    .booking-form-container {
        margin: 25px -3px 0;
        overflow: visible;
    }
    #contact textarea.form-control,
    .form-cst textarea.form-control,
    .wrapper textarea.form-control {
        height: auto !important;
        min-height: 120px !important;
        max-height: 300px;
        resize: vertical !important;
        overflow-y: auto !important;
        -webkit-appearance: none;
    }
    .booking-tab {
        gap: 7px;
        padding: 1rem;
    }
    
    .tab-icon {
        width: 40px;
        height: 40px;
    }
    
    .tab-title {
        font-size: 16px;
    }
    
    .tab-subtitle {
        font-size: 10px;
    }
}
.service-toggle-container {
    margin: 20px 0;
    padding: 5px 0;
}

.service-type-toggle {
    position: relative;
    display: flex;
    align-items: center;
}

.service-toggle-input {
    position: absolute;
    opacity: 0;
    height: 0;
    width: 0;
}

.service-toggle-label {
    display: flex;
    flex-direction: column;
    position: relative;
    padding-left: 42px;
    cursor: pointer;
    user-select: none;
    margin-bottom: 0;
}

.service-toggle-label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 28px;
    height: 28px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    transition: all 0.2s ease;
}

.service-toggle-label:after {
    content: '';
    position: absolute;
    left: 8px;
    top: 8px;
    width: 12px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: all 0.2s ease;
}

.service-toggle-input:checked + .service-toggle-label:before {
    background: #000;
    border-color: #000;
}

.service-toggle-input:checked + .service-toggle-label:after {
    opacity: 1;
}

.service-toggle-input:focus + .service-toggle-label:before {
    box-shadow: 0 0 0 3px rgba(0,0,0,0.1);
}

.service-type-name {
    font-weight: 500;
    font-size: 16px;
    color: #333;
    transition: all 0.2s ease;
}

.service-type-description {
    font-size: 12px;
    color: #6E6E6E;
}
#duration-container {
    margin: -13px 0 16px;
}
@media (max-width: 767px) {
    .service-toggle-label {
        padding-left: 36px;
    }
    
    .service-toggle-label:before {
        width: 24px;
        height: 24px;
    }
    
    .service-toggle-label:after {
        left: 7px;
        top: 7px;
        width: 10px;
        height: 10px;
    }
    
    .service-type-name {
        font-size: 15px;
    }
    
    .service-type-description {
        font-size: 11px;
    }
}
