/*
 * // File: /catalog/view/theme/default/stylesheet/nu_booking/nu_booking.css
 *
 * Developed by Noor United Est.
 *
 * Website: www.noor-united.com
 *
 * Kuwait
 * Tel: +965-22280990
 * Mobile: +965-60005677
 *
 * Bahrain
 * Tel: +973-16612020 / +973-16613030
 * Mobile: +973-37616010
 *
 * Copyright (c) Noor United Est.
 * All rights reserved.
 */

#nu-booking-wrapper {
    direction: rtl;
    margin: 0 0 18px;
}

.nu-booking-checkout-box {
    background: #f1f3f5;
    border: 1px solid #e2e5e9;
    padding: 18px;
    font-family: inherit;
}

.nu-booking-head {
    text-align: center;
    border-bottom: 1px solid #d4001a;
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.nu-booking-head h3 {
    margin: 0;
    color: #111;
    font-size: 22px;
    font-weight: 700;
}

.nu-booking-head p {
    margin: 4px 0 0;
    color: #444;
    font-size: 13px;
}

.nu-booking-field {
    margin-bottom: 14px;
}

.nu-booking-field label {
    display: block;
    margin-bottom: 7px;
    color: #222;
    font-weight: 700;
}

.nu-booking-date-display {
    width: 100%;
    min-height: 46px;
    border: 1px solid #d7dce2;
    background: #fff;
    color: #222;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 14px;
    cursor: pointer;
}

.nu-booking-date-label {
    direction: ltr;
    unicode-bidi: plaintext;
    font-weight: 700;
}

.nu-booking-calendar {
    background: #fff;
    border: 1px solid #d7dce2;
    margin-top: 10px;
    padding: 12px;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .08);
}

.nu-booking-calendar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

#nu-booking-cal-title {
    direction: ltr;
    unicode-bidi: plaintext;
}

.nu-booking-cal-prev,
.nu-booking-cal-next {
    width: 34px;
    height: 34px;
    border: 1px solid #d4001a;
    background: #fff;
    color: #d4001a;
    font-size: 22px;
    cursor: pointer;
}

.nu-booking-cal-prev:hover,
.nu-booking-cal-next:hover {
    background: #d4001a;
    color: #fff;
}

.nu-booking-weekdays,
.nu-booking-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.nu-booking-weekdays span {
    text-align: center;
    color: #555;
    font-size: 12px;
    font-weight: 700;
}

.nu-booking-day {
    height: 36px;
    border: 1px solid #e1e4e8;
    background: #fff;
    color: #222;
    cursor: pointer;
}

.nu-booking-day:hover {
    border-color: #d4001a;
    color: #d4001a;
}

.nu-booking-day.is-selected {
    background: #d4001a;
    border-color: #d4001a;
    color: #fff;
}

.nu-booking-day.is-disabled {
    background: #f5f5f5;
    color: #aaa;
    cursor: not-allowed;
}

.nu-booking-day.is-empty {
    border: 0;
    background: transparent;
}

/* Time slots */
.nu-booking-slots {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.nu-booking-slots.is-disabled {
    display: block;
}

.nu-booking-slot {
    margin: 0;
}

.nu-booking-slot input {
    display: none;
}

.nu-booking-slot span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 6px;
    background: #fff;
    border: 1px solid #d7dce2;
    color: #222;
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    direction: ltr;
    unicode-bidi: plaintext;
    transition: all .15s ease;
}

.nu-booking-slot span:hover {
    border-color: #d4001a;
    color: #d4001a;
}

.nu-booking-slot input:checked + span {
    background: #d4001a;
    border-color: #d4001a;
    color: #fff;
}

.nu-booking-empty {
    background: #fff;
    border: 1px dashed #d7dce2;
    padding: 12px;
    text-align: center;
    color: #666;
}

#nu_booking_notes {
    width: 100%;
    min-height: 72px;
    border: 1px solid #d7dce2;
    background: #fff;
    padding: 10px;
    resize: vertical;
}

@media (max-width: 768px) {
    .nu-booking-slots {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

    .nu-booking-slot span {
        min-height: 38px;
        padding: 7px 4px;
        font-size: 12px;
    }
}

@media (max-width: 420px) {
    .nu-booking-slots {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}