:root {
    --bg: #020617;
    --panel: rgba(15, 23, 42, 0.88);
    --panel-strong: rgba(2, 6, 23, 0.88);
    --border: rgba(148, 163, 184, 0.24);
    --text: #e5e7eb;
    --muted: #94a3b8;
    --soft: #cbd5e1;
    --violet: #8a2be2;
    --blue: #3b82f6;
    --pink: #ec4899;
    --green: #22c55e;
    --red: #f87171;
    --amber: #f59e0b;
    --radius: 22px;
}

* { box-sizing: border-box; }

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
}

body.booking-page,
body.booking-confirm-body {
    min-height: 100vh;
    overflow-x: hidden;
}

a { color: inherit; }

#bookingBgCanvas {
    position: fixed;
    inset: 0;
    z-index: -30;
    width: 100%;
    height: 100%;
    display: block;
}

.booking-bg-overlay {
    position: fixed;
    inset: 0;
    z-index: -20;
    background:
        radial-gradient(circle at 18% 12%, rgba(138, 43, 226, 0.22), transparent 34%),
        radial-gradient(circle at 84% 10%, rgba(236, 72, 153, 0.16), transparent 32%),
        radial-gradient(circle at 50% 100%, rgba(59, 130, 246, 0.13), transparent 38%),
        linear-gradient(180deg, rgba(2, 6, 23, 0.72), #020617 72%);
    pointer-events: none;
}

.booking-header,
.booking-main,
.booking-footer {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}

.booking-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-lockup img {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    object-fit: cover;
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.brand-lockup strong,
.brand-lockup small {
    display: block;
}

.brand-lockup strong {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.brand-lockup small {
    color: var(--muted);
    font-size: 0.72rem;
    margin-top: 2px;
}

.booking-header nav {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(16px);
}

.booking-header nav a {
    color: var(--soft);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 9px 13px;
    border-radius: 999px;
}

.booking-header nav a:hover,
.booking-header nav a.active {
    color: #fff;
    background: rgba(138, 43, 226, 0.28);
}

.booking-main {
    padding: 34px 0 48px;
}

.booking-hero {
    max-width: 900px;
    margin: 0 auto 28px;
    text-align: center;
}

.booking-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f0abfc;
    border: 1px solid rgba(236, 72, 153, 0.32);
    background: rgba(236, 72, 153, 0.08);
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 900;
}

.booking-kicker span {
    width: 7px;
    height: 7px;
    border-radius: 99px;
    background: #ec4899;
    box-shadow: 0 0 16px rgba(236, 72, 153, 0.9);
}

.booking-hero h1 {
    margin: 18px auto 14px;
    max-width: 850px;
    font-size: clamp(2.25rem, 6vw, 4.8rem);
    line-height: 0.98;
    letter-spacing: -0.07em;
    background: linear-gradient(135deg, #fff, #c4b5fd 42%, #f9a8d4 75%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.booking-hero p {
    max-width: 720px;
    margin: 0 auto;
    color: var(--soft);
    line-height: 1.7;
    font-size: 1rem;
}

.booking-hero-points {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.booking-hero-points span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.62);
    color: var(--soft);
    font-size: 0.78rem;
    font-weight: 800;
}

.booking-hero-points i { color: #c084fc; }

.booking-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 20px;
    align-items: start;
}

.booking-panel {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--panel);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 80px rgba(2, 6, 23, 0.58);
    overflow: hidden;
}

.panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.panel-label {
    margin: 0 0 5px;
    color: #c084fc;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 900;
}

.panel-top h2,
.slots-heading h3 {
    margin: 0;
    color: #fff;
    font-size: 1.2rem;
}

.calendar-controls,
.mobile-week-controls {
    display: flex;
    align-items: center;
	justify-content: center;
    gap: 10px;
}

.calendar-controls strong,
.mobile-week-controls strong {
    min-width: 155px;
    text-align: center;
    color: var(--soft);
    font-size: 0.85rem;
}

.calendar-controls button,
.mobile-week-controls button {
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(2, 6, 23, 0.45);
    color: var(--soft);
    border-radius: 12px;
    min-width: 38px;
    height: 38px;
    cursor: pointer;
    font-weight: 900;
}

.calendar-controls button:hover,
.mobile-week-controls button:hover {
    border-color: rgba(236, 72, 153, 0.5);
    color: #fff;
}

.desktop-calendar {
    padding: 18px;
}

.calendar-weekdays,
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-weekdays span {
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
    padding: 4px 0 8px;
}

.calendar-day {
    position: relative;
    min-height: 88px;
    padding: 10px;
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.38);
    color: #e5e7eb;
    text-align: left;
    cursor: pointer;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.calendar-day:hover {
    transform: translateY(-1px);
    border-color: rgba(236, 72, 153, 0.42);
}

.calendar-day.empty,
.calendar-day.disabled {
    cursor: default;
    opacity: 0.38;
}

.calendar-day.empty:hover,
.calendar-day.disabled:hover {
    transform: none;
    border-color: rgba(148, 163, 184, 0.15);
}

.calendar-day.selected {
    border-color: rgba(236, 72, 153, 0.82);
    box-shadow: 0 0 0 1px rgba(236, 72, 153, 0.25), 0 18px 45px rgba(236, 72, 153, 0.12);
}

.calendar-day .date-num {
    display: block;
    font-weight: 900;
    font-size: 0.95rem;
}

.calendar-day .availability {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 9px;
    color: var(--muted);
    font-size: 0.67rem;
}

.calendar-day.available .availability { color: #bbf7d0; }
.calendar-day.limited .availability { color: #fed7aa; }
.calendar-day.unavailable .availability { color: #94a3b8; }

.mobile-week-picker {
    display: none;
    padding: 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.mobile-day-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.mobile-day {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 15px;
    background: rgba(2, 6, 23, 0.45);
    color: var(--soft);
    padding: 12px 8px;
    cursor: pointer;
    text-align: center;
}

.mobile-day strong,
.mobile-day span,
.mobile-day small { display: block; }
.mobile-day strong { color: #fff; font-size: 1rem; }
.mobile-day span { color: #c084fc; font-size: 0.7rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; }
.mobile-day small { color: var(--muted); margin-top: 4px; font-size: 0.68rem; }
.mobile-day.selected { border-color: rgba(236, 72, 153, 0.82); background: rgba(236, 72, 153, 0.12); }
.mobile-day.disabled { opacity: 0.42; cursor: default; }

.slots-wrap {
    padding: 20px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.slots-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

#slotHint {
    color: var(--muted);
    font-size: 0.75rem;
    text-align: right;
}

.slots-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    min-height: 48px;
}

.slot-btn {
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 13px;
    padding: 11px 9px;
    background: rgba(2, 6, 23, 0.44);
    color: #e5e7eb;
    cursor: pointer;
    font-weight: 900;
    font-size: 0.82rem;
}

.slot-btn:hover,
.slot-btn.selected {
    border-color: rgba(236, 72, 153, 0.78);
    background: rgba(236, 72, 153, 0.12);
}

.empty-slots {
    grid-column: 1 / -1;
    border: 1px dashed rgba(148, 163, 184, 0.22);
    border-radius: 15px;
    padding: 15px;
    color: var(--muted);
    text-align: center;
    font-size: 0.82rem;
}

.form-panel {
    position: sticky;
    top: 18px;
}

.selected-slot-card {
    margin: 20px 20px 0;
    border: 1px solid rgba(34, 197, 94, 0.26);
    border-radius: 16px;
    background: rgba(34, 197, 94, 0.08);
    color: #dcfce7;
    padding: 13px 14px;
    font-size: 0.82rem;
    font-weight: 800;
}

.selected-slot-card.muted {
    border-color: rgba(148, 163, 184, 0.2);
    background: rgba(2, 6, 23, 0.34);
    color: var(--muted);
}

.booking-form {
    padding: 20px;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

fieldset:disabled {
    opacity: 0.58;
}

.form-grid {
    display: grid;
    gap: 12px;
}

.form-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.booking-form label {
    display: block;
    margin-bottom: 12px;
}

.booking-form label span {
    display: block;
    color: var(--soft);
    font-size: 0.76rem;
    font-weight: 900;
    margin-bottom: 6px;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 13px;
    background: rgba(2, 6, 23, 0.52);
    color: #fff;
    padding: 12px 13px;
    outline: none;
    font: inherit;
    font-size: 0.86rem;
}

.booking-form textarea {
    min-height: 105px;
    resize: vertical;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    border-color: rgba(236, 72, 153, 0.72);
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1);
}

.consent-row {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 14px;
    background: rgba(2, 6, 23, 0.28);
}

.consent-row input {
    width: auto;
    margin-top: 3px;
}

.consent-row span {
    margin: 0 !important;
    color: var(--soft) !important;
    font-weight: 700 !important;
    line-height: 1.5;
}

.captcha-wrap {
    margin: 14px 0;
    overflow-x: auto;
}

.booking-submit,
.booking-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 14px;
    min-height: 48px;
    padding: 12px 16px;
    background: linear-gradient(135deg, var(--violet), var(--pink));
    color: #fff;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 18px 42px rgba(138, 43, 226, 0.28);
}

.booking-submit {
    width: 100%;
}

.booking-submit:disabled {
    opacity: 0.65;
    cursor: wait;
}

.booking-btn.secondary {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.24);
    box-shadow: none;
}

.booking-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #fff;
    animation: spin 800ms linear infinite;
}

.booking-submit.loading .booking-spinner { display: inline-block; }

@keyframes spin { to { transform: rotate(360deg); } }

.booking-status {
    margin: 0 20px 20px;
    padding: 0;
    min-height: 0;
    font-size: 0.84rem;
    line-height: 1.6;
}

.booking-status.visible {
    padding: 13px 14px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(2, 6, 23, 0.4);
}

.booking-status.success { color: #bbf7d0; border-color: rgba(34, 197, 94, 0.35); }
.booking-status.error { color: #fecaca; border-color: rgba(248, 113, 113, 0.35); }

.booking-honeypot {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
}

.booking-footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 26px 0 34px;
    color: #64748b;
    font-size: 0.78rem;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.booking-footer a {
    color: #c084fc;
    text-decoration: none;
    font-weight: 900;
}

.confirm-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        radial-gradient(circle at 20% 15%, rgba(138, 43, 226, 0.23), transparent 36%),
        radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.18), transparent 36%),
        #020617;
}

.confirm-card {
    width: min(620px, 100%);
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.92);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
    padding: 30px;
}

.confirm-kicker {
    color: #f0abfc;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin: 0 0 12px;
}

.confirm-card h1 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.confirm-card p {
    color: var(--soft);
    line-height: 1.65;
}

.confirm-card.success { border-color: rgba(34, 197, 94, 0.38); }
.confirm-card.warning { border-color: rgba(245, 158, 11, 0.42); }
.confirm-card.error { border-color: rgba(248, 113, 113, 0.42); }

.confirm-details {
    margin: 18px 0;
    padding: 14px 15px;
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.18);
    color: #fff;
    font-weight: 900;
}

.confirm-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

@media (max-width: 980px) {
    .booking-shell {
        grid-template-columns: 1fr;
    }

    .form-panel {
        position: static;
    }
}

@media (max-width: 720px) {
    .booking-header,
    .booking-main,
    .booking-footer {
        width: min(100% - 22px, 1180px);
    }

    .booking-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .booking-header nav {
        width: 100%;
        overflow-x: auto;
        justify-content: space-between;
        border-radius: 16px;
    }

    .booking-header nav a {
        white-space: nowrap;
    }

    .booking-main {
        padding-top: 16px;
    }

    .booking-hero {
        text-align: left;
    }

    .booking-hero h1 {
        margin-inline: 0;
    }

    .booking-hero p {
        margin-inline: 0;
    }

    .booking-hero-points {
        justify-content: flex-start;
    }

    .desktop-calendar {
        display: none;
    }

    .mobile-week-picker {
        display: block;
    }

    .panel-top,
    .slots-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .calendar-controls {
        width: 100%;
        justify-content: space-between;
    }

    .slots-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .form-grid.two {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .booking-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .confirm-card {
        padding: 22px;
    }
}

@media (max-width: 420px) {
    .mobile-day-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .slots-list {
        grid-template-columns: 1fr;
    }
}
.booking-btn.danger {
    background: rgba(127, 29, 29, 0.9);
    border: 1px solid rgba(248, 113, 113, 0.42);
    box-shadow: 0 18px 42px rgba(127, 29, 29, 0.25);
}

.booking-btn.danger:hover {
    background: rgba(153, 27, 27, 0.95);
}

.confirm-details.video-note {
    border-color: rgba(59, 130, 246, 0.32);
    color: #bfdbfe;
}

.captcha-wrap.captcha-disabled,
#bookingFieldset:disabled .captcha-wrap {
    pointer-events: none;
    opacity: 0.45;
    filter: grayscale(1);
}

@media (max-width: 720px) {
    .booking-kicker {
        font-size: 0.58rem;
        letter-spacing: 0.1em;
        padding: 5px 9px;
        max-width: 100%;
    }
}

@media (max-width: 420px) {
    .booking-kicker {
        display: none;
    }
}