/* /Components/Dashboards/LmsAdminDashboard.razor.rz.scp.css */
/* =====================================================
   LMS ADMIN DASHBOARD – GLASSMORPHISM STYLE
   ===================================================== */

.lms-admin[b-nfdhloen5b] {
    width: 100%;
    min-width: 0;
    padding: 20px;
    background: linear-gradient(135deg, #020617, #020617);
    box-sizing: border-box;
}

.lms-admin-frame[b-nfdhloen5b] {
    max-width: 1400px;
    margin: 0 auto;
    min-width: 0;
}

/* Header */
.dash-header[b-nfdhloen5b] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

    .dash-header h2[b-nfdhloen5b] {
        margin: 0;
        font-weight: 800;
        color:white
    }

    .dash-header p[b-nfdhloen5b] {
        margin: 4px 0 0;
        color: #94A3B8;
        font-size: 13px;
    }

.dash-actions[b-nfdhloen5b] {
    display: flex;
    gap: 10px;
}

/* KPI Grid */
.kpi-glass-grid[b-nfdhloen5b] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

/* Glass Tile */
.glass-tile[b-nfdhloen5b] {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.18);
    padding: 16px;
    color: #E5E7EB;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tile-head[b-nfdhloen5b] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #CBD5E1;
}

.tile-value[b-nfdhloen5b] {
    font-size: 28px;
    font-weight: 800;
}

    .tile-value.success[b-nfdhloen5b] {
        color: #22C55E;
    }

.sub[b-nfdhloen5b] {
    font-size: 12px;
    color: #94A3B8;
}

/* Analytics grid */
.analytics-grid[b-nfdhloen5b] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
}

/* Glass panels */
.glass-panel[b-nfdhloen5b] {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.18);
    padding: 18px;
    min-height: 240px;
}

    .glass-panel h4[b-nfdhloen5b] {
        margin-top: 0;
        margin-bottom: 12px;
    }

/* Chart placeholder */
.chart-placeholder[b-nfdhloen5b] {
    height: 160px;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94A3B8;
    font-size: 14px;
}

/* Badges */
.live-badge[b-nfdhloen5b] {
    background: rgba(34,197,94,0.25) !important;
    border: 1px solid rgba(34,197,94,0.45) !important;
    color: #6EE7B7 !important;
}

.warn[b-nfdhloen5b] {
    background: rgba(245,158,11,0.25) !important;
    border: 1px solid rgba(245,158,11,0.45) !important;
    color: #FCD34D !important;
}

/* Mobile */
@media (max-width: 480px) {
    .lms-admin[b-nfdhloen5b] {
        padding: 14px;
    }
}



/* ================= STATUS COLORS (MESSAGE DRIVEN) ================= */

/* OK – Green */
.status-ok[b-nfdhloen5b] {
    background: rgba(34,197,94,0.22) !important;
    border: 1px solid rgba(34,197,94,0.45) !important;
    color: #6EE7B7 !important;
}

.icon-ok[b-nfdhloen5b] {
    color: #22C55E !important;
}

/* Waiting – Blue */
.status-waiting[b-nfdhloen5b] {
    background: rgba(59,130,246,0.22) !important;
    border: 1px solid rgba(59,130,246,0.45) !important;
    color: #93C5FD !important;
}

.icon-waiting[b-nfdhloen5b] {
    color: #3B82F6 !important;
}

/* Critical – Amber */
.status-critical[b-nfdhloen5b] {
    background: rgba(245,158,11,0.22) !important;
    border: 1px solid rgba(245,158,11,0.45) !important;
    color: #FCD34D !important;
}

.icon-critical[b-nfdhloen5b] {
    color: #F59E0B !important;
}

/* Danger – Red */
.status-danger[b-nfdhloen5b] {
    background: rgba(239,68,68,0.22) !important;
    border: 1px solid rgba(239,68,68,0.45) !important;
    color: #FCA5A5 !important;
}

.icon-danger[b-nfdhloen5b] {
    color: #EF4444 !important;
}

/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-d4it3md51y],
.components-reconnect-repeated-attempt-visible[b-d4it3md51y],
.components-reconnect-failed-visible[b-d4it3md51y],
.components-pause-visible[b-d4it3md51y],
.components-resume-failed-visible[b-d4it3md51y],
.components-rejoining-animation[b-d4it3md51y] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-d4it3md51y],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-d4it3md51y],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-d4it3md51y],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-d4it3md51y],
#components-reconnect-modal.components-reconnect-retrying[b-d4it3md51y],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-d4it3md51y],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-d4it3md51y],
#components-reconnect-modal.components-reconnect-failed[b-d4it3md51y],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-d4it3md51y] {
    display: block;
}


#components-reconnect-modal[b-d4it3md51y] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-d4it3md51y 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-d4it3md51y 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-d4it3md51y 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-d4it3md51y]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-d4it3md51y 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-d4it3md51y {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-d4it3md51y {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-d4it3md51y {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-d4it3md51y] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-d4it3md51y] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-d4it3md51y] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-d4it3md51y] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-d4it3md51y] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-d4it3md51y] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-d4it3md51y] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-d4it3md51y 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-d4it3md51y] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-d4it3md51y {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Layout/RightPanel.razor.rz.scp.css */
/* RIGHT PANEL CONTAINER */
.right-panel[b-qqidgpw8gu] {
    width: 300px;
    max-width: 300px;
    padding: 10px;
}

/* CARD STYLE */
.rp-card[b-qqidgpw8gu] {
    margin-bottom: 12px;
    background: #121212;
    color: #ffffff;
    border-radius: 12px;
    border: 1px solid #2a2a2a;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* HEADER */
.rp-header[b-qqidgpw8gu] {
    font-weight: 600;
    font-size: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #2a2a2a;
    color: #ffa500;
}

/* CONTENT */
.rp-content[b-qqidgpw8gu] {
    padding-top: 8px;
    font-size: 13px;
}

/* ROW (SUMMARY) */
.rp-row[b-qqidgpw8gu] {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

/* STATUS COLORS */
.rp-success[b-qqidgpw8gu] {
    color: #4caf50;
}

.rp-warning[b-qqidgpw8gu] {
    color: #ff9800;
}

.rp-danger[b-qqidgpw8gu] {
    color: #f44336;
}

/* LIST */
.rp-list[b-qqidgpw8gu] {
    padding-left: 15px;
    margin: 0;
}

    .rp-list li[b-qqidgpw8gu] {
        margin-bottom: 5px;
    }

/* BUTTON AREA */
.rp-actions[b-qqidgpw8gu] {
    margin-top: 10px;
}

/* BUTTON OVERRIDE */
.rz-button[b-qqidgpw8gu] {
    background-color: #ffa500 !important;
    border: none !important;
    color: black !important;
}

    .rz-button.rz-light[b-qqidgpw8gu] {
        background-color: #2a2a2a !important;
        color: white !important;
    }
/* /Components/Pages/Admin/Users.razor.rz.scp.css */
/* =========================================================
   MITANZ360Edu - USERS PAGE (ENTERPRISE VERSION)
   ========================================================= */

/* ================= PAGE ================= */

.page-wrap[b-q7e2fibx58] {
    padding-bottom: 40px;
}

/* ================= CARDS ================= */

.top-card[b-q7e2fibx58],
.nice-card[b-q7e2fibx58] {
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0,0,0,.04);
    transition: all 0.2s ease;
}

    /* 🔥 HOVER EFFECT */
    .nice-card:hover[b-q7e2fibx58] {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0,0,0,.08);
    }

.top-card[b-q7e2fibx58] {
    padding: 18px;
}

/* ================= TEXT ================= */

.title[b-q7e2fibx58] {
    font-weight: 800;
    color: #111827;
    margin: 0;
}

/* 🔥 Email = Primary */
.user-email[b-q7e2fibx58] {
    font-weight: 600;
    color: #111827;
}

/* 🔥 Username = Secondary */
.user-username[b-q7e2fibx58] {
    font-size: .9rem;
    color: #6b7280;
}

/* 🔥 ID = Low priority */
.user-id[b-q7e2fibx58] {
    color: #9ca3af;
    font-size: .75rem;
    word-break: break-all;
}

/* ================= GRID ================= */

.grid-gap[b-q7e2fibx58] {
    row-gap: 18px;
}

/* ================= ROLE PILLS ================= */

.pill[b-q7e2fibx58] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    font-size: .75rem;
    font-weight: 500;
}

/* ================= BUTTON GROUP ================= */

.action-buttons[b-q7e2fibx58] {
    display: flex;
    gap: 10px;
}

/* ================= STATUS BADGE ================= */

.status-badge[b-q7e2fibx58] {
    font-size: .7rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 999px;
}

.status-active[b-q7e2fibx58] {
    background: #d1fae5;
    color: #065f46;
}

.status-hold[b-q7e2fibx58] {
    background: #fef3c7;
    color: #92400e;
}

.status-disabled[b-q7e2fibx58] {
    background: #fee2e2;
    color: #991b1b;
}

/* =========================================================
   🔥 BLADE SYSTEM (ENTERPRISE)
   ========================================================= */

.blade-header[b-q7e2fibx58] {
    padding: 18px 20px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
}

.blade-title[b-q7e2fibx58] {
    font-weight: 800;
    font-size: 1.1rem;
    color: #111827;
}

/* 🔥 FORM SPACING */
.blade-body[b-q7e2fibx58] {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    min-height: 0;
}

    /* 🔥 LABEL STYLE */
    .blade-body label[b-q7e2fibx58] {
        font-size: .8rem;
        font-weight: 600;
        color: #374151;
        margin-bottom: 4px;
        display: block;
    }

    /* 🔥 INPUT SPACING */
    .blade-body .form-control[b-q7e2fibx58],
    .blade-body .rz-dropdown[b-q7e2fibx58] {
        margin-bottom: 14px;
    }

/* 🔥 FOOTER */
.blade-footer[b-q7e2fibx58] {
    padding: 14px 20px;
    border-top: 1px solid #e5e7eb;
    background: #ffffff;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

    .nice-card[b-q7e2fibx58] {
        padding: 14px;
    }

    .blade-body[b-q7e2fibx58] {
        padding: 16px;
    }

    .blade-footer[b-q7e2fibx58] {
        flex-direction: column;
        gap: 8px;
    }

        .blade-footer button[b-q7e2fibx58] {
            width: 100%;
        }
}
