    }
}
/* ===================================================
   OTP AUTH MODAL + INLINE STATES
   =================================================== */

/* ---- Inline passenger section states ---- */
.otp-signin-prompt {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #f8faff;
    border: 1.5px dashed #c7d2fe;
    border-radius: 12px;
    margin-bottom: 4px;
}
.otp-signin-prompt__icon {
    font-size: 22px;
    flex-shrink: 0;
}
.otp-signin-prompt__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.otp-signin-prompt__text strong {
    font-size: 13px;
    font-weight: 700;
    color: #1a3a8a;
}
.otp-signin-prompt__text span {
    font-size: 11px;
    color: #6b7280;
}

.otp-inline-confirmed {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    border-radius: 12px;
    margin-bottom: 4px;
}
.otp-inline-confirmed__tick {
    width: 36px;
    height: 36px;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    flex-shrink: 0;
}
.otp-inline-confirmed__name {
    font-size: 14px;
    font-weight: 700;
    color: #166534;
}
.otp-inline-confirmed__sub {
    font-size: 11px;
    color: #15803d;
    margin-top: 1px;
}

/* ---- Modal overlay ---- */
.otp-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    z-index: 99999;
    display: flex;
    align-items: flex-end;       /* bottom-sheet on mobile */
    justify-content: center;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    animation: otpOverlayIn .2s ease;
}
@keyframes otpOverlayIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ---- Modal sheet ---- */
.otp-modal-sheet {
    background: #fff;
    width: 100%;
    max-width: 440px;
    border-radius: 20px 20px 0 0;
    padding: 0 0 env(safe-area-inset-bottom, 16px);
    max-height: 92vh;
    overflow-y: auto;
    animation: otpSheetIn .28s cubic-bezier(.32,1.12,.64,1);
    scrollbar-width: none;
}
.otp-modal-sheet::-webkit-scrollbar { display: none; }
@keyframes otpSheetIn {
    from { transform: translateY(60px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

/* On wider screens: centered card instead of bottom-sheet */
@media (min-width: 500px) {
    .otp-modal-overlay { align-items: center; }
    .otp-modal-sheet {
        border-radius: 20px;
        max-height: 88vh;
        box-shadow: 0 24px 60px rgba(0,0,0,.22);
        animation: otpCardIn .22s ease;
    }
    @keyframes otpCardIn {
        from { transform: scale(.96) translateY(8px); opacity: 0; }
        to   { transform: scale(1)   translateY(0);   opacity: 1; }
    }
}

/* ---- Modal header ---- */
.otp-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 0;
}
.otp-modal-brand {
    display: flex;
    align-items: center;
    gap: 7px;
}
.otp-modal-brand-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #1a3a8a;
}
.otp-modal-brand-name {
    font-size: 14px;
    color: #1a3a8a;
    letter-spacing: -.01em;
}
.otp-modal-brand-name strong {
    font-weight: 800;
}
.otp-modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}
.otp-modal-close:hover { background: #e5e7eb; color: #111; }

/* ---- Step wrapper ---- */
.otp-modal-step {
    padding: 20px 24px 8px;
}
.otp-modal-title {
    font-size: 20px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 4px;
}
.otp-modal-subtitle {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 0;
}

/* ---- Field group ---- */
.otp-field-group {
    margin-bottom: 14px;
}
.otp-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 6px;
    letter-spacing: .02em;
    text-transform: uppercase;
}

/* ---- Inputs ---- */
.otp-input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    height: 46px;
    padding: 0 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    color: #111827;
    background: #fff;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
    -webkit-appearance: none;
}
.otp-input:focus {
    border-color: #1a3a8a;
    box-shadow: 0 0 0 3px rgba(26,58,138,.1);
}

/* ---- Phone row ---- */
.otp-phone-row {
    display: flex;
    align-items: stretch;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
    height: 46px;
}
.otp-phone-row:focus-within {
    border-color: #1a3a8a;
    box-shadow: 0 0 0 3px rgba(26,58,138,.1);
}
.otp-country-select {
    flex-shrink: 0;
    height: 100%;
    border: none;
    border-right: 1.5px solid #e5e7eb;
    background: #f9fafb;
    padding: 0 8px 0 12px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    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='%236b7280'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 8px;
    padding-right: 24px;
    min-width: 96px;
}
.otp-phone-input {
    flex: 1;
    height: 100%;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 12px;
    min-width: 0;
    font-size: 16px; /* prevents iOS zoom */
}

/* ---- Channel buttons ---- */
.otp-channel-row {
    display: flex;
    gap: 8px;
}
.otp-channel-btn {
    flex: 1;
    height: 42px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all .15s;
}
.otp-channel-btn:hover {
    border-color: #1a3a8a;
    background: #f0f4ff;
    color: #1a3a8a;
}
.otp-channel-btn.selected {
    border-color: #1a3a8a;
    background: #1a3a8a;
    color: #fff;
}

/* ---- Primary CTA button ---- */
.otp-btn {
    display: block;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: not-allowed;
    transition: all .2s;
    margin-top: 16px;
    letter-spacing: .01em;
}
.otp-btn--primary {
    background: #dbeafe;
    color: #5c7ec4;
}
.otp-btn--primary:not(:disabled) {
    background: #1a3a8a;
    color: #fff;
    cursor: pointer;
}
.otp-btn--primary:not(:disabled):hover { background: #15317a; }
.otp-btn--primary:not(:disabled):active { transform: scale(.98); }

.otp-btn--green {
    background: #16a34a;
    color: #fff;
    cursor: pointer;
}
.otp-btn--green:hover { background: #15803d; }
.otp-btn--green:active { transform: scale(.98); }

/* ---- Error banner ---- */
.otp-error-banner {
    display: none;
    margin-top: 10px;
    padding: 10px 14px;
    background: #fff5f5;
    border-left: 3px solid #f87171;
    border-radius: 8px;
    color: #b91c1c;
    font-size: 13px;
    line-height: 1.4;
}

/* ---- Verify step ---- */
.otp-verify-info {
    text-align: center;
    margin-bottom: 16px;
}
.otp-verify-info p {
    margin: 0;
    font-size: 14px;
    color: #374151;
}
.otp-verify-info strong { color: #1a3a8a; font-weight: 700; }
.otp-muted { color: #9ca3af; font-size: 12px; margin: 0; }

/* ---- OTP digit boxes ---- */
.otp-digits-row {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 8px 0 14px;
}
.otp-digit, .evm-digit {
    width: 46px;
    height: 56px;
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #f9fafb;
    color: #1a3a8a;
    outline: none;
    transition: border-color .15s, box-shadow .15s, background .15s;
    -moz-appearance: textfield;
    -webkit-appearance: none;
    padding: 0;
    flex: 0 0 46px;
}
.otp-digit:focus, .evm-digit:focus {
    border-color: #1a3a8a;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(26,58,138,.15);
}
.otp-digit:not(:placeholder-shown), .evm-digit:not(:placeholder-shown) {
    border-color: #1a3a8a;
    background: #eef3ff;
}
.otp-digit::-webkit-inner-spin-button,
.otp-digit::-webkit-outer-spin-button,
.evm-digit::-webkit-inner-spin-button,
.evm-digit::-webkit-outer-spin-button { -webkit-appearance: none; }

/* ---- Countdown + resend ---- */
.otp-countdown-wrap {
    text-align: center;
    font-size: 12px;
    color: #9ca3af;
    margin: 8px 0;
    padding: 8px 12px;
    background: #f9fafb;
    border-radius: 8px;
}
#otp-countdown { font-weight: 800; color: #1a3a8a; }

.otp-resend-wrap {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
    padding: 10px 12px;
    background: #f9fafb;
    border-radius: 8px;
    font-size: 12px;
    color: #6b7280;
}
.otp-resend-btns {
    display: flex;
    gap: 8px;
}
.btn-otp-resend {
    background: #fff;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    color: #1a3a8a;
    cursor: pointer;
    transition: all .15s;
}
.btn-otp-resend:hover { background: #eef3ff; border-color: #1a3a8a; }

/* ---- Remember device ---- */
.otp-remember-row {
    margin: 12px 0 4px;
    padding: 10px 14px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #f3f4f6;
}
.otp-remember-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #374151;
    cursor: pointer;
    user-select: none;
    margin: 0;
    font-weight: 500;
}
.otp-remember-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: #1a3a8a;
}

/* ---- Change link ---- */
.otp-change-wrap { text-align: center; margin-top: 8px; }
.otp-change-link {
    font-size: 12px;
    color: #9ca3af;
    text-decoration: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    transition: color .15s;
}
.otp-change-link:hover { color: #1a3a8a; text-decoration: underline; }

/* ---- Auto-email hint (replaces channel buttons when verified email detected) ---- */
.otp-auto-email-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #eef3ff;
    border: 1px solid #c7d7f8;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    color: #1a3a8a;
    margin-bottom: 12px;
}
.otp-auto-email-hint span { flex: 1; }

/* ---- Alt channel row in verify step (email was used, offer SMS/WA) ---- */
.otp-alt-channel-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12px;
    margin: -4px 0 12px;
    color: #9ca3af;
}

/* ---- Returning customer card ---- */
.otp-returning-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #eef3ff;
    border: 1.5px solid #c7d2fe;
    border-radius: 12px;
    padding: 14px 16px;
    margin: 12px 0;
}
.otp-returning-avatar {
    width: 44px;
    height: 44px;
    background: #1a3a8a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.otp-returning-heading {
    font-size: 14px;
    font-weight: 700;
    color: #1a3a8a;
    margin: 0 0 2px;
}

/* ---- Welcome card ---- */
.otp-welcome-card {
    text-align: center;
    padding: 8px 0 16px;
}
.otp-welcome-tick {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 30px;
    color: #fff;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(34,197,94,.3);
}
.otp-welcome-heading {
    font-size: 20px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 6px;
}
.otp-welcome-sub { font-size: 14px; color: #6b7280; margin: 0; }

/* ---- Modal footer note ---- */
.otp-modal-footer {
    text-align: center;
    font-size: 11px;
    color: #d1d5db;
    padding: 16px 24px 20px;
    letter-spacing: .02em;
}

/* ============================================================
   EMAIL VERIFY STICKY BANNER (ev-bar)
   ============================================================ */
.ev-bar {
    background: linear-gradient(90deg, #1a3875 0%, #2563eb 60%, #7c3aed 100%);
    color: #fff;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 500;
    position: relative;
    z-index: 900;
}
.ev-bar-text {
    flex: 1;
    min-width: 0;
    letter-spacing: .01em;
}
.ev-bar-btn {
    background: #fff;
    color: #1a3875;
    border: none;
    border-radius: 6px;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: .03em;
    box-shadow: 0 1px 4px rgba(0,0,0,.12);
    transition: background .15s, transform .1s;
}
.ev-bar-btn:hover  { background: #e8edf7; transform: scale(1.03); }
.ev-bar-btn:active { transform: scale(.97); }
.ev-bar-close {
    background: none;
    border: none;
    color: rgba(255,255,255,.55);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 0 2px;
    flex-shrink: 0;
    transition: color .15s;
}
.ev-bar-close:hover { color: #fff; }

/* ============================================================
   EMAIL VERIFY MODAL (evm)
   ============================================================ */
.evm-sheet {
    padding-bottom: env(safe-area-inset-bottom, 0) !important;
    overflow-x: hidden;
}
.evm-close-top {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    border: none;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background .15s;
}
.evm-close-top:hover { background: rgba(255,255,255,.35); }
.evm-hero {
    background: linear-gradient(135deg, #1a3875 0%, #2563eb 55%, #7c3aed 100%);
    padding: 32px 24px 28px;
    text-align: center;
    position: relative;
}
.evm-hero-icon {
    font-size: 44px;
    line-height: 1;
    margin-bottom: 12px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,.2));
}
.evm-hero-title {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.01em;
    margin-bottom: 6px;
}
.evm-hero-sub {
    font-size: 13px;
    color: rgba(255,255,255,.8);
    line-height: 1.5;
    max-width: 280px;
    margin: 0 auto;
}
.evm-body {
    padding: 24px 24px 20px;
}
.evm-sent-hint {
    text-align: center;
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 18px;
    padding: 10px 14px;
    background: #f0f4ff;
    border-radius: 8px;
}
.evm-success-card {
    text-align: center;
    padding: 16px 0 8px;
}
.evm-success-tick {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    margin: 0 auto 14px;
    box-shadow: 0 8px 24px rgba(34,197,94,.3);
}
.evm-success-heading {
    font-size: 22px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 8px;
}

/* ============================================================
   BOOKING SUCCESS PAGE — email verify promo card (ev-promo)
   ============================================================ */
.ev-promo-card {
    background: linear-gradient(135deg, #1a3875 0%, #2563eb 55%, #7c3aed 100%);
    border-radius: 16px;
    padding: 28px 24px;
    margin: 28px 0;
    color: #fff;
    box-shadow: 0 8px 30px rgba(37,99,235,.25);
}
.ev-promo-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.ev-promo-icon-wrap {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ev-promo-emoji {
    font-size: 32px;
    line-height: 1;
}
.ev-promo-text {
    flex: 1;
    min-width: 200px;
}
.ev-promo-heading {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 6px;
    letter-spacing: -.01em;
}
.ev-promo-sub {
    font-size: 13px;
    color: rgba(255,255,255,.85);
    line-height: 1.5;
    margin: 0;
}
.ev-promo-sub strong { color: #fff; }
.ev-promo-action {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}
.ev-promo-btn {
    background: #fff;
    color: #1a3875;
    border: none;
    border-radius: 10px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0,0,0,.15);
    transition: background .15s, transform .1s;
    letter-spacing: .01em;
}
.ev-promo-btn:hover  { background: #e8edf7; transform: scale(1.03); }
.ev-promo-btn:active { transform: scale(.97); }
.ev-promo-dismiss {
    background: none;
    border: none;
    color: rgba(255,255,255,.55);
    font-size: 12px;
    cursor: pointer;
    padding: 0;
    transition: color .15s;
}
.ev-promo-dismiss:hover { color: rgba(255,255,255,.9); }
@media (max-width: 600px) {
    .ev-promo-inner { flex-direction: column; text-align: center; }
    .ev-promo-action { width: 100%; }
    .ev-promo-btn { width: 100%; }
}

/* ============================================================
   POST-LOGIN TOAST (booking page, after OTP close)
   ============================================================ */
.ev-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: linear-gradient(90deg, #1a3875 0%, #2563eb 100%);
    color: #fff;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 24px rgba(0,0,0,.28);
    opacity: 0;
    transition: opacity .35s, transform .35s;
    z-index: 9999;
    white-space: nowrap;
    max-width: 92vw;
}
.ev-toast--in {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.ev-toast-cta {
    background: #fff;
    color: #1a3875;
    border: none;
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .15s;
}
.ev-toast-cta:hover { background: #e8edf7; }
.ev-toast-close {
    background: none;
    border: none;
    color: rgba(255,255,255,.55);
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
}

/* ---- EVM locked email row ---- */
.evm-locked-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #f1f5f9;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 14px;
}
.evm-locked-value {
    font-size: 15px;
    color: #1e293b;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}
