/* ============================================================
   استایل اصلی سامانه آزمون آنلاین – نسخه نهایی و یکپارچه (اصلاح شده)
   ============================================================ */

/* ========== فونت وزیرمتن (محلی) ========== */
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ========== ریست و تنظیمات پایه ========== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: 'Vazirmatn', 'Vazir', Tahoma, sans-serif;
    background: #f5f7fa;
    color: #333;
    line-height: 1.6;
    transition: background 0.3s, color 0.3s;
}

/* ========== متغیرهای رنگ و تم (بهبود یافته) ========== */
:root {
    --primary: #3498db;
    --secondary: #2c3e50;
    --bg: #f5f7fa;
    --text: #333;
    --card-bg: #ffffff;
    --sidebar-text: #ecf0f1;
    --border: #e0e0e0;
    --radius: 12px;
    --shadow: 0 4px 20px rgba(0,0,0,0.05);
    --text-secondary: #64748b;
    
    /* رنگ‌های دکمه‌ها (پیش‌فرض) */
    --btn-primary-color: #3498db;
    --btn-danger-color: #e74c3c;
    --btn-secondary-color: #7f8c8d;
    --btn-success-color: #27ae60;
    --btn-warning-color: #f39c12;
    --btn-info-color: #17a2b8;
    
    /* RGB معادل برای استفاده در rgba() */
    --btn-primary-color-rgb: 52, 152, 219;
    --btn-danger-color-rgb: 231, 76, 60;
    --btn-secondary-color-rgb: 127, 140, 141;
    --btn-success-color-rgb: 39, 174, 96;
    --btn-warning-color-rgb: 243, 156, 18;
    --btn-info-color-rgb: 23, 162, 184;
}

/* ===== تم روشن (پیش‌فرض با کنتراست بهبود یافته) ===== */
.theme-light {
    --bg: #f8f9fa;
    --text: #212529;
    --card-bg: #ffffff;
    --border: #dee2e6;
    --text-secondary: #6c757d;
    
    --btn-text-default: #111827;

    /* تغییرات اساسی برای افزایش کنتراست قلم دکمه‌ها */
    --btn-primary-color: #1D4ED8;
    --btn-danger-color: #B91C1C;
    --btn-secondary-color: #4B5563;
    --btn-success-color: #047857;
    --btn-warning-color: #B45309;
    --btn-info-color: #0369A1;
    
    /* به‌روزرسانی مقادیر RGB */
    --btn-primary-color-rgb: 29, 78, 216;
    --btn-danger-color-rgb: 185, 28, 28;
    --btn-secondary-color-rgb: 75, 85, 99;
    --btn-success-color-rgb: 4, 120, 87;
    --btn-warning-color-rgb: 180, 83, 9;
    --btn-info-color-rgb: 3, 105, 161;
}

/* ===== تم تیره (بهبود یافته) ===== */
.theme-dark {
    --bg: #1e272e;
    --text: #d2dae2;
    --card-bg: #2f3640;
    --sidebar-text: #d2dae2;
    --border: #4a5568;
    --text-secondary: #a0aec0;
    
    --btn-text-default: #F8FAFC;

    /* رنگ‌های روشن‌تر برای تم تیره */
    --btn-primary-color: #63b3ed;
    --btn-danger-color: #fc8181;
    --btn-secondary-color: #a0aec0;
    --btn-success-color: #68d391;
    --btn-warning-color: #f6ad55;
    --btn-info-color: #7DD3FC;
    
    --btn-primary-color-rgb: 99, 179, 237;
    --btn-danger-color-rgb: 252, 129, 129;
    --btn-secondary-color-rgb: 160, 174, 192;
    --btn-success-color-rgb: 104, 211, 145;
    --btn-warning-color-rgb: 246, 173, 85;
    --btn-info-color-rgb: 125, 211, 252;
}

.theme-colorful {
    --bg: #FDF6E3;
    --primary: #2A9D8F;
    --secondary: #E76F51;
    --text: #264653;
    --card-bg: #ffffff;
    --border: #E9D8A6;
    --text-secondary: #6B8A7A;
    
    --btn-text-default: #1D3557;
    
    --btn-primary-color: #2A9D8F;
    --btn-danger-color: #E76F51;
    --btn-secondary-color: #6B7280;
    --btn-success-color: #1F7A70;
    --btn-warning-color: #B45309;
    --btn-info-color: #1D3557;
    
    --btn-primary-color-rgb: 42, 157, 143;
    --btn-danger-color-rgb: 231, 111, 81;
    --btn-secondary-color-rgb: 107, 114, 128;
    --btn-success-color-rgb: 31, 122, 112;
    --btn-warning-color-rgb: 180, 83, 9;
    --btn-info-color-rgb: 29, 53, 87;
}


/* ============================================================
   ⭐ تغییرات تخصصی در این بخش (تم شاد با کرم کم‌رنگ)
   ============================================================ */
.theme-colorful {
    /* پس‌زمینه کرم گرم کم‌رنگ */
    --bg: #FDF6E3;
    
    /* رنگ اصلی فیروزه‌ای/اقیانوسی */
    --primary: #2A9D8F;
    
    /* رنگ ثانویه نارنجی-مرجانی */
    --secondary: #E76F51;
    
    /* رنگ متن سرمه‌ای تیره */
    --text: #264653;
    
    --card-bg: #ffffff;
    
    /* حاشیه طلایی/بژ ملایم */
    --border: #E9D8A6;
    
    /* متن ثانویه خاکستری مایل به سبز */
    --text-secondary: #6B8A7A;
    
    /* --- تنظیمات دکمه‌ها --- */
    --btn-primary-color: #2A9D8F;
    --btn-danger-color: #E76F51;
    --btn-secondary-color: #8D99AE;
    --btn-success-color: #2A9D8F;
    --btn-warning-color: #F4A261;
    --btn-info-color: #1D3557;
    
    /* --- RGB معادل --- */
    --btn-primary-color-rgb: 42, 157, 143;
    --btn-danger-color-rgb: 231, 111, 81;
    --btn-secondary-color-rgb: 141, 153, 174;
    --btn-success-color-rgb: 42, 157, 143;
    --btn-warning-color-rgb: 244, 162, 97;
    --btn-info-color-rgb: 29, 53, 87;
}

/* ===== تم نرم (بهبود یافته) ===== */
.theme-soft {
    --primary: #8e44ad;
    --secondary: #6c5ce7;
    --bg: #f3e8ff;
    --text: #4a4a4a;
    --card-bg: #ffffff;
    --border: #d4c4e8;
    --text-secondary: #7c6b8e;
    
    --btn-text-default: #312E81;
    
    --btn-primary-color: #8e44ad;
    --btn-danger-color: #C02626;
    --btn-secondary-color: #4B5563;
    --btn-success-color: #047857;
    --btn-warning-color: #B45309;
    --btn-info-color: #2563EB;
    
    --btn-primary-color-rgb: 142, 68, 173;
    --btn-danger-color-rgb: 192, 38, 38;
    --btn-secondary-color-rgb: 75, 85, 99;
    --btn-success-color-rgb: 4, 120, 87;
    --btn-warning-color-rgb: 180, 83, 9;
    --btn-info-color-rgb: 37, 99, 235;
}




/* ========== اِعمال متغیرها ========== */
body {
    background: var(--bg);
    color: var(--text);
}

a {
    color: var(--primary);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* ========== کانتینر عمومی ========== */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem;
}
@media (max-width: 450px) {
    .container {
        padding: 0.5rem;
    }
}

/* ========== کارت‌ها ========== */
.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.card-header {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.card-body {
    padding: 1rem;
}
@media (max-width: 450px) {
    .card-body {
        padding: 0.75rem;
    }
}

/* ============================================================
   دکمه‌ها – استایل شیشه‌ای با متغیرهای رنگ (بهبود یافته)
   ============================================================ */
.btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.25s ease;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--btn-text-default);
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-shadow: none;
}

.btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.25);
}

.btn:active {
    transform: scale(0.97);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* ===== رنگ‌های دکمه‌ها (با استفاده از متغیرها) ===== */
.btn-primary {
    color: var(--btn-primary-color);
    border-color: rgba(var(--btn-primary-color-rgb), 0.4);
}
.btn-primary:hover {
    background: rgba(var(--btn-primary-color-rgb), 0.12);
    border-color: rgba(var(--btn-primary-color-rgb), 0.6);
}

.btn-danger {
    color: var(--btn-danger-color);
    border-color: rgba(var(--btn-danger-color-rgb), 0.4);
}
.btn-danger:hover {
    background: rgba(var(--btn-danger-color-rgb), 0.12);
    border-color: rgba(var(--btn-danger-color-rgb), 0.6);
}

.btn-secondary {
    color: var(--btn-secondary-color);
    border-color: rgba(var(--btn-secondary-color-rgb), 0.3);
}
.btn-secondary:hover {
    background: rgba(var(--btn-secondary-color-rgb), 0.10);
    border-color: rgba(var(--btn-secondary-color-rgb), 0.5);
}

.btn-success {
    color: var(--btn-success-color);
    border-color: rgba(var(--btn-success-color-rgb), 0.4);
}
.btn-success:hover {
    background: rgba(var(--btn-success-color-rgb), 0.12);
    border-color: rgba(var(--btn-success-color-rgb), 0.6);
}

.btn-warning {
    color: var(--btn-warning-color);
    border-color: rgba(var(--btn-warning-color-rgb), 0.4);
}
.btn-warning:hover {
    background: rgba(var(--btn-warning-color-rgb), 0.12);
    border-color: rgba(var(--btn-warning-color-rgb), 0.6);
}

.btn-info {
    color: var(--btn-info-color);
    border-color: rgba(var(--btn-info-color-rgb), 0.4);
}
.btn-info:hover {
    background: rgba(var(--btn-info-color-rgb), 0.12);
    border-color: rgba(var(--btn-info-color-rgb), 0.6);
}


/* ===== اندازه‌های دکمه ===== */
.btn-sm {
    padding: 0.3rem 0.9rem;
    font-size: 0.75rem;
    border-radius: 20px;
    backdrop-filter: blur(6px);
}

.btn-lg {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    border-radius: 40px;
}

/* ===== دکمه‌های outline (بدون پس‌زمینه) ===== */
.btn-outline-primary {
    background: transparent;
    border: 1px solid rgba(var(--btn-primary-color-rgb), 0.4);
    color: var(--btn-primary-color);
}
.btn-outline-primary:hover {
    background: rgba(var(--btn-primary-color-rgb), 0.08);
    border-color: rgba(var(--btn-primary-color-rgb), 0.7);
}

.btn-outline-danger {
    background: transparent;
    border: 1px solid rgba(var(--btn-danger-color-rgb), 0.4);
    color: var(--btn-danger-color);
}
.btn-outline-danger:hover {
    background: rgba(var(--btn-danger-color-rgb), 0.08);
    border-color: rgba(var(--btn-danger-color-rgb), 0.7);
}

.btn-outline-secondary {
    background: transparent;
    border: 1px solid rgba(var(--btn-secondary-color-rgb), 0.3);
    color: var(--btn-secondary-color);
}
.btn-outline-secondary:hover {
    background: rgba(var(--btn-secondary-color-rgb), 0.08);
    border-color: rgba(var(--btn-secondary-color-rgb), 0.5);
}

/* ===== نوار ابزار دکمه‌ها (یکپارچه) ===== */
.btn-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1rem;
}
.btn-toolbar .btn {
    white-space: nowrap;
}

/* ============================================================
   پایان بخش دکمه‌ها
   ============================================================ */

/* ========== فرم‌ها ========== */
.form-group {
    margin-bottom: 1rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 600;
    font-size: 0.9rem;
}

input, select, textarea {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    background: var(--card-bg);
    color: var(--text);
    transition: border-color 0.2s;
    max-width: 100%;
    box-sizing: border-box;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--btn-primary-color-rgb), 0.15);
}

textarea {
    resize: vertical;
}

/* ========== جدول‌های سامانه (یکپارچه) ========== */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    direction: rtl;
    background: var(--card-bg);
    color: var(--text);
    border: 1px solid var(--border);
}

.table th,
.table td {
    border: 1px solid var(--border);
    padding: 0.6rem 0.8rem;
    text-align: right;
    vertical-align: middle;
    white-space: nowrap;
}

.table th {
    background: var(--secondary);
    color: #fff;
    font-weight: 600;
}

.table tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.03);
}
.table tr:nth-child(odd) {
    background-color: transparent;
}

.table tr:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.table .wrap-cell {
    white-space: normal;
    word-break: break-word;
}

/* تنظیمات تم تیره برای جدول */
.theme-dark .table tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.05);
}
.theme-dark .table tr:hover {
    background-color: rgba(255, 255, 255, 0.08);
}
.theme-dark .table th {
    background-color: #2c3e50;
    color: #fff;
}

/* ===== جدول فشرده ===== */
.table-condensed {
    font-size: 0.85rem;
}
.table-condensed th,
.table-condensed td {
    padding: 0.4rem 0.6rem;
}

/* ===== واکنش‌گرایی جدول ===== */
@media (max-width: 768px) {
    .table {
        font-size: 0.8rem;
        min-width: 600px;
    }
    .table th,
    .table td {
        padding: 0.4rem 0.5rem;
        white-space: nowrap !important;
        word-break: normal !important;
        max-width: none !important;
    }
    .table td:last-child {
        min-width: 100px;
    }
}
@media (max-width: 480px) {
    .table {
        font-size: 0.7rem;
    }
    .table th,
    .table td {
        padding: 0.3rem 0.4rem;
    }
}

/* ===== تبدیل جدول به کارت در موبایل ===== */
@media (max-width: 768px) {
    .table-card-mobile {
        display: block !important;
        border: none !important;
        background: transparent !important;
    }
    .table-card-mobile thead {
        display: none !important;
    }
    .table-card-mobile tbody,
    .table-card-mobile tr,
    .table-card-mobile td {
        display: block !important;
        width: 100% !important;
        border: none !important;
        padding: 0.4rem 0 !important;
    }
    .table-card-mobile tr {
        background: var(--card-bg) !important;
        border-radius: 12px !important;
        box-shadow: var(--shadow) !important;
        padding: 0.8rem 1rem !important;
        margin-bottom: 1rem !important;
        border: 1px solid var(--border) !important;
    }
    .table-card-mobile td {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0.3rem 0 !important;
        border-bottom: 1px dashed var(--border) !important;
        word-break: break-word !important;
    }
    .table-card-mobile td:last-child {
        border-bottom: none !important;
        white-space: nowrap !important;
    }
    .table-card-mobile td::before {
        content: attr(data-label);
        font-weight: 600 !important;
        color: var(--text-secondary) !important;
        margin-left: 1rem !important;
        flex-shrink: 0 !important;
    }
    .theme-dark .table-card-mobile tr {
        background: var(--card-bg) !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
    }
    .theme-dark .table-card-mobile td {
        border-bottom-color: rgba(255, 255, 255, 0.05) !important;
    }
}

.table-responsive {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    width: 100% !important;
    white-space: nowrap;
}

/* ========== پیام‌ها (Alerts) ========== */
.alert {
    padding: 0.8rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* اصلاح رنگ‌های هشدار برای تطابق با تم‌ها */
.alert-success {
    background: rgba(var(--btn-success-color-rgb), 0.15);
    color: var(--btn-success-color);
    border: 1px solid rgba(var(--btn-success-color-rgb), 0.3);
}
.alert-danger {
    background: rgba(var(--btn-danger-color-rgb), 0.15);
    color: var(--btn-danger-color);
    border: 1px solid rgba(var(--btn-danger-color-rgb), 0.3);
}

/* ========== صفحه ورود ========== */
body.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: var(--bg);
}

.login-card {
    width: 100%;
    max-width: 420px;
    margin: 1rem;
}
.login-card .card-body {
    padding: 1.5rem;
}

/* ========== چیدمان مدیریت ========== */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

/* ===== سایدبار (دسکتاپ) ===== */
.sidebar {
    width: 260px;
    background: var(--secondary);
    color: var(--sidebar-text);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.sidebar-header h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: var(--sidebar-text);
}

.sidebar-nav ul {
    list-style: none;
    margin-top: 1.5rem;
    padding: 0;
}
.sidebar-nav li {
    margin-bottom: 0.5rem;
}
.sidebar-nav a {
    color: var(--sidebar-text);
    text-decoration: none;
    display: block;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    transition: background 0.2s;
}
.sidebar-nav a:hover {
    background: rgba(255,255,255,0.15);
}

/* ===== محتوای اصلی ===== */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    min-width: 0;
}

.top-bar {
    background: var(--card-bg);
    padding: 0.6rem 1rem;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.content-area {
    padding: 1rem;
}
@media (max-width: 450px) {
    .content-area {
        padding: 0.5rem;
    }
}

/* ========== سایدبار موبایل ========== */
#menu-toggle-checkbox {
    display: none;
}

.menu-toggle-label {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text);
    cursor: pointer;
    padding: 0.2rem 0.5rem;
    line-height: 1;
}

@media (max-width: 768px) {
    .menu-toggle-label {
        display: block;
    }

    .sidebar {
        position: fixed;
        top: 0;
        right: 0;
        height: 100%;
        width: 85vw;
        max-width: 300px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 1001;
        box-shadow: -4px 0 15px rgba(0,0,0,0.15);
        overflow-y: auto;
    }

    #menu-toggle-checkbox:checked ~ .admin-layout .sidebar {
        transform: translateX(0);
    }

    .sidebar-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 1000;
        cursor: pointer;
        display: none;
    }

    #menu-toggle-checkbox:checked ~ .sidebar-backdrop {
        display: block;
    }

    body:has(#menu-toggle-checkbox:checked) {
        overflow: hidden;
    }
}

/* ========== ساب‌منوها ========== */
.has-submenu {
    position: relative;
}

.submenu-toggle {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    transition: background 0.2s;
    color: var(--sidebar-text);
}
.submenu-toggle:hover {
    background: rgba(255,255,255,0.15);
}

.submenu {
    list-style: none;
    padding-right: 1.5rem;
    display: none;
    margin-top: 0.3rem;
}
.submenu.open {
    display: block !important;
}
.submenu a {
    padding: 0.4rem 0.8rem;
    display: block;
    border-radius: 6px;
    color: var(--sidebar-text);
    text-decoration: none;
}
.submenu a:hover {
    background: rgba(255,255,255,0.15);
}

/* ========== ابزارهای جانبی ========== */
.row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.col {
    flex: 1;
    min-width: 200px;
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.h-100 {
    height: 100%;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    /* اتصال به رنگ اصلی تم برای هماهنگی */
    border: 2px solid var(--primary);
}

input[type="color"] {
    width: 60px;
    height: 40px;
    padding: 2px;
    border: none;
    background: none;
}

.color-picker-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ========== دکمه‌های انتخاب گزینه ========== */
.option-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1rem;
    margin: 0.5rem 0;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: var(--card-bg);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.option-btn:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.option-btn.selected {
    border-color: var(--primary);
    background: rgba(var(--btn-primary-color-rgb), 0.08);
}

.option-btn input[type="radio"],
.option-btn input[type="checkbox"] {
    appearance: none;
    width: 1.2rem;
    height: 1.2rem;
    border: 2px solid #aaa;
    border-radius: 50%;
    margin: 0;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.option-btn input[type="checkbox"] {
    border-radius: 5px;
}

.option-btn input[type="radio"]:checked,
.option-btn input[type="checkbox"]:checked {
    border-color: var(--primary);
    background: var(--primary);
}

.option-btn input[type="radio"]:checked::after {
    content: '';
    display: block;
    width: 0.5rem;
    height: 0.5rem;
    background: white;
    border-radius: 50%;
    margin: 0.15rem;
}

.option-btn input[type="checkbox"]:checked::after {
    content: '✔';
    color: white;
    font-size: 0.7rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.option-text {
    flex: 1;
}

/* ========== جداکننده سوالات ========== */
.question-block {
    border-bottom: 2px dashed var(--border);
    padding-bottom: 1.8rem;
    margin-bottom: 1.8rem;
}
.question-block:last-child {
    border-bottom: none;
}

/* ========== فوتر ========== */
.footer {
    text-align: center;
    padding: 1rem;
    margin-top: auto;
    font-size: 0.85rem;
    /* استفاده از رنگ متن ثانویه برای خوانایی بهتر در تم تیره و رنگی */
    color: var(--text-secondary);
    border-top: 1px solid var(--border);
    background: var(--card-bg);
}

/* ========== Badge و وضعیت‌ها (یکپارچه) ========== */
.badge,
.status-badge {
    display: inline-block;
    padding: 0.25em 0.6em;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.5;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 30px;
    background-color: var(--btn-secondary-color);
}

.badge-danger {
    background-color: var(--btn-danger-color);
}
.badge-primary {
    background-color: var(--primary);
}
.badge-success {
    background-color: var(--btn-success-color);
}

/* وضعیت‌ها */
.status-active {
    background-color: var(--btn-success-color);
}
.status-finished {
    background-color: var(--btn-danger-color);
}
.status-draft {
    background-color: var(--btn-secondary-color);
}
.status-pending {
    background-color: var(--btn-warning-color);
}
.status-approved {
    background-color: var(--btn-success-color);
}
.status-rejected {
    background-color: var(--btn-danger-color);
}

/* ========== متفرقه ========== */
.copy-link-btn {
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.1rem;
    padding: 0.2rem;
}

.persian-date {
    direction: ltr;
    text-align: left;
    font-family: inherit;
}

/* رفع مشکل خروج از عرض */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body,
.container,
.card,
p,
h1,
h2,
h3,
h4,
span {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

img,
iframe,
video {
    max-width: 100%;
    height: auto;
}

/* ========== Mobile-First: اندازه فونت ========== */
@media (max-width: 768px) {
    body {
        font-size: 0.9rem;
    }
    h1 {
        font-size: 1.6rem;
    }
    h2 {
        font-size: 1.4rem;
    }
    h3 {
        font-size: 1.2rem;
    }
    h4 {
        font-size: 1.1rem;
    }
    .card-header {
        font-size: 0.95rem;
    }
    .card-body {
        font-size: 0.9rem;
    }
    .btn {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
        border-radius: 25px;
    }
    .table th,
    .table td {
        font-size: 0.8rem;
        padding: 0.5rem;
    }
    .form-control,
    .form-select {
        font-size: 0.9rem;
    }
    .sidebar-nav a {
        font-size: 0.9rem;
    }
}

@media (max-width: 450px) {
    body {
        font-size: 0.85rem;
    }
    h2 {
        font-size: 1.2rem;
    }
    .btn {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        border-radius: 20px;
    }
}

/* ========== منوی کشویی کاربر (RTL) ========== */
.user-dropdown {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.user-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 40px;
    transition: background 0.2s;
}
.user-dropdown-toggle:hover {
    background: rgba(255,255,255,0.2);
}

.user-dropdown-toggle .avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    /* حذف رنگ ثابت طلایی و استفاده از رنگ اصلی تم */
    border: 2px solid var(--primary);
}

.user-name {
    font-size: 0.9rem;
    font-weight: 500;
}

.user-dropdown-toggle i {
    color: var(--text);
    font-size: 0.8rem;
    transition: transform 0.2s;
}

.user-dropdown-menu {
    position: absolute;
    top: 110%;
    left: auto;
    right: 0;
    width: max-content;
    min-width: 140px;
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.02);
    padding: 0.5rem 0;
    z-index: 1000;
    display: none;
    direction: rtl;
    border: 1px solid var(--border);
}
.user-dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.6rem 1rem;
    color: var(--text);
    text-decoration: none;
    transition: background 0.2s;
    font-size: 0.9rem;
    white-space: nowrap;
}

.dropdown-item .menu-text {
    order: 1;
}
.dropdown-item i {
    order: 2;
    width: 20px;
    text-align: center;
    font-size: 1rem;
}
.dropdown-item:hover {
    background: rgba(var(--btn-primary-color-rgb), 0.08);
    text-decoration: none;
    color: var(--primary);
}

.text-danger {
    color: var(--btn-danger-color);
}
.text-danger:hover {
    background: rgba(var(--btn-danger-color-rgb), 0.1);
}

.dropdown-divider {
    height: 1px;
    /* استفاده از رنگ حاشیه تم برای هماهنگی بیشتر */
    background: var(--border);
    margin: 0.3rem 0;
}

@media (max-width: 768px) {
    .user-dropdown-toggle .user-name {
        display: none;
    }
    .user-dropdown-toggle {
        padding: 0.3rem;
    }
    .user-dropdown-menu {
        min-width: 160px;
    }
}

/* ========== متن‌های منوی کاربر ========== */
.user-display-name {
    font-weight: bold;
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.3;
}

.user-display-role {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

/* ============================================================
   کارت‌های جایگزین جدول (Table-to-Card)
   ============================================================ */

/* ===== شبکه کارت‌ها ===== */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 15px;
}

/* ===== هر کارت ===== */
.card-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 16px 18px;
    padding-top: 38px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 6px 14px;
    align-items: center;
    position: relative;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card-item:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.card-row-number {
    position: absolute;
    top: 10px;
    right: 16px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-secondary);
    background: rgba(241, 245, 249, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 0 12px;
    border-radius: 20px;
    line-height: 24px;
    letter-spacing: 0.5px;
    user-select: none;
    direction: ltr;
    border: 1px solid rgba(255,255,255,0.3);
}

/* تنظیمات ویژه برای تم تیره در شماره ردیف */
.theme-dark .card-row-number {
    background: rgba(0, 0, 0, 0.3);
    color: #a0aec0;
    border-color: rgba(255,255,255,0.1);
}

.card-checkbox {
    position: absolute;
    top: 12px;
    left: 16px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    z-index: 2;
    accent-color: var(--primary);
}

.card-label {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.card-value {
    font-size: 0.95rem;
    color: var(--text);
    word-break: break-word;
}

.card-title-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.card-title-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* ===== دکمه‌های عملیات در کارت ===== */
.card-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    border-top: 1px solid var(--border);
    margin-top: 6px;
    padding-top: 12px;
}

.card-actions a {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 20px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.25s ease;
    text-decoration: none;
    font-family: inherit;
    cursor: pointer;
}

.card-actions a:first-child {
    color: var(--btn-primary-color);
    border-color: rgba(var(--btn-primary-color-rgb), 0.4);
    background: rgba(255, 255, 255, 0.15);
}
.card-actions a:first-child:hover {
    background: rgba(var(--btn-primary-color-rgb), 0.12);
    border-color: rgba(var(--btn-primary-color-rgb), 0.6);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.card-actions a:last-child {
    color: var(--btn-danger-color);
    border-color: rgba(var(--btn-danger-color-rgb), 0.4);
    background: rgba(255, 255, 255, 0.15);
}
.card-actions a:last-child:hover {
    background: rgba(var(--btn-danger-color-rgb), 0.12);
    border-color: rgba(var(--btn-danger-color-rgb), 0.6);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* ===== واکنش‌گرایی کارت‌ها ===== */
@media (min-width: 640px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .card-item {
        padding: 14px 14px;
        padding-top: 36px;
        gap: 4px 12px;
    }
    .card-label {
        font-size: 0.7rem;
    }
    .card-value {
        font-size: 0.85rem;
    }
    .card-row-number {
        font-size: 0.65rem;
        line-height: 20px;
        padding: 0 8px;
        top: 8px;
        right: 12px;
    }
    .card-checkbox {
        top: 10px;
        left: 12px;
        width: 16px;
        height: 16px;
    }
    .card-actions a {
        font-size: 0.7rem;
        padding: 0.25rem 0.7rem;
    }
}

@media (max-width: 450px) {
    .card-grid {
        gap: 14px;
    }
    .card-item {
        padding: 12px 12px;
        padding-top: 32px;
        gap: 4px 10px;
    }
    .card-label {
        font-size: 0.65rem;
    }
    .card-value {
        font-size: 0.8rem;
    }
    .card-row-number {
        font-size: 0.6rem;
        line-height: 18px;
        padding: 0 6px;
        top: 6px;
        right: 10px;
    }
    .card-checkbox {
        top: 8px;
        left: 10px;
        width: 14px;
        height: 14px;
    }
    .card-actions {
        gap: 8px;
        padding-top: 10px;
    }
    .card-actions a {
        font-size: 0.65rem;
        padding: 0.2rem 0.6rem;
    }
}

/* ============================================================
   کارت‌های شیشه‌ای (Glass Cards)
   ============================================================ */

.glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.theme-dark .glass-card {
    background: rgba(30, 39, 46, 0.85);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.theme-colorful .glass-card {
    background: rgba(255, 249, 230, 0.85);
}
.theme-soft .glass-card {
    background: rgba(243, 232, 255, 0.85);
}

/* ===== کارت آماری شیشه‌ای ===== */
.glass-stat {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 1.2rem 0.8rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
    color: var(--text);
}

.glass-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.theme-dark .glass-stat {
    background: rgba(30, 39, 46, 0.85);
    border-color: rgba(255, 255, 255, 0.08);
}
.theme-colorful .glass-stat {
    background: rgba(255, 249, 230, 0.85);
}
.theme-soft .glass-stat {
    background: rgba(243, 232, 255, 0.85);
}

.glass-stat .number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
    line-height: 1.2;
}

.glass-stat .label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.2rem;
}

.glass-stat .icon {
    font-size: 1.8rem;
    opacity: 0.7;
    margin-bottom: 0.2rem;
}

.glass-stat .badge-count {
    background: #ffc107;
    color: #1e3c72;
    padding: 0.15rem 0.6rem;
    border-radius: 30px;
    font-size: 0.65rem;
    display: inline-block;
    margin-top: 0.3rem;
}

/* ===== کارت‌های لیست (یکپارچه) ===== */
.glass-list-item {
    padding: 0.6rem 0.8rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
    color: var(--text);
}

.glass-list-item:nth-child(even) {
    background: rgba(0, 0, 0, 0.03);
}
.glass-list-item:last-child {
    border-bottom: none;
}
.glass-list-item:hover {
    background: rgba(0, 0, 0, 0.06);
}

.theme-dark .glass-list-item {
    border-bottom-color: rgba(255, 255, 255, 0.05);
}
.theme-dark .glass-list-item:nth-child(even) {
    background: rgba(255, 255, 255, 0.03);
}
.theme-dark .glass-list-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

/* ===== هدر رنگی شیشه‌ای برای کارت‌ها ===== */
.card-header-colored {
    background: rgba(var(--btn-primary-color-rgb), 0.25) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 2px solid rgba(var(--btn-primary-color-rgb), 0.4);
    color: var(--text);
    font-weight: 600;
    transition: all 0.3s ease;
}

.theme-dark .card-header-colored {
    background: rgba(44, 62, 80, 0.7) !important;
    border-bottom-color: rgba(255, 255, 255, 0.2);
    color: #ecf0f1;
}

.theme-colorful .card-header-colored {
    background: rgba(var(--btn-primary-color-rgb), 0.3) !important;
    border-bottom-color: rgba(var(--btn-primary-color-rgb), 0.5);
    color: #2c3e50;
}

.theme-soft .card-header-colored {
    background: rgba(var(--btn-primary-color-rgb), 0.3) !important;
    border-bottom-color: rgba(var(--btn-primary-color-rgb), 0.5);
    color: #4a4a4a;
}

.glass-card .card-header-colored {
    background: rgba(var(--btn-primary-color-rgb), 0.2) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 2px solid rgba(var(--btn-primary-color-rgb), 0.3);
}

.theme-dark .glass-card .card-header-colored {
    background: rgba(44, 62, 80, 0.8) !important;
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

.theme-colorful .glass-card .card-header-colored {
    background: rgba(var(--btn-primary-color-rgb), 0.35) !important;
    border-bottom-color: rgba(var(--btn-primary-color-rgb), 0.4);
}

.theme-soft .glass-card .card-header-colored {
    background: rgba(var(--btn-primary-color-rgb), 0.35) !important;
    border-bottom-color: rgba(var(--btn-primary-color-rgb), 0.4);
}

/* ============================================================
   نمودارهای میله‌ای (Bar Chart)
   ============================================================ */

.chart-wrapper {
    width: 100%;
    padding: 0.5rem 0;
    position: relative;
    direction: ltr;
}

.chart-container {
    position: relative;
    width: 100%;
    height: 200px;
    border-bottom: 2px solid var(--border);
    margin-bottom: 30px;
}

.chart-container .grid-line {
    position: absolute;
    right: 0;
    left: 0;
    border-top: 1px dashed rgba(0, 0, 0, 0.12);
    pointer-events: none;
    z-index: 1;
    height: 0;
    margin: 0;
}

.theme-dark .chart-container .grid-line {
    border-top-color: rgba(255, 255, 255, 0.12);
}
.theme-colorful .chart-container .grid-line {
    border-top-color: rgba(var(--btn-primary-color-rgb), 0.2);
}
.theme-soft .chart-container .grid-line {
    border-top-color: rgba(var(--btn-primary-color-rgb), 0.2);
}

.chart-container .y-label {
    position: absolute;
    right: 0;
    transform: translateY(-50%);
    font-size: 0.6rem;
    color: #94a3b8;
    background: var(--bg);
    padding: 0 4px;
    direction: ltr;
    font-weight: 500;
    z-index: 2;
}

.chart-container .bars-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    padding: 0 10px;
    pointer-events: none;
    direction: rtl;
}

.chart-container .bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    height: 100%;
    position: relative;
    z-index: 2;
    min-width: 30px;
    max-width: 70px;
    pointer-events: auto;
}

.chart-container .bar {
    width: 70%;
    max-width: 45px;
    min-height: 4px;
    border-radius: 6px 6px 0 0;
    transition: height 0.5s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    background: var(--primary);
    border-bottom: 3px solid rgba(0, 0, 0, 0.15);
}

.chart-labels {
    display: flex;
    justify-content: space-around;
    padding: 0 10px;
    margin-top: 4px;
    direction: rtl;
}

.chart-labels .label-item {
    flex: 1;
    text-align: center;
    min-width: 30px;
    max-width: 70px;
}

.chart-labels .label-item .bar-label {
    font-size: 0.65rem;
    color: var(--text-secondary);
    font-weight: 500;
    white-space: nowrap;
}

.chart-labels .label-item .bar-value {
    font-size: 0.6rem;
    color: var(--text);
    font-weight: bold;
    display: block;
}

/* ===== واکنش‌گرایی نمودار ===== */
@media (max-width: 768px) {
    .chart-container .bar {
        width: 60%;
        max-width: 30px;
        min-height: 3px;
    }
    .chart-labels .label-item .bar-label {
        font-size: 0.55rem;
    }
    .chart-labels .label-item .bar-value {
        font-size: 0.5rem;
    }
    .chart-container .y-label {
        font-size: 0.5rem;
    }
    .chart-container .bars-wrapper {
        padding: 0 5px;
    }
    .chart-labels {
        padding: 0 5px;
    }
    .chart-labels .label-item {
        min-width: 20px;
    }
}

@media (max-width: 450px) {
    .chart-container .bar {
        width: 50%;
        max-width: 22px;
        min-height: 3px;
    }
    .chart-labels .label-item {
        min-width: 15px;
    }
    .chart-labels .label-item .bar-label {
        font-size: 0.45rem;
    }
    .chart-labels .label-item .bar-value {
        font-size: 0.45rem;
    }
    .chart-container .y-label {
        font-size: 0.45rem;
        padding: 0 2px;
    }
    .chart-container .bars-wrapper {
        padding: 0 3px;
    }
    .chart-labels {
        padding: 0 3px;
    }
}

/* ============================================================
   کارت آمار سایدبار
   ============================================================ */

.sidebar-stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 2px 6px !important;
    margin: 4px 0;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    min-height: 40px !important;
    font-size: 0.9rem;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-stats div {
    text-align: center;
    line-height: 1.2;
}

.sidebar-stats .stat-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.7;
    line-height: 1.1;
}

.sidebar-stats .stat-number {
    font-weight: bold;
    font-size: 0.8rem;
    line-height: 1.1;
}

.theme-dark .sidebar-stats {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
}
.theme-colorful .sidebar-stats {
    background: rgba(var(--btn-primary-color-rgb), 0.12);
    border-color: rgba(var(--btn-primary-color-rgb), 0.2);
}
.theme-soft .sidebar-stats {
    background: rgba(var(--btn-primary-color-rgb), 0.12);
    border-color: rgba(var(--btn-primary-color-rgb), 0.2);
}

/* ============================================================
   نوار فیلتر فشرده
   ============================================================ */

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px 20px;
    background: var(--card-bg);
    padding: 12px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.filter-item {
    flex: 1 0 160px;
    min-width: 140px;
}

.filter-item label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 2px;
    letter-spacing: 0.3px;
}

.filter-item select,
.filter-item input[type="text"] {
    width: 100%;
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    transition: border-color 0.2s;
}

.filter-item select:focus,
.filter-item input[type="text"]:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--btn-primary-color-rgb), 0.15);
}

.filter-item.status-group {
    flex: 1 0 200px;
}

.status-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
    padding-top: 2px;
}

.status-checkboxes label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    white-space: nowrap;
    color: var(--text);
    cursor: pointer;
}

.status-checkboxes input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    margin: 0;
    cursor: pointer;
}

@media (max-width: 768px) {
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 12px;
    }
    .filter-item {
        flex: unset;
        min-width: unset;
    }
    .filter-item.status-group {
        flex: unset;
    }
    .status-checkboxes {
        gap: 6px 12px;
    }
    .status-checkboxes label {
        font-size: 0.8rem;
    }
}