/* /Layout/AdminLayout.razor.rz.scp.css */
.admin-wrapper[b-jghxgxx67d] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    direction: rtl;
    font-family: Tahoma;
}

header[b-jghxgxx67d] {
    background: #fff;
    padding: 15px;
    border-bottom: 2px solid #eee;
    display: flex;
    align-items: center;
    gap: 15px;
}

.hamburger-btn[b-jghxgxx67d] {
    display: none;
    background: #2d5a5a;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
}

.main-container[b-jghxgxx67d] {
    display: flex;
    flex: 1;
}

aside[b-jghxgxx67d] {
    width: 280px;
    background-color: #2d5a5a;
    color: white;
    padding: 25px;
    transition: 0.3s;
}

.close-btn[b-jghxgxx67d] {
    display: none;
    font-size: 40px;
    cursor: pointer;
    color: white;
    position: absolute;
    top: 10px;
    right: 20px;
}

.nav-link-modern[b-jghxgxx67d] {
    color: white;
    text-decoration: none;
    padding: 15px;
    display: block;
    border-radius: 8px;
    transition: 0.3s;
}

    .nav-link-modern:hover[b-jghxgxx67d] {
        background: #1abc9c;
    }

main[b-jghxgxx67d] {
    flex: 1;
    background-color: #f4f7f6;
    padding: 20px;
}

.content-card[b-jghxgxx67d] {
    background: white;
    padding: 20px;
    border-radius: 15px;
}

/* تنظیمات رسپانسیو */
@media (max-width: 768px) {
    .hamburger-btn[b-jghxgxx67d] {
        display: block;
    }

    aside[b-jghxgxx67d] {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        z-index: 9999;
        padding-top: 80px;
        transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

        aside.is-visible[b-jghxgxx67d] {
            right: 0;
        }

    .close-btn[b-jghxgxx67d] {
        display: block;
    }

    .main-container[b-jghxgxx67d] {
        flex-direction: column;
    }
}

.modal-overlay[b-jghxgxx67d] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content[b-jghxgxx67d] {
    background: white;
    padding: 30px;
    border-radius: 20px;
    width: 300px;
    text-align: center;
}

.modal-btn[b-jghxgxx67d] {
    background: #3498db;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}


/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-dx43rrr8et] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-dx43rrr8et] {
    flex: 1;
}

.sidebar[b-dx43rrr8et] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-dx43rrr8et] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-dx43rrr8et]  a, .top-row[b-dx43rrr8et]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-dx43rrr8et]  a:hover, .top-row[b-dx43rrr8et]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-dx43rrr8et]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-dx43rrr8et] {
        justify-content: space-between;
    }

    .top-row[b-dx43rrr8et]  a, .top-row[b-dx43rrr8et]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-dx43rrr8et] {
        flex-direction: row;
    }

    .sidebar[b-dx43rrr8et] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-dx43rrr8et] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-dx43rrr8et]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-dx43rrr8et], article[b-dx43rrr8et] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Pages/Admin/DataAnalysis.razor.rz.scp.css */
<style >
/* ----------------- استایل‌های نمایش در مرورگر (Web View) ----------------- */
.analysis-card[b-mjnbs7emno] {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.analysis-header[b-mjnbs7emno] {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 18px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.test-badge[b-mjnbs7emno] {
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.meta-grid[b-mjnbs7emno] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    padding: 24px;
}

.meta-box[b-mjnbs7emno] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
}

    .meta-box:hover[b-mjnbs7emno] {
        background: #f1f5f9;
        border-color: #cbd5e1;
    }

.meta-label[b-mjnbs7emno] {
    color: #475569;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.meta-value[b-mjnbs7emno] {
    color: #0f172a;
    font-weight: 700;
    font-size: 1rem;
}

/* ----------------- 🛠️ استایل‌های جادویی مخصوص خروجی پرینت و PDF ----------------- */
@media print {
    /* ۱. حذف کامل منوی مدیریت راست، دکمه چاپ و تمام ابزارهای ناوبری وب */
    .no-print[b-mjnbs7emno],
    .btn[b-mjnbs7emno],
    button[b-mjnbs7emno],
    nav[b-mjnbs7emno],
    header[b-mjnbs7emno],
    aside[b-mjnbs7emno],
    [class*="sidebar"][b-mjnbs7emno],
    [class*="menu"][b-mjnbs7emno],
    [class*="nav-panel"][b-mjnbs7emno] {
        display: none !important;
    }

    /* ۲. آزادسازی عرض صفحه و حذف محدودیت‌های اسکرول پنل برای استفاده از تمام پهنای کاغذ A4 */
    body[b-mjnbs7emno],
    html[b-mjnbs7emno],
    .main-layout[b-mjnbs7emno],
    .content[b-mjnbs7emno],
    .container-fluid[b-mjnbs7emno] {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #ffffff !important;
        color: #000000 !important;
        float: none !important;
        position: relative !important;
    }

    /* ۳. اجبار مرورگر به چاپ دقیق رنگ‌های پس‌زمینه، گرادیان‌ها و رنگ متن‌ها */
    *[b-mjnbs7emno] {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    /* ۴. اصلاح ساختار باکس‌های مشخصات مراجع (تبدیل به ۳ ستون منظم و فیکس در کاغذ) */
    .meta-grid[b-mjnbs7emno] {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px !important;
        padding: 15px 0 !important;
    }

    .meta-box[b-mjnbs7emno] {
        background: #f8fafc !important;
        border: 1px solid #cbd5e1 !important;
        border-radius: 8px !important;
        padding: 10px 12px !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    /* ۵. بهینه‌سازی هدر کارنامه برای چاپ رسمی */
    .analysis-card[b-mjnbs7emno] {
        border: 1px solid #cbd5e1 !important;
        box-shadow: none !important;
        border-radius: 8px !important;
        margin-bottom: 20px !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    .analysis-header[b-mjnbs7emno] {
        background: #1e293b !important; /* رنگ تیره ثابت برای هدر کارنامه در پرینت */
        color: #ffffff !important;
        padding: 12px 20px !important;
    }

    /* ۶. تنظیمات حیاتی جدول ارزیابی CPT جهت جلوگیری از نصف شدن جدول بین صفحات */
    .table-responsive[b-mjnbs7emno] {
        overflow: visible !important;
    }

    .table[b-mjnbs7emno] {
        width: 100% !important;
        border-collapse: collapse !important;
        margin-top: 15px !important;
    }

        .table th[b-mjnbs7emno] {
            background-color: #1e293b !important;
            color: #ffffff !important;
            font-weight: bold !important;
            border: 1px solid #cbd5e1 !important;
        }

        .table td[b-mjnbs7emno] {
            border: 1px solid #cbd5e1 !important;
            background-color: #ffffff !important;
        }

    /* ۷. ممانعت از شکسته شدن سطرها یا کارت‌ها در مرز صفحات PDF */
    tr[b-mjnbs7emno], .card[b-mjnbs7emno], .analysis-card[b-mjnbs7emno] {
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    /* تنظیم حاشیه صفحات سفید PDF */
    @page {
        size: A4;
        margin: 15mm 10mm 15mm 10mm;
    }
}

</style[b-mjnbs7emno] >
/* /Pages/Admin/TestUsersManager.razor.rz.scp.css */

.manager-container[b-iynbul1c2n] {
    direction: rtl;
    font-family: Tahoma, sans-serif;
    padding: 15px;
    max-width: 850px;
    margin: auto;
}

.input-section[b-iynbul1c2n] {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    border: 1px solid #eee;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.input-wrapper[b-iynbul1c2n] {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.form-control[b-iynbul1c2n] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

.btn-save[b-iynbul1c2n] {
    padding: 10px 20px;
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    flex: 1;
}

.btn-edit[b-iynbul1c2n] {
    background: #3498db;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
}

.btn-del[b-iynbul1c2n] {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
}

/* Responsive Table */
.data-table[b-iynbul1c2n] {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

@media (max-width: 600px) {
    .data-table thead[b-iynbul1c2n] {
        display: none;
    }

    .data-table tr[b-iynbul1c2n] {
        display: block;
        margin-bottom: 10px;
        border: 1px solid #ddd;
        padding: 10px;
    }

    .data-table td[b-iynbul1c2n] {
        display: flex;
        justify-content: space-between;
        padding: 8px 0;
        border-bottom: 1px solid #eee;
    }

        .data-table td[b-iynbul1c2n]::before {
            content: attr(data-label);
            font-weight: bold;
        }
}

.group-card[b-iynbul1c2n] {
    border: 2px solid #2d5a5a;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    background: #fff;
}

.group-header[b-iynbul1c2n] {
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

.user-item[b-iynbul1c2n] {
    display: flex;
    justify-content: space-between;
    background: #f1f1f1;
    padding: 5px 10px;
    margin: 5px 0;
    border-radius: 5px;
}

.btn-add-group[b-iynbul1c2n] {
    background: #27ae60;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    margin-bottom: 20px;
}

.btn-save-sm[b-iynbul1c2n] {
    background: #27ae60;
    color: white;
    border: none;
    padding: 2px 8px;
    border-radius: 4px;
}

.btn-edit-sm[b-iynbul1c2n] {
    background: #3498db;
    color: white;
    border: none;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 5px;
}

.btn-del-sm[b-iynbul1c2n] {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 2px 8px;
    border-radius: 4px;
}
/* دکمه‌ها: تغییر رنگ بسیار آرام و بدون هیچ‌گونه جابه‌جایی */
button[b-iynbul1c2n] {
    transition: background-color 0.5s ease, opacity 0.5s ease;
    cursor: pointer;
    border: none;
    outline: none;
}

    /* افکت فقط برای حالت هاور دکمه */
    button:hover[b-iynbul1c2n] {
        opacity: 0.85; /* فقط کمی شفافیت تغییر می‌کند تا حس "انتخاب شدن" بدهد */
        filter: brightness(95%); /* کمی تیره شدن ملایم برای بازخورد بصری */
    }

/* اطمینان از ثبات سایر المان‌ها */
.group-card[b-iynbul1c2n], .user-item[b-iynbul1c2n], .group-url-section[b-iynbul1c2n] {
    transition: none; /* حذف هرگونه ترنزیشن برای بقیه المان‌ها */
}

/* کلاس پیام کپی */
.copy-toast[b-iynbul1c2n] {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    background: #27ae60;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 99999 !important;
    font-family: Tahoma, sans-serif;
    animation: fadeInOut 3s forwards;
    pointer-events: none; /* اجازه می‌دهد کلیک از روی پیام عبور کند */
}

.group-content-wrapper[b-iynbul1c2n] {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    /* این خط انیمیشن را نرم می‌کند */
    transition: max-height 0.4s ease-in-out, opacity 0.3s ease-in-out;
}

    .group-content-wrapper.expanded[b-iynbul1c2n] {
        max-height: 1000px; /* ارتفاعی بیشتر از حد معمول محتوای شما */
        opacity: 1;
    }
