/* ===============================
   Neo Glassmorphism – Unified DNA
   =============================== */

.neo-card {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(15px);
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 8px 35px rgba(0,0,0,0.3);
    padding: 1.25rem;
    transition: transform .25s ease, box-shadow .25s ease;
}
.neo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 45px rgba(255,255,255,0.12);
}

/* ===== Section title ===== */
.section-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: .75rem;
}
.section-title .material-icons {
    color: #ff8a50;
    font-size: 26px;
}

/* ===== Staff buttons ===== */
.staff-btn {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.16);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: .9rem;
    transition: all .2s ease;
    color: #fff;
}
.staff-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(255,138,80,0.45);
    box-shadow: 0 8px 25px rgba(255,87,34,0.18);
}
.staff-btn.active {
    background: rgba(255,87,34,0.85);
    border-color: rgba(255,138,80,0.8);
    box-shadow: 0 10px 30px rgba(255,87,34,0.25);
}

/* ===== Slots ===== */
.slot-item {
    border-radius: 12px;
    padding: .75rem .5rem;
    text-align: center;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.08);
    transition: transform .15s, box-shadow .15s, border-color .15s;
    user-select: none;
}
.slot-item:hover {
    transform: translateY(-1px);
    border-color: rgba(255,255,255,0.22);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.slot-available {
    background: rgba(37,99,235,0.70);
}
.slot-lunch {
    background: rgba(245,158,11,0.55);
    cursor: not-allowed;
    opacity: .85;
}
.slot-booked {
    background: rgba(239,68,68,0.72);
    cursor: pointer;
}

/* ===== Jalali date input ===== */
#id_date {
    width: 210px;
    padding: .6rem .75rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    outline: none;
    backdrop-filter: blur(10px);
    text-align: center;
}
#id_date:focus {
    border-color: rgba(255,138,80,0.7);
    box-shadow: 0 0 0 3px rgba(255,138,80,0.15);
}

/* ===== Modal ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    z-index: 50;
    display: none;
    align-items: center;
    justify-content: center;
}
.modal-content {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    max-width: 92%;
    width: 460px;
    color: white;
    padding: 22px;
    position: relative;
    animation: fadeIn .25s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-14px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-close {
    position: absolute;
    top: 12px;
    left: 12px;
    opacity: .85;
    transition: opacity .2s, transform .1s;
}
.modal-close:hover {
    opacity: 1;
    transform: scale(1.04);
}

.details-box {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 14px;
    padding: .75rem;
}
.details-row {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    line-height: 1.6;
}
.details-row b { color: #fff; }
.details-accent {
    color: #ff8a50;
    font-weight: 900;
}