/* _content/RAIM/Components/ClassificationFiles/FileClasificationPage.razor.rz.scp.css */
:root[b-bxx5b3u3ui] {
    --raim-bg: #f0f4fb;
    --raim-surface: #ffffff;
    --raim-surface2: #f5f8ff;
    --raim-border: rgba(79,142,247,0.12);
    --raim-accent: #4f8ef7;
    --raim-accent2: #7c5cfc;
    --raim-glow: rgba(79,142,247,0.18);
    --raim-success: #0aad78;
    --raim-danger: #e03258;
    --raim-warning: #d4880a;
    --raim-text: #1a2340;
    --raim-muted: #8494b2;
    --raim-radius: 14px;
    --raim-trans: 0.22s cubic-bezier(.4,0,.2,1);
}

.raim-filepage-wrapper[b-bxx5b3u3ui] {
    min-height: 100vh;
    background: var(--raim-bg);
    padding: 48px 24px;
    color: var(--raim-text);
}

.raim-filepage-container[b-bxx5b3u3ui] {
    max-width: 980px;
    margin: 0 auto;
}

.raim-filepage-header[b-bxx5b3u3ui] {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 48px;
}

.raim-filepage-header-icon[b-bxx5b3u3ui] {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #4f8ef7, #7c5cfc);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 8px 24px rgba(79,142,247,0.18);
    flex-shrink: 0;
}

.raim-filepage-header h1[b-bxx5b3u3ui] {
    font-size: 26px;
    font-weight: 700;
    margin: 0;
    color: #1a2340;
}

.raim-filepage-header p[b-bxx5b3u3ui] {
    margin: 4px 0 0;
    font-size: 13px;
    color: #8494b2;
}

.raim-filepage-card[b-bxx5b3u3ui] {
    background: #ffffff;
    border: 1px solid rgba(79,142,247,0.12);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 4px 24px rgba(79,142,247,0.07), 0 1px 4px rgba(0,0,0,0.04);
}

.raim-filepage-card-title[b-bxx5b3u3ui] {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #8494b2;
    margin-bottom: 20px;
}

/* ===== الأزرار الرئيسية ===== */
.raim-filepage-mainbtn[b-bxx5b3u3ui] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: var(--raim-trans);
    white-space: nowrap;
    text-decoration: none;
}

    .raim-filepage-mainbtn:disabled[b-bxx5b3u3ui] {
        opacity: 0.45;
        cursor: not-allowed;
    }

.raim-filepage-mainbtn-save[b-bxx5b3u3ui] {
    background: rgba(10,173,120,0.12);
    color: #0aad78 !important;
    border: 1px solid rgba(10,173,120,0.35);
}

    .raim-filepage-mainbtn-save:hover:not(:disabled)[b-bxx5b3u3ui] {
        background: rgba(10,173,120,0.22);
        transform: translateY(-1px);
        color: #0aad78 !important;
    }

.raim-filepage-mainbtn-drive[b-bxx5b3u3ui] {
    background: rgba(79,142,247,0.12);
    color: #4f8ef7 !important;
    border: 1px solid rgba(79,142,247,0.3);
}

    .raim-filepage-mainbtn-drive:hover:not(:disabled)[b-bxx5b3u3ui] {
        background: rgba(79,142,247,0.22);
        transform: translateY(-1px);
        color: #4f8ef7 !important;
    }

/* ===== أزرار الجدول ===== */
.raim-filepage-actions-cell[b-bxx5b3u3ui] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.raim-filepage-delbtn[b-bxx5b3u3ui] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    line-height: 1;
    padding: 0 12px;
    margin: 0;
    background: transparent;
    color: #e03258 !important;
    border: 1px solid rgba(224,50,88,0.3);
    font-size: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--raim-trans);
    white-space: nowrap;
    vertical-align: middle;
    box-sizing: border-box;
    font-weight: 500;
}

    .raim-filepage-delbtn:hover[b-bxx5b3u3ui] {
        background: rgba(224,50,88,0.1);
        color: #e03258 !important;
    }

.raim-filepage-downlink[b-bxx5b3u3ui] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    line-height: 1;
    padding: 0 12px;
    margin: 0;
    background: rgba(79,142,247,0.12);
    color: #4f8ef7 !important;
    border: 1px solid rgba(79,142,247,0.25);
    font-size: 12px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: var(--raim-trans);
    white-space: nowrap;
    vertical-align: middle;
    box-sizing: border-box;
    font-weight: 500;
}

    .raim-filepage-downlink:hover[b-bxx5b3u3ui] {
        background: rgba(79,142,247,0.22);
        color: #4f8ef7 !important;
        text-decoration: none !important;
    }

/* ===== الجدول ===== */
.raim-filepage-table[b-bxx5b3u3ui] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 6px;
}

    .raim-filepage-table thead tr th[b-bxx5b3u3ui] {
        font-size: 11px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1.2px;
        color: #8494b2;
        padding: 8px 16px;
        text-align: left;
    }

    .raim-filepage-table tbody tr[b-bxx5b3u3ui] {
        background: #f5f8ff;
        transition: var(--raim-trans);
    }

        .raim-filepage-table tbody tr:hover[b-bxx5b3u3ui] {
            background: #eaf1ff;
            transform: translateX(3px);
            box-shadow: 0 4px 20px rgba(79,142,247,0.1);
        }

        .raim-filepage-table tbody tr td[b-bxx5b3u3ui] {
            padding: 12px 16px;
            font-size: 13.5px;
            vertical-align: middle;
        }

            .raim-filepage-table tbody tr td:first-child[b-bxx5b3u3ui] {
                border-radius: 14px 0 0 14px;
            }

            .raim-filepage-table tbody tr td:last-child[b-bxx5b3u3ui] {
                border-radius: 0 14px 14px 0;
            }

/* ===== النقطة جنب اسم الملف ===== */
.raim-filepage-filebadge[b-bxx5b3u3ui] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.raim-filepage-filedot[b-bxx5b3u3ui] {
    display: inline-block;
    width: 9px;
    height: 9px;
    min-width: 9px;
    min-height: 9px;
    border-radius: 50%;
    background-color: #4f8ef7 !important;
    flex-shrink: 0;
}

    .raim-filepage-filedot.raim-filepage-filedot-json[b-bxx5b3u3ui] {
        background-color: #d4880a !important;
    }

.raim-filepage-dash[b-bxx5b3u3ui] {
    color: #8494b2;
}

/* ===== الـ Inputs ===== */
.raim-filepage-input[b-bxx5b3u3ui] {
    background: #f5f8ff;
    border: 1px solid rgba(79,142,247,0.2);
    border-radius: 8px;
    padding: 7px 12px;
    font-size: 13px;
    color: #1a2340;
    width: 100%;
    transition: var(--raim-trans);
    outline: none;
    box-sizing: border-box;
}

    .raim-filepage-input:focus[b-bxx5b3u3ui] {
        border-color: #4f8ef7;
        background: #edf3ff;
        box-shadow: 0 0 0 3px rgba(79,142,247,0.12);
    }

.raim-filepage-input-num[b-bxx5b3u3ui] {
    width: 80px !important;
}

/* ===== التنبيهات ===== */
.raim-filepage-alert[b-bxx5b3u3ui] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13.5px;
    margin-top: 16px;
}

.raim-filepage-alert-success[b-bxx5b3u3ui] {
    background: rgba(10,173,120,0.08);
    color: #0aad78 !important;
    border: 1px solid rgba(10,173,120,0.2);
}

.raim-filepage-alert-error[b-bxx5b3u3ui] {
    background: rgba(224,50,88,0.08);
    color: #e03258 !important;
    border: 1px solid rgba(224,50,88,0.2);
}

.raim-filepage-alert-warning[b-bxx5b3u3ui] {
    background: rgba(212,136,10,0.08);
    color: #d4880a !important;
    border: 1px solid rgba(212,136,10,0.2);
}

/* ===== Loading ===== */
.raim-filepage-loading[b-bxx5b3u3ui] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px;
    gap: 14px;
    color: #8494b2;
}

.raim-filepage-spinner[b-bxx5b3u3ui] {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(79,142,247,0.15);
    border-top: 3px solid #4f8ef7;
    border-radius: 50%;
    animation: raimSpin-b-bxx5b3u3ui 0.9s linear infinite;
}

@keyframes raimSpin-b-bxx5b3u3ui {
    to {
        transform: rotate(360deg);
    }
}

/* ===== صف الأزرار السفلي ===== */
.raim-filepage-btnrow[b-bxx5b3u3ui] {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}
/* _content/RAIM/Components/Dashboard/AdminDashboardPage.razor.rz.scp.css */
/* ════════════════════════════════════════
   AdminDashboardPage.razor.css
   ════════════════════════════════════════ */

/* ── VARIABLES ── */
:root[b-u4o3tp4csz] {
    --bg: #f0f4f8;
    --white: #ffffff;
    --border: #e8edf2;
    --text: #0f172a;
    --muted: #64748b;
    --light: #f8fafc;
    --blue: #3b82f6;
    --green: #10b981;
    --violet: #8b5cf6;
    --amber: #f59e0b;
    --rose: #f43f5e;
    --cyan: #06b6d4;
    --r: 18px;
    --sh: 0 1px 8px rgba(0,0,0,.06);
    --sh2: 0 8px 28px rgba(0,0,0,.10);
}

/* ── PAGE ── */
.dash[b-u4o3tp4csz] {
    padding: 2px 32px 40px;
    max-width: 1440px;
    margin: 0 auto;
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: 14px;
    color: var(--text);

}

/* ── LOADING ── */
.dash-loading[b-u4o3tp4csz] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 320px;
    gap: 16px;
    color: var(--muted);
    font-size: .875rem;
}

.spinner[b-u4o3tp4csz] {
    width: 36px;
    height: 36px;
    border: 3px solid #e2e8f0;
    border-top-color: var(--blue);
    border-radius: 50%;
    animation: spin .75s linear infinite;
}

@@keyframes spin {
    to[b-u4o3tp4csz] {
        transform: rotate(360deg);
    }
}

/* ── HEADER ── */
.hdr[b-u4o3tp4csz] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.hdr-l p[b-u4o3tp4csz] {
    font-size: .82rem;
    color: var(--muted);
    margin-bottom: 4px;
}

    .hdr-l p strong[b-u4o3tp4csz] {
        color: #334155;
    }

.hdr-l h1[b-u4o3tp4csz] {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -.5px;
    margin: 0;
}

.hdr-r[b-u4o3tp4csz] {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.pill[b-u4o3tp4csz] {
    display: flex;
    align-items: center;
    gap: 7px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px 14px;
    font-size: .8rem;
    font-weight: 500;
    color: var(--muted);
    box-shadow: var(--sh);
}

    .pill.ok[b-u4o3tp4csz] {
        color: #10b981;
        border-color: #bbf7d0;
    }

/* ── KPI ROW ── */
.kpi-row[b-u4o3tp4csz] {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

.kpi[b-u4o3tp4csz] {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* ظل خفيف مع شفافية */
    transition: transform .2s, box-shadow .2s;
    cursor: default;
}
    .kpi[b-u4o3tp4csz]::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: var(--c);
        border-radius: var(--r) var(--r) 0 0;
    }

    .kpi:hover[b-u4o3tp4csz] {
        transform: translateY(-3px);
        box-shadow: var(--sh2);
    }

.kpi-top[b-u4o3tp4csz] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.kpi-ico[b-u4o3tp4csz] {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    background: color-mix(in srgb, var(--c) 12%, white);
    color: var(--c);
}

.kpi-tr[b-u4o3tp4csz] {
    font-size: .7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    background: color-mix(in srgb, var(--green) 10%, white);
    color: var(--green);
}

    .kpi-tr.dn[b-u4o3tp4csz] {
        background: color-mix(in srgb, var(--rose) 10%, white);
        color: var(--rose);
    }

.kpi-val[b-u4o3tp4csz] {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -1px;
    color: var(--text);
}

.kpi-lbl[b-u4o3tp4csz] {
    font-size: .72rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-top: 4px;
}

/* ── GRID LAYOUTS ── */
.g2[b-u4o3tp4csz] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.g3[b-u4o3tp4csz] {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.g2b[b-u4o3tp4csz] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

/* ── CARD ── */
.card[b-u4o3tp4csz] {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    /* ظل أقوى وأكثر عمقًا */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: box-shadow .2s, transform .2s;
}

    /* تأثير عند المرور على الكارد */
    .card:hover[b-u4o3tp4csz] {
        box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
        transform: translateY(-4px);
    }

/* card header */
.ch[b-u4o3tp4csz] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 0;
    flex-wrap: wrap;
    gap: 8px;
}

/* card title */
.ct[b-u4o3tp4csz] {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: .9rem;
    font-weight: 700;
    color: var(--text);
}

/* card icon */
.ci[b-u4o3tp4csz] {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    flex-shrink: 0;
}

    .ci.bl[b-u4o3tp4csz] {
        background: #eff6ff;
        color: var(--blue);
    }

    .ci.gr[b-u4o3tp4csz] {
        background: #ecfdf5;
        color: var(--green);
    }

    .ci.vi[b-u4o3tp4csz] {
        background: #f5f3ff;
        color: var(--violet);
    }

    .ci.am[b-u4o3tp4csz] {
        background: #fffbeb;
        color: var(--amber);
    }

    .ci.ro[b-u4o3tp4csz] {
        background: #fff1f2;
        color: var(--rose);
    }

    .ci.cy[b-u4o3tp4csz] {
        background: #ecfeff;
        color: var(--cyan);
    }

.more[b-u4o3tp4csz] {
    font-size: .75rem;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 7px;
    transition: all .15s;
    white-space: nowrap;
}

    .more:hover[b-u4o3tp4csz] {
        background: var(--light);
        color: var(--text);
    }

/* card body */
.cb[b-u4o3tp4csz] {
    padding: 16px 20px 20px;
}

/* ── CHART WRAPPERS ── */
.cw canvas[b-u4o3tp4csz] {
    max-height: 240px;
    width: 100% !important;
}

.cw.sm canvas[b-u4o3tp4csz] {
    max-height: 190px;
    width: 100% !important;
}

.cw.lg canvas[b-u4o3tp4csz] {
    max-height: 280px;
    width: 100% !important;
}

.cw[b-u4o3tp4csz], .cw.sm[b-u4o3tp4csz], .cw.lg[b-u4o3tp4csz] {
    width: 100%;
}

/* ── LEGEND ── */
.leg[b-u4o3tp4csz] {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.li[b-u4o3tp4csz] {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .71rem;
    font-weight: 600;
    color: var(--muted);
}

.ld[b-u4o3tp4csz] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── TABLE SCROLL ── */
.table-scroll[b-u4o3tp4csz] {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ── LAB RANKING TABLE ── */
.lab-table[b-u4o3tp4csz] {
    width: 100%;
    border-collapse: collapse;
    margin-top: 4px;
    min-width: 460px;
}

    .lab-table th[b-u4o3tp4csz] {
        font-size: .68rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .8px;
        color: var(--muted);
        padding: 8px 10px;
        text-align: left;
        border-bottom: 2px solid var(--light);
        white-space: nowrap;
    }

    .lab-table td[b-u4o3tp4csz] {
        padding: 10px 10px;
        font-size: .82rem;
        border-bottom: 1px solid var(--light);
        vertical-align: middle;
    }

    .lab-table tr:last-child td[b-u4o3tp4csz] {
        border-bottom: none;
    }

    .lab-table tr:hover td[b-u4o3tp4csz] {
        background: var(--light);
    }

.lab-rank[b-u4o3tp4csz] {
    font-size: 1rem;
}

.lab-name-cell[b-u4o3tp4csz] {
    font-size: .84rem;
    font-weight: 600;
    color: var(--text);
}

.lab-sub[b-u4o3tp4csz] {
    font-size: .7rem;
    color: var(--muted);
    margin-top: 1px;
}

.bar-mini[b-u4o3tp4csz] {
    height: 5px;
    background: var(--light);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 4px;
    min-width: 60px;
}

.bar-fill[b-u4o3tp4csz] {
    height: 100%;
    border-radius: 3px;
    background: var(--violet);
    transition: width .6s ease;
}

.num-badge[b-u4o3tp4csz] {
    font-size: .75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    background: #f5f3ff;
    color: var(--violet);
    white-space: nowrap;
}

/* ── DONUT CENTER LABEL ── */
.dc[b-u4o3tp4csz] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
}

.dc-val[b-u4o3tp4csz] {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--text);
    line-height: 1;
}

.dc-sub[b-u4o3tp4csz] {
    font-size: .65rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .3px;
}

/* ── TRANSFER ROWS ── */
.tr-row[b-u4o3tp4csz] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid var(--light);
    transition: background .15s;
}

    .tr-row:last-child[b-u4o3tp4csz] {
        border-bottom: none;
    }

    .tr-row:hover[b-u4o3tp4csz] {
        background: var(--light);
        margin: 0 -20px;
        padding: 9px 20px;
    }

.av[b-u4o3tp4csz] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .68rem;
    font-weight: 800;
    flex-shrink: 0;
}

.tr-info[b-u4o3tp4csz] {
    flex: 1;
    min-width: 0;
}

.tr-name[b-u4o3tp4csz] {
    font-size: .82rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tr-sub[b-u4o3tp4csz] {
    font-size: .7rem;
    color: var(--muted);
    margin-top: 1px;
}

/* ── ALERT ROWS ── */
.alert-row[b-u4o3tp4csz] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid var(--light);
}

    .alert-row:last-child[b-u4o3tp4csz] {
        border-bottom: none;
    }

.ar-ico[b-u4o3tp4csz] {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    flex-shrink: 0;
}

.ar-info[b-u4o3tp4csz] {
    flex: 1;
    min-width: 0;
}

.ar-title[b-u4o3tp4csz] {
    font-size: .82rem;
    font-weight: 600;
    color: var(--text);
}

.ar-sub[b-u4o3tp4csz] {
    font-size: .7rem;
    color: var(--muted);
    margin-top: 1px;
}

.ar-badge[b-u4o3tp4csz] {
    font-size: .67rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    flex-shrink: 0;
    white-space: nowrap;
}

.badge-urgent[b-u4o3tp4csz] {
    background: #fff1f2;
    color: #f43f5e;
}

.badge-pending[b-u4o3tp4csz] {
    background: #fffbeb;
    color: #f59e0b;
}

/* ══════════════════════════════
   ÉVÉNEMENTS SECTION
══════════════════════════════ */

/* Résumé 3 compteurs */
.ev-summary[b-u4o3tp4csz] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.ev-stat[b-u4o3tp4csz] {
    background: color-mix(in srgb, var(--ec) 8%, white);
    border: 1px solid color-mix(in srgb, var(--ec) 20%, #e8edf2);
    border-radius: 14px;
    padding: 14px 12px;
    text-align: center;
    transition: transform .18s, box-shadow .18s;
    cursor: default;
}

    .ev-stat:hover[b-u4o3tp4csz] {
        transform: translateY(-2px);
        box-shadow: 0 4px 16px color-mix(in srgb, var(--ec) 18%, transparent);
    }

.ev-stat-ico[b-u4o3tp4csz] {
    font-size: 1.3rem;
    color: var(--ec);
    margin-bottom: 6px;
    line-height: 1;
}

.ev-stat-val[b-u4o3tp4csz] {
    font-size: 1.7rem;
    font-weight: 900;
    color: var(--ec);
    line-height: 1;
    letter-spacing: -1px;
}

.ev-stat-lbl[b-u4o3tp4csz] {
    font-size: .67rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-top: 4px;
}

/* Liste événements récents */
.ev-list[b-u4o3tp4csz] {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ev-row[b-u4o3tp4csz] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid var(--light);
    transition: background .15s;
}

    .ev-row:last-child[b-u4o3tp4csz] {
        border-bottom: none;
    }

    .ev-row:hover[b-u4o3tp4csz] {
        background: var(--light);
        margin: 0 -20px;
        padding: 9px 20px;
    }

.ev-dot[b-u4o3tp4csz] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.ev-info[b-u4o3tp4csz] {
    flex: 1;
    min-width: 0;
}

.ev-title[b-u4o3tp4csz] {
    font-size: .83rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ev-meta[b-u4o3tp4csz] {
    font-size: .7rem;
    color: var(--muted);
    margin-top: 1px;
}

/* Badges statut événement */
.ev-badge[b-u4o3tp4csz] {
    font-size: .67rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    flex-shrink: 0;
    white-space: nowrap;
}

.ev-badge--pending[b-u4o3tp4csz] {
    background: #fffbeb;
    color: #d97706;
}

.ev-badge--active[b-u4o3tp4csz] {
    background: #ecfdf5;
    color: #059669;
}

.ev-badge--closed[b-u4o3tp4csz] {
    background: #f1f5f9;
    color: #64748b;
}

/* ── RESPONSIVE ── */

/* Large tablets (≤ 1200px) */
@media (max-width: 1200px) {
    .kpi-row[b-u4o3tp4csz] {
        grid-template-columns: repeat(3, 1fr);
    }

    .g3[b-u4o3tp4csz] {
        grid-template-columns: 1fr 1fr;
    }

        .g3 .card:first-child[b-u4o3tp4csz] {
            grid-column: 1 / -1;
        }
}

/* Tablets (≤ 900px) */
@media (max-width: 900px) {
    .dash[b-u4o3tp4csz] {
        padding: 2px 20px 32px;
    }

    .g2[b-u4o3tp4csz], .g2b[b-u4o3tp4csz] {
        grid-template-columns: 1fr;
    }

    .g3[b-u4o3tp4csz] {
        grid-template-columns: 1fr;
    }

    .kpi-row[b-u4o3tp4csz] {
        grid-template-columns: repeat(3, 1fr);
    }

    .hdr-l h1[b-u4o3tp4csz] {
        font-size: 1.35rem;
    }

    .ev-summary[b-u4o3tp4csz] {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile (≤ 640px) */
@media (max-width: 640px) {
    .dash[b-u4o3tp4csz] {
        padding: 2px 14px 24px;
    }

    .kpi-row[b-u4o3tp4csz] {
        grid-template-columns: repeat(2, 1fr);
    }

    .g2[b-u4o3tp4csz], .g2b[b-u4o3tp4csz], .g3[b-u4o3tp4csz] {
        grid-template-columns: 1fr;
    }

    .hdr[b-u4o3tp4csz] {
        margin-bottom: 16px;
    }

    .hdr-l h1[b-u4o3tp4csz] {
        font-size: 1.15rem;
    }

    .hdr-l p[b-u4o3tp4csz] {
        font-size: .75rem;
    }

    .pill[b-u4o3tp4csz] {
        padding: 6px 10px;
        font-size: .74rem;
    }

    .kpi[b-u4o3tp4csz] {
        padding: 14px;
    }

    .kpi-val[b-u4o3tp4csz] {
        font-size: 1.6rem;
    }

    .ev-summary[b-u4o3tp4csz] {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .ev-stat[b-u4o3tp4csz] {
        padding: 10px 8px;
    }

    .ev-stat-val[b-u4o3tp4csz] {
        font-size: 1.3rem;
    }

    .ev-stat-lbl[b-u4o3tp4csz] {
        font-size: .6rem;
    }

    .ev-stat-ico[b-u4o3tp4csz] {
        font-size: 1.1rem;
    }

    .ch[b-u4o3tp4csz] {
        padding: 14px 14px 0;
    }

    .cb[b-u4o3tp4csz] {
        padding: 12px 14px 16px;
    }

    .tr-row:hover[b-u4o3tp4csz] {
        margin: 0;
        padding: 9px 0;
    }

    .ev-row:hover[b-u4o3tp4csz] {
        margin: 0;
        padding: 9px 0;
    }
}

/* ── EVENTS ── */
.ev-row[b-u4o3tp4csz] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid var(--light);
}

    .ev-row:last-child[b-u4o3tp4csz] {
        border-bottom: none;
    }

.ev-box[b-u4o3tp4csz] {
    width: 42px;
    height: 46px;
    border-radius: 11px;
    background: #fffbeb;
    border: 1.5px solid #fde68a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ev-d[b-u4o3tp4csz] {
    font-size: 1rem;
    font-weight: 900;
    color: var(--amber);
    line-height: 1;
}

.ev-m[b-u4o3tp4csz] {
    font-size: .58rem;
    font-weight: 700;
    color: #fbbf24;
    text-transform: uppercase;
}

.ev-info[b-u4o3tp4csz] {
    flex: 1;
    min-width: 0;
}

.ev-title-txt[b-u4o3tp4csz] {
    font-size: .83rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ev-loc[b-u4o3tp4csz] {
    font-size: .7rem;
    color: var(--muted);
    margin-top: 2px;
}

.ev-badge[b-u4o3tp4csz] {
    font-size: .67rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

.ev-int[b-u4o3tp4csz] {
    background: #f0fdf4;
    color: #10b981;
}

.ev-conf[b-u4o3tp4csz] {
    background: #eff6ff;
    color: #3b82f6;
}

.ev-def[b-u4o3tp4csz] {
    background: #f5f3ff;
    color: #8b5cf6;
}

.ev-work[b-u4o3tp4csz] {
    background: #fffbeb;
    color: #f59e0b;
}
/* Very small (≤ 400px) */
@media (max-width: 400px) {
    .kpi-row[b-u4o3tp4csz] {
        grid-template-columns: 1fr 1fr;
    }

    .ev-summary[b-u4o3tp4csz] {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .ev-stat[b-u4o3tp4csz] {
        display: flex;
        align-items: center;
        gap: 12px;
        text-align: left;
        padding: 12px 14px;
    }

    .ev-stat-ico[b-u4o3tp4csz] {
        margin-bottom: 0;
    }
}
/* _content/RAIM/Components/Dashboard/LabDirectorDashboardPage.razor.rz.scp.css */
/* ══════════════════════════════════════════
   LabDirectorDashboardPage.razor.css
══════════════════════════════════════════ */

:root[b-ruq5jgevpx] {
    --bg:     #f0f4f8;
    --white:  #ffffff;
    --border: #e8edf2;
    --text:   #0f172a;
    --muted:  #64748b;
    --light:  #f8fafc;
    --blue:   #3b82f6;
    --green:  #10b981;
    --violet: #8b5cf6;
    --amber:  #f59e0b;
    --rose:   #f43f5e;
    --cyan:   #06b6d4;
    --r:      18px;
    --sh:     0 2px 10px rgba(0,0,0,.06);
    --sh2:    0 10px 32px rgba(0,0,0,.10);
}

/* ── PAGE ── */
.dash[b-ruq5jgevpx] {
    padding: 28px 32px;
    max-width: 1380px;
    margin: 0 auto;
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: 14px;
    color: var(--text);
}

/* ── LOADING ── */
.dash-loading[b-ruq5jgevpx] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 320px;
    gap: 16px;
    color: var(--muted);
    font-size: .875rem;
}

.spinner[b-ruq5jgevpx] {
    width: 36px;
    height: 36px;
    border: 3px solid #e2e8f0;
    border-top-color: var(--blue);
    border-radius: 50%;
    animation: spin .75s linear infinite;
}

@@keyframes spin { to[b-ruq5jgevpx] { transform: rotate(360deg); } }

/* ── HEADER ── */
.hdr[b-ruq5jgevpx] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.hdr-l p[b-ruq5jgevpx]        { font-size: .82rem; color: var(--muted); margin-bottom: 4px; }
.hdr-l p strong[b-ruq5jgevpx] { color: #334155; }
.hdr-l h1[b-ruq5jgevpx]       { font-size: 1.7rem; font-weight: 800; letter-spacing: -.5px; margin: 0; }
.hdr-r[b-ruq5jgevpx]          { display: flex; gap: 10px; align-items: center; }

.pill[b-ruq5jgevpx] {
    display: flex;
    align-items: center;
    gap: 7px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px 14px;
    font-size: .8rem;
    font-weight: 500;
    color: var(--muted);
    box-shadow: var(--sh);
}

.pill.ok[b-ruq5jgevpx] { color: #10b981; border-color: #bbf7d0; }

/* ── LAB IDENTITY BANNER ── */
.lab-banner[b-ruq5jgevpx] {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 60%, #1e40af 100%);
    border-radius: 20px;
    padding: 24px 28px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: 0 4px 24px rgba(15,23,42,.18);
}

.lab-banner-left[b-ruq5jgevpx] {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lab-logo[b-ruq5jgevpx] {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(255,255,255,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    font-weight: 900;
    color: #fff;
    border: 2px solid rgba(255,255,255,.2);
    flex-shrink: 0;
    letter-spacing: -1px;
}

.lab-name-block h2[b-ruq5jgevpx] {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 5px;
}

.lab-name-block p[b-ruq5jgevpx] {
    font-size: .78rem;
    color: rgba(255,255,255,.6);
    margin: 0;
}

.lab-banner-right[b-ruq5jgevpx] {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.lab-stat[b-ruq5jgevpx] { text-align: center; }

.lab-stat-val[b-ruq5jgevpx] {
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.lab-stat-lbl[b-ruq5jgevpx] {
    font-size: .68rem;
    font-weight: 600;
    color: rgba(255,255,255,.55);
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-top: 3px;
}

/* ── ALERTS STRIP ── */
.alerts-strip[b-ruq5jgevpx] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.alert-item[b-ruq5jgevpx] {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    border: 1px solid var(--border);
    border-right: 4px solid var(--c);
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: var(--sh);
    transition: transform .18s, box-shadow .18s;
}

.alert-item:hover[b-ruq5jgevpx] {
    transform: translateY(-2px);
    box-shadow: var(--sh2);
}

.a-ico[b-ruq5jgevpx] {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    background: color-mix(in srgb, var(--c) 10%, white);
    color: var(--c);
    flex-shrink: 0;
}

.a-info[b-ruq5jgevpx]   { flex: 1; min-width: 0; }
.a-title[b-ruq5jgevpx]  { font-size: .82rem; font-weight: 700; color: var(--text); }
.a-sub[b-ruq5jgevpx]    { font-size: .71rem; color: var(--muted); margin-top: 2px; }
.a-count[b-ruq5jgevpx]  { font-size: 1.5rem; font-weight: 900; line-height: 1; }

/* ── KPI ROW ── */
.kpi-row[b-ruq5jgevpx] {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

.kpi[b-ruq5jgevpx] {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--sh);
    transition: transform .2s, box-shadow .2s;
    cursor: default;
}

.kpi[b-ruq5jgevpx]::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--c);
    border-radius: var(--r) var(--r) 0 0;
}

.kpi:hover[b-ruq5jgevpx] { transform: translateY(-3px); box-shadow: var(--sh2); }

.kpi-top[b-ruq5jgevpx] { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }

.kpi-ico[b-ruq5jgevpx] {
    width: 42px; height: 42px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    background: color-mix(in srgb, var(--c) 12%, white);
    color: var(--c);
}

.kpi-tr[b-ruq5jgevpx] {
    font-size: .7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    background: color-mix(in srgb, var(--green) 10%, white);
    color: var(--green);
}

.kpi-tr.dn[b-ruq5jgevpx] {
    background: color-mix(in srgb, var(--rose) 10%, white);
    color: var(--rose);
}

.kpi-val[b-ruq5jgevpx] { font-size: 2rem; font-weight: 900; line-height: 1; letter-spacing: -1px; }
.kpi-lbl[b-ruq5jgevpx] { font-size: .72rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; margin-top: 4px; }

/* ── GRIDS ── */
.g2[b-ruq5jgevpx]  { display: grid; grid-template-columns: 1fr 1fr;     gap: 18px; margin-bottom: 18px; }
.g3[b-ruq5jgevpx]  { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.g3b[b-ruq5jgevpx] { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }

/* ── CARD ── */
.card[b-ruq5jgevpx] { background: white; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); transition: box-shadow .2s; }
.card:hover[b-ruq5jgevpx] { box-shadow: var(--sh2); }
.ch[b-ruq5jgevpx] { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 0; }
.ct[b-ruq5jgevpx] { display: flex; align-items: center; gap: 9px; font-size: .9rem; font-weight: 700; color: var(--text); }
.ci[b-ruq5jgevpx] { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: .88rem; }
.ci.bl[b-ruq5jgevpx] { background: #eff6ff; color: var(--blue);   }
.ci.gr[b-ruq5jgevpx] { background: #ecfdf5; color: var(--green);  }
.ci.vi[b-ruq5jgevpx] { background: #f5f3ff; color: var(--violet); }
.ci.am[b-ruq5jgevpx] { background: #fffbeb; color: var(--amber);  }
.ci.ro[b-ruq5jgevpx] { background: #fff1f2; color: var(--rose);   }
.more[b-ruq5jgevpx] { font-size: .75rem; font-weight: 600; color: var(--muted); text-decoration: none; padding: 5px 10px; border-radius: 7px; transition: all .15s; }
.more:hover[b-ruq5jgevpx] { background: var(--light); color: var(--text); }
.cb[b-ruq5jgevpx] { padding: 16px 20px 20px; }

/* ── CHARTS ── */
.cw    canvas[b-ruq5jgevpx] { max-height: 240px; }
.cw.sm canvas[b-ruq5jgevpx] { max-height: 185px; }
.cw.lg canvas[b-ruq5jgevpx] { max-height: 275px; }

/* ── LEGEND ── */
.leg[b-ruq5jgevpx] { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.li[b-ruq5jgevpx]  { display: flex; align-items: center; gap: 5px; font-size: .71rem; font-weight: 600; color: var(--muted); }
.ld[b-ruq5jgevpx]  { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* ── EVENTS ── */
.ev-row[b-ruq5jgevpx] { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--light); }
.ev-row:last-child[b-ruq5jgevpx] { border-bottom: none; }
.ev-box[b-ruq5jgevpx] { width: 42px; height: 46px; border-radius: 11px; background: #fffbeb; border: 1.5px solid #fde68a; display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; }
.ev-d[b-ruq5jgevpx]   { font-size: 1rem; font-weight: 900; color: var(--amber); line-height: 1; }
.ev-m[b-ruq5jgevpx]   { font-size: .58rem; font-weight: 700; color: #fbbf24; text-transform: uppercase; }
.ev-info[b-ruq5jgevpx] { flex: 1; min-width: 0; }
.ev-title-txt[b-ruq5jgevpx] { font-size: .83rem; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev-loc[b-ruq5jgevpx] { font-size: .7rem; color: var(--muted); margin-top: 2px; }
.ev-badge[b-ruq5jgevpx] { font-size: .67rem; font-weight: 700; padding: 3px 9px; border-radius: 20px; white-space: nowrap; flex-shrink: 0; }
.ev-int[b-ruq5jgevpx]  { background: #f0fdf4; color: #10b981; }
.ev-conf[b-ruq5jgevpx] { background: #eff6ff; color: #3b82f6; }
.ev-def[b-ruq5jgevpx]  { background: #f5f3ff; color: #8b5cf6; }
.ev-work[b-ruq5jgevpx] { background: #fffbeb; color: #f59e0b; }

/* ── EQUIPMENT ── */
.eq-row[b-ruq5jgevpx]  { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--light); }
.eq-row:last-child[b-ruq5jgevpx] { border-bottom: none; }
.eq-ico[b-ruq5jgevpx]  { width: 32px; height: 32px; border-radius: 8px; background: #fff1f2; color: var(--rose); display: flex; align-items: center; justify-content: center; font-size: .9rem; flex-shrink: 0; }
.eq-info[b-ruq5jgevpx] { flex: 1; min-width: 0; }
.eq-name[b-ruq5jgevpx] { font-size: .82rem; font-weight: 600; color: var(--text); }
.eq-bar-w[b-ruq5jgevpx] { height: 5px; background: var(--light); border-radius: 3px; margin-top: 5px; overflow: hidden; }
.eq-bar[b-ruq5jgevpx]   { height: 100%; border-radius: 3px; transition: width .6s ease; }
.eq-ok[b-ruq5jgevpx]    { background: var(--green); }
.eq-busy[b-ruq5jgevpx]  { background: var(--amber); }
.eq-maint[b-ruq5jgevpx] { background: var(--rose);  }
.eq-pct[b-ruq5jgevpx]   { font-size: .7rem; font-weight: 700; flex-shrink: 0; min-width: 38px; text-align: right; }

/* ── DONUT CENTER ── */
.dc[b-ruq5jgevpx]     { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); text-align: center; pointer-events: none; }
.dc-val[b-ruq5jgevpx] { font-size: 1.4rem; font-weight: 900; color: var(--text); line-height: 1; }
.dc-sub[b-ruq5jgevpx] { font-size: .65rem; font-weight: 600; color: var(--muted); text-transform: uppercase; }

/* ── MINI STATS ── */
.ms[b-ruq5jgevpx]      { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.ms-item[b-ruq5jgevpx] { background: var(--light); border-radius: 12px; padding: 12px; text-align: center; }
.ms-val[b-ruq5jgevpx]  { font-size: 1.3rem; font-weight: 800; }
.ms-lbl[b-ruq5jgevpx]  { font-size: .68rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; margin-top: 2px; }

/* ── TOP MEMBERS TABLE ── */
.top-table[b-ruq5jgevpx] { width: 100%; border-collapse: collapse; }
.top-table th[b-ruq5jgevpx] { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); padding: 6px 8px; border-bottom: 2px solid var(--light); text-align: left; }
.top-table td[b-ruq5jgevpx] { padding: 9px 8px; font-size: .82rem; border-bottom: 1px solid var(--light); vertical-align: middle; }
.top-table tr:last-child td[b-ruq5jgevpx] { border-bottom: none; }
.top-table tr:hover td[b-ruq5jgevpx] { background: var(--light); }
.t-av[b-ruq5jgevpx] { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .65rem; font-weight: 800; flex-shrink: 0; }

/* ── RESPONSIVE ── */
/* ───────────────────────────────
   🔥 ENHANCED RESPONSIVE SYSTEM
────────────────────────────── */

/* GLOBAL MOBILE SAFETY */
img[b-ruq5jgevpx], canvas[b-ruq5jgevpx] {
    max-width: 100%;
}

.dash[b-ruq5jgevpx] {
    width: 100%;
    overflow-x: hidden;
}

/* ── TABLE RESPONSIVE FIX ── */
.table-wrapper[b-ruq5jgevpx] {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.top-table[b-ruq5jgevpx] {
    min-width: 600px;
}

/* ── LARGE TABLET ── */
@media (max-width: 1200px) {

    .kpi-row[b-ruq5jgevpx] {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .alerts-strip[b-ruq5jgevpx] {
        grid-template-columns: repeat(2, 1fr);
    }

    .g3[b-ruq5jgevpx] {
        grid-template-columns: 1fr 1fr;
    }

    .lab-banner-right[b-ruq5jgevpx] {
        gap: 16px;
        justify-content: flex-start;
    }
}

/* ── TABLET ── */
@media (max-width: 900px) {

    .dash[b-ruq5jgevpx] {
        padding: 20px;
    }

    .hdr[b-ruq5jgevpx] {
        flex-direction: column;
        align-items: flex-start;
    }

    .kpi-row[b-ruq5jgevpx] {
        grid-template-columns: repeat(2, 1fr);
    }

    .alerts-strip[b-ruq5jgevpx] {
        grid-template-columns: 1fr;
    }

    .g2[b-ruq5jgevpx],
    .g3[b-ruq5jgevpx],
    .g3b[b-ruq5jgevpx] {
        grid-template-columns: 1fr;
    }

    .lab-banner[b-ruq5jgevpx] {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .lab-banner-right[b-ruq5jgevpx] {
        width: 100%;
        justify-content: space-between;
    }
}

/* ── MOBILE ── */
@media (max-width: 640px) {

    .dash[b-ruq5jgevpx] {
        padding: 14px;
        font-size: 13px;
    }

    .hdr-l h1[b-ruq5jgevpx] {
        font-size: 1.3rem;
    }

    .kpi-row[b-ruq5jgevpx] {
        grid-template-columns: 1fr;
    }

    .kpi[b-ruq5jgevpx] {
        padding: 16px;
    }

    .kpi-val[b-ruq5jgevpx] {
        font-size: 1.6rem;
    }

    .lab-banner[b-ruq5jgevpx] {
        padding: 18px;
        border-radius: 16px;
    }

    .lab-logo[b-ruq5jgevpx] {
        width: 52px;
        height: 52px;
        font-size: .9rem;
    }

    .lab-stat-val[b-ruq5jgevpx] {
        font-size: 1.2rem;
    }

    .alerts-strip[b-ruq5jgevpx] {
        gap: 10px;
    }

    .alert-item[b-ruq5jgevpx] {
        padding: 12px;
    }

    .card[b-ruq5jgevpx] {
        border-radius: 14px;
    }

    /* better touch spacing */
    .more[b-ruq5jgevpx],
    .pill[b-ruq5jgevpx] {
        padding: 10px 12px;
    }
}

/* ── VERY SMALL PHONES ── */
@media (max-width: 420px) {

    .dash[b-ruq5jgevpx] {
        padding: 10px;
    }

    .lab-banner-right[b-ruq5jgevpx] {
        flex-direction: column;
        gap: 10px;
    }

    .kpi-val[b-ruq5jgevpx] {
        font-size: 1.4rem;
    }

    .ev-title-txt[b-ruq5jgevpx] {
        font-size: .75rem;
    }
}
/* _content/RAIM/Components/Faculties/FacultyPage.razor.rz.scp.css */


.fc-wrap[b-g23xdakx5i] {
    max-width: 950px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    font-family: system-ui, sans-serif;
}

/* ══ BANNER ══ */
.fc-banner[b-g23xdakx5i] {
    background: linear-gradient(135deg, #0b2545 0%, #13315c 60%, #134074 100%);
    border-radius: 16px;
    padding: 2rem 2.2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 32px rgba(11, 37, 69, 0.18);
}

.fc-avatar[b-g23xdakx5i] {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid rgba(255,255,255,0.25);
}

.fc-avatar-placeholder[b-g23xdakx5i] {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.2);
}

.fc-banner-text[b-g23xdakx5i] {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.fc-title[b-g23xdakx5i] {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.fc-sub[b-g23xdakx5i] {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.65);
    margin: 0;
}

.fc-badge[b-g23xdakx5i] {
    display: inline-block;
    font-size: 0.72rem;
    padding: 3px 12px;
    border-radius: 99px;
    background: rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.18);
    width: fit-content;
    margin-top: 4px;
    letter-spacing: .03em;
}

/* ══ METRICS ══ */
.fc-grid[b-g23xdakx5i] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 1.5rem;
}

.fc-metric[b-g23xdakx5i] {
    background: #ffffff;
    border-radius: 12px;
    padding: 18px 20px;
    border: 1px solid #e4eaf3;
    border-top: 3px solid #0b2545;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: box-shadow .15s, transform .15s;
}

.fc-metric:hover[b-g23xdakx5i] {
    box-shadow: 0 6px 18px rgba(11,37,69,0.10);
    transform: translateY(-2px);
}

.fc-metric-label[b-g23xdakx5i] {
    font-size: 0.65rem;
    color: #94a3b8;
    margin: 0 0 6px;
    text-transform: uppercase;
    letter-spacing: .09em;
    font-weight: 700;
}

.fc-metric-val[b-g23xdakx5i] {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0b2545;
    margin: 0;
}

/* ══ SECTION ══ */
.fc-section[b-g23xdakx5i] {
    background: #ffffff;
    border: 1px solid #e4eaf3;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.fc-section-head[b-g23xdakx5i] {
    padding: 13px 22px;
    border-bottom: 1px solid #e4eaf3;
    font-size: 0.68rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .09em;
    background: #f8fafd;
}

.fc-row[b-g23xdakx5i] {
    display: flex;
    align-items: center;
    padding: 14px 22px;
    border-bottom: 1px solid #f1f5fb;
    transition: background .12s;
}

.fc-row:last-child[b-g23xdakx5i] {
    border-bottom: none;
}

.fc-row:hover[b-g23xdakx5i] {
    background: #f8fafd;
}

.fc-key[b-g23xdakx5i] {
    font-size: 0.83rem;
    color: #64748b;
    width: 180px;
    flex-shrink: 0;
    font-weight: 500;
}

.fc-val[b-g23xdakx5i] {
    font-size: 0.90rem;
    color: #1e293b;
    font-weight: 500;
    flex: 1;
}

.fc-val.link a[b-g23xdakx5i] {
    color: #0b2545;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1.5px solid #0b254530;
    transition: border-color .15s;
}

.fc-val.link a:hover[b-g23xdakx5i] {
    border-color: #0b2545;
}

@media (max-width: 768px) {
    .fc-grid[b-g23xdakx5i] { grid-template-columns: 1fr; }
    .fc-banner[b-g23xdakx5i] { flex-direction: column; text-align: center; }
    .fc-badge[b-g23xdakx5i] { margin: 0 auto; }
}

/* _content/RAIM/Components/Layout/MainLayout.razor.rz.scp.css */
/* ===========================
   PAGE LAYOUT
=========================== */
.page[b-8r2osbe19w] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
}

main[b-8r2osbe19w] {
    flex: 1;
    width: 100%;
    margin-left: 240px;
    min-height: 100vh;
    transition: margin 0.28s ease;
}

/* ===========================
   SIDEBAR
=========================== */
.sidebar[b-8r2osbe19w] {
    width: 240px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 200;
    background: #ffffff;
    transition: width 0.28s ease, transform 0.28s ease;
    overflow: hidden;
}

/* RTL */
.page[dir="rtl"] .sidebar[b-8r2osbe19w] {
    left: auto;
    right: 0;
}

.page[dir="rtl"] main[b-8r2osbe19w] {
    margin-left: 0;
    margin-right: 240px;
}

/* ===========================
   TOP BAR (navbar)
=========================== */
.top-row[b-8r2osbe19w] {
    background-color: #ffffff;
    border-bottom: 1px solid #ebebeb;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 24px;
    gap: 8px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

    .top-row[b-8r2osbe19w]  a,
    .top-row[b-8r2osbe19w]  .btn-link {
        white-space: nowrap;
        text-decoration: none;
        color: #555;
    }

        .top-row[b-8r2osbe19w]  a:hover,
        .top-row[b-8r2osbe19w]  .btn-link:hover {
            color: #1a1a2e;
        }

/* ===========================
   HAMBURGER TOGGLE
=========================== */
.navbar-toggler[b-8r2osbe19w] {
    display: none;
}

.navbar-toggler-label[b-8r2osbe19w] {
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #555;
    transition: background 0.2s;
    flex-shrink: 0;
}

    .navbar-toggler-label:hover[b-8r2osbe19w] {
        background: #f5f5f5;
        color: #1a1a2e;
    }

/* ===========================
   TOP BAR ICONS
=========================== */
.top-row .bi-bell[b-8r2osbe19w],
.top-row .bi[b-8r2osbe19w] {
    font-size: 1.15rem;
    color: #555;
    cursor: pointer;
    transition: color 0.2s;
}

    .top-row .bi:hover[b-8r2osbe19w] {
        color: #1a1a2e;
    }

/* ===========================
   USER DROPDOWN
=========================== */
.dropdown-toggle[b-8r2osbe19w] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 10px;
    transition: background 0.18s;
    text-decoration: none !important;
    color: #333 !important;
}

    .dropdown-toggle:hover[b-8r2osbe19w] {
        background: #f5f5f5;
    }

    .dropdown-toggle[b-8r2osbe19w]::after {
        border-top-color: #888;
    }

    .dropdown-toggle .bi-person-circle[b-8r2osbe19w] {
        font-size: 1.3rem;
        color: #555;
    }

    .dropdown-toggle span[b-8r2osbe19w] {
        font-size: 0.875rem;
        font-weight: 500;
        color: #333 !important;
        max-width: 130px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

/* Dropdown menu */
.dropdown-menu[b-8r2osbe19w] {
    border: 1px solid #ebebeb !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1) !important;
    padding: 6px !important;
    min-width: 200px !important;
    background: #fff !important;
}

    .dropdown-menu .dropdown-item[b-8r2osbe19w] {
        border-radius: 8px;
        padding: 8px 12px;
        font-size: 0.875rem;
        font-weight: 500;
        color: #444 !important;
        background: transparent !important;
        display: flex;
        align-items: center;
        gap: 10px;
        transition: background 0.15s;
        text-decoration: none !important;
    }

        .dropdown-menu .dropdown-item:hover[b-8r2osbe19w],
        .dropdown-menu .dropdown-item:focus[b-8r2osbe19w] {
            background: #f5f5f5 !important;
            color: #1a1a2e !important;
        }

        .dropdown-menu .dropdown-item i[b-8r2osbe19w] {
            font-size: 1rem;
            color: #888;
            width: 18px;
            text-align: center;
        }

        .dropdown-menu .dropdown-item:hover i[b-8r2osbe19w] {
            color: #1a1a2e;
        }

        .dropdown-menu .dropdown-item.text-danger[b-8r2osbe19w] {
            color: #dc3545 !important;
        }

            .dropdown-menu .dropdown-item.text-danger i[b-8r2osbe19w] {
                color: #dc3545 !important;
            }

            .dropdown-menu .dropdown-item.text-danger:hover[b-8r2osbe19w] {
                background: #fff5f5 !important;
            }

.dropdown-divider[b-8r2osbe19w] {
    border-color: #f0f0f0 !important;
    margin: 4px 8px !important;
}

/* ===========================
   CONTENT
=========================== */
article.content[b-8r2osbe19w] {
    padding: 28px 32px;
}

/* ===========================
   BLAZOR ERROR
=========================== */
#blazor-error-ui[b-8r2osbe19w] {
    background: #fff3cd;
    bottom: 0;
    box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.1);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    font-size: 0.875rem;
}

    #blazor-error-ui .dismiss[b-8r2osbe19w] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* ===========================
   RESPONSIVE — TABLET & UP
=========================== */
@media (min-width: 641px) {
    .page[b-8r2osbe19w] {
        flex-direction: row;
        height: 100%;
    }

    .top-row[b-8r2osbe19w] {
        position: sticky;
        top: 0;
        z-index: 100;
    }
}

/* ===========================
   RESPONSIVE — MOBILE
=========================== */
@media (max-width: 866px) {

    /* Show hamburger button */
    .navbar-toggler-label[b-8r2osbe19w] {
        display: flex !important;
    }

    /* Top bar: space-between to push hamburger left, items right */
    .top-row[b-8r2osbe19w] {
        justify-content: space-between;
        padding: 0 16px;
        gap: 6px;
    }

    /* Hide text username on small screens */
    .dropdown-toggle span[b-8r2osbe19w] {
        display: none;
    }

    /* Shrink padding on dropdown toggle */
    .dropdown-toggle[b-8r2osbe19w] {
        padding: 6px 8px;
    }

    /* Sidebar hidden by default */
    .sidebar[b-8r2osbe19w] {
        width: 0;
        overflow: hidden;
        transition: width 0.28s ease;
    }

    /* Sidebar visible when toggler checked */
    .navbar-toggler:checked ~ .sidebar[b-8r2osbe19w] {
        width: 240px;
    }

    /* Reset main margin */
    main[b-8r2osbe19w] {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Tighter content padding */
    article.content[b-8r2osbe19w] {
        padding: 20px 16px;
    }

    /* Overlay behind sidebar */
    .navbar-toggler:checked ~ .sidebar[b-8r2osbe19w]::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.3);
        z-index: -1;
        backdrop-filter: blur(1px);
    }

    /* Remove empty header gap */
    header.top-bar[b-8r2osbe19w] {
        display: none;
    }
}

/* ===========================
   EXTRA SMALL — phones < 480px
=========================== */
@media (max-width: 480px) {

    .top-row[b-8r2osbe19w] {
        height: 56px;
        padding: 0 12px;
        gap: 4px;
    }

        /* Make icons slightly smaller */
        .top-row .bi[b-8r2osbe19w] {
            font-size: 1rem;
        }

    article.content[b-8r2osbe19w] {
        padding: 16px 12px;
    }

    /* Dropdown opens to the left on small screens */
    .dropdown-menu[b-8r2osbe19w] {
        min-width: 170px !important;
    }
}

/* ===========================
   RTL RESPONSIVE
=========================== */
@media (max-width: 866px) {
    .page[dir="rtl"] main[b-8r2osbe19w] {
        margin-right: 0;
    }

    /* RTL: sidebar comes from the right */
    .page[dir="rtl"] .sidebar[b-8r2osbe19w] {
        right: 0;
        left: auto;
    }
}
/* _content/RAIM/Components/Layout/NavMenu.razor.rz.scp.css */
/* ===========================
   SIDEBAR WRAPPER
=========================== */
.sidebar-wrapper[b-u3fwd4tka0] {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background-color: #ffffff;
    border-right: 1px solid #e8e8e8;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.06);
}

/* ===========================
   SIDEBAR HEADER
=========================== */
.sidebar-header[b-u3fwd4tka0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: 64px;
    border-bottom: 1px solid #f0f0f0;
    background: #ffffff;
    flex-shrink: 0;
}

.brand-link[b-u3fwd4tka0] {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-logo[b-u3fwd4tka0] {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

    .brand-logo img[b-u3fwd4tka0] {
        width: 32px;
        height: 32px;
        object-fit: contain;
    }

.brand-name[b-u3fwd4tka0] {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: 0.5px;
}

.sidebar-close-btn[b-u3fwd4tka0] {
    display: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #555;
    font-size: 1rem;
    transition: background 0.2s;
    flex-shrink: 0;
}

    .sidebar-close-btn:hover[b-u3fwd4tka0] {
        background: #f5f5f5;
        color: #1a1a2e;
    }

/* ===========================
   SCROLLABLE NAV AREA
=========================== */
.nav-scrollable[b-u3fwd4tka0] {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0 20px;
    scrollbar-width: thin;
    scrollbar-color: #e0e0e0 transparent;
}

    .nav-scrollable[b-u3fwd4tka0]::-webkit-scrollbar {
        width: 4px;
    }

    .nav-scrollable[b-u3fwd4tka0]::-webkit-scrollbar-thumb {
        background: #e0e0e0;
        border-radius: 4px;
    }

/* ===========================
   SECTION LABELS
=========================== */
.nav-section-label[b-u3fwd4tka0] {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #aaa;
    padding: 16px 20px 6px;
    margin-top: 4px;
}

/* ===========================
   NAV ITEMS
=========================== */
.nav-item[b-u3fwd4tka0] {
    padding: 2px 10px;
}

    .nav-item[b-u3fwd4tka0]  .nav-link,
    .nav-link[b-u3fwd4tka0] {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 9px 12px;
        border-radius: 10px;
        font-size: 0.875rem;
        font-weight: 500;
        color: #555;
        text-decoration: none;
        transition: all 0.18s ease;
        cursor: pointer;
        width: 100%;
        background: none;
        border: none;
    }

        .nav-item[b-u3fwd4tka0]  .nav-link:hover,
        .nav-link:hover[b-u3fwd4tka0] {
            background: #f5f5f5;
            color: #1a1a2e;
        }

        .nav-item[b-u3fwd4tka0]  a.active,
        .nav-link.active[b-u3fwd4tka0] {
            background: #f0f0f0;
            color: #1a1a2e;
            font-weight: 600;
        }

/* Nav Icon */
.nav-icon[b-u3fwd4tka0] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 7px;
    font-size: 1rem;
    flex-shrink: 0;
    background: #f5f5f5;
    color: #555;
    transition: all 0.18s;
}

.nav-item[b-u3fwd4tka0]  a.active .nav-icon,
.nav-link.active .nav-icon[b-u3fwd4tka0] {
    background: #1a1a2e;
    color: #fff;
}

.nav-item[b-u3fwd4tka0]  .nav-link:hover .nav-icon {
    background: #e8e8e8;
    color: #1a1a2e;
}

.nav-text[b-u3fwd4tka0] {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===========================
   DROPDOWN NAV
=========================== */
.nav-dropdown-toggle[b-u3fwd4tka0] {
    user-select: none;
}

.dropdown-arrow[b-u3fwd4tka0] {
    margin-right: auto;
    font-size: 0.7rem;
    color: #aaa;
    transition: transform 0.25s ease;
    display: flex;
    align-items: center;
}

.nav-dropdown.open .dropdown-arrow[b-u3fwd4tka0] {
    transform: rotate(180deg);
}

.nav-dropdown-menu[b-u3fwd4tka0] {
    display: none;
    flex-direction: column;
    padding: 4px 0 4px 36px;
    gap: 2px;
}

.nav-dropdown.open .nav-dropdown-menu[b-u3fwd4tka0] {
    display: flex;
}

.nav-dropdown-item[b-u3fwd4tka0] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #666;
    text-decoration: none;
    transition: all 0.15s;
}

    .nav-dropdown-item:hover[b-u3fwd4tka0] {
        background: #f5f5f5;
        color: #1a1a2e;
    }

    .nav-dropdown-item.active[b-u3fwd4tka0] {
        background: #f0f0f0;
        color: #1a1a2e;
        font-weight: 600;
    }

    .nav-dropdown-item i[b-u3fwd4tka0] {
        font-size: 0.85rem;
        color: #aaa;
    }

/* ===========================
   RTL SUPPORT
=========================== */
:root[dir="rtl"] .sidebar-wrapper[b-u3fwd4tka0],
[dir="rtl"] .sidebar-wrapper[b-u3fwd4tka0] {
    border-right: none;
    border-left: 1px solid #e8e8e8;
    box-shadow: -2px 0 12px rgba(0, 0, 0, 0.06);
}

[dir="rtl"] .nav-dropdown-menu[b-u3fwd4tka0] {
    padding: 4px 36px 4px 0;
}

[dir="rtl"] .dropdown-arrow[b-u3fwd4tka0] {
    margin-right: 0;
    margin-left: auto;
}

/* ===========================
   RESPONSIVE — MOBILE
=========================== */
@media (max-width: 866px) {
    .sidebar-close-btn[b-u3fwd4tka0] {
        display: flex;
    }
}
