/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-43dgxa925f] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-43dgxa925f] {
    flex: 1;
}

.sidebar[b-43dgxa925f] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-43dgxa925f] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-43dgxa925f]  a, .top-row[b-43dgxa925f]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-43dgxa925f]  a:hover, .top-row[b-43dgxa925f]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-43dgxa925f]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-43dgxa925f] {
        justify-content: space-between;
    }

    .top-row[b-43dgxa925f]  a, .top-row[b-43dgxa925f]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-43dgxa925f] {
        flex-direction: row;
    }

    .sidebar[b-43dgxa925f] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-43dgxa925f] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-43dgxa925f]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-43dgxa925f], article[b-43dgxa925f] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-43dgxa925f] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-43dgxa925f] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-l66lj3pl16] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-l66lj3pl16] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-l66lj3pl16] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-l66lj3pl16] {
    font-size: 1.1rem;
}

.bi[b-l66lj3pl16] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-l66lj3pl16] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-l66lj3pl16] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-l66lj3pl16] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-l66lj3pl16] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-l66lj3pl16] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-l66lj3pl16] {
        padding-bottom: 1rem;
    }

    .nav-item[b-l66lj3pl16]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-l66lj3pl16]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-l66lj3pl16]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-l66lj3pl16] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-l66lj3pl16] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-l66lj3pl16] {
        display: none;
    }

    .nav-scrollable[b-l66lj3pl16] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Pages/IndependentTasksPage.razor.rz.scp.css */
/* CSS معزول (Blazor CSS isolation) - يؤثر على هذه الصفحة فقط. شبكة
   الإحصائيات: ٣ أعمدة تشبه خلايا جدول، بحدود خفيفة غير بارزة (نفس متغيّر
   الحدود الخفيف --mud-palette-lines-default المستخدَم في app-pro.css لهذا
   الغرض بالضبط) بدل حدود جدول تقليدية ثقيلة. */

.stat-grid[b-vdaerwmtvx] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.stat-grid__cell[b-vdaerwmtvx] {
    /* خصائص منطقية (inline/block-end) لا فيزيائية (right/bottom) - الصفحة
       RTL بالكامل، وتدفّق أعمدة Grid يعكس اتجاهه تلقائياً مع الاتجاه؛
       "نهاية السطر" هنا تبقى صحيحة أياً كان الاتجاه. */
    padding: 8px 10px;
    border-inline-end: 1px solid var(--mud-palette-lines-default);
    border-block-end: 1px solid var(--mud-palette-lines-default);
    min-width: 0;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color .15s ease;
    outline: none;
}

.stat-grid__cell:hover[b-vdaerwmtvx] {
    background-color: var(--mud-palette-action-default-hover);
}

.stat-grid__cell:focus-visible[b-vdaerwmtvx] {
    box-shadow: inset 0 0 0 2px var(--cell-tone, var(--mud-palette-primary));
}

/* الخليّة المُفعَّلة (فلترها مطبَّق حالياً على الجدول) - تُظلَّل بلون
   شريطها الخاص (--cell-tone) بدل لون تمييز عام موحَّد لكل الخلايا. */
.stat-grid__cell--active[b-vdaerwmtvx] {
    background-color: color-mix(in srgb, var(--cell-tone, var(--mud-palette-primary)) 14%, transparent);
}

.stat-grid__cell--active .stat-grid__label[b-vdaerwmtvx],
.stat-grid__cell--active .stat-grid__count[b-vdaerwmtvx] {
    color: var(--cell-tone, var(--mud-palette-primary));
}

.stat-grid__cell--edge-col[b-vdaerwmtvx] {
    border-inline-end: none;
}

.stat-grid__cell--edge-row[b-vdaerwmtvx] {
    border-block-end: none;
}

.stat-grid__label[b-vdaerwmtvx] {
    font-size: .8rem;
    color: var(--mud-palette-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-grid__count[b-vdaerwmtvx] {
    font-size: 1.1rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.3;
}

.stat-grid__bar[b-vdaerwmtvx] {
    margin-top: 4px;
}
/* /Components/Pages/Login.razor.rz.scp.css */
/* صفحة تسجيل الدخول - هوية بصرية ثابتة مقصودة (لا تتبع تبديل الوضع
   الليلي في بقية النظام) لأنها أول ما يراه أي زائر قبل حتى معرفة هويته -
   تستعير لون العلامة الأساسي (--mud-palette-primary) من ثيم النظام نفسه
   حتى تبقى متّسقة معه دون تكرار قيم لونية ثابتة منفصلة. */

.login-page[b-3dqvbod9l5] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.08), transparent 40%),
        linear-gradient(160deg, #0f2744 0%, var(--mud-palette-primary-darken, #14315c) 55%, var(--mud-palette-primary) 130%);
}

.login-card[b-3dqvbod9l5] {
    width: 100%;
    max-width: 420px;
    background: var(--mud-palette-surface, #fff);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(15, 39, 68, 0.35);
    padding: 40px 36px 32px;
}

.login-card__badge[b-3dqvbod9l5] {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--mud-palette-primary) 12%, transparent);
    color: var(--mud-palette-primary);
}

.login-card__title[b-3dqvbod9l5] {
    font-weight: 700;
    margin-bottom: 4px;
}

.login-card__subtitle[b-3dqvbod9l5] {
    margin-bottom: 28px;
}

.login-card__code[b-3dqvbod9l5] {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.login-form[b-3dqvbod9l5] {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.login-field[b-3dqvbod9l5] {
    display: block;
}

.login-field__label[b-3dqvbod9l5] {
    display: block;
    margin-bottom: 6px;
    font-size: 0.85rem;
    color: var(--mud-palette-text-secondary);
}

.login-field__control[b-3dqvbod9l5] {
    position: relative;
    display: flex;
    align-items: center;
    border: 1.5px solid var(--mud-palette-lines-inputs, #d6dbe1);
    border-radius: 10px;
    background: var(--mud-palette-background, #fff);
    transition: border-color 120ms ease, box-shadow 120ms ease;
}

.login-field__control:focus-within[b-3dqvbod9l5] {
    border-color: var(--mud-palette-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--mud-palette-primary) 18%, transparent);
}

.login-field__icon[b-3dqvbod9l5] {
    margin-inline-start: 12px;
    color: var(--mud-palette-text-secondary);
    flex-shrink: 0;
}

.login-field__control input[b-3dqvbod9l5] {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    padding: 12px 10px;
    font-size: 1rem;
    color: var(--mud-palette-text-primary, inherit);
}

.login-field__toggle[b-3dqvbod9l5] {
    margin-inline-end: 4px;
}

.login-submit[b-3dqvbod9l5] {
    position: relative;
    width: 100%;
    padding: 13px;
    margin-top: 6px;
    border: none;
    border-radius: 10px;
    background: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text, #fff);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: filter 120ms ease, transform 120ms ease;
}

.login-submit:hover[b-3dqvbod9l5] {
    filter: brightness(1.08);
}

.login-submit:active[b-3dqvbod9l5] {
    transform: translateY(1px);
}

.login-submit__spinner[b-3dqvbod9l5] {
    display: none;
}

/* onsubmit في الترميز يضيف هذا الصف لحظة الإرسال - تبديل بصري بسيط ريثما
   يُعالِج الخادم الطلب ويُعيد التوجيه؛ لا يؤثر إطلاقاً على آلية الإرسال
   نفسها (POST عادي لـ/auth/login). */
.login-submit.is-loading .login-submit__label[b-3dqvbod9l5] {
    visibility: hidden;
}

.login-submit.is-loading .login-submit__spinner[b-3dqvbod9l5] {
    display: inline-flex;
    position: absolute;
    inset-inline-start: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.login-footer[b-3dqvbod9l5] {
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--mud-palette-text-secondary);
    text-align: center;
}
/* /Components/Shared/DynamicFieldInput.razor.rz.scp.css */
/* CSS معزول (Blazor CSS isolation) - يؤثر على هذا المكوّن فقط. حقل التاريخ
   وزرّ اختيار الهجري في صفّ أفقي واحد (بلا ارتفاع إضافي للصف) - إصلاح
   صريح بعد أن رفعت النسخة السابقة (زرّا تبديل فوق الحقل) ارتفاع صفوف جدول
   "القيم المُدخلة" لسطرين. */

.dynamic-field-input__date-row[b-aqcxbqibg8] {
    display: flex;
    align-items: center;
    gap: 2px;
}

.dynamic-field-input__date-row .mud-input-control[b-aqcxbqibg8] {
    flex: 1;
    min-width: 0;
}
/* /Components/Shared/TaskSubItemRow.razor.rz.scp.css */
/* CSS معزول (Blazor CSS isolation) - يؤثر على هذا المكوّن فقط، لا على أي
   صفحة أخرى بالمشروع (Blazor يضيف سمة فريدة تلقائياً لكل قاعدة هنا). */

.sub-item-row[b-q8jzpl373l] {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    border-radius: 8px;
    transition: background-color .15s ease;
}

.sub-item-row:hover[b-q8jzpl373l] {
    background-color: var(--mud-palette-action-default-hover);
}

.sub-item-row--done[b-q8jzpl373l] {
    background-color: color-mix(in srgb, var(--mud-palette-success) 6%, transparent);
}

/* أزرار الإجراءات تظهر بوضوح دائماً على اللمس/الجوال، وتبرز بخفوت طفيف
   على سطح المكتب حتى يمرّ المؤشر فوق الصف - يقلّل الضجيج البصري في قائمة
   طويلة بلا إخفاء الأزرار كلياً (يبقى الوصول عبر لوحة المفاتيح سليماً). */
@media (hover: hover) {
    .sub-item-row__action[b-q8jzpl373l] {
        opacity: .55;
        transition: opacity .15s ease;
    }

    .sub-item-row:hover .sub-item-row__action[b-q8jzpl373l],
    .sub-item-row__action:focus-visible[b-q8jzpl373l] {
        opacity: 1;
    }
}
