/* ---------- Подключаем шрифт ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,400;14..32,500;14..32,600;14..32,700&display=swap');

/* ---------- RESET ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(145deg, #f6f9fc 0%, #e9f1f8 100%);
}

/* ---------- КАРТОЧКА ---------- */
.card {
    width: 100%;
    max-width: 420px;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 32px 24px 28px;
    box-shadow: 
        0 20px 60px rgba(0, 20, 40, 0.08),
        0 8px 24px rgba(0, 20, 40, 0.04),
        inset 0 1px 0 rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 30px 80px rgba(0, 20, 40, 0.12),
        0 10px 30px rgba(0, 20, 40, 0.06);
}

/* ---------- ПРОГРЕСС ---------- */
.steps {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
}

.step-dot {
    width: 10px;
    height: 10px;
    border-radius: 20px;
    background: #dce4ec;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-dot.active {
    background: linear-gradient(135deg, #4F8CF7, #6C5CE7);
    width: 32px;
    box-shadow: 0 4px 12px rgba(79, 140, 247, 0.3);
}

.step-dot.done {
    background: #4F8CF7;
}

/* ---------- ЗАГОЛОВОК ---------- */
.card-header {
    text-align: center;
    margin-bottom: 32px;
}

.card-header .icon {
    font-size: 48px;
    margin-bottom: 12px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.card-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: #0b1a2b;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}

.card-header p {
    font-size: 15px;
    color: #5e6f8d;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* ---------- ФОРМА ---------- */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #1e2b3c;
    margin-bottom: 6px;
    letter-spacing: 0.01em;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 500;
    border: 2px solid #e2eaf2;
    border-radius: 16px;
    outline: none;
    transition: all 0.25s ease;
    background: #f8fafc;
    color: #0b1a2b;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.3px;
}

.form-group input::placeholder {
    color: #a5b7cc;
    font-weight: 400;
    letter-spacing: 0px;
}

.form-group input:focus {
    border-color: #4F8CF7;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(79, 140, 247, 0.15);
}

.form-group input.phone-input {
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* ---------- ОШИБКА ---------- */
.error-message {
    color: #e74c5e;
    font-size: 13px;
    font-weight: 500;
    margin-top: 6px;
    display: none;
    align-items: center;
    gap: 6px;
    background: rgba(231, 76, 94, 0.06);
    padding: 6px 12px;
    border-radius: 8px;
}

.error-message.show {
    display: flex;
}

/* ---------- КНОПКА ---------- */
.btn-next {
    width: 100%;
    padding: 16px;
    font-size: 17px;
    font-weight: 600;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, #4F8CF7, #6C5CE7);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 8px;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.3px;
    box-shadow: 0 8px 24px rgba(79, 140, 247, 0.25);
}

.btn-next:active {
    transform: scale(0.97);
}

.btn-next:disabled {
    background: #cbd5e1;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
}

.btn-next:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(79, 140, 247, 0.35);
}

.btn-next:not(:disabled)::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
}

.btn-next:not(:disabled):hover::after {
    opacity: 1;
}

.btn-next:not(:disabled):active::after {
    opacity: 0;
}

/* ---------- АНИМАЦИЯ ПЕРЕХОДА ---------- */
.fade-enter-active,
.fade-leave-active {
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.fade-enter,
.fade-leave-to {
    opacity: 0;
    transform: translateY(12px);
}

/* ---------- АДАПТИВ ---------- */
@media (max-width: 420px) {
    .card {
        padding: 24px 16px 20px;
        border-radius: 24px;
    }
    .card-header h1 {
        font-size: 21px;
    }
    .form-group input {
        font-size: 16px;
        padding: 14px 14px;
        border-radius: 14px;
    }
    .btn-next {
        font-size: 16px;
        padding: 15px;
        border-radius: 14px;
    }
}

/* ---------- ДЛЯ СТАРЫХ IPHONE ---------- */
@supports (-webkit-touch-callout: none) {
    .btn-next {
        padding: 18px;
    }
}



















/* ---------- СТЕКЛЯННЫЙ СТИЛЬ ДЛЯ СЛОТОВ ---------- */
.slot-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 16px 0;
}

.slot-btn {
    padding: 14px 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    transition: all 0.25s ease;
    font-weight: 500;
    font-size: 15px;
    text-align: center;
    color: #0b1a2b;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.3px;
}

/* Доступные слоты */
.slot-btn.available {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(76, 175, 80, 0.3);
    color: #1e3a2f;
}

.slot-btn.available:hover {
    background: rgba(76, 175, 80, 0.15);
    border-color: #4CAF50;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.15);
}

/* Занятые слоты */
.slot-btn.booked {
    background: rgba(200, 200, 200, 0.25);
    border-color: rgba(200, 200, 200, 0.2);
    color: #9e9e9e;
    cursor: not-allowed;
    opacity: 0.6;
    pointer-events: none;
}

/* Выбранный слот */
.slot-btn.selected {
    background: rgba(33, 150, 243, 0.2);
    border-color: #2196F3;
    color: #0d47a1;
    transform: scale(1.04);
    box-shadow: 0 8px 28px rgba(33, 150, 243, 0.2);
}

.slot-btn.selected .badge {
    display: none;
}

/* ---------- КНОПКА "НАЗАД" ---------- */
.btn-secondary {
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    color: #1e2b3c;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.btn-secondary:active {
    transform: scale(0.97);
}

/* ---------- АДАПТИВ ДЛЯ СЛОТОВ ---------- */
@media (max-width: 500px) {
    .slot-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    .slot-btn {
        font-size: 13px;
        padding: 12px 4px;
        border-radius: 12px;
    }
}

@media (max-width: 380px) {
    .slot-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}





/* ---------- Шаг 3: Радиусы ---------- */
.radius-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 16px 0;
}

.radius-btn {
    padding: 14px 8px;
    border: 2px solid #e2eaf2;
    border-radius: 14px;
    background: white;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

.radius-btn:hover {
    border-color: #4F8CF7;
    transform: translateY(-2px);
}

.radius-btn.selected {
    border-color: #4F8CF7;
    background: #e8f0fe;
    box-shadow: 0 4px 12px rgba(79, 140, 247, 0.2);
}

.radius-markup {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: #5e6f8d;
    margin-top: 2px;
}

/* ---------- Шаг 4: Услуги ---------- */
.service-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border: 2px solid #e2eaf2;
    border-radius: 14px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
}

.service-card:hover {
    border-color: #4F8CF7;
}

.service-card.selected {
    border-color: #4F8CF7;
    background: #e8f0fe;
}

.service-info {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.service-name {
    font-weight: 500;
    color: #0b1a2b;
}

.service-price {
    font-weight: 600;
    color: #4F8CF7;
}

.service-check {
    font-size: 20px;
    margin-left: 12px;
}

.total-sum {
    margin-top: 16px;
    padding: 14px 18px;
    background: #f0f7ff;
    border-radius: 14px;
    text-align: center;
    font-size: 18px;
    color: #0b1a2b;
}

/* ---------- Адаптив ---------- */
@media (max-width: 500px) {
    .radius-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .service-card {
        padding: 12px 14px;
        font-size: 14px;
    }
}

@media (max-width: 380px) {
    .radius-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}



/* ---------- Тип транспорта ---------- */
.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
    margin: 16px 0;
}

.vehicle-btn {
    padding: 18px;
    border: 2px solid #e2eaf2;
    border-radius: 16px;
    background: white;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 17px;
    font-weight: 600;
    text-align: center;
    font-family: 'Inter', sans-serif;
    color: #0b1a2b;
}

.vehicle-btn:hover {
    border-color: #4F8CF7;
    transform: translateY(-2px);
}

.vehicle-btn.selected {
    border-color: #4F8CF7;
    background: #e8f0fe;
    box-shadow: 0 4px 12px rgba(79, 140, 247, 0.2);
}

/* ---------- Радиусы ---------- */
.radius-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 16px 0;
}

.radius-btn {
    padding: 14px 8px;
    border: 2px solid #e2eaf2;
    border-radius: 14px;
    background: white;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

.radius-btn:hover {
    border-color: #4F8CF7;
    transform: translateY(-2px);
}

.radius-btn.selected {
    border-color: #4F8CF7;
    background: #e8f0fe;
    box-shadow: 0 4px 12px rgba(79, 140, 247, 0.2);
}

/* ---------- Услуги ---------- */
.service-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border: 2px solid #e2eaf2;
    border-radius: 14px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
}

.service-card:hover {
    border-color: #4F8CF7;
}

.service-card.selected {
    border-color: #4F8CF7;
    background: #e8f0fe;
}

.service-info {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.service-name {
    font-weight: 500;
    color: #0b1a2b;
}

.service-price {
    font-weight: 600;
    color: #4F8CF7;
    margin-right: 12px;
}

.service-check {
    font-size: 20px;
    margin-left: 12px;
}

.total-sum {
    margin-top: 16px;
    padding: 14px 18px;
    background: #f0f7ff;
    border-radius: 14px;
    text-align: center;
    font-size: 18px;
    color: #0b1a2b;
}

/* ---------- Адаптив ---------- */
@media (max-width: 500px) {
    .radius-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 380px) {
    .radius-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}








/* ---------- МОДАЛЬНОЕ ОКНО УСПЕХА ---------- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 26, 43, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1000;
}

.modal-card {
    width: 100%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 28px;
    padding: 32px 24px 24px;
    box-shadow: 
        0 30px 80px rgba(0, 20, 40, 0.25),
        0 10px 30px rgba(0, 20, 40, 0.1);
    text-align: center;
    animation: modalIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.85) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-icon {
    font-size: 56px;
    margin-bottom: 12px;
    display: inline-block;
    animation: float 2.5s ease-in-out infinite;
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #0b1a2b;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.modal-subtitle {
    font-size: 15px;
    color: #5e6f8d;
    margin-bottom: 24px;
}

.modal-info {
    background: #f6f9fc;
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 20px;
    text-align: left;
}

.modal-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.modal-row:last-child {
    border-bottom: none;
}

.modal-label {
    color: #5e6f8d;
    font-weight: 500;
}

.modal-value {
    color: #0b1a2b;
    font-weight: 600;
}

.modal-row.total {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 2px solid #e2eaf2;
    font-size: 17px;
}

.modal-row.total .modal-value {
    color: #4F8CF7;
    font-size: 19px;
    font-weight: 700;
}

/* ---------- Адаптив ---------- */
@media (max-width: 420px) {
    .modal-card {
        padding: 24px 18px 20px;
        border-radius: 22px;
    }
    .modal-icon {
        font-size: 48px;
    }
    .modal-title {
        font-size: 21px;
    }
}

.card-header .icon img {
    width: 56px;
    height: 56px;
    display: inline-block;
    vertical-align: middle;
    animation: float 3s ease-in-out infinite;
}


/* ---------- Публичная "Моя запись" ---------- */
.my-booking-trigger {
    width: 100%;
    margin-top: 12px;
    padding: 13px 15px;
    display: flex;
    align-items: center;
    gap: 11px;
    border: 1px solid #dce6f1;
    border-radius: 15px;
    background: linear-gradient(145deg, #ffffff, #f7faff);
    color: #0b1a2b;
    cursor: pointer;
    text-align: left;
    box-shadow: 0 6px 18px rgba(33, 68, 105, .06);
    transition: .2s ease;
}
.my-booking-trigger:hover { transform: translateY(-1px); border-color: #b8cef0; }
.my-booking-trigger-icon {
    width: 38px; height: 38px; flex: 0 0 38px;
    display: grid; place-items: center;
    border-radius: 12px;
    background: #edf4ff;
    color: #3977dc;
    font-size: 23px; font-weight: 700;
}
.my-booking-trigger strong, .my-booking-trigger small { display: block; }
.my-booking-trigger strong { font-size: 14px; }
.my-booking-trigger small { margin-top: 2px; color: #6c7e95; font-size: 11px; }
.my-booking-trigger-arrow { margin-left: auto; color: #4f8cf7; font-size: 21px; }

.booking-lookup-overlay { align-items: center; }
.booking-lookup-card {
    position: relative;
    max-width: 500px;
    max-height: min(88vh, 780px);
    overflow-y: auto;
    text-align: left;
    padding: 26px 22px 22px;
}
.booking-lookup-close {
    position: absolute; top: 14px; right: 14px;
    width: 38px; height: 38px;
    border: 0; border-radius: 12px;
    background: #f1f5f9; color: #24364a;
    font-size: 26px; line-height: 1; cursor: pointer;
}
.booking-lookup-head { display: flex; align-items: center; gap: 12px; padding-right: 40px; }
.booking-lookup-head .modal-title, .booking-lookup-head .modal-subtitle { text-align: left; margin-bottom: 0; }
.booking-lookup-head .modal-subtitle { margin-top: 3px; }
.booking-lookup-icon {
    width: 48px; height: 48px; flex: 0 0 48px;
    display: grid; place-items: center;
    border-radius: 15px; background: #edf4ff; font-size: 24px;
}
.booking-lookup-form { margin-top: 20px; }
.booking-lookup-form label {
    display: block; margin-bottom: 7px;
    color: #62758b; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
}
.booking-lookup-search-row { display: flex; gap: 8px; }
 .booking-lookup-input {
    min-width: 0; flex: 1; width: 100%; height: 52px; margin: 0;
    padding: 0 15px; border: 1px solid #d8e2ed; border-radius: 13px;
    background: #f8fafc; color: #14283d;
    font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 650;
    letter-spacing: .2px; outline: none; box-sizing: border-box;
    -webkit-appearance: none; appearance: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.booking-lookup-input::placeholder { color: #9aa9ba; font-weight: 500; }
.booking-lookup-input:focus {
    border-color: #4f8cf7; background: #fff;
    box-shadow: 0 0 0 4px rgba(79, 140, 247, .13);
}

.booking-lookup-submit {
    flex: 0 0 104px; border: 0; border-radius: 13px;
    background: #4f8cf7; color: #fff;
    font-weight: 700; cursor: pointer;
}
.booking-lookup-submit:disabled { opacity: .45; cursor: default; }
.booking-lookup-error { margin-top: 9px; color: #b93838; font-size: 13px; }
.booking-lookup-empty {
    margin-top: 18px; padding: 24px 16px;
    border: 1px dashed #cedae7; border-radius: 16px;
    text-align: center; background: #f8fafc;
}
.booking-lookup-empty span, .booking-lookup-empty strong, .booking-lookup-empty small { display: block; }
.booking-lookup-empty span { font-size: 31px; margin-bottom: 7px; }
.booking-lookup-empty strong { color: #26384c; }
.booking-lookup-empty small { margin-top: 5px; color: #708196; line-height: 1.4; }

.booking-lookup-results { margin-top: 17px; }
.booking-lookup-count { margin-bottom: 8px; color: #74869a; font-size: 12px; font-weight: 600; }
.public-booking-card {
    padding: 16px;
    border: 1px solid #dce5ee;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(22, 49, 77, .07);
}
.public-booking-card + .public-booking-card { margin-top: 12px; }
.public-booking-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.public-booking-number {
    color: #8291a3; font-size: 10px; font-weight: 800;
    letter-spacing: .09em;
}
.public-booking-date { margin-top: 3px; color: #14283d; font-size: 19px; font-weight: 750; }
.public-status-badge {
    padding: 6px 9px; border-radius: 999px;
    background: #fff3cf; color: #8a6810;
    font-size: 10px; font-weight: 800; white-space: nowrap;
}
.public-status-badge.status-confirmed { background: #e9f2ff; color: #3978d5; }
.public-status-badge.status-completed { background: #e6f6ed; color: #2f7d54; }
.public-status-badge.status-canceled { background: #fbe9e9; color: #a54b4b; }

.public-booking-grid {
    margin-top: 13px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px;
}
.public-booking-grid > div {
    padding: 10px 11px; border-radius: 12px; background: #f6f8fb;
}
.public-booking-grid .public-booking-wide { grid-column: 1 / -1; }
.public-booking-grid span, .public-booking-grid strong { display: block; }
.public-booking-grid span { color: #8190a1; font-size: 10px; text-transform: uppercase; font-weight: 700; letter-spacing: .05em; }
.public-booking-grid strong { margin-top: 3px; color: #24384d; font-size: 13px; }

.public-booking-services { margin-top: 14px; }
.public-booking-section-title {
    color: #8190a1; font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
    margin-bottom: 5px;
}
.public-booking-service {
    display: flex; justify-content: space-between; gap: 14px;
    padding: 8px 0; border-bottom: 1px solid #edf1f5;
    color: #33485d; font-size: 13px;
}
.public-booking-service:last-child { border-bottom: 0; }
.public-booking-service b { color: #728196; font-weight: 600; }
.public-booking-service strong { white-space: nowrap; color: #1d3348; }

.public-booking-total {
    margin-top: 11px; padding-top: 11px; border-top: 1px solid #dde6ee;
    display: flex; justify-content: space-between; gap: 18px;
}
.public-booking-total > div:last-child { text-align: right; }
.public-booking-total span, .public-booking-total strong { display: block; }
.public-booking-total span { color: #8493a5; font-size: 10px; text-transform: uppercase; font-weight: 700; }
.public-booking-total strong { margin-top: 2px; color: #25394e; font-size: 15px; }
.public-booking-total strong.paid { color: #2f7d54; }

@media (max-width: 520px) {
    .booking-lookup-overlay { padding: 0; align-items: flex-end; }
    .booking-lookup-card {
        max-width: none; width: 100%;
        max-height: 92dvh;
        border-radius: 24px 24px 0 0;
        padding: 23px 16px calc(18px + env(safe-area-inset-bottom));
    }
    .booking-lookup-search-row { display: block; }
    .booking-lookup-submit {
        width: 100%; height: 48px; margin-top: 8px;
    }
    .public-booking-top { display: block; }
    .public-status-badge { display: inline-block; margin-top: 8px; }
    .public-booking-date { font-size: 18px; }
}

@media (max-width: 520px) {
    .booking-lookup-input { height: 54px; font-size: 17px; border-radius: 15px; }
}

/* Госномер автомобиля */
.vehicle-number-group { margin-top: 18px; }
.vehicle-number-input {
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
}
.field-hint {
    display: block;
    margin-top: 7px;
    opacity: .68;
    font-size: 12px;
}
.public-booking-plate {
    display: block;
    margin-top: 4px;
    font-weight: 800;
    letter-spacing: .06em;
}


/* ---------- СОГЛАСИЕ НА ОБРАБОТКУ ПЕРСОНАЛЬНЫХ ДАННЫХ ---------- */
.booking-consent {
    margin: 18px 0 4px;
    padding: 13px 14px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 14px;
    background: rgba(248, 250, 252, 0.72);
}
.booking-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    cursor: pointer;
    font-size: 12px;
    line-height: 1.5;
    color: #64748b;
}
.booking-consent-label input {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin: 1px 0 0;
    accent-color: #4F8CF7;
    cursor: pointer;
}
.booking-consent-label a {
    color: #4F8CF7;
    font-weight: 600;
    text-decoration: none;
}
.booking-consent-label a:hover { text-decoration: underline; }
@media (max-width: 600px) {
    .booking-consent { margin-top: 14px; padding: 11px 12px; }
    .booking-consent-label { font-size: 11.5px; }
}

/* Stage 8.6.15: confirmation instructions after booking */
.booking-confirm-by-phone{margin:14px 0;padding:13px 14px;border-radius:10px;background:rgba(55,116,142,.11);border:1px solid rgba(55,116,142,.3);font-size:14px;line-height:1.55;color:inherit;text-align:left}
.booking-confirm-by-phone a{color:inherit;font-weight:800;text-decoration:underline;text-underline-offset:2px}

.max-confirm-button{display:flex;align-items:center;justify-content:center;gap:12px;margin:16px 0 8px;padding:13px 16px;border-radius:12px;background:linear-gradient(110deg,#6854e8,#5141c6);color:#fff!important;text-decoration:none;font-weight:750;box-shadow:0 5px 14px rgba(88,67,201,.22);transition:transform .15s,box-shadow .15s}.max-confirm-button:hover{transform:translateY(-1px);box-shadow:0 7px 18px rgba(88,67,201,.3)}.max-confirm-button:focus-visible{outline:3px solid #bcb0ff;outline-offset:3px}.max-confirm-mark{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#fff;color:#6854e8;font-weight:900;flex:none}


/* 8.6.32 — Volga Glass, visual-only redesign of the existing five-step flow. */
:root { --booking-blue:#2779ef; --booking-purple:#6556e9; --booking-ink:#152e4a; }
html { min-height:100%; background:#dcecfb; }
body {
  display:block; min-height:100vh; min-height:100dvh;
  padding:0; margin:0; color:var(--booking-ink);
  background-color:#dcecfb;
  background-image:linear-gradient(90deg,rgba(233,243,253,.28),rgba(242,248,255,.02) 70%),url('../img/booking/volga-day-desktop.webp');
  background-size:cover; background-repeat:no-repeat; background-position:center center;
  background-attachment:fixed;
}
html[data-booking-scene="night"] body {
  background-color:#07172a;
  background-image:linear-gradient(90deg,rgba(6,17,31,.37),rgba(6,17,31,.03) 70%),url('../img/booking/volga-night-desktop.webp');
}
#app { min-height:100vh; min-height:100dvh; }
.booking-layout { width:min(100%,1440px); min-height:100vh; min-height:100dvh; margin:auto; padding:clamp(30px,6vh,90px) clamp(22px,5vw,84px); display:flex;align-items:center;justify-content:flex-start; }
.booking-layout .card {
  width:min(100%,510px);max-width:510px;margin:0;padding:28px 29px 30px;
  background:rgba(248,252,255,.79);border:1px solid rgba(255,255,255,.90);
  box-shadow:0 26px 85px rgba(11,35,70,.18),inset 0 1px 0 rgba(255,255,255,.95);
  border-radius:30px; -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  transform:none!important;
}
html[data-booking-scene="night"] .booking-layout .card {
  background:rgba(234,243,252,.88);
  box-shadow:0 28px 90px rgba(0,8,20,.48),inset 0 1px 0 rgba(255,255,255,.85);
}
.booking-brand {display:flex;align-items:center;gap:12px;margin-bottom:19px;font-size:13px;font-weight:800;letter-spacing:.07em;color:#173d66;}
.booking-brand small {display:block;margin-top:3px;font-size:11px;letter-spacing:0;font-weight:500;color:#6685a3;}
.booking-brand-monogram {width:44px;height:44px;flex:none;display:grid;place-items:center;border-radius:14px;border:1px solid #c8dff6;background:linear-gradient(145deg,#fff,#dcecff);font-size:15px;font-weight:900;color:#2878df;}
.booking-progress-caption {text-align:center;color:#7288a5;font-size:11px;font-weight:700;margin:0 0 10px;}
.booking-layout .steps {margin-bottom:20px;gap:7px;}
.booking-layout .step-dot {width:30px;height:5px;border-radius:10px;background:#d8e5f4;cursor:pointer;}
.booking-layout .step-dot.active {width:40px;background:linear-gradient(100deg,var(--booking-blue),var(--booking-purple));box-shadow:0 2px 8px rgba(47,109,240,.2);}
.booking-layout .step-dot.done {background:#5798f2;}
.booking-layout .card-header {margin-bottom:22px;}
.booking-layout .card-header .icon {display:grid;place-items:center;margin:0 auto 12px;width:54px;height:54px;background:linear-gradient(150deg,#fff,#e2eeff);border:1px solid #d5e4fc;border-radius:18px;box-shadow:0 8px 23px rgba(45,109,200,.11);animation:none;}
.booking-layout .card-header .icon img {width:29px;height:29px;object-fit:contain;}
.booking-layout .card-header h1 {font-size:clamp(22px,2vw,26px);line-height:1.15;color:#112943;}
.booking-layout .card-header p {font-size:13px;line-height:1.5;color:#607b98;margin-top:7px;}
.booking-layout .form-group label {font-weight:700;font-size:13px;color:#1c3856;margin-bottom:8px;}
.booking-layout .required {color:#266fee;}
.booking-layout .form-group input {background:rgba(255,255,255,.83);border:1px solid #cbdcf0;border-radius:14px;min-height:52px;box-shadow:0 2px 7px rgba(27,63,109,.025);}
.booking-layout .form-group input:focus {background:#fff;border-color:#3787f8;box-shadow:0 0 0 3px rgba(49,131,246,.13);}
.booking-layout .vehicle-btn,.booking-layout .radius-btn,.booking-layout .service-card {background:rgba(255,255,255,.79);border:1px solid #d6e4f5;border-radius:14px;color:#18334f;}
.booking-layout .vehicle-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.booking-layout .vehicle-btn {font-size:14px;min-height:68px;padding:12px;overflow-wrap:anywhere;}
.booking-layout .vehicle-btn.selected,.booking-layout .radius-btn.selected,.booking-layout .service-card.selected {background:#e5f0ff;border-color:#2779ef;box-shadow:0 3px 14px rgba(40,111,225,.12);}
.booking-layout .radius-btn {padding:14px 5px;}
.booking-layout .service-card {padding:15px 14px;}
.booking-layout .service-info {gap:12px;align-items:center;}
.booking-layout .service-name {font-size:14px;line-height:1.4;}
.booking-layout .service-price {white-space:nowrap;color:#246fce;font-size:14px;}
.booking-layout .service-check {display:grid;place-items:center;flex:none;width:21px;height:21px;border-radius:7px;background:#2678ef;color:white;font-size:14px;font-weight:800;}
.booking-layout .total-sum {background:rgba(222,238,255,.81);border:1px solid #d2e4fb;text-align:left;font-size:15px;line-height:1.5;}
.booking-layout .slot-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;}
.booking-layout .slot-btn {position:relative;background:rgba(255,255,255,.85);border:1px solid #d3e2f4;border-radius:13px;color:#22415f;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;font-size:14px;font-weight:650;min-height:48px;}
.booking-layout .slot-btn.available {background:rgba(255,255,255,.9);border-color:#cbdff8;color:#183955;}
.booking-layout .slot-btn.booked {background:rgba(225,232,241,.67);color:#a4b0bc;border-color:#d7dfe8;opacity:.8;text-decoration:line-through;}
.booking-layout .slot-btn.selected,.booking-layout .slot-btn.selected.available {background:linear-gradient(105deg,#2188f6,#5959eb);border-color:#4082eb;color:white;box-shadow:0 4px 12px rgba(40,104,221,.2);transform:none;text-decoration:none;}
.booking-layout .btn-next {background:linear-gradient(105deg,#258bf9,#6554eb);border-radius:14px;box-shadow:0 7px 18px rgba(53,106,215,.19);}
.booking-layout .btn-next:disabled {background:#cbd7e5;box-shadow:none;}
.booking-layout .btn-secondary {background:rgba(240,247,255,.86);border:1px solid #d5e4f6;color:#284866;backdrop-filter:none;-webkit-backdrop-filter:none;}
.booking-layout .my-booking-trigger {background:rgba(255,255,255,.73);border:1px solid #d9e6f7;border-radius:16px;}
.booking-layout .my-booking-trigger-icon img {width:22px;height:22px;}
.booking-layout .booking-consent {background:rgba(247,250,255,.80);border:1px solid #dbe5f1;}
.booking-layout .booking-consent-label {color:#405c78;}
.booking-layout .booking-consent-label input {accent-color:#2b82ec;}
.modal-card {background:rgba(248,251,255,.97);border:1px solid #e2eaf8;box-shadow:0 20px 65px rgba(4,27,60,.26);}
.max-confirm-logo {width:30px;height:30px;object-fit:contain;flex:none;}
@media(max-width:760px){
 body {background-image:linear-gradient(180deg,rgba(235,244,254,.08),rgba(234,244,254,.13)),url('../img/booking/volga-day-mobile.webp');background-position:center center;background-attachment:scroll;}
 html[data-booking-scene="night"] body {background-image:linear-gradient(180deg,rgba(8,19,35,.12),rgba(8,19,35,.28)),url('../img/booking/volga-night-mobile.webp');}
 .booking-layout {min-height:100vh;min-height:100dvh;padding:28px 14px 55px;align-items:flex-start;justify-content:center;}
 .booking-layout .card {max-width:475px;padding:22px 20px 24px;border-radius:25px;background:rgba(248,252,255,.84);-webkit-backdrop-filter:none;backdrop-filter:none;}
 html[data-booking-scene="night"] .booking-layout .card {background:rgba(237,246,255,.87);}
 .booking-layout .card-header {margin-bottom:21px;}
 .booking-layout .vehicle-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
 .booking-layout .card:hover {box-shadow:0 26px 85px rgba(11,35,70,.18);}
}
@media(max-width:380px){
 .booking-layout {padding:14px 10px 35px;}
 .booking-layout .card {padding:18px 14px 23px;}
 .booking-layout .slot-grid {grid-template-columns:repeat(3,minmax(0,1fr));}
 .booking-brand {font-size:12px;}
 .booking-layout .service-info {flex-wrap:wrap;}
}
@media (prefers-reduced-motion:reduce){.booking-layout .card,.booking-layout .btn-next,.booking-layout .service-card {transition:none;}}


/* 8.6.33 — approved premium rendered step art; leave all booking logic unchanged. */
.booking-layout .card-header .icon {
  width:94px;height:94px;margin:0 auto 12px;background:transparent;border:0;
  border-radius:0;box-shadow:none;animation:none;overflow:visible;
}
.booking-layout .card-header .icon img {
  display:block;width:94px;height:94px;max-width:100%;object-fit:contain;
  animation:none;filter:drop-shadow(0 5px 12px rgba(31,99,181,.12));
}
.modal-icon-art {font-size:0;line-height:1;display:flex;align-items:center;justify-content:center;}
.modal-icon-art img {width:78px;height:78px;display:block;object-fit:contain;filter:drop-shadow(0 4px 10px rgba(26,97,186,.1));}
@media(max-width:760px){
  .booking-layout .card-header .icon {width:76px;height:76px;margin-bottom:8px;}
  .booking-layout .card-header .icon img {width:76px;height:76px;}
  .modal-icon-art img {width:65px;height:65px;}
}

/* 8.6.34: mobile success dialog — independently scrollable contents and visible footer. */
.modal-overlay { inset:0; width:auto; height:auto; box-sizing:border-box; overflow:hidden; padding:12px; }
.modal-success-card { display:flex; flex-direction:column; min-height:0; max-height:calc(100dvh - 24px); max-width:440px; width:100%; padding:0; overflow:hidden; animation:none; }
.modal-success-scroll { flex:1 1 auto; min-height:0; overflow-y:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; touch-action:pan-y; scroll-padding-bottom:16px; padding:20px 20px 12px; }
.modal-success-footer { flex:0 0 auto; padding:12px 20px max(12px, env(safe-area-inset-bottom)); background:rgba(248,251,255,.99); border-top:1px solid #dbe6f4; }
.modal-success-footer .btn-next { width:100%; margin:0; }
.modal-success-card .modal-info { padding:12px 14px; margin-bottom:14px; }
.modal-success-card .modal-row { gap:12px; padding:7px 0; align-items:center; }
.modal-success-card .modal-label { text-align:left; }
.modal-success-card .modal-value { text-align:right; min-width:0; overflow-wrap:anywhere; }
.modal-success-card .modal-row.total .modal-value { white-space:nowrap; }
.modal-success-card .modal-subtitle { margin-bottom:14px; }
.modal-success-card .modal-icon-art { margin-bottom:4px; }
.modal-success-card .booking-confirm-by-phone { margin-top:12px; }
@media(max-width:760px) {
  .modal-overlay { padding:8px; align-items:center; }
  .modal-success-card { max-height:calc(100dvh - 16px); border-radius:20px; }
  .modal-success-scroll { padding:12px 14px 10px; }
  .modal-success-footer { padding:10px 14px max(10px,env(safe-area-inset-bottom)); }
  .modal-success-card .modal-icon-art img { width:48px; height:48px; }
  .modal-success-card .modal-title { font-size:22px; }
  .modal-success-card .modal-subtitle { font-size:13px; line-height:1.4; }
  .modal-success-card .modal-row { font-size:13px; }
  .modal-success-card .modal-row.total { font-size:14px; }
  .modal-success-card .modal-row.total .modal-value { font-size:16px; }
}
