@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --pink: #ff5ee4;
    --danger: #ff8b8b;
    --purple: #3f2a6d;
    --yellow: #f7f139;
    --bg: #140812;
    --card: #1f0c21;
    --text: #f7f7fb;
    --muted: #d9cfe0;
    --border: #4a2b46;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    --glass: #1f0c21;
    --accent: #ff5ee4;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    background: #000000;
    line-height: 1.5;
    color: var(--text);
    min-height: 100vh;
}

a {
    color: var(--pink);
}

.page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 72px;
}

.page--compact {
    max-width: 1060px;
}

/* Hero layout inspired by magazine section */
.booking-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 80px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.booking-hero__art {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0;
    padding: 24px 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: var(--shadow);
}

.booking-hero__logo {
    color: var(--accent);
    max-width: 260px;
}

.booking-hero__logo svg {
    width: 100%;
    height: auto;
}

.booking-hero__copy {
    color: #fff;
}

.booking-hero__kicker {
    font-size: 14px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin: 0 0 6px;
    color: var(--pink);
}

.booking-hero__title {
    margin: 0 0 8px;
    font-size: 32px;
    line-height: 1.1;
}

.booking-hero__text {
    margin: 0;
    color: var(--muted);
    max-width: 640px;
}

.booking-hero__panel {
    display: grid;
    grid-template-columns: 1fr;
}

.alert {
    padding: 12px 14px;
    border-radius: 0;
    margin-bottom: 14px;
    font-weight: 600;
}

.alert--success {
    background: rgba(112, 255, 208, 0.1);
    border: 1px solid rgba(112, 255, 208, 0.3);
}

.alert--error {
    background: rgba(250, 0, 208, 0.12);
    border: 1px solid rgba(250, 0, 208, 0.3);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 12px;
    color: var(--muted);
    margin: 0 0 4px;
}

.eyebrow--accent {
    color: var(--pink);
}

.booking-shell {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0;
    padding: 28px;
    box-shadow: var(--shadow);
}

.booking-form {
    margin: 0;
}

.booking-flow {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.stepper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
}

.stepper__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 0;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--muted);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.stepper__item.is-active {
    border-color: var(--pink);
    background: rgba(255, 94, 228, 0.12);
    color: var(--text);
    box-shadow: none;
}

.stepper__number {
    width: 36px;
    height: 36px;
    border-radius: 0;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    background: #1b1b20;
}

.stepper__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stepper__eyebrow {
    margin: 0;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.step-panel {
    display: none;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0;
    padding: 20px;
}

.step-panel.is-active {
    display: block;
}

.step-panel__header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.step-panel__header h2,
.step-panel__header h3 {
    margin: 0;
}

.step-panel__header--sub {
    margin-top: 18px;
}

.step-panel__hint {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.step-panel__hint--error {
    color: var(--danger);
    font-weight: 600;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}

.card-grid--tight {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.info-card {
    width: 100%;
    text-align: left;
    background: var(--card);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 16px;
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover {
    transform: translateY(-2px);
    border-color: rgba(247, 241, 57, 0.5);
}

.info-card.is-active {
    border-color: var(--pink);
    box-shadow: 0 14px 40px rgba(250, 0, 208, 0.24);
}

.info-card__title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-card__body {
    margin: 8px 0;
    color: var(--muted);
    font-size: 14px;
}

.info-card__meta {
    display: flex;
    justify-content: space-between;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.dot--outline {
    border: 2px solid var(--border);
    background: transparent;
}

.slot-panel {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 16px;
    border-radius: 0;
    box-shadow: none;
}

.location-panel {
    margin-top: 12px;
}

.slot-panel.is-error {
    border-color: var(--danger);
    box-shadow: 0 0 0 1px rgba(255, 139, 139, 0.35);
}

.slot-panel__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.slot-panel__header--controls {
    justify-content: flex-end;
}

.date-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #2b1330;
    border: 1px solid var(--border);
    padding: 6px 10px;
    border-radius: 0;
    color: var(--muted);
    font-size: 13px;
}

.date-filter input {
    background: transparent;
    border: none;
    color: var(--text);
}

.date-filter input:focus {
    outline: none;
}

.date-nav {
    display: flex;
    gap: 8px;
}

.date-nav__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: linear-gradient(135deg, #fa00d0, #ff6ad5);
    border: 1px solid transparent;
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 800;
    letter-spacing: 0.08em;
    box-shadow: 0 8px 24px rgba(250, 0, 208, 0.25);
    transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.date-nav__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(250, 0, 208, 0.32);
}

.date-nav__btn.is-disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
}

.day-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

@media (max-width: 1023px) {
    .day-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .day-grid .week-column:nth-child(n+5) {
        display: none;
    }
}

@media (max-width: 766px) {
    .day-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .day-grid .week-column:nth-child(n+4) {
        display: none;
    }
}

@media (max-width: 599px) {
    .day-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .day-grid .week-column:nth-child(n+3) {
        display: none;
    }
}

.week-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.day-card {
    background: #2a152e;
    border: 1px solid var(--border);
    border-radius: 0;
    padding: 12px;
    cursor: pointer;
    text-align: left;
    color: var(--text);
    transition: border 0.2s ease, background 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.day-card__weekday {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--muted);
}

.day-card__date {
    font-size: 18px;
    font-weight: 700;
}

.day-card__staff {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.3;
}

.day-card__staff--more {
    font-weight: 600;
    color: var(--pink);
}

.day-card.is-active {
    border-color: var(--pink);
    background: rgba(255, 94, 228, 0.18);
    box-shadow: none;
    transform: none;
}

.day-card--empty {
    opacity: 0.35;
    border-style: dashed;
    cursor: not-allowed;
    pointer-events: none;
}

.slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}

.slot-day {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0;
    padding: 12px;
}

.slot-day h4 {
    margin: 0 0 8px 0;
    font-size: 14px;
}

.slot-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.slot-button {
    background: rgba(255, 94, 228, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 94, 228, 0.35);
    border-radius: 0;
    padding: 8px 10px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    font-weight: 600;
}

.slot-button:hover {
    background: var(--pink);
    border-color: var(--pink);
}

.slot-button.is-active {
    background: var(--pink);
    border-color: var(--pink);
}

.field input,
.field textarea {
    border-radius: 0;
}

.muted {
    color: var(--muted);
    margin: 0;
    font-size: 14px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--muted);
    font-size: 14px;
}

.field input,
.field textarea {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 2px rgba(250, 0, 208, 0.2);
}

.field.is-error input,
.field.is-error textarea {
    border-color: var(--danger);
    box-shadow: none;
}

.field.is-error input::placeholder,
.field.is-error textarea::placeholder {
    color: var(--danger);
    opacity: 1;
}

.field.is-error input:focus,
.field.is-error textarea:focus {
    border-color: var(--danger);
    box-shadow: none;
}

.field__error {
    color: var(--danger);
    font-size: 12px;
    margin: 0;
}

.booking-summary {
    margin-top: 12px;
    display: grid;
    gap: 4px;
}

.field--full {
    grid-column: 1 / -1;
}

.button {
    background: var(--pink);
    color: #fff;
    border: 2px solid var(--pink);
    padding: 12px 20px;
    border-radius: 0;
    font-weight: 700;
    cursor: pointer;
    box-shadow: none;
    transition: background 0.2s ease, color 0.2s ease;
    text-decoration: none;
}

.button:disabled,
.button.is-disabled,
.button[aria-disabled="true"] {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

.button:hover:not(:disabled):not(.is-disabled):not([aria-disabled="true"]) {
    background: transparent;
    color: #fff;
}

.button--ghost {
    background: transparent;
    border: 1px solid var(--border);
    box-shadow: none;
}

.step-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.step-actions__note {
    margin: 0;
    font-size: 13px;
    color: var(--muted);
}

.weekly-inline,
.test {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.weekly-inline__row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    padding: 10px 14px;
    background: #fff;
    color: #1a1a1a;
}

.weekly-inline__day {
    flex: 0 0 120px;
    font-weight: 600;
}

.weekly-inline__fields {
    flex: 1;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.weekly-inline__field {
    flex: 1 1 160px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.weekly-inline__field label {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
}

.weekly-inline__field .form-control,
.weekly-inline__field input {
    width: 100%;
}

@media (max-width: 600px) {
    .booking-shell {
        padding: 20px;
    }

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

    .step-panel__header {
        flex-direction: column;
    }
}

@media (max-width: 720px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 900px) {
    .weekly-inline__row {
        flex-direction: column;
    }

    .weekly-inline__day {
        flex-basis: 100%;
    }

    .weekly-inline__fields {
        flex-direction: column;
    }
}
