@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@400;500;600;700;800&display=swap");

.nlv-booking-page {
    --nlv-navy: #24314a;
    --nlv-gold: #d7a85d;
    --nlv-earth: #2d261b;
    --nlv-green: #184635;
    --nlv-wine: #62313b;
    --nlv-ivory: #fff8ed;
    --nlv-surface: #fffdf8;
    --nlv-soft: #f6efe4;
    --nlv-line: rgba(45, 38, 27, 0.15);
    --nlv-muted: rgba(45, 38, 27, 0.64);
    background: var(--nlv-soft);
    color: var(--nlv-earth);
    font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
    min-height: 100vh;
}

.nlv-booking-page * {
    box-sizing: border-box;
}

.nlv-booking-hero {
    background: var(--nlv-navy);
    border-bottom: 1px solid rgba(215, 168, 93, 0.55);
    color: var(--nlv-ivory);
    padding: 34px 0 30px;
    position: relative;
}

.nlv-booking-hero::after {
    background: rgba(215, 168, 93, 0.28);
    bottom: 0;
    content: "";
    height: 1px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    width: min(760px, 86vw);
}

.nlv-booking-topline {
    align-items: center;
    display: flex;
    gap: 14px;
    justify-content: center;
    margin: 0 auto 18px;
    text-align: center;
}

.nlv-booking-topline .nlv-booking-logo {
    max-height: 124px;
    max-width: min(300px, 72vw);
    object-fit: contain;
}

.nlv-booking-logo {
    display: block;
    height: auto;
    margin: 0 auto;
    width: auto;
}

.nlv-payment-shell > .nlv-booking-logo {
    max-height: 92px;
    max-width: min(128px, 34vw);
    object-fit: contain;
}

.nlv-payment-shell .nlv-booking-kicker {
    margin-top: 10px;
}

.nlv-booking-kicker,
.nlv-step-pill {
    color: var(--nlv-gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0;
    text-transform: uppercase;
}

.nlv-step-pill {
    background: rgba(215, 168, 93, 0.12);
    border: 1px solid rgba(215, 168, 93, 0.25);
    border-radius: 999px;
    display: inline-flex;
    justify-self: start;
    padding: 5px 10px;
}

.nlv-booking-hero h1,
.nlv-payment-shell h1 {
    color: inherit;
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    font-size: 48px;
    font-weight: 500;
    line-height: 1.06;
    margin: 0 0 12px;
    text-align: center;
}

.nlv-booking-lede {
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.65;
    margin: 0 auto;
    max-width: 620px;
    text-align: center;
}

.nlv-booking-shell,
.nlv-payment-shell {
    padding: 26px 0 56px;
}

.nlv-booking-grid {
    display: grid;
    gap: 26px;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.72fr);
}

.nlv-session-list {
    min-width: 0;
}

.nlv-member-panel,
.nlv-payment-summary {
    background: var(--nlv-surface);
    border: 1px solid var(--nlv-line);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(36, 49, 74, 0.08);
    padding: 24px;
}

.nlv-session-heading,
.nlv-panel-heading {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.nlv-session-list h2,
.nlv-member-panel h2 {
    color: var(--nlv-navy);
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.08;
    margin: 0;
}

.nlv-session-heading p {
    color: var(--nlv-muted);
    font-size: 14px;
    line-height: 1.45;
    margin: 0;
}

.nlv-location-filter,
.nlv-calendar-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 0 2px 8px;
    scrollbar-width: thin;
}

.nlv-location-filter {
    margin-bottom: 18px;
}

.nlv-calendar-strip {
    margin-bottom: 14px;
}

.nlv-filter-button,
.nlv-calendar-day {
    background: #fff;
    border: 1px solid var(--nlv-line);
    border-radius: 8px;
    color: var(--nlv-earth);
    flex: 0 0 auto;
    transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.nlv-filter-button {
    display: grid;
    gap: 2px;
    font-weight: 800;
    min-height: 52px;
    min-width: 124px;
    padding: 8px 18px;
    text-align: left;
}

.nlv-calendar-day {
    display: grid;
    gap: 2px;
    min-width: 92px;
    padding: 11px 13px;
    text-align: left;
}

.nlv-filter-button span {
    font-size: 14px;
    line-height: 1.1;
}

.nlv-filter-button strong {
    color: var(--nlv-muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.1;
}

.nlv-calendar-day span {
    color: var(--nlv-muted);
    font-size: 12px;
    text-transform: uppercase;
}

.nlv-calendar-day strong {
    color: var(--nlv-navy);
    font-size: 15px;
}

.nlv-filter-button.is-active,
.nlv-calendar-day.is-active {
    background: var(--nlv-navy);
    border-color: var(--nlv-navy);
    box-shadow: none;
    color: var(--nlv-ivory);
}

.nlv-calendar-day.is-active span,
.nlv-calendar-day.is-active strong,
.nlv-filter-button.is-active strong {
    color: var(--nlv-ivory);
}

.nlv-session-subheading {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin: 0 0 10px;
}

.nlv-session-subheading span {
    color: var(--nlv-green);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.nlv-session-card-grid {
    display: grid;
    gap: 7px;
    max-height: 520px;
    overflow-y: auto;
    padding-right: 4px;
}

.nlv-session-option {
    align-items: center;
    background: #fff;
    border: 1px solid var(--nlv-line);
    border-radius: 8px;
    cursor: pointer;
    display: grid;
    gap: 8px;
    grid-template-columns: 18px 58px minmax(0, 1fr) auto;
    margin-bottom: 0;
    min-width: 0;
    padding: 8px 10px;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.nlv-session-option:hover {
    border-color: rgba(215, 168, 93, 0.76);
    box-shadow: 0 12px 28px rgba(36, 49, 74, 0.08);
    transform: translateY(-1px);
}

.nlv-session-option:has(input:checked),
.nlv-session-option.is-selected {
    border-color: var(--nlv-gold);
    box-shadow: 0 0 0 2px rgba(215, 168, 93, 0.3), 0 16px 30px rgba(36, 49, 74, 0.1);
}

.nlv-session-option.is-full {
    background: rgba(255, 255, 255, 0.62);
    cursor: not-allowed;
    opacity: 0.72;
}

.nlv-session-option.is-full:hover {
    border-color: var(--nlv-line);
    box-shadow: none;
    transform: none;
}

.nlv-session-option input {
    accent-color: var(--nlv-navy);
    margin: 0;
}

.nlv-session-option input:disabled {
    cursor: not-allowed;
}

.nlv-session-time {
    align-items: center;
    align-self: stretch;
    background: rgba(36, 49, 74, 0.06);
    border: 1px solid rgba(36, 49, 74, 0.08);
    border-radius: 8px;
    color: var(--nlv-navy);
    display: flex;
    justify-content: center;
    min-height: 34px;
}

.nlv-session-time strong {
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
}

.nlv-session-main,
.nlv-session-meta,
.nlv-member-panel label {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.nlv-session-main strong,
.nlv-payment-summary strong {
    color: var(--nlv-navy);
    font-weight: 700;
}

.nlv-session-main strong {
    font-size: 14px;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.nlv-session-main span,
.nlv-session-meta,
.nlv-member-panel label span,
.nlv-payment-summary span {
    color: var(--nlv-muted);
    font-size: 13px;
}

.nlv-session-main .nlv-session-teacher {
    color: var(--nlv-earth);
    font-weight: 700;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.nlv-session-detail {
    color: var(--nlv-muted);
    font-size: 12px;
    line-height: 1.18;
    overflow-wrap: anywhere;
}

.nlv-session-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.nlv-session-tags span {
    background: rgba(24, 70, 53, 0.08);
    border: 1px solid rgba(24, 70, 53, 0.14);
    border-radius: 999px;
    color: var(--nlv-green);
    display: inline-flex;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    padding: 3px 7px;
}

.nlv-session-tags .nlv-session-spicy {
    background: rgba(215, 168, 93, 0.12);
    border-color: rgba(215, 168, 93, 0.24);
    color: var(--nlv-earth);
    font-size: 13px;
    letter-spacing: 0;
    padding: 2px 6px;
}

.nlv-session-meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
    white-space: normal;
}

.nlv-session-meta span {
    background: rgba(36, 49, 74, 0.06);
    border-radius: 999px;
    color: var(--nlv-navy);
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    padding: 5px 8px;
}

.nlv-session-meta .nlv-session-low {
    background: rgba(215, 168, 93, 0.14);
    color: var(--nlv-earth);
}

.nlv-session-meta .nlv-session-full {
    background: rgba(98, 49, 59, 0.1);
    color: var(--nlv-wine);
}

.nlv-member-panel {
    align-self: start;
    display: grid;
    gap: 15px;
    position: sticky;
    top: 18px;
}

.nlv-member-found {
    background: rgba(24, 70, 53, 0.08);
    border: 1px solid rgba(24, 70, 53, 0.22);
    border-radius: 8px;
    color: var(--nlv-green);
    display: grid;
    gap: 2px;
    padding: 12px;
}

.nlv-booking-page .form-control {
    background: #fff;
    border-color: var(--nlv-line);
    border-radius: 8px;
    color: var(--nlv-earth);
    min-height: 46px;
}

.nlv-booking-page .form-control:focus {
    border-color: var(--nlv-gold);
    box-shadow: 0 0 0 0.2rem rgba(215, 168, 93, 0.22);
}

.nlv-booking-submit {
    background: var(--nlv-navy);
    border-color: var(--nlv-navy);
    border-radius: 8px;
    color: var(--nlv-ivory);
    font-weight: 800;
    min-height: 50px;
    width: 100%;
}

.nlv-booking-submit:hover,
.nlv-booking-submit:focus {
    background: #1b263b;
    border-color: #1b263b;
    color: var(--nlv-gold);
}

.nlv-booking-page .btn-outline-primary {
    border-color: var(--nlv-navy);
    color: var(--nlv-navy);
}

.nlv-booking-page .btn-outline-primary:hover,
.nlv-booking-page .btn-outline-primary:focus {
    background: var(--nlv-navy);
    border-color: var(--nlv-navy);
    color: var(--nlv-ivory);
}

.nlv-payment-shell {
    max-width: 720px;
    text-align: center;
}

.nlv-payment-shell .nlv-booking-logo {
    max-height: 92px;
    max-width: min(128px, 34vw);
}

.nlv-payment-shell .nlv-booking-kicker {
    color: var(--nlv-wine);
}

.nlv-payment-summary {
    display: grid;
    gap: 0;
    margin: 24px 0;
    padding: 0;
    text-align: left;
}

.nlv-payment-summary div {
    align-items: center;
    border-bottom: 1px solid var(--nlv-line);
    display: flex;
    justify-content: space-between;
    padding: 15px 18px;
}

.nlv-payment-summary div:last-child {
    border-bottom: 0;
}

.nlv-payment-note {
    color: var(--nlv-muted);
    font-size: 13px;
    margin: 12px 0 0;
}

.nlv-empty {
    border: 1px dashed rgba(45, 38, 27, 0.28);
    border-radius: 8px;
    color: var(--nlv-muted);
    padding: 24px;
    text-align: center;
}

@media (max-width: 768px) {
    .nlv-booking-page {
        background: #fbf3e8;
    }

    .nlv-booking-page .container {
        max-width: none;
        padding-left: 16px;
        padding-right: 16px;
        width: 100%;
    }

    .nlv-booking-hero {
        padding: 14px 0 18px;
    }

    .nlv-booking-topline {
        justify-content: center;
        margin-bottom: 12px;
    }

    .nlv-booking-topline .nlv-booking-logo {
        max-height: 96px;
        max-width: min(220px, 68vw);
    }

    .nlv-booking-hero h1,
    .nlv-payment-shell h1 {
        font-size: 34px;
        margin-bottom: 8px;
        text-align: center;
    }

    .nlv-booking-lede {
        font-size: 14px;
        line-height: 1.45;
        margin: 0 auto;
        max-width: 330px;
        text-align: center;
    }

    .nlv-booking-shell,
    .nlv-payment-shell {
        padding: 14px 0 32px;
    }

    .nlv-booking-grid {
        gap: 22px;
        grid-template-columns: 1fr;
    }

    .nlv-session-heading,
    .nlv-panel-heading {
        gap: 7px;
        margin-bottom: 14px;
    }

    .nlv-session-list h2,
    .nlv-member-panel h2 {
        font-size: 25px;
    }

    .nlv-session-heading p {
        font-size: 13px;
    }

    .nlv-location-filter,
    .nlv-calendar-strip {
        flex-wrap: wrap;
        overflow-x: visible;
        scrollbar-width: none;
    }

    .nlv-location-filter {
        flex-wrap: nowrap;
    }

    .nlv-filter-button {
        flex: 1 1 0;
        min-height: 46px;
        min-width: 0;
        padding: 10px 8px;
    }

    .nlv-calendar-day {
        flex: 1 1 calc((100% - 24px) / 4);
        min-width: 0;
        padding: 10px 8px;
    }

    .nlv-session-card-grid {
        gap: 8px;
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }

    .nlv-session-option {
        align-items: center;
        gap: 8px;
        grid-template-columns: 18px 56px minmax(0, 1fr);
        padding: 8px;
    }

    .nlv-session-option:hover {
        transform: none;
    }

    .nlv-session-option input {
        margin: 0;
    }

    .nlv-session-time {
        min-height: 34px;
    }

    .nlv-session-time strong {
        font-size: 15px;
    }

    .nlv-session-main {
        gap: 4px;
    }

    .nlv-session-main strong {
        font-size: 13px;
        overflow-wrap: anywhere;
    }

    .nlv-session-main span {
        overflow-wrap: anywhere;
    }

    .nlv-session-meta {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        grid-column: 3;
        justify-content: flex-start;
        white-space: normal;
    }

    .nlv-session-meta span {
        background: rgba(36, 49, 74, 0.06);
        border-radius: 999px;
        color: var(--nlv-navy);
        display: inline-flex;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.2;
        padding: 5px 8px;
    }

    .nlv-member-panel {
        box-shadow: 0 12px 30px rgba(36, 49, 74, 0.08);
        gap: 14px;
        padding: 18px;
        position: static;
    }

    .nlv-booking-page .form-control {
        font-size: 16px;
        min-height: 48px;
    }

    .nlv-booking-submit {
        min-height: 52px;
    }

    .nlv-payment-summary div {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
}

@media (max-width: 420px) {
    .nlv-booking-page .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .nlv-booking-hero h1,
    .nlv-payment-shell h1 {
        font-size: 31px;
    }

    .nlv-filter-button {
        flex-basis: 0;
    }

    .nlv-session-option,
    .nlv-member-panel {
        border-radius: 8px;
    }
}
