:root {

    /* Colors */

    --primary: #2563eb;
    --primary-hover: #1d4ed8;

    --success: #16a34a;
    --warning: #f59e0b;
    --danger: #dc2626;

    --bg: #f8fafc;
    --surface: #ffffff;

    --text: #0f172a;
    --muted: #64748b;

    --border: #e2e8f0;


    /* Sidebar */

    --sidebar-bg: #0f172a;
    --sidebar-text: #cbd5e1;
    --sidebar-active: #2563eb;


    /* Radius */

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;


    /* Shadow */

    --shadow-sm:
    0 2px 8px rgba(15,23,42,.05);


    --shadow-md:
    0 10px 30px rgba(15,23,42,.08);


    --shadow-lg:
    0 20px 50px rgba(15,23,42,.12);


    /* Transition */

    --transition:.25s ease;

}




* {

    margin:0;
    padding:0;
    box-sizing:border-box;

}


body{

    background:var(--bg);

    color:var(--text);

    transition:

    background .3s,

    color .3s;

}



a {

    text-decoration:none;

    color:inherit;

}



button {

    font-family:inherit;

}

.wrapper{

    min-height:100vh;

}

.student-item{

cursor:pointer;

transition:.2s;

background:#fff;

}

.student-item:hover{

background:#f8fafc;

border-color:#2563eb !important;

}

.student-item input{

margin-left:12px;

transform:scale(1.15);

}

.student-item strong{

font-size:15px;

}

/* ------------------------------------------------------------------ */
/* چک‌باکس‌های روزهای هفته‌ی کلاس                                      */
/* ------------------------------------------------------------------ */

.weekday-checkboxes {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

}

.weekday-checkbox {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 8px 14px;

    border: 1px solid var(--border);

    border-radius: 10px;

    cursor: pointer;

    font-size: 13px;

    color: var(--text);

    transition: var(--transition);

    user-select: none;

}

.weekday-checkbox:hover {

    background: var(--bg);

}

.weekday-checkbox input[type="checkbox"] {

    accent-color: var(--primary);

}

.weekday-checkbox:has(input:checked),
.weekday-checkbox.is-checked {

    background: var(--primary);

    border-color: var(--primary);

    color: white;

}

/* ------------------------------------------------------------------ */
/* تب‌های فیلتر وضعیت (فعال / غیرفعال / همه)                          */
/* ------------------------------------------------------------------ */

.status-filter-tabs {

    display: inline-flex;

    gap: 6px;

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    padding: 6px;

    box-shadow: var(--shadow-sm);

}

.status-tab {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 8px 16px;

    border-radius: 10px;

    font-size: 14px;

    color: var(--muted);

    transition: var(--transition);

}

.status-tab:hover {

    background: var(--bg);

    color: var(--text);

}

.status-tab.active {

    background: var(--primary);

    color: white;

}

.status-tab.active .badge {

    background: rgba(255,255,255,.25) !important;

}