/* Popups styling (match site feel + mockup) */
.modal,
.modal *,
.modal *::before,
.modal *::after {
    box-sizing: border-box;
}

.hidden {
    display: none !important;
}

.modal {
    display: none;
}

.modal.is-open {
    display: block;
}

.modal__overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 34, 68, .4);
    backdrop-filter: blur(4px);
    z-index: 20000;
}

.modal__dialog {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(1100px, calc(100vw - 32px));
    max-height: calc(100vh - 64px);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 56px rgba(17, 34, 68, .25);
    z-index: 20001;
    display: flex;
    flex-direction: column;
    outline: none;
    overflow: hidden;
}

.modal__dialog--small {
    width: min(400px, calc(100vw - 32px));
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #eef6ff;
}

/* ========== CALLBACK MODAL - В СТИЛЕ САЙТА ========== */
.modal__dialog--callback {
    width: min(420px, calc(100vw - 32px));
    border-radius: 16px;
    background: #ffffff;
    /* Убрал градиент фона, оставил белый как на сайте */
    border: none;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.1);
    /* Более мягкая тень */
    overflow: visible;
}

.modal__dialog--callback .modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
}

.callback-content {
    padding: 40px 32px 32px;
}

.callback-title {
    margin: 0 0 8px;
    font-family: Gilroy, sans-serif;
    font-size: 24px;
    font-weight: 800;
    text-align: center;
    color: #111;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.callback-subtitle {
    margin: 0 0 28px;
    font-family: Gilroy, sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    color: #666;
}

/* Фикс для ширины инпутов */
.callback-form *,
.callback-form *::before,
.callback-form *::after {
    box-sizing: border-box;
}

.callback-form .input-group {
    margin-top: 25px;
    /* Чуть больше отступ как в style.css */
    position: relative;
    width: 100%;
}

.callback-form .input-group:first-child {
    margin-top: 0;
}

/* Общие стили инпутов под сайт */
.callback-form input {
    width: 100%;
    padding: 10px 10px 10px 40px;
    border: none;
    border-bottom: 1.5px solid #D1D1D1;
    outline: none;
    background: transparent;
    font-family: Gilroy, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #111;
    border-radius: 0;
    letter-spacing: 0.8px;
    transition: border-color 0.3s ease;
}

.callback-form input:focus {
    border-bottom-color: #2269F2;
}

/* --- Валидация полей: ошибка --- */
.input-error,
.callback-form input.input-error,
.iti input.input-error,
input.input-error {
    border-bottom-color: #e53935 !important;
    animation: shake-field .35s ease;
}
.field-error-hint {
    color: #e53935;
    font-size: 12px;
    font-family: Gilroy, sans-serif;
    font-weight: 500;
    margin: 0 0 0 0;
    letter-spacing: 0.3px;
}
@keyframes shake-field {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-4px); }
    40%, 80% { transform: translateX(4px); }
}
/* Для секции "Задать вопрос" на главной */
.question-form input.input-error,
.question-form textarea.input-error,
.bot__form input.input-error {
    border-bottom-color: #e53935 !important;
    animation: shake-field .35s ease;
}

/* Убрали кастомную стрелку, используем background-image */
.callback-form .select-arrow {
    display: none;
}

.callback-form .select-label-active {
    position: absolute;
    top: -10px;
    left: 40px;
    font-size: 11px;
    /* Как в components.css */
    font-weight: 600;
    color: #7C7C7C;
    /* Цвет лэйбла из components.css */
    opacity: 1;
    pointer-events: none;
    letter-spacing: 0.05em;
}

/* Иконки */
.callback-form .icon {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
}

/* Иконка мессенджера - динамически меняется */
.callback-form #cb-type-icon {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
    opacity: 0.85;
    background-image: url('../img/icons/social/whatsapp.svg');
}

/* Селект мессенджера - стиль как у "Укажите город" */
.callback-form select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    width: 100%;
    padding: 10px 30px 10px 40px;
    border: none;
    border-bottom: 1.5px solid #D1D1D1;
    outline: none;
    background: transparent;
    background-image: url('../img/icons/dropdown2.svg');
    background-repeat: no-repeat;
    background-position: right center;
    font-family: Gilroy, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #111;
    border-radius: 0;
    letter-spacing: 0.8px;
    transition: border-color 0.3s ease;
}

.callback-form select:focus {
    border-bottom-color: #2269F2;
}

/* Стилизация группы телефона */
.phone-group-wrapper {
    display: flex;
    align-items: flex-end;
    /* Выравнивание по низу */
    gap: 15px;
}

.phone-country-select {
    width: 90px;
    flex-shrink: 0;
    position: relative;
    border-bottom: 1.5px solid #D1D1D1;
    transition: border-color 0.3s ease;
}

.phone-country-select select {
    padding: 10px 0;
    width: 100%;
    border: none;
    background: transparent;
    font-family: Gilroy, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #111;
    cursor: pointer;
    /* Убираем стандартные отступы и стрелки */
    appearance: none;
    -webkit-appearance: none;
    padding-right: 0;
    background-image: none;
    /* Убираем стрелку у кодов */
    text-align: center;
    /* Центрируем флаг и код */
}

/* Инпут телефона */
.phone-input-container {
    flex-grow: 1;
    position: relative;
}

/* Синяя иконка телефона */
/* Синяя иконка телефона */
.callback-form .phone-icon {
    /* Используем mask-image для покраски SVG в синий цвет */
    background-color: #2269F2;
    -webkit-mask: url('../img/icons/phone.svg') no-repeat center;
    mask: url('../img/icons/phone.svg') no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
    width: 22px;
    height: 22px;
    opacity: 1;
    left: 0;
    background-image: none;
}

/* Стили для intl-tel-input - растягиваем на всю ширину */
.callback-form .iti {
    width: 100% !important;
    display: block !important;
}

.callback-form .iti__input {
    width: 100% !important;
    padding: 10px 10px 10px 60px !important;
    border: none !important;
    border-bottom: 1.5px solid #D1D1D1 !important;
    outline: none !important;
    background: transparent !important;
    font-family: Gilroy, sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #111 !important;
    border-radius: 0 !important;
    letter-spacing: 0.8px !important;
    transition: border-color 0.3s ease !important;
}

.callback-form .iti__input:focus {
    border-bottom-color: #2269F2 !important;
}

.callback-form .iti__selected-flag {
    padding: 0 0 0 10px !important;
    background: transparent !important;
}

.callback-form .iti__arrow {
    border: none !important;
    width: 0 !important;
    height: 0 !important;
}

.callback-form .iti__country-list {
    max-height: 200px !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.callback-form .btn_send {
    margin-top: 35px;
}

/* Кнопка как на сайте */
.callback-form .btn_send .medium-button {
    width: 100%;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(268.64deg, #4AA8FE 0%, #378AF8 24.01%, #2269F2 100%);
    border-radius: 10px;
    /* Радиус из style.css */
    color: #fff;
    font-family: Gilroy, sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: none;
    /* Убрали тень */
}

.callback-form .btn_send .medium-button:hover {
    background: #2269F2;
    /* Цвет ховера как на сайте */
    transform: none;
    /* Убрали смещение */
    box-shadow: none;
}

.callback-form .btn_send .medium-button.success {
    background: linear-gradient(268.64deg, #0DD74A 0%, #0DC544 24.01%, #0DB13E 100%);
}

.modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #e6eef9;
    background: #f8fafd;
}

.modal__badge {
    display: flex;
    align-items: center;
    gap: 14px;
}

.modal__badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(180deg, #3aa0ff 0%, #2269f2 100%);
    position: relative;
    flex-shrink: 0;
}

.modal__badge-icon::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 24px;
    height: 24px;
    background: url('../img/icons/info.svg') center/24px no-repeat;
}

.modal__title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: #1a2233;
}

.modal__close {
    appearance: none;
    border: 0;
    background: #e6eef9;
    color: #2269f2;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: background-color .2s;
}

.modal__close:hover {
    background: #d9e7f8;
}

.modal__close::before {
    content: "×";
    line-height: 1;
}

.modal__body {
    padding: 18px 20px;
    overflow: auto;
    background: #fff;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.modal__footer {
    padding: 16px 20px 20px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    background: #fff;
    border-top: 1px solid #e6eef9;
}

/* Links inside popups — use brand blue like on site */
.modal__body a {
    color: #1294F6;
    text-decoration: none;
    font-weight: 500;
}

.modal__body a:hover {
    color: #2269F2;
}

.modal__policy-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.modal__policy-list li {
    background: #fff;
    border: 1px solid #e3ecf7;
    border-radius: 10px;
    padding: 14px 16px;
}

.modal__policy-list h4 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    color: #1a2233;
}

.modal__policy-list p {
    margin: 0;
    font-size: 15.5px;
    color: #3d4a5c;
}

.modal__terms-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal__terms-list>li {
    position: relative;
    background: #fff;
    border: 1px solid #e3ecf7;
    border-radius: 10px;
    padding: 12px 14px 12px 42px;
    color: #253046;
    font-size: 15.5px;
    line-height: 1.5;
}

.modal__terms-list>li::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 14px;
    width: 18px;
    height: 18px;
    background: url('../img/icons/mini_info.svg') center/18px 18px no-repeat;
}

/* Buttons behavior in modal: no text shift */
.modal__footer .medium-button {
    width: 234px;
    height: 41px;
    line-height: 41px;
}

.modal__footer .medium-button .text {
    transform: none !important;
}

.modal__footer .medium-button:hover .text {
    transform: none !important;
}

.modal__footer .line-button:hover,
.modal__footer .inv-line-button:hover {
    width: 234px;
}

@media (max-width: 768px) {
    .modal__dialog {
        width: calc(100vw - 20px);
        max-height: calc(100vh - 40px);
        border-radius: 14px;
    }

    .callback-title {
        font-size: calc(14px + 1.2dvw + 1.2dvw);
        line-height: calc(26.5px + 1.2dvw + 1.2dvw);
    }

    .callback-subtitle {
        font-size: 16px;
    }

    .callback-form input,
    .callback-form .selected-city {
        font-size: 18px !important;
    }

    .callback-form .btn_send .medium-button,
    .callback-form #cb-submit-btn {
        height: 60px !important;
        font-size: calc(15px + 1.2dvw) !important;
    }
}

/* Booking modal styles (mockup) */
#modal-booking .modal__body {
    padding: 22px 28px 28px;
}

.booking-grid {
    display: flex;
    gap: 28px;
    align-items: stretch;
}

.booking-left {
    flex: 1;
    min-width: 280px;
}

.booking-right {
    width: 400px;
}

.booking-gallery {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e6eef9;
    position: relative;
}

.booking-route-badge {
    position: absolute;
    top: 18px;
    left: 0;
    background: #f2e622;
    color: #1a2233;
    font-size: 14.5px;
    font-weight: 800;
    padding: 6px 16px 6px 16px;
    border-radius: 0 8px 8px 0;
    z-index: 2;
    text-transform: capitalize;
    letter-spacing: .01em;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
    display: none;
}

.booking__img {
    width: 100%;
    height: auto;
    display: block;
}

.booking__title {
    margin: 12px 0 12px;
    font-size: 32px;
    font-weight: 900;
    color: #1a2233;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.booking__desc {
    color: #4a5568;
    font-size: 15px;
    line-height: 1.65;
    margin: 10px 0 18px;
    font-style: italic;
}

.booking-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 8px;
}

@media (max-width: 1150px) {
    .booking-specs {
        display: flex;
        flex-direction: column;
    }
}

.spec-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #f7f9fc;
    border-radius: 10px;
    border: 1px solid #edf2f7;
    transition: background 0.2s;
}

.spec-row:hover {
    background: #eef3fa;
}

.spec-key {
    color: #4a5568;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.spec-val {
    color: #1a2233;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
}

.modal .separator-line {
    border: none;
    height: 2.0px;
    background: linear-gradient(to right, #3aa0ff, #2269f2);
    margin: 14px 0 16px;
    opacity: 1;
}

.modal .separator-line_dark,
.booking-left .separator-line_dark {
    background: linear-gradient(to right, #3aa0ff, #2269f2);
    border: none;
    height: 2.5px;
    margin: 16px 0 20px;
    border-radius: 2px;
}

/* Шапка модалки бронирования */
.modal__header_booking {
    padding: 22px 28px;
    background: #fff;
}

.modal__header_booking .booking__header-wrap {
    flex: 1;
    margin: 0;
    padding-right: 16px;
    min-width: 0;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #1a2233;
    line-height: 1.2;
}

.modal__header_booking .booking__header-label {
    text-transform: uppercase;
    color: #1a2233;
}

.modal__header_booking .booking__header-title {
    text-transform: uppercase;
    color: #2269F2;
}

.booking__car-name-mobile {
    display: none;
}

/* ── Transfer modal header (matches booking header style) ── */
.modal__header_transfer {
    padding: 22px 28px;
    background: #fff;
    border-bottom: 0px solid #e6eef9;
}

.modal__header_transfer .transfer__header-wrap {
    flex: 1;
    margin: 0;
    padding-right: 16px;
    min-width: 0;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #1a2233;
    line-height: 1.2;
}

.modal__header_transfer .transfer__header-label {
    text-transform: uppercase;
    color: #1a2233;
}

.booking-left .booking__desc {
    margin: 0 0 4px;
    font-size: 14.5px;
    line-height: 1.6;
    color: #4a5568;
    font-style: italic;
}

/* Lucide icons in booking sections */
.booking-section-icon {
    width: 22px;
    height: 22px;
    color: #2269F2;
    flex-shrink: 0;
}

.booking-summary-icon {
    width: 18px;
    height: 18px;
    color: #2269F2;
    flex-shrink: 0;
}

/* Блок опций в модалке бронирования */
.booking-options-block {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #e6eef9;
}

.booking-options-sep {
    border: none;
    height: 1px;
    background: linear-gradient(to right, #e3ecf7, transparent);
    margin: 12px 0 16px;
}

.booking-options-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #1a2233;
}

.booking-insurance-block .booking-options-title .booking-options-icon {
    display: none;
}

.booking-options-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #0090FF;
    flex-shrink: 0;
}

.booking-options-icon::after {
    content: "+";
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.booking-options-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.booking-option-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 14px 16px;
    background: #f7f9fc;
    border-radius: 12px;
    border: 1px solid #e6eef9;
    cursor: pointer;
    font-size: 14.5px;
    font-weight: 500;
    color: #2d3748;
    min-height: 54px;
    transition: all 0.2s ease;
}

.booking-option-row:hover {
    background: #edf2fa;
    border-color: #d0dff5;
}

.booking-option-cb {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    margin: 0;
    cursor: pointer;
    accent-color: #2269F2;
    -webkit-appearance: none;
    appearance: none;
    border: 2px solid #c5cdd8;
    border-radius: 4px;
    background: #fff;
    position: relative;
    transition: all .15s ease;
    box-sizing: border-box;
}

.booking-option-cb:checked {
    background: #2269F2;
    border-color: #2269F2;
}

.booking-option-cb:checked::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 40%;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -50%) rotate(45deg);
}

.booking-option-cb[type="radio"] {
    border-radius: 50%;
}

.booking-option-cb[type="radio"]:checked::after {
    left: 3px;
    top: 3px;
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 50%;
    background: #fff;
    transform: none;
}

.booking-option-cb,
.option-locked-visual {
    margin-right: 4px;
}

.booking-option-name {
    flex: 1;
    min-width: 0;
    font-weight: 500;
    letter-spacing: .01em;
}

.booking-option-price {
    margin-left: auto;
    color: #2269F2;
    font-weight: 700;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: normal;
    text-align: center;
    min-width: 60px;
}

.booking-option-price span:first-child {
    font-size: 18px;
    font-style: italic;
}

.booking-option-price .price-unit {
    font-size: 11px;
    font-weight: 500;
    font-style: italic;
    color: #6a7487;
    margin-top: 1px;
    text-transform: lowercase;
}

.booking-option-row.is-free {
    background: #f0faf3;
    border-color: #d4edda;
    cursor: default;
}

.booking-option-row.is-free:hover {
    background: #f0faf3;
}

.booking-option-row.is-free .booking-option-name {
    font-weight: 600;
    color: #1a2233;
    color: #22a854;
    margin-left: -10px;
}

.booking-option-row.is-free .booking-option-price {
    color: #22a854;
    font-weight: 700;
}

/* Контрол − число + */
.booking-option-qty-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    margin-right: 16px;
}

.booking-option-qty-minus,
.booking-option-qty-plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border-radius: 50%;
    border: 1.5px solid #2269F2;
    background: #fff;
    color: #2269F2;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: all .2s ease;
}

.booking-option-qty-minus:hover,
.booking-option-qty-plus:hover {
    background: #edf2ff;
    border-color: #1a5ad9;
}

/* Disabled state — when at min (0) or max */
.booking-option-qty-minus.is-disabled,
.booking-option-qty-plus.is-disabled {
    border-color: #d1d5db;
    color: #c5cdd8;
    background: #f9fafb;
    cursor: default;
    pointer-events: none;
}

.booking-option-qty-minus.is-disabled:hover,
.booking-option-qty-plus.is-disabled:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.booking-option-qty-value {
    min-width: 24px;
    text-align: center;
    font-weight: 700;
    font-size: 15px;
    color: #1a2233;
}

.booking-option-qty-input {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
}

/* Summary card */
.booking-summary {
    background: #fbfdff;
    border-radius: 14px;
    padding: 22px;
    border: 1px solid #e0eaf6;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(34, 105, 242, 0.04);
}

.booking-summary.is-sticky {
    position: sticky;
    top: 0;
    z-index: 10;
}

.booking-summary h5 {
    margin: 0 0 14px;
    font-size: 14px;
    color: #1a2233;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
    gap: 12px;
}

.summary-left {
    min-width: 0;
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    letter-spacing: .02em;
}

.booking__price {
    font-weight: 800;
    color: #1a2233;
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: normal;
    text-align: center;
    min-width: 65px;
}

.booking__price span:first-child {
    font-size: 20px;
    display: block;
    color: #2269F2;
}

.booking__price .price-unit {
    font-size: 10px;
    font-weight: 600;
    color: #8a94a7;
    margin-top: 1px;
    text-transform: lowercase;
    display: block;
    line-height: 1;
    font-style: italic;
}

.total-row .booking__price span:first-child {
    font-size: 28px;
    color: #1a2233;
}

.total-row .booking__price .price-unit {
    font-size: 11px;
    margin-top: 2px;
    color: #6a7487;
}

.summary-subheader {
    font-size: 13px;
    color: #6a7487;
    margin-top: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.summary-note {
    font-size: 11px;
    color: #8a94a7;
    display: block;
    margin-top: 3px;
    font-style: italic;
}

.summary-warning-link {
    color: #0090FF;
    border-bottom: 2px dotted #0090FF;
    text-decoration: none;
    cursor: pointer;
    font-weight: 700;
    transition: opacity 0.2s;
}

.summary-warning-link:hover {
    color: #0090FF;
    opacity: 1;
}

.total-row {
    margin-top: 16px;
    font-size: 18px;
    padding-top: 4px;
}

.total-row .summary-left {
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #1a2233;
}

.total-row .booking__price {
    color: #1a2233;
    font-size: 22px;
}

.deposit-row .summary-left {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.deposit-price span:first-child {
    color: #e67e22 !important;
}

.dashed {
    border: none;
    border-top: 1.5px dashed #e0eaf6;
    margin: 16px 0;
}

.summary-footer {
    margin-top: 14px;
}

.summary-footer-btn {
    margin-top: 22px;
}

.primary-book-btn {
    display: block;
    background: linear-gradient(135deg, #3aa0ff, #2269f2);
    color: #fff !important;
    text-align: center;
    padding: 17px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: .06em;
    transition: all .3s ease;
    text-transform: uppercase;
    box-shadow: 0 4px 16px rgba(34, 105, 242, 0.25);
}

/* Summary Subtitle (Cities - Dates) */
.rental-summary-sub {
    margin-bottom: 8px;
    line-height: 1.6;
    display: block;
}

.primary-book-btn:hover {
    opacity: 0.92;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(34, 105, 242, 0.35);
    transform: translateY(-1px);
}

.separator-line_light {
    border: none;
    height: 1px;
    background: #e6eef9;
    margin: 16px 0;
}

.summary-footer .primary-book {
    display: block;
    background: linear-gradient(180deg, #3aa0ff, #2269f2);
    color: #fff;
    text-align: center;
    padding: 14px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: opacity .2s;
}

.summary-footer .primary-book:hover {
    opacity: 0.95;
}

@media (max-width: 820px) {
    #modal-booking .modal__dialog {
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        border-radius: 0 !important;
        margin: 0 !important;
    }

    #modal-booking .modal__header_booking {
        padding: 16px 20px;
    }

    #modal-booking .modal__header_booking .booking__header-wrap {
        font-size: 20px;
    }

    .booking__header-title {
        display: none;
    }

    .booking__car-name-mobile {
        display: block;
        margin: 0 0 12px;
        font-size: 24px;
        font-weight: 800;
        color: #2269F2;
        text-transform: uppercase;
    }

    #modal-booking .modal__body {
        flex: 1;
        overflow-y: auto;
        padding-bottom: 20px;
    }

    #modal-booking .modal__footer {
        flex-shrink: 0;
        background: #fff;
        border-top: 1px solid #eee;
        padding: 12px 20px;
    }

    #modal-booking .modal__footer .medium-button {
        width: 100% !important;
        height: 56px !important;
        border-radius: 12px !important;
        font-size: calc(16px + 1dvw) !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .booking-grid {
        flex-direction: column;
        gap: 16px;
    }

    .booking-right {
        width: 100%
    }

    .booking-summary {
        margin: 0;
        width: 100%;
        padding: 16px;
    }

    .booking-summary.is-sticky {
        position: static;
        width: 100%;
        box-shadow: none;
    }
}

/* Locked/Default Visual Indicators */
.option-locked-visual {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    position: relative;
    cursor: default;
}

/* Checkbox style mimicking "Free cancellation" - grey box with white check */
.option-locked-visual.locked-checkbox {
    background: #d1d5db;
    /* Grey background */
    border-radius: 4px;
    /* Standard checkbox radius */
}

.option-locked-visual.locked-checkbox::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Radio style mimicking "Base insurance" - blue circle outline with filled center (or similar locked style) */
/* User mentioned "locked radio button", let's make it look like a selected radio but maybe grey or brand color? */
/* Screenshot suggests green selected radio for selected item. Let's make it look selected. */
.option-locked-visual.locked-radio {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #27ae60;
    /* Green for active/base? Or Brand Blue? Let's use Green as it implies "Safety/Base" often, or stick to Blue. */
    /* Screenshot of base insurance has green checkmark circle. Let's try to mimic a selected radio. */
    border-color: #2269F2;
    /* Brand Blue */
    position: relative;
    position: relative;
}

/* Insurance Sub-options Nesting */
.insurance-group-wrap {
    margin-bottom: 8px;
}

/* КАСКО master row styling */
.kasko-master-row .booking-option-name {
    font-weight: 700;
    color: #1a2233;
}

.kasko-master-row .booking-option-price {
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    min-width: 70px;
}

.kasko-master-row .booking-option-price > span:not(.kasko-tariff-name):not(.price-unit) {
    font-size: 19px;
    font-style: italic;
    color: #2269F2;
    font-weight: 700;
}

.kasko-tariff-name {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #1a2233;
    display: block;
    text-align: right;
    line-height: 1;
    margin-bottom: 2px;
}

.kasko-master-row .price-unit {
    font-size: 10px;
    margin-top: 0;
}

.insurance-sub-options {
    margin-left: 32px;
    padding-left: 16px;
    border-left: 2px solid #e5e7eb;
    margin-top: 4px;
    display: none;
    /* Hidden until KASCO checked */
    flex-direction: column;
    gap: 8px;
}

.insurance-sub-options.is-active {
    display: flex;
}

.insurance-sub-options .booking-option-row {
    margin-bottom: 0px;
    padding: 12px 16px;
    background: #f7f9fc;
    border-color: #e6eef9;
}

.insurance-sub-options .booking-option-row:hover {
    background: #edf2fa;
    border-color: #d0dff5;
}

/* Specific styling for the Radio buttons in sub-options to look premium */
.insurance-sub-options .booking-option-cb[type="radio"] {
    accent-color: #2269F2;
}


@keyframes floatY {
    0% {
        transform: translateX(-60%) translateY(10px);
    }

    50% {
        transform: translateX(-60%) translateY(0px);
    }

    100% {
        transform: translateX(-60%) translateY(10px);
    }
}

/* Подсветка незаполненного поля (город/дата) */
.highlight-pulse {
    animation: highlightShake 0.4s ease-in-out;
}

@keyframes highlightShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

/* Scroll to top */
.scroll-top-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: none;
    background: rgba(26, 34, 51, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
    z-index: 900;
    box-shadow: 0 2px 12px rgba(0,0,0,.18);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: rgba(34, 105, 242, 0.85);
}

.scroll-top-btn:active {
    transform: scale(0.92);
}

@media (max-width: 767px) {
    .scroll-top-btn {
        display: none;
    }
}


/* Beautiful Cloud Tooltip with a Tail (Хвостик) */
.custom-toast-alert {
    position: absolute;
    top: -35px;
    /* Sits exactly above the form box */
    left: 70%;
    transform: translateX(-60%) translateY(15px);
    background: #ffffff;
    color: #333333;
    color: #307FF7;
    padding: 14px 30px;
    border-radius: 50px;
    z-index: 1000;
    font-family: 'Gilroy', sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    border: 1px solid #eef1f5;

    animation: floatY 2.8s ease-in-out infinite;
    transition: opacity 0.5s ease;
}

/* The Tail (Хвостик) pointing down, moved to the right */
.custom-toast-alert::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: auto;
    right: 40px;
    transform: translateX(0%);
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: #ffffff transparent transparent;
    filter: drop-shadow(0 3px 2px rgba(0, 0, 0, 0.05));
    /* Points to form */
}

.custom-toast-alert.show {
    opacity: 1;
}

/* Static summary text (not links anymore) */
.summary-static-text {
    font-weight: 700;
    color: #111;
    text-decoration: none;
    border-bottom: none;
    cursor: default;
    display: inline-block;
}

/* Locked Options Visuals */
.option-locked-visual {
    width: 22px;
    height: 22px;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin-right: 12px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.option-locked-visual.locked-checkbox {
    border-radius: 4px;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
}

/* The "V" (Checkmark) for Base Insurance */
.option-locked-visual.locked-checkbox::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 10px;
    border: solid #9ca3af;
    /* Grey checkmark for "locked" state */
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.option-locked-visual.locked-radio {
    border-radius: 50%;
    border: 2px solid #2269F2;
    /* Brand Blue */
    background: #fff;
}

.option-locked-visual.locked-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #2269F2;
    border-radius: 50%;
}

/* Highlight helper for top controls */
.highlight-ctl {
    animation: highlight-pulse 2s ease forwards;
    outline: 2px solid rgba(34, 105, 242, 0.18);
    box-shadow: 0 8px 28px rgba(34, 105, 242, 0.12);
    border-radius: 8px
}

@keyframes highlight-pulse {
    0% {
        transform: none
    }

    40% {
        transform: translateY(-4px)
    }

    100% {
        transform: none
    }
}

/* Steps in booking header */
.booking-steps {
    display: flex;
    gap: 32px;
    align-items:
        center;
    padding-left: 150px;
}


.booking-step {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: .04em
}

.booking-step .step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #e3ecf7;
    background: #fff;
    color: #1a2233;
    font-weight: 800
}

.booking-step.active {
    color: #1a2233
}

.booking-step.active .step-num {
    background: #359EFD;
    color: #fff;
    border-color: transparent
}

/* Ensure close icon is a proper cross */
.modal__close::before {
    content: "×";
}

/* When gallery is moved to the right column */
.booking-right .booking-gallery {
    margin-bottom: 16px;
}

@media (max-width: 820px) {
    .booking-summary {
        margin-top: 24px;
        padding: 20px;
        border: 1px solid #efefef;
    }

    .primary-book-btn {
        padding: 18px;
        font-size: 18px;
    }
}

/* ============================================= */
/* BOOKING STEP 2 — Pickup/Return + Driver Form  */
/* ============================================= */

.booking-step2 {
    animation: bk2FadeIn .35s ease;
}
@keyframes bk2FadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}

.bk2-section {
    margin-bottom: 14px;
    padding-top: 26px;
    border-top: 1.5px dashed #D1D1D1;
}
.bk2-section:first-child {
    padding-top: 0;
    border-top: none;
}
.bk2-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.bk2-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 800;
    color: #1a2233;
    text-transform: uppercase;
    letter-spacing: .03em;
    margin: 0 0 18px;
}
.bk2-icon {
    width: 22px;
    height: 22px;
    color: #2269F2;
    flex-shrink: 0;
    background: rgba(34,105,242,0.08);
    border-radius: 50%;
    padding: 7px;
    box-sizing: content-box;
}
.bk2-city-date {
    font-size: 14px;
    font-weight: 600;
    color: #5a6a7e;
}

/* Airport block: 2-column layout (airport name + flight number) */
.bk2-airport-block {
    display: flex;
    gap: 24px;
}
.bk2-airport-block > .bk2-field {
    flex: 1;
    margin-bottom: 0;
}
.bk2-airport-block > .bk2-flight-field {
    flex: 0 0 45%;
    margin-bottom: 0;
}

/* Locked airport input */
.bk2-input-locked {
    position: relative;
    background: transparent;
    border: none;
    border-bottom: 1.5px solid #D1D1D1;
    border-radius: 0;
    padding: 12px 15px 12px 45px;
    font-size: 15px;
    font-weight: 600;
    color: #1a2233;
    cursor: default;
    user-select: none;
}
.bk2-input-locked .bk2-field-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #2269F2;
}

/* Office checkbox row */
.bk2-checkbox-row {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: #2d3748;
    padding: 10px 0;
    user-select: none;
}
.bk2-cb {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    margin: 0;
    cursor: pointer;
    accent-color: #2269F2;
    -webkit-appearance: none;
    appearance: none;
    border: 2px solid #c5cdd8;
    border-radius: 4px;
    background: #fff;
    position: relative;
    transition: all .2s;
}
.bk2-cb:checked {
    background: #2269F2;
    border-color: #2269F2;
}
.bk2-cb:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Input fields — underline style matching transfer modal */
.bk2-field {
    margin-bottom: 24px;
}
.bk2-field label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 6px;
}
.bk2-input-wrap {
    position: relative;
    background: transparent;
    border: none;
    border-bottom: 1.5px solid #D1D1D1;
    border-radius: 0;
    transition: border-color .3s;
}
/* Blue underline animation from center */
.bk2-input-wrap::before,
.bk2-input-wrap::after {
    content: '';
    height: 2px;
    width: 0;
    bottom: -1px;
    position: absolute;
    background: #2269F2;
    transition: .5s ease all;
}
.bk2-input-wrap::before { left: 50%; }
.bk2-input-wrap::after  { right: 50%; }
.bk2-input-wrap:focus-within::before,
.bk2-input-wrap:focus-within::after {
    width: 50%;
}
.bk2-input-wrap input,
.bk2-input-wrap textarea {
    width: 100%;
    border: none;
    background: transparent;
    padding: 12px 15px 12px 45px;
    font-size: 15px;
    font-weight: 600;
    color: #111;
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
}
.bk2-input-wrap input::placeholder,
.bk2-input-wrap textarea::placeholder {
    color: #AAA;
    font-weight: 600;
}
.bk2-input-wrap textarea {
    resize: vertical;
    min-height: 70px;
    padding: 12px 15px;
}
.bk2-field-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #2269F2;
    pointer-events: none;
    z-index: 1;
}

/* Native date input — expand tap area for calendar picker */
.bk2-input-wrap input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}
/* No icon → less left padding */
.bk2-input-wrap:not(:has(.bk2-field-icon)) input {
    padding-left: 15px;
}

/* intl-tel-input inside bk2 */
.bk2-input-wrap .iti {
    width: 100% !important;
    display: block !important;
}
.bk2-input-wrap .iti input {
    padding-left: 52px !important;
}

/* Time range slider */
.bk2-field:has(.bk2-time-slider) {
    border-bottom: none;
    margin-top: 24px;
}
.bk2-time-slider {
    position: relative;
    padding: 10px 0 12px;
}
.bk2-time-value {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
}
.bk2-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 3px;
    background: #D1D1D1;
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    margin: 0;
}
.bk2-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 2.5px solid #2269F2;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,.12);
    transition: box-shadow .2s;
    margin-top: -9.5px;
}
.bk2-range::-webkit-slider-thumb:hover {
    box-shadow: 0 0 0 6px rgba(34,105,242,.12);
}
.bk2-range::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 2.5px solid #2269F2;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,.12);
}
.bk2-range::-webkit-slider-runnable-track {
    height: 3px;
    border-radius: 3px;
}
.bk2-range::-moz-range-track {
    height: 3px;
    border-radius: 3px;
    background: transparent;
}

/* Error state: red underline */
.bk2-input-wrap.bk2-error {
    border-bottom-color: #e53935;
}
.bk2-input-wrap.bk2-error::before,
.bk2-input-wrap.bk2-error::after {
    background: #e53935;
    width: 50%;
}

/* Date input: hide native picker indicator on desktop, show on mobile */
.bk2-input-wrap input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    right: 0;
    width: 44px;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}
@media (pointer: coarse) {
    .bk2-input-wrap input[type="date"]::-webkit-calendar-picker-indicator {
        opacity: 1;
        position: static;
        width: auto;
        height: auto;
    }
    .bk2-input-wrap input[type="date"] {
        -webkit-appearance: auto;
        appearance: auto;
        color-scheme: light;
    }
}

/* DOB daterangepicker — styled dropdowns */
.daterangepicker .drp-calendar .month select.monthselect,
.daterangepicker .drp-calendar .month select.yearselect {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 700;
    color: #1a2233;
    padding: 4px 20px 4px 6px;
    cursor: pointer;
    outline: none;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: .02em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23999'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    background-size: 8px 5px;
    border-radius: 6px;
    transition: background-color .2s;
}
.daterangepicker .drp-calendar .month select.monthselect:hover,
.daterangepicker .drp-calendar .month select.yearselect:hover {
    background-color: rgba(34,105,242,0.06);
}
.daterangepicker .drp-calendar .month select.monthselect:focus,
.daterangepicker .drp-calendar .month select.yearselect:focus {
    background-color: rgba(34,105,242,0.08);
}

/* Address field (conditionally visible) */
.bk2-address-field {
    margin-top: 12px;
    margin-bottom: 24px;
    animation: bk2FadeIn .25s ease;
}
.bk2-address-field label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 6px;
}

/* Form grid (2 columns) */
.bk2-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 20px;
}
.bk2-field-full {
    grid-column: 1 / -1;
}

/* Messenger checkboxes */
.bk2-messenger-row {
    margin-top: 10px;
}
.bk2-messenger-row small {
    display: block;
    font-weight: 600;
    color: #2269F2;
    margin-bottom: 10px;
}
.bk2-messenger-checks {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}
.bk2-mini-cb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #2d3748;
    cursor: pointer;
    user-select: none;
}
.bk2-mini-cb input {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 2px solid #c5cdd8;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    position: relative;
    transition: all .2s;
    margin: 0;
}
.bk2-mini-cb input:checked {
    background: #2269F2;
    border-color: #2269F2;
}
.bk2-mini-cb input:checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 6px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Terms */
.bk2-terms {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.bk2-terms-cb {
    font-size: 13.5px;
}
.bk2-link {
    color: #2269F2;
    text-decoration: underline;
    font-weight: 600;
}
.bk2-link:hover {
    text-decoration: none;
    color: #1a56c4;
}

/* Back link — visually behind/below the summary border */
.bk2-back-link {
    display: none;
    position: relative;
    z-index: -1;
    margin: 0 -22px -22px;
    padding: 42px 22px 14px;
    background: #fbfdff;
    border: 1px solid #e0eaf6;
    border-top: none;
    border-radius: 0 0 14px 14px;
    text-align: center;
}
.bk2-back-link a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #5a6a7e;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s;
}
.bk2-back-link a:hover {
    color: #2269F2;
}

/* Mobile-only back link at top of step 2 */
.bk2-back-link-mobile {
    display: none;
}
@media (max-width: 820px) {
    .bk2-back-link-mobile {
        display: block;
        margin-bottom: 16px;
    }
    .bk2-back-link-mobile a {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: #5a6a7e;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
        transition: color .2s;
    }
    .bk2-back-link-mobile a:hover {
        color: #2269F2;
    }
}

/* Separators inside step 2 — gray dashed */
.booking-step2 .separator-line.separator-line_dark {
    background: none;
    border: none;
    border-top: 1.5px dashed #D1D1D1;
    height: 0;
    margin: 22px 0 26px;
    border-radius: 0;
}

/* Error state for bk2 inputs */
.bk2-input-wrap.bk2-error {
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229,62,62,0.08);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .bk2-form-grid {
        grid-template-columns: 1fr;
    }
    .bk2-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* ========== SUCCESS SCREEN ========== */
.booking-success {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    width: 100%;
}
.booking-success-inner {
    text-align: center;
    padding: 40px 24px;
    max-width: 420px;
}
.booking-success-icon {
    font-size: 64px;
    margin-bottom: 16px;
    line-height: 1;
}
.booking-success-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 12px;
}
.booking-success-text {
    font-size: 15px;
    color: #666;
    margin: 0 0 20px;
    line-height: 1.5;
}
.booking-success-order {
    font-size: 14px;
    color: #2269F2;
    font-weight: 600;
    margin-bottom: 24px;
}
.booking-success-close {
    background: #2269F2;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 40px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.booking-success-close:hover {
    background: #1a57d0;
}