﻿  /* ── Admin calendar ─────────────────────────────────────────── */
    .cal-head {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: var(--space-3);
        margin-bottom: var(--space-4);
    }

    .cal-title {
        font-size: 15px;
        font-weight: 600;
    }

    .cal-nav {
        width: 36px;
        height: 36px;
        border: 1px solid var(--border-soft);
        border-radius: var(--radius-sm);
        background: var(--white);
        color: var(--text-700);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all var(--dur-fast) var(--ease);
    }

        .cal-nav:hover {
            border-color: var(--rose-300);
            color: var(--rose-500);
        }


.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    text-align: center;
    direction: rtl;
    width: 100%;
    max-width: 700px;
    margin-inline: auto;
    margin-bottom: 16px;
}

    .cal-dow {
        text-align: center;
        font-size: 10px;
        font-weight: 600;
        color: var(--text-500);
        padding: 6px 0;
        letter-spacing: .5px;
    }

    .cal-cell {
        position: relative;
        height: 100%;
        min-height: 0;
        padding: 4px;
        border: 1px solid var(--border-light);
        border-radius: var(--radius-sm);
        background: var(--warm-50);
        cursor: pointer;
        font-family: inherit;
        font-size: 13px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        transition: all var(--dur-fast) var(--ease);
    }

        .cal-cell:hover {
            border-color: var(--rose-200);
            background: var(--rose-50);
        }

        .cal-cell.outside {
            opacity: .35;
        }

        .cal-cell.today .cal-num {
            background: var(--gold-300);
            color: var(--white);
            border-radius: 50%;
            width: 22px;
            height: 22px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .cal-cell.selected {
            background: var(--text-900);
            border-color: var(--text-900);
        }

    .cal-num {
        font-size: 13px;
        font-weight: 600;
        color: var(--text-900);
    }

    .cal-cell.selected .cal-num {
        color: var(--white);
    }

    .cal-dots {
        display: flex;
        gap: 3px;
        height: 4px;
    }

    .cal-dot {
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: var(--rose-300);
    }

        .cal-dot.pending {
            background: var(--gold-300);
        }

    .cal-cell.selected .cal-dot {
        background: rgba(255,255,255,.55);
    }

        .cal-cell.selected .cal-dot.pending {
            background: var(--gold-300);
        }

    .cal-cell.selected.today .cal-num {
        background: var(--rose-400);
    }

    @media (max-width: 600px) {
        .cal-grid {
            grid-auto-rows: 44px;
            gap: 3px;
        }

        .cal-num {
            font-size: 12px;
        }
    }
    /* ── Admin day timeline ─────────────────────────────────────── */
    .day-timeline {
        display: grid;
        gap: var(--space-2);
    }

    .day-row {
        display: grid;
        grid-template-columns: 56px 1fr;
        gap: var(--space-3);
        align-items: stretch;
    }

    .day-hour {
        font-size: 12px;
        font-weight: 600;
        color: var(--text-500);
        direction: ltr;
        text-align: center;
        background: var(--warm-50);
        border: 1px solid var(--border-light);
        border-radius: var(--radius-sm);
        padding: 10px 0;
        height: fit-content;
    }

    .day-cell {
        min-height: 46px;
        border: 1px dashed var(--border-light);
        border-radius: var(--radius-sm);
        padding: var(--space-2);
        display: flex;
        align-items: center;
        gap: var(--space-3);
        transition: background var(--dur-fast) var(--ease);
    }

        .day-cell:hover {
            background: var(--warm-50);
        }

    .day-appt {
        flex: 1;
        display: flex;
        align-items: center;
        gap: var(--space-3);
        background: var(--white);
        border: 1px solid var(--border-light);
        border-radius: var(--radius-sm);
        padding: 8px 12px;
        box-shadow: var(--shadow-xs);
        flex-wrap: wrap;
    }

        .day-appt .avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--rose-100), var(--gold-100));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 13px;
            font-weight: 600;
            color: var(--rose-500);
            flex-shrink: 0;
        }

    .day-appt-body {
        min-width: 0;
        flex: 1;
    }

    .day-appt-name {
        font-size: 13px;
        font-weight: 600;
        color: var(--text-900);
    }

    .day-appt-sub {
        font-size: 11.5px;
        color: var(--text-500);
    }

    .day-appt-actions {
        display: flex;
        gap: 6px;
        flex-wrap: wrap;
    }
