.booking-calendar {
    width: 100%;
    max-width: 760px;
    margin: 8px auto 30px;
    padding: 16px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    color: #222;
}

.booking-selection {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 24px;
}

.booking-field label {
    display: block;
    margin-bottom: 7px;
    font-size: 15px;
    font-weight: 600;
}

.booking-field select {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 10px;
    background: #fff;
    color: #222;
    font-size: 16px;
}

.booking-field select:focus {
    outline: none;
    border-color: #e29223;
}

.booking-field select:disabled {
    background: #f4f4f4;
    color: #999;
}

.calendar {
    border: 1px solid #ddd;
    border-radius: 14px;
    padding: 20px;
    background: #fff;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
}

.calendar-header h2 {
    margin: 0;
    text-align: center;
    font-size: 24px;
    text-transform: capitalize;
}

.calendar-nav {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    font-size: 24px;
}

.calendar-nav:hover {
    border-color: #e29223;
}

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

.calendar-weekdays {
    margin-bottom: 8px;
}

.calendar-weekday {
    padding: 8px 0;
    text-align: center;
    color: #777;
    font-weight: 600;
}

.calendar-day,
.calendar-empty {
    min-width: 0;
    aspect-ratio: 1;
}

.calendar-day {
    border: 0;
    border-radius: 10px;
    background: #f4f4f4;
    color: #aaa;
    font-size: 16px;
}

.calendar-day.available {
    border: 1px solid #e0a000;
    background: #fff2cc;
    color: #222;
    cursor: pointer;
    font-weight: 600;
}

.calendar-day.available:hover {
    background: #ffe69c;
}

.calendar-day.selected {
    border-color: #e29223;
    background: #e29223;
    color: #fff;
}

.slots {
    margin-top: 24px;
}

.slots h3 {
    margin: 0 0 14px;
    font-size: 21px;
}

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

.slot {
    min-height: 48px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 9px;
    background: #fff;
    color: #222;
    font-size: 16px;
    cursor: pointer;
}

.slot:hover {
    border-color: #e29223;
}

.slot.selected {
    border-color: #e29223;
    background: #e29223;
    color: #fff;
}

.booking-placeholder {
    padding: 24px;
    border: 1px solid #ddd;
    border-radius: 14px;
    background: #fff;
    color: #777;
    text-align: center;
}

@media (min-width: 700px) {
    .booking-selection {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .booking-calendar {
        margin: 4px auto 20px;
        padding: 10px;
    }

    .calendar {
        padding: 10px;
    }

    .calendar-days,
    .calendar-weekdays {
        gap: 4px;
    }

    .calendar-header h2 {
        font-size: 19px;
    }

    .calendar-nav {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }

    .calendar-day {
        font-size: 14px;
        border-radius: 7px;
    }

    .calendar-weekday {
        font-size: 13px;
    }

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

    .slots h3 {
        font-size: 18px;
    }
}

.booking-submit:disabled {
    opacity: 0.6;
    cursor: default;
}

.booking-error {
    margin-top: 6px;
    color: #dc2626;
    font-size: 14px;
}

.booking-error-main {
    margin-top: 20px;
    padding: 12px 14px;
    border: 1px solid #dc2626;
    border-radius: 10px;
}

.booking-success {
    margin-top: 24px;
    padding: 20px;
    border: 1px solid #16a34a;
    border-radius: 14px;
    background: #f0fdf4;
}

.booking-success strong {
    display: block;
    margin-bottom: 5px;
    font-size: 18px;
}


/* Booking customer form — refined */
.booking-customer {
    margin-top: 18px;
    padding: 18px;
    border: 1px solid #e3e3e3;
    border-radius: 14px;
    background: #fff;
}

.booking-customer h3 {
    margin: 0 0 16px;
    font-size: 19px;
    line-height: 1.25;
}

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

.booking-customer .booking-field label {
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
}

.booking-customer .booking-field input,
.booking-customer .booking-field textarea,
.booking-auth-input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d7d7d7;
    border-radius: 9px;
    background: #fff;
    color: #222;
    font-family: inherit;
    font-size: 15px;
    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.booking-customer .booking-field input,
.booking-auth-input {
    height: 44px;
    min-height: 44px;
    padding: 0 12px;
}

.booking-customer .booking-field textarea {
    min-height: 96px;
    padding: 11px 12px;
    resize: vertical;
}

.booking-customer .booking-field input:focus,
.booking-customer .booking-field textarea:focus,
.booking-auth-input:focus {
    outline: none;
    border-color: #e29223;
    box-shadow: 0 0 0 3px rgba(226, 146, 35, .10);
}

.booking-submit {
    min-height: 44px;
    margin-top: 16px;
    padding: 0 22px;
    border: 1px solid #e29223;
    border-radius: 9px;
    background: #e29223;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition:
        opacity .2s ease,
        transform .1s ease;
}

.booking-submit:hover {
    opacity: .92;
}

.booking-submit:active {
    transform: translateY(1px);
}

/* Email OTP */
.booking-email-auth {
    margin-top: 18px;
    padding: 18px;
    border: 1px solid #e3e3e3;
    border-radius: 14px;
    background: #fff;
}

.booking-email-auth h3 {
    margin: 0 0 14px;
    font-size: 19px;
    line-height: 1.25;
}

.booking-email-auth form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: start;
}

.booking-email-auth .booking-submit {
    min-width: 150px;
    margin-top: 0;
}

.booking-auth-email {
    margin: -4px 0 12px;
    color: #666;
    font-size: 14px;
}

.booking-auth-link {
    margin-top: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #a7640a;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
}

.booking-email-auth .booking-error {
    grid-column: 1 / -1;
}

@media (max-width: 600px) {
    .booking-customer,
    .booking-email-auth {
        margin-top: 14px;
        padding: 14px;
        border-radius: 12px;
    }

    .booking-customer-fields {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .booking-email-auth form {
        grid-template-columns: 1fr;
    }

    .booking-email-auth .booking-submit {
        width: 100%;
        min-width: 0;
    }

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

/* Booking: privacy and terms consent */

.booking-consents {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 24px 0;
}

.booking-consent label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.6;
}

.booking-consent input[type="checkbox"] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: #d9963c;
    cursor: pointer;
}

.booking-consent a {
    color: #b87520;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.booking-consent a:hover {
    color: #8f5713;
    text-decoration-thickness: 2px;
}

.booking-consent a:focus-visible {
    outline: 2px solid #d9963c;
    outline-offset: 3px;
    border-radius: 2px;
}

.booking-consent .booking-error {
    margin-top: 6px;
    margin-left: 28px;
}

@media (max-width: 600px) {
    .booking-consent label {
        font-size: 13px;
        line-height: 1.6;
    }
}

