/* Booking flow — MinDeck brand */

:root {
    --bk-navy: #1e2b58;
    --bk-blue: #0071bc;
    --bk-gold: #ffd200;
    --bk-ink: #162038;
    --bk-muted: #5b657a;
    --bk-line: rgba(30, 43, 88, 0.12);
    --bk-soft: rgba(0, 113, 188, 0.08);
    --bk-surface: #ffffff;
    --bk-radius: 1.15rem;
}

* { box-sizing: border-box; }

.booking-body {
    margin: 0;
    min-height: 100vh;
    color: var(--bk-ink);
    font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    background:
        radial-gradient(ellipse 80% 55% at 8% -10%, rgba(0, 113, 188, 0.14), transparent 55%),
        radial-gradient(ellipse 70% 50% at 100% 0%, rgba(255, 210, 0, 0.16), transparent 50%),
        linear-gradient(180deg, #f4f7fc 0%, #eef3fa 45%, #f8fafc 100%);
}

.booking-shell {
    width: min(720px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 1.25rem 0 3.5rem;
}

.booking-session {
    animation: booking-enter 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes booking-enter {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.booking-session__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.booking-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.55rem;
    height: 2.55rem;
    color: var(--bk-navy);
    text-decoration: none;
    border-radius: 999px;
    border: 1px solid var(--bk-line);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(8px);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.booking-back:hover {
    background: #fff;
    border-color: rgba(30, 43, 88, 0.28);
    transform: translateX(-2px);
}

.booking-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    color: var(--bk-navy);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.booking-brand img {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
    border-radius: 0.4rem;
}

.booking-steps {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1.85rem;
    padding: 0.55rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--bk-line);
    backdrop-filter: blur(8px);
    width: fit-content;
    max-width: 100%;
    overflow-x: auto;
}

.booking-steps__item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    color: var(--bk-muted);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.booking-steps__item em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    font-style: normal;
    font-size: 0.72rem;
    background: rgba(30, 43, 88, 0.08);
    color: var(--bk-muted);
}

.booking-steps__item.is-active {
    color: var(--bk-navy);
}

.booking-steps__item.is-active em {
    background: var(--bk-navy);
    color: #fff;
}

.booking-steps__rule {
    width: 1.1rem;
    height: 1px;
    background: rgba(30, 43, 88, 0.18);
    flex-shrink: 0;
}

.booking-session__intro {
    margin-bottom: 1.6rem;
}

.booking-kicker {
    margin: 0 0 0.55rem;
    color: var(--bk-blue);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.booking-title {
    margin: 0 0 0.7rem;
    max-width: 16ch;
    font-size: clamp(1.85rem, 4vw, 2.45rem);
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -0.035em;
    color: var(--bk-navy);
}

.booking-lead {
    margin: 0;
    max-width: 36rem;
    color: var(--bk-muted);
    font-size: 1.02rem;
    line-height: 1.55;
}

.booking-therapist-chip {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.25rem;
    padding: 0.7rem 0.85rem;
    width: fit-content;
    max-width: 100%;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--bk-line);
    box-shadow: 0 10px 28px rgba(30, 43, 88, 0.05);
    animation: booking-chip 0.65s 0.12s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes booking-chip {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.booking-therapist-chip img {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px var(--bk-line);
}

.booking-therapist-chip__label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--bk-muted);
}

.booking-therapist-chip strong {
    display: block;
    margin-top: 0.1rem;
    font-size: 0.98rem;
    color: var(--bk-navy);
}

.booking-choice-list {
    display: grid;
    gap: 0.95rem;
}

.booking-choice {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1.15rem 1.2rem;
    text-align: left;
    border: 1px solid var(--bk-line);
    border-radius: var(--bk-radius);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88));
    color: var(--bk-ink);
    font: inherit;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(30, 43, 88, 0.04);
    transition:
        border-color 0.2s ease,
        box-shadow 0.25s ease,
        transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.2s ease;
    animation: booking-choice-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.booking-choice:nth-child(2) { animation-delay: 0.08s; }
.booking-choice:nth-child(3) { animation-delay: 0.16s; }

@keyframes booking-choice-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.booking-choice:hover,
.booking-choice:focus-visible {
    outline: none;
    border-color: rgba(0, 113, 188, 0.45);
    box-shadow:
        0 14px 34px rgba(30, 43, 88, 0.1),
        0 0 0 3px rgba(0, 113, 188, 0.08);
    transform: translateY(-2px);
}

.booking-choice:active {
    transform: translateY(0);
}

.booking-choice__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.15rem;
    height: 3.15rem;
    border-radius: 0.95rem;
    color: var(--bk-navy);
    background: linear-gradient(145deg, rgba(0, 113, 188, 0.12), rgba(255, 210, 0, 0.18));
    flex-shrink: 0;
}

.booking-choice--couple .booking-choice__icon {
    background: linear-gradient(145deg, rgba(30, 43, 88, 0.1), rgba(0, 113, 188, 0.14));
}

.booking-choice__body {
    display: grid;
    gap: 0.28rem;
    min-width: 0;
}

.booking-choice__title {
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--bk-navy);
}

.booking-choice__desc {
    color: var(--bk-muted);
    font-size: 0.92rem;
    line-height: 1.45;
}

.booking-choice__arrow {
    display: inline-flex;
    color: rgba(30, 43, 88, 0.35);
    transition: color 0.2s ease, transform 0.2s ease;
}

.booking-choice:hover .booking-choice__arrow {
    color: var(--bk-blue);
    transform: translateX(3px);
}

.booking-session__note {
    margin: 1.5rem 0 0;
    color: var(--bk-muted);
    font-size: 0.82rem;
    letter-spacing: 0.01em;
}

.booking-steps__item.is-done {
    color: var(--bk-navy);
}

.booking-steps__item.is-done em {
    background: rgba(0, 113, 188, 0.14);
    color: var(--bk-blue);
    font-size: 0.65rem;
}

.booking-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
    align-items: stretch;
}

.booking-meta-row .booking-therapist-chip {
    margin-top: 0;
}

.booking-session-pill {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.1rem;
    padding: 0.7rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--bk-line);
    box-shadow: 0 10px 28px rgba(30, 43, 88, 0.05);
    animation: booking-chip 0.65s 0.18s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.booking-session-pill__label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--bk-muted);
}

.booking-session-pill strong {
    font-size: 0.98rem;
    color: var(--bk-navy);
}

/* —— Schedule page —— */

.booking-schedule-page {
    animation: booking-enter 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.booking-schedule {
    display: grid;
    gap: 1.15rem;
}

.booking-panel {
    padding: 1.25rem 1.2rem 1.35rem;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--bk-line);
    box-shadow: 0 14px 36px rgba(30, 43, 88, 0.06);
    backdrop-filter: blur(10px);
}

.booking-calendar {
    animation: booking-choice-in 0.55s 0.06s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.booking-slots {
    animation: booking-choice-in 0.55s 0.14s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.booking-panel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.15rem;
}

.booking-panel__title {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--bk-blue);
}

.booking-legend {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    color: var(--bk-muted);
    font-size: 0.78rem;
    font-weight: 600;
}

.booking-legend__dot {
    width: 0.7rem;
    height: 3px;
    border-radius: 999px;
    background: #22c55e;
}

@media (min-width: 860px) {
    .booking-shell {
        width: min(960px, calc(100% - 2rem));
    }

    .booking-schedule {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 1.25rem;
        align-items: start;
    }
}

.booking-cal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 0.35rem 0.25rem;
}

.booking-cal-label {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--bk-navy);
}

.booking-cal-arrow {
    display: inline-flex;
    width: 2.35rem;
    height: 2.35rem;
    align-items: center;
    justify-content: center;
    color: var(--bk-navy);
    text-decoration: none;
    border-radius: 999px;
    border: 1px solid var(--bk-line);
    background: #fff;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.booking-cal-arrow:hover {
    background: #f7faff;
    border-color: rgba(0, 113, 188, 0.35);
    transform: scale(1.04);
}

.booking-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.35rem 0.2rem;
    text-align: center;
}

.booking-cal-head {
    margin-bottom: 0.45rem;
    color: #8b93a7;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.booking-day {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.7rem;
    color: #c2c7d4;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
}

.booking-day.is-empty {
    min-height: 2.7rem;
}

.booking-day.is-available {
    color: var(--bk-ink);
}

.booking-day.is-available span {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.booking-day.is-available:hover span {
    background: rgba(0, 113, 188, 0.1);
    color: var(--bk-navy);
    transform: scale(1.05);
}

.booking-day.is-available span::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0.28rem;
    width: 0.85rem;
    height: 2px;
    border-radius: 999px;
    background: #22c55e;
    transform: translateX(-50%);
}

.booking-day.is-selected span {
    background: var(--bk-navy);
    color: #fff;
    box-shadow: 0 8px 18px rgba(30, 43, 88, 0.22);
}

.booking-day.is-selected span::after {
    display: none;
}

.booking-day.is-selected:hover span {
    background: var(--bk-navy);
    color: #fff;
}

.booking-day.is-past {
    color: #d4d4d4;
    pointer-events: none;
}

.booking-slots-date {
    margin: 0;
    font-size: 1.28rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--bk-navy);
}

.booking-slots-weekday {
    margin: 0.15rem 0 0;
    color: var(--bk-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.booking-slots-count {
    margin: 0;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: rgba(0, 113, 188, 0.08);
    color: var(--bk-blue);
    font-size: 0.78rem;
    font-weight: 650;
    white-space: nowrap;
}

.booking-slots-count strong {
    font-weight: 800;
}

.booking-slots-hint {
    margin: 0 0 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--bk-muted);
}

.booking-slot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.booking-slot {
    min-height: 3.05rem;
    border: 1px solid var(--bk-line);
    border-radius: 0.85rem;
    background: #fff;
    color: var(--bk-ink);
    font: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.booking-slot:hover {
    border-color: rgba(0, 113, 188, 0.45);
    color: var(--bk-navy);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(30, 43, 88, 0.06);
}

.booking-slot.is-selected {
    background: linear-gradient(135deg, var(--bk-navy), var(--bk-blue));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 10px 22px rgba(30, 43, 88, 0.2);
}

.booking-continue {
    margin-top: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    min-height: 3.2rem;
    border: 0;
    border-radius: 0.95rem;
    background: linear-gradient(90deg, var(--bk-navy), var(--bk-blue));
    color: #fff;
    font: inherit;
    font-weight: 700;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.booking-continue:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(30, 43, 88, 0.22);
}

.booking-continue:disabled {
    opacity: 0.38;
    cursor: not-allowed;
}

.booking-empty-box {
    padding: 1.5rem 0.5rem 0.75rem;
    text-align: center;
}

.booking-empty {
    margin: 0;
    color: var(--bk-navy);
    font-size: 1rem;
    font-weight: 700;
}

.booking-empty-sub {
    margin: 0.4rem 0 0;
    color: var(--bk-muted);
    font-size: 0.9rem;
}

.booking-alert {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    background: #fff1f1;
    color: #b42318;
    font-size: 0.9rem;
}

.hidden {
    display: none !important;
}

@media (max-width: 640px) {
    .booking-shell {
        width: min(100% - 1.25rem, 960px);
        padding-top: 0.85rem;
    }

    .booking-title {
        max-width: none;
    }

    .booking-choice {
        grid-template-columns: auto 1fr;
        gap: 0.85rem;
        padding: 1rem;
    }

    .booking-choice__arrow {
        display: none;
    }

    .booking-choice__desc {
        font-size: 0.88rem;
    }

    .booking-panel {
        padding: 1.05rem 0.95rem 1.15rem;
    }

    .booking-slot-grid {
        gap: 0.55rem;
    }
}
