/* /Components/ConfirmDialog.razor.rz.scp.css */
/* ===== نافذة التأكيد العصرية ===== */
.cf-backdrop[b-s2lcxr11lz] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1300;
    animation: cfFade-b-s2lcxr11lz 0.2s ease;
}

.cf-dialog[b-s2lcxr11lz] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 20px;
    padding: 2rem 1.75rem 1.5rem;
    width: 92%;
    max-width: 400px;
    z-index: 1301;
    text-align: center;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.06);
    animation: cfPop-b-s2lcxr11lz 0.24s cubic-bezier(0.34, 1.4, 0.64, 1);
    direction: rtl;
}

.cf-close[b-s2lcxr11lz] {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    border: none;
    background: rgba(15, 23, 42, 0.06);
    color: #64748b;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.cf-close:hover[b-s2lcxr11lz] {
    background: rgba(15, 23, 42, 0.12);
    color: #1e293b;
    transform: rotate(90deg);
}

.cf-icon[b-s2lcxr11lz] {
    width: 68px;
    height: 68px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    color: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.cf-icon-danger[b-s2lcxr11lz] {
    background: linear-gradient(135deg, #ff6b6b 0%, #d32f2f 100%);
    box-shadow: 0 10px 24px rgba(211, 47, 47, 0.4);
}

.cf-icon-success[b-s2lcxr11lz] {
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
    box-shadow: 0 10px 24px rgba(46, 125, 50, 0.4);
}

.cf-icon-warning[b-s2lcxr11lz] {
    background: linear-gradient(135deg, #ffb74d 0%, #f57c00 100%);
    box-shadow: 0 10px 24px rgba(245, 124, 0, 0.4);
}

.cf-icon-primary[b-s2lcxr11lz] {
    background: linear-gradient(135deg, #4da6ff 0%, #2f6fd6 100%);
    box-shadow: 0 10px 24px rgba(47, 111, 214, 0.4);
}

.cf-dialog h4[b-s2lcxr11lz] {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 0.5rem;
}

.cf-message[b-s2lcxr11lz] {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0 0 1rem;
}

.cf-detail[b-s2lcxr11lz] {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 0.65rem 0.9rem;
    font-size: 0.85rem;
    color: #475569;
    margin-bottom: 1.25rem;
    word-break: break-word;
}

.cf-actions[b-s2lcxr11lz] {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.cf-btn[b-s2lcxr11lz] {
    flex: 1;
    border: none;
    border-radius: 12px;
    padding: 0.65rem 1rem;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
}

.cf-btn:active[b-s2lcxr11lz] {
    transform: scale(0.97);
}

.cf-btn:disabled[b-s2lcxr11lz] {
    opacity: 0.6;
    cursor: not-allowed;
}

.cf-btn-primary[b-s2lcxr11lz] {
    background: linear-gradient(135deg, #2f6fd6 0%, #4da6ff 100%);
    box-shadow: 0 6px 16px rgba(47, 111, 214, 0.35);
}

.cf-btn-danger[b-s2lcxr11lz] {
    background: linear-gradient(135deg, #d32f2f 0%, #ff6b6b 100%);
    box-shadow: 0 6px 16px rgba(211, 47, 47, 0.35);
}

.cf-btn-success[b-s2lcxr11lz] {
    background: linear-gradient(135deg, #2e7d32 0%, #4caf50 100%);
    box-shadow: 0 6px 16px rgba(46, 125, 50, 0.35);
}

.cf-btn-warning[b-s2lcxr11lz] {
    background: linear-gradient(135deg, #f57c00 0%, #ffb74d 100%);
    box-shadow: 0 6px 16px rgba(245, 124, 0, 0.35);
}

.cf-btn-ghost[b-s2lcxr11lz] {
    background: #f1f5f9;
    color: #475569;
    box-shadow: none;
}

.cf-btn-ghost:hover[b-s2lcxr11lz] {
    background: #e2e8f0;
}

.cf-spinner[b-s2lcxr11lz] {
    width: 15px;
    height: 15px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: cfSpin-b-s2lcxr11lz 0.7s linear infinite;
}

@keyframes cfFade-b-s2lcxr11lz {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes cfPop-b-s2lcxr11lz {
    from { opacity: 0; transform: translate(-50%, -46%) scale(0.92); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes cfSpin-b-s2lcxr11lz {
    to { transform: rotate(360deg); }
}
/* /MainLayout.razor.rz.scp.css */
.app-shell[b-0gtfh8iikh] {
    display: flex;
    min-height: 100vh;
}

.main-content[b-0gtfh8iikh] {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #f5f6fa;
    min-width: 0;
}

.top-bar[b-0gtfh8iikh] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: #ffffff;
    border-bottom: 1px solid #e2e5eb;
    position: sticky;
    top: 0;
    z-index: 900;
}

.welcome-text[b-0gtfh8iikh] {
    font-weight: 600;
    color: #2c3e50;
    flex: 1;
}

.content-area[b-0gtfh8iikh] {
    padding: 1.5rem;
    flex: 1;
    animation: fadeInUp-b-0gtfh8iikh 0.25s ease;
}

@keyframes fadeInUp-b-0gtfh8iikh {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.hamburger-btn[b-0gtfh8iikh] {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.hamburger-btn span[b-0gtfh8iikh] {
    display: block;
    height: 2px;
    background: #16283f;
    border-radius: 2px;
}

@media (max-width: 900px) {
    .hamburger-btn[b-0gtfh8iikh] {
        display: flex;
    }

    .top-bar[b-0gtfh8iikh] {
        padding: 0.6rem 1rem;
    }

    .content-area[b-0gtfh8iikh] {
        padding: 1rem;
    }

    .welcome-text[b-0gtfh8iikh] {
        font-size: 0.85rem;
    }

    .logout-btn[b-0gtfh8iikh] {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
}
/* /NavMenu.razor.rz.scp.css */
.side-panel[b-501383ezsh] {
    width: 268px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: sticky;
    top: 0;
    overflow-y: auto;
    color: #fff;
    background:
        radial-gradient(circle at 0% 0%, rgba(77, 166, 255, 0.14), transparent 42%),
        linear-gradient(175deg, #16233c 0%, #101a2d 48%, #0b1322 100%);
    border-inline-end: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 2px 0 20px rgba(8, 14, 26, 0.28);
    z-index: 1050;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.side-panel[b-501383ezsh]::-webkit-scrollbar {
    width: 5px;
}

.side-panel[b-501383ezsh]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.14);
    border-radius: 10px;
}

.side-backdrop[b-501383ezsh] {
    display: none;
}

/* ===== الترويسة ===== */
.side-brand[b-501383ezsh] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.4rem 1.1rem 1.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.side-logo[b-501383ezsh] {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    border-radius: 13px;
    background: linear-gradient(135deg, #4da6ff 0%, #2f6fd6 100%);
    box-shadow: 0 6px 18px rgba(77, 166, 255, 0.4);
}

.side-brand-text[b-501383ezsh] {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
    min-width: 0;
}

.side-brand-name[b-501383ezsh] {
    font-size: 1.02rem;
    font-weight: 800;
    white-space: nowrap;
}

.side-brand-tag[b-501383ezsh] {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.45);
}

/* ===== القائمة ===== */
.side-menu[b-501383ezsh] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 0.9rem 0.6rem 0.6rem;
}

.side-group[b-501383ezsh] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.65rem;
    padding: 0.45rem 0.6rem 0.3rem;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.42);
    text-transform: uppercase;
}

.side-group[b-501383ezsh]::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.12), transparent);
}

.side-link[b-501383ezsh] {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.52rem 0.6rem;
    border-radius: 11px;
    color: #b9c4d8;
    text-decoration:none !important; 
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.13s ease;
}

.side-link:hover[b-501383ezsh] {
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    transform: translateX(-2px);
}

.side-link.active[b-501383ezsh] {
    background: linear-gradient(135deg, #2f6fd6 0%, #4da6ff 100%);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(45, 110, 214, 0.38);
}

.side-ico[b-501383ezsh] {
  /*  width: 32px;*/
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 1.02rem;
    border-radius: 9px;
    /*background: rgba(255, 255, 255, 0.08);*/
  /*  border: 1px solid rgba(255, 255, 255, 0.05);*/
    transition: background 0.15s ease, transform 0.15s ease;
    padding:7px
}

.side-link:hover .side-ico[b-501383ezsh] {
    background: rgb(172, 202, 248, 0.10);
    transform: scale(1.07);
}

.side-link.active .side-ico[b-501383ezsh] {
    background: rgb(172, 202, 248, 0.21);
    border-color: transparent;
}

.side-txt[b-501383ezsh] {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.side-count[b-501383ezsh] {
    flex-shrink: 0;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #ff4757;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.25);
    animation: sidePulse-b-501383ezsh 2s ease infinite;
}

@keyframes sidePulse-b-501383ezsh {
    0%, 100% { box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.25); }
    50% { box-shadow: 0 0 0 6px rgba(255, 71, 87, 0.12); }
}

/* ===== بطاقة المستخدم ===== */
.side-user[b-501383ezsh] {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin: 0.4rem 0.75rem 0.2rem;
    padding: 0.75rem 0.85rem;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.side-avatar[b-501383ezsh] {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.4);
}

.side-user-meta[b-501383ezsh] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.45;
}

.side-user-name[b-501383ezsh] {
    font-weight: 700;
    font-size: 0.88rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.side-user-role[b-501383ezsh] {
    align-self: flex-start;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.05rem 0.5rem;
    border-radius: 20px;
}

.role-admin[b-501383ezsh] {
    color: #7ee0a3;
    background: rgba(46, 204, 113, 0.16);
}

.role-emp[b-501383ezsh] {
    color: #7cc4ff;
    background: rgba(77, 166, 255, 0.16);
}

/* ===== الفوتر ===== */
.side-foot[b-501383ezsh] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.1rem 1rem;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.side-foot-dot[b-501383ezsh] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4caf50;
    box-shadow: 0 0 6px rgba(76, 175, 80, 0.7);
}

/* ===== الشاشات الصغيرة: تنزلق فوق المحتوى ===== */
@media (max-width: 900px) {
    .side-panel[b-501383ezsh] {
        position: fixed;
        top: 0;
        right: 0;
        transform: translateX(100%);
        box-shadow: -6px 0 24px rgba(8, 14, 26, 0.35);
    }

    .side-panel.open[b-501383ezsh] {
        transform: translateX(0);
    }

    .side-backdrop.show[b-501383ezsh] {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(10, 15, 28, 0.5);
        backdrop-filter: blur(2px);
        z-index: 1040;
        animation: sideFade-b-501383ezsh 0.2s ease;
    }
}

@keyframes sideFade-b-501383ezsh {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* /Pages/Login.razor.rz.scp.css */
.login-wrapper[b-3p9qqlzy4b] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
}

.login-card[b-3p9qqlzy4b] {
    background: #fff;
    border-radius: 14px;
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.login-header[b-3p9qqlzy4b] {
    text-align: center;
    margin-bottom: 1.5rem;
}

.login-icon[b-3p9qqlzy4b] {
    font-size: 2.5rem;
}
