.booking-section {
    padding: 3rem 0 5rem;
}

.booking-container {
    max-width: 960px;
}

.booking-notice,
.booking-success {
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.14));
    border-radius: 18px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    background: rgba(135, 112, 161, 0.08);
}

.booking-notice h2,
.booking-success h2 {
    margin: 0 0 0.75rem;
    font-size: 1.4rem;
}

.booking-notice p,
.booking-success p {
    margin: 0;
    line-height: 1.7;
}

.booking-form {
    display: grid;
    gap: 1.5rem;
}

.booking-step {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.12));
    border-radius: 18px;
}

.booking-step-number {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--primary-color, #78af2b);
    color: #fff;
    font-weight: 700;
}

.booking-step-content {
    min-width: 0;
}

.booking-label {
    display: block;
    margin-bottom: 0.65rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.booking-label-heading {
    margin-top: 0;
}

.booking-hint,
.booking-field label span,
.booking-counter {
    opacity: 0.72;
}

.booking-input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.18));
    background: var(--card-bg, rgba(255, 255, 255, 0.04));
    color: inherit;
    font: inherit;
}

.booking-input:focus {
    outline: 2px solid var(--primary-color, #78af2b);
    outline-offset: 2px;
}

/* Native select dropdowns do not always inherit theme colors from the select. */
[data-theme="dark"] .booking-input option {
    background-color: #1a202c;
    color: #f7fafc;
}

@media (prefers-color-scheme: dark) {
    [data-theme="system"] .booking-input option {
        background-color: #1a202c;
        color: #f7fafc;
    }
}

.booking-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.booking-field {
    display: grid;
    gap: 0.4rem;
}

.booking-field-full {
    margin-top: 1rem;
}

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

.booking-counter {
    justify-self: end;
    font-size: 0.85rem;
}

.booking-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0.7rem;
}

.booking-slot {
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.18));
    background: transparent;
    color: inherit;
    border-radius: 12px;
    padding: 0.8rem 1rem;
    text-align: left;
    cursor: pointer;
    font: inherit;
}

.booking-slot:hover,
.booking-slot:focus-visible {
    border-color: var(--primary-color, #78af2b);
}

.booking-slot.is-selected {
    background: var(--primary-color, #78af2b);
    border-color: var(--primary-color, #78af2b);
    color: #fff;
}

.booking-slot-date {
    display: block;
    font-weight: 700;
}

.booking-slot-time {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.95rem;
}

.booking-consent {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-top: 1.25rem;
    line-height: 1.55;
}

.booking-consent input {
    margin-top: 0.25rem;
}

.booking-message {
    padding: 1rem 1.15rem;
    border-radius: 12px;
}

.booking-message-error {
    border: 1px solid #c64949;
    background: rgba(198, 73, 73, 0.1);
}

.booking-submit-row {
    display: flex;
    justify-content: flex-end;
}

.booking-submit {
    min-width: 240px;
}

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

.booking-success {
    padding: 2rem;
}

.booking-success p + p {
    margin-top: 1rem;
}

.booking-success .btn {
    margin-top: 1.5rem;
}

@media (max-width: 720px) {
    .booking-section {
        padding-top: 2rem;
    }

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

    .booking-step-number {
        width: 34px;
        height: 34px;
    }

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

    .booking-submit-row,
    .booking-submit {
        width: 100%;
    }
}
