/* _content/LearnPlay/Components/SubjectClassToolbar.razor.rz.scp.css */
/* تخطيط الأدوات */
.teacher-toolbar.toolbar[b-va9xu7v4uo] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-width: 260px
}

/* زر الرجوع */
.back-btn[b-va9xu7v4uo] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 10px;
    background: linear-gradient(135deg,#2563eb,#1d4ed8);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(37,99,235,.25);
    cursor: pointer;
    text-decoration: none;
    transition: .2s
}

    .back-btn .icon[b-va9xu7v4uo] {
        font-size: 18px;
        line-height: 1;
        transition: transform .2s
    }

    .back-btn:hover[b-va9xu7v4uo] {
        transform: translateY(-1px);
        box-shadow: 0 6px 14px rgba(29,78,216,.35)
    }

        .back-btn:hover .icon[b-va9xu7v4uo] {
            transform: translateX(3px)
        }

/* اللابل + السلكت */
.picker[b-va9xu7v4uo] {
    display: grid;
    gap: 6px;
    width: 100%;
    max-width: 360px
}

.picker-label[b-va9xu7v4uo] {
    font-size: 12px;
    color: #6b7280
}

.select-wrap[b-va9xu7v4uo] {
    position: relative;
    width: 100%
}

/* ====== نفس ستايل select-pro المستخدم في ManageActivities (مع !important) ====== */
.teacher-toolbar .select-pro[b-va9xu7v4uo] {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    display: block !important;
    width: 100% !important;
    height: 48px !important;
    border-radius: 14px !important;
    border: 1px solid #e5e7eb !important;
    background: #fff !important;
    padding-inline: 14px 44px !important;
    font-size: 14px !important;
    color: #111827 !important;
    box-shadow: 0 1px 0 0 #f3f4f6 inset,0 4px 12px rgba(17,24,39,.06) !important;
    transition: border-color .15s ease,box-shadow .15s ease,transform .05s ease
}

[dir="rtl"] .teacher-toolbar .select-pro[b-va9xu7v4uo] {
    padding-inline: 44px 14px !important
}

.teacher-toolbar .select-pro:hover[b-va9xu7v4uo] {
    border-color: #d1d5db !important
}

.teacher-toolbar .select-pro:focus[b-va9xu7v4uo] {
    outline: none !important;
    border-color: #93c5fd !important;
    box-shadow: 0 0 0 4px rgba(59,130,246,.14),0 4px 12px rgba(17,24,39,.08) !important
}
/* إخفاء سهم الأنظمة القديمة */
.teacher-toolbar .select-pro[b-va9xu7v4uo]::-ms-expand {
    display: none
}

/* السهم الأزرق المخصص */
.chev[b-va9xu7v4uo] {
    position: absolute;
    top: 50%;
    inset-inline-start: 8px;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: linear-gradient(135deg,#2563eb,#1d4ed8);
    box-shadow: 0 2px 8px rgba(37,99,235,.25);
    display: grid;
    place-items: center;
    pointer-events: none
}

[dir="ltr"] .chev[b-va9xu7v4uo] {
    inset-inline-start: auto;
    inset-inline-end: 8px
}

.chev[b-va9xu7v4uo]::before {
    content: "▾";
    color: #fff;
    font-size: 14px;
    line-height: 1;
    transform: translateY(-1px)
}

/* توحيد ستايل الـSubjectPicker الداخلي */
.subject-picker-wrap[b-va9xu7v4uo]  select,
.subject-picker-wrap[b-va9xu7v4uo]  .select,
.subject-picker-wrap[b-va9xu7v4uo]  .form-select,
.subject-picker-wrap[b-va9xu7v4uo]  .sp-select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    display: block !important;
    width: 100% !important;
    height: 48px !important;
    border-radius: 14px !important;
    border: 1px solid #e5e7eb !important;
    background: #fff !important;
    padding-inline: 14px 44px !important;
    font-size: 14px !important;
    color: #111827 !important;
    box-shadow: 0 1px 0 0 #f3f4f6 inset,0 4px 12px rgba(17,24,39,.06) !important;
    transition: border-color .15s ease,box-shadow .15s ease,transform .05s ease
}

[dir="rtl"] .subject-picker-wrap[b-va9xu7v4uo]  select,
[dir="rtl"] .subject-picker-wrap[b-va9xu7v4uo]  .select,
[dir="rtl"] .subject-picker-wrap[b-va9xu7v4uo]  .form-select,
[dir="rtl"] .subject-picker-wrap[b-va9xu7v4uo]  .sp-select {
    padding-inline: 44px 14px !important
}

.subject-picker-wrap[b-va9xu7v4uo]  select:hover,
.subject-picker-wrap[b-va9xu7v4uo]  .select:hover {
    border-color: #d1d5db !important
}

.subject-picker-wrap[b-va9xu7v4uo]  select:focus,
.subject-picker-wrap[b-va9xu7v4uo]  .select:focus {
    outline: none !important;
    border-color: #93c5fd !important;
    box-shadow: 0 0 0 4px rgba(59,130,246,.14),0 4px 12px rgba(17,24,39,.08) !important
}
/* _content/LearnPlay/Pages/AccessDenied.razor.rz.scp.css */
/* _content/LearnPlay/Pages/Admin/AdminFeedback.razor.rz.scp.css */
/* ===== Layout */
.fbadmin-head[b-f32ut3boq5] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin: 8px 0 18px;
}

    .fbadmin-head .title[b-f32ut3boq5] {
        margin: 0 0 4px;
        font-size: 1.35rem;
        font-weight: 800
    }

.muted[b-f32ut3boq5] {
    color: #6b7280
}

.small[b-f32ut3boq5] {
    font-size: .9rem
}

.filters[b-f32ut3boq5] {
    display: flex;
    gap: 12px;
    align-items: end;
    flex-wrap: wrap
}

.filter[b-f32ut3boq5] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 160px
}

    .filter.grow[b-f32ut3boq5] {
        flex: 1
    }

.input[b-f32ut3boq5], .select[b-f32ut3boq5], .textarea[b-f32ut3boq5] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    outline: none;
    font: inherit;
}

    .input:focus[b-f32ut3boq5], .select:focus[b-f32ut3boq5], .textarea:focus[b-f32ut3boq5] {
        border-color: #a78bfa;
        box-shadow: 0 0 0 3px rgba(167,139,250,.25)
    }

.fbadmin-grid[b-f32ut3boq5] {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 16px;
    align-items: start;
}

@media (max-width: 1000px) {
    .fbadmin-grid[b-f32ut3boq5] {
        grid-template-columns: 1fr
    }
}

/* ===== List */
.fbadmin-list[b-f32ut3boq5] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    max-height: 70vh;
    display: flex;
    flex-direction: column;
}

    .fbadmin-list .loading[b-f32ut3boq5], .fbadmin-list .empty[b-f32ut3boq5] {
        padding: 18px;
        text-align: center;
        color: #6b7280
    }

.list-row[b-f32ut3boq5] {
    text-align: start;
    border: 0;
    background: #fff;
    width: 100%;
    padding: 12px 14px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
}

    .list-row:hover[b-f32ut3boq5] {
        background: #fafaff
    }

    .list-row.active[b-f32ut3boq5] {
        background: #f5f3ff
    }

.row-top[b-f32ut3boq5] {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px
}

.row-title[b-f32ut3boq5] {
    font-weight: 700;
    margin-bottom: 4px
}

.row-desc[b-f32ut3boq5] {
    color: #6b7280;
    font-size: .95rem
}

.row-bottom[b-f32ut3boq5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px
}

.ts[b-f32ut3boq5] {
    color: #6b7280;
    font-size: .85rem
}

.unread[b-f32ut3boq5] {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 999px;
    display: inline-block
}

/* ===== Details */
.fbadmin-details[b-f32ut3boq5] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px
}

.placeholder[b-f32ut3boq5] {
    text-align: center;
    padding: 60px 10px;
    color: #6b7280
}

.ph-emoji[b-f32ut3boq5] {
    font-size: 52px;
    margin-bottom: 8px
}

.ph-title[b-f32ut3boq5] {
    font-weight: 800;
    margin-bottom: 4px
}

.details-head[b-f32ut3boq5] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px
}

.details-id[b-f32ut3boq5] {
    color: #6b7280;
    font-weight: 700
}

.details-title[b-f32ut3boq5] {
    margin: .25rem 0 .5rem;
    font-size: 1.25rem;
    font-weight: 800
}

.meta[b-f32ut3boq5] {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center
}

.details-body[b-f32ut3boq5] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px
}

.lbl[b-f32ut3boq5] {
    font-weight: 700;
    margin: 2px 0
}

.desc-box[b-f32ut3boq5] {
    background: #f8fafc;
    border: 1px dashed #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    white-space: pre-wrap;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
}

.row[b-f32ut3boq5] {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap
}

.col[b-f32ut3boq5] {
    flex: 1;
    min-width: 220px
}

.inline[b-f32ut3boq5] {
    display: flex;
    gap: 10px;
    align-items: center
}

.details-foot[b-f32ut3boq5] {
    display: flex;
    gap: 10px;
    margin-top: 10px
}

/* ===== Chips / Buttons */
.chip[b-f32ut3boq5] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: .85rem;
    border: 1px solid transparent;
    background: #f1f5f9;
    color: #334155
}

.chip-cat[b-f32ut3boq5] {
    background: #fff7ed;
    color: #9a3412;
    border-color: #fed7aa
}

.chip-info[b-f32ut3boq5] {
    background: #eef2ff;
    color: #3730a3;
    border-color: #c7d2fe
}

.chip-warn[b-f32ut3boq5] {
    background: #fffbeb;
    color: #92400e;
    border-color: #fde68a
}

.chip-ok[b-f32ut3boq5] {
    background: #ecfdf5;
    color: #065f46;
    border-color: #a7f3d0
}

.chip-bad[b-f32ut3boq5] {
    background: #fef2f2;
    color: #991b1b;
    border-color: #fecaca
}

.btn[b-f32ut3boq5] {
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 12px;
    padding: 10px 14px;
    cursor: pointer;
    font-weight: 700
}

    .btn:hover[b-f32ut3boq5] {
        background: #f8fafc
    }

    .btn.primary[b-f32ut3boq5] {
        background: linear-gradient(90deg,#6d28d9,#7c3aed);
        color: #fff;
        border-color: transparent;
        box-shadow: 0 6px 16px rgba(109,40,217,.18)
    }

        .btn.primary:hover[b-f32ut3boq5] {
            filter: brightness(1.02)
        }

    .btn.ghost[b-f32ut3boq5] {
        background: #fff;
    }

    .btn.danger[b-f32ut3boq5] {
        background: #fee2e2;
        border-color: #fecaca;
        color: #991b1b
    }
/* _content/LearnPlay/Pages/Admin/AdminQuickTips.razor.rz.scp.css */
/* ==== صفحة إدارة الإرشادات ==== */

/* اضبط ارتفاع الهيدر الثابت في تطبيقك هنا */
:root[b-khfa45v02m] {
    --header-h: 64px;
}

/* غلاف الصفحة */
.qt-wrap[b-khfa45v02m] {
    max-width: 1100px;
    margin: 22px auto;
    padding: 0 12px;
    font-family: 'Cairo', Tahoma, sans-serif;
}

/* رأس الصفحة */
.qt-head[b-khfa45v02m] {
    background: linear-gradient(180deg,#fff7ef 0%, #fff 100%);
    border: 1px solid #ffd9c8;
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 10px 24px rgba(0,0,0,.05);
}

.qt-head__title[b-khfa45v02m] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qt-head__lamp[b-khfa45v02m] {
    font-size: 22px;
}

.qt-head__muted[b-khfa45v02m] {
    color: #866;
    font-weight: 800;
    font-size: 12px;
    background: #fff2e7;
    border: 1px solid #ffd9c8;
    border-radius: 999px;
    padding: 2px 8px;
}

.qt-toolbar[b-khfa45v02m] {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
    flex-wrap: wrap;
}

.qt-filter[b-khfa45v02m] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.qt-actions[b-khfa45v02m] {
    margin-inline-start: auto;
    display: flex;
    gap: 8px;
}

.qt-select[b-khfa45v02m], .qt-search[b-khfa45v02m] {
    border: 1px solid #ecd8cc;
    background: #fff;
    height: 36px;
    border-radius: 10px;
    padding: 0 10px;
    font-weight: 700;
    color: #444;
}

.qt-search[b-khfa45v02m] {
    min-width: 220px;
}

/* أزرار عامة */
.btn-primary[b-khfa45v02m] {
    background: linear-gradient(90deg,#6a1b9a,#8742c9);
    color: #fff;
    border: 0;
    padding: 8px 14px;
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(106,27,154,.2);
}

    .btn-primary:hover[b-khfa45v02m] {
        transform: translateY(-1px);
    }

.btn-ghost[b-khfa45v02m] {
    background: #fff;
    color: #5b3b3b;
    border: 1px solid #e8d0c2;
    padding: 8px 12px;
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer;
}

    .btn-ghost:disabled[b-khfa45v02m] {
        opacity: .5;
        cursor: not-allowed;
    }

.btn-mini[b-khfa45v02m] {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 800;
}

.btn-danger[b-khfa45v02m] {
    background: #ef4444;
    color: #fff;
    border: 0;
    padding: 6px 10px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
}

    .btn-danger:hover[b-khfa45v02m] {
        filter: brightness(0.95);
    }

.c-actions .btn-danger[b-khfa45v02m] {
    margin-inline-start: 8px;
}

/* حالات عامة */
.qt-loading[b-khfa45v02m], .qt-empty[b-khfa45v02m] {
    margin: 16px 0;
    padding: 16px;
    background: #fff;
    border: 1px dashed #eee;
    border-radius: 12px;
    text-align: center;
    color: #777;
    font-weight: 800;
}

/* جدول العناصر */
.qt-table[b-khfa45v02m] {
    margin-top: 12px;
    border: 1px solid #f0e2d8;
    border-radius: 14px;
    overflow: hidden;
}

.qt-thead[b-khfa45v02m], .qt-row[b-khfa45v02m] {
    display: grid;
    grid-template-columns: 110px 1.6fr .9fr .9fr 1fr .8fr .9fr;
    align-items: center;
}

.qt-thead[b-khfa45v02m] {
    background: #fff8f2;
    color: #5b3b3b;
    font-weight: 900;
    padding: 10px;
    border-bottom: 1px solid #f0e2d8;
}

.qt-row[b-khfa45v02m] {
    padding: 10px;
    border-bottom: 1px solid #f7eee8;
    background: #fff;
}

    .qt-row:nth-child(even)[b-khfa45v02m] {
        background: #fffdfb;
    }

.c-order[b-khfa45v02m], .c-title[b-khfa45v02m], .c-meta[b-khfa45v02m], .c-cta[b-khfa45v02m], .c-active[b-khfa45v02m], .c-actions[b-khfa45v02m] {
    padding-inline: 8px;
}

.title-line[b-khfa45v02m] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 900;
    color: #2e2e2e;
}

    .title-line .icon[b-khfa45v02m] {
        opacity: .85;
    }

.desc[b-khfa45v02m] {
    color: #7a6b6b;
    font-weight: 700;
    font-size: .93rem;
    margin-top: 2px;
}

.order-box[b-khfa45v02m] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.order-btn[b-khfa45v02m] {
    width: 28px;
    height: 28px;
    border: 1px solid #eee;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
}

    .order-btn:hover[b-khfa45v02m] {
        background: #faf7ff;
    }

/* شارات */
.badge[b-khfa45v02m] {
    display: inline-block;
    border-radius: 999px;
    padding: 4px 10px;
    font-weight: 800;
    font-size: .85rem;
    border: 1px solid transparent;
}

.bd-all[b-khfa45v02m] {
    background: #eef7ff;
    color: #1d5a8c;
    border-color: #cfe8ff;
}

.bd-student[b-khfa45v02m] {
    background: #eafaea;
    color: #1f7a42;
    border-color: #cdeed3;
}

.bd-teacher[b-khfa45v02m] {
    background: #fff2e7;
    color: #8b4a1f;
    border-color: #ffd9c8;
}

.bd-chip[b-khfa45v02m] {
    background: #ede3ff;
    color: #4e2ea5;
    border-color: #d8caff;
}

.bd-step[b-khfa45v02m] {
    background: #ffedde;
    color: #9a3d0d;
    border-color: #ffd7be;
}

.link-cta[b-khfa45v02m] {
    color: #6a1b9a;
    text-decoration: none;
    font-weight: 900;
}

    .link-cta:hover[b-khfa45v02m] {
        text-decoration: underline;
    }

.muted[b-khfa45v02m] {
    color: #999;
    font-weight: 700;
}

/* Switch */
.switch[b-khfa45v02m] {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 26px;
}

    .switch input[b-khfa45v02m] {
        display: none;
    }

.slider[b-khfa45v02m] {
    position: absolute;
    inset: 0;
    cursor: pointer;
    background: #ddd;
    border-radius: 999px;
    transition: .2s;
}

    .slider[b-khfa45v02m]:before {
        content: "";
        position: absolute;
        left: 3px;
        top: 3px;
        height: 20px;
        width: 20px;
        background: #fff;
        border-radius: 50%;
        transition: .2s;
        box-shadow: 0 2px 6px rgba(0,0,0,.15);
    }

input:checked + .slider[b-khfa45v02m] {
    background: #26c281;
}

    input:checked + .slider[b-khfa45v02m]:before {
        transform: translateX(20px);
    }

/* ===== Drawer (المحرّر الجانبي) ===== */

/* الخلفية تغطي أسفل الصفحة فقط (لا تغطي الهيدر) */
.drawer-backdrop[b-khfa45v02m] {
    position: fixed;
    inset-inline: 0;
    top: var(--header-h);
    bottom: 0;
    background: rgba(0,0,0,.25);
    z-index: 990;
}

/* الدروَر من اليمين، ويبدأ تحت الهيدر */
.drawer[b-khfa45v02m] {
    position: fixed;
    top: var(--header-h);
    bottom: 0;
    inset-inline-end: 0; /* RTL: من اليمين */
    width: min(520px, 100vw);
    background: #fff;
    z-index: 1000;
    border-inline-start: 1px solid #eee;
    box-shadow: -10px 0 30px rgba(0,0,0,.18);
    display: flex;
    flex-direction: column;
    animation: slideIn-b-khfa45v02m .2s ease-out both;
    border-radius: 12px 0 0 0;
}

/* رأس الدروَر ثابت داخل الدروَر */
.drawer__head[b-khfa45v02m] {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 12px;
    border-bottom: 1px solid #f2f2f2;
}

.drawer__title[b-khfa45v02m] {
    font-weight: 900;
    color: #333;
}

.drawer__close[b-khfa45v02m] {
    margin-inline-start: auto;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 0;
    background: #f7f7f7;
    cursor: pointer;
}

/* جسم الدروَر قابل للتمرير */
.drawer__body[b-khfa45v02m] {
    overflow: auto;
    height: 100%;
    padding-bottom: 12px;
}

/* ذيل الدروَر ثابت أسفل الدروَر */
.drawer__foot[b-khfa45v02m] {
    position: sticky;
    bottom: 0;
    z-index: 1;
    background: #fff;
    padding: 12px;
    border-top: 1px solid #f2f2f2;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

/* حركة الدخول */
@keyframes slideIn-b-khfa45v02m {
    from {
        transform: translateX(16px);
        opacity: 0;
    }

    to {
        transform: none;
        opacity: 1;
    }
}

/* شبكة النموذج */
.form-grid[b-khfa45v02m] {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 12px;
    padding: 12px;
}

label[b-khfa45v02m] {
    font-weight: 800;
    color: #555;
}

.req[b-khfa45v02m] {
    color: #d33;
    margin-inline-start: 4px;
}

.input[b-khfa45v02m], .textarea[b-khfa45v02m], .input[type="number"][b-khfa45v02m] {
    border: 1px solid #e9e9e9;
    border-radius: 10px;
    padding: 8px 10px;
    font-weight: 700;
    color: #333;
    background: #fff;
}

.inline[b-khfa45v02m] {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* أعمدة الجدول */
.c-order[b-khfa45v02m] {
    text-align: center;
}

.c-active[b-khfa45v02m] {
    text-align: center;
}

.c-actions[b-khfa45v02m] {
    display: flex;
    gap: 6px;
    align-items: center;
}

/* تجاوب للموبايل */
@media (max-width: 640px) {
    .drawer[b-khfa45v02m] {
        width: 100vw;
        border-radius: 0;
    }

    .form-grid[b-khfa45v02m] {
        grid-template-columns: 1fr;
    }

        .form-grid > label[b-khfa45v02m] {
            margin-top: 6px;
        }
}
/* _content/LearnPlay/Pages/Admin/Analytics.razor.rz.scp.css */
:root[b-9rsmqumnav] {
    --bg: #fff;
    --border: #e6e7ea;
    --muted: #64748b;
    --muted2: #475569;
    --soft: #f8fafc;
    --dash: #e5e7eb;
    --shadow: 0 14px 36px rgba(2,6,23,.07);
    --primary: #ff8c42;
    --radius: 16px;
    --pad: 16px;
}

.an-container[b-9rsmqumnav] {
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 18px 28px;
}

/* ====== Cards / Hero ====== */
.card[b-9rsmqumnav] {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: var(--pad);
}

.an-hero[b-9rsmqumnav] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    background: linear-gradient(180deg,#fff7ec 0,#fff 45%);
}

    .an-hero h1[b-9rsmqumnav] {
        margin: 0 0 6px;
        font-size: 26px;
        font-weight: 800;
    }

    .an-hero p[b-9rsmqumnav] {
        margin: 0;
        color: var(--muted);
    }

.badge[b-9rsmqumnav] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
}

    .badge.success[b-9rsmqumnav] {
        border-color: #cce8d4;
        background: #f3fbf6;
        color: #0b8a3a;
    }

/* ====== Skeleton ====== */
.skeleton[b-9rsmqumnav] {
    padding: 18px;
    border: 1px dashed var(--dash);
    border-radius: 12px;
    color: var(--muted);
    text-align: center;
}

/* ====== KPI Grid ====== */
.kpi-grid[b-9rsmqumnav] {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.kpi[b-9rsmqumnav] {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
}

.kpi-top[b-9rsmqumnav] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.kpi-title[b-9rsmqumnav] {
    font-size: 12px;
    color: var(--muted);
}

.kpi-num[b-9rsmqumnav] {
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
}

/* ====== Main Grid ====== */
.main-grid[b-9rsmqumnav] {
    display: grid;
    grid-template-columns: 1.5fr .9fr;
    gap: 16px;
}

.card__head[b-9rsmqumnav] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    margin-bottom: 12px;
    border-bottom: 1px dashed var(--dash);
}

    .card__head h3[b-9rsmqumnav] {
        margin: 0;
        font-size: 16px;
        font-weight: 800;
    }

/* ====== Chart ====== */
.chart[b-9rsmqumnav] {
    padding: 6px 2px 2px;
}

.barsvg[b-9rsmqumnav] {
    display: block;
    width: 100%;
    height: auto;
}

.bar[b-9rsmqumnav] {
    fill: var(--primary);
}

.bar-value[b-9rsmqumnav] {
    fill: #334155;
    font-size: 10px;
}

.x-label[b-9rsmqumnav] {
    fill: #475569;
    font-size: 11px;
}

.y-label[b-9rsmqumnav] {
    fill: #64748b;
    font-size: 10px;
}

.grid[b-9rsmqumnav] {
    stroke: var(--dash);
    stroke-width: 1;
    stroke-dasharray: 3 4;
}

.axis[b-9rsmqumnav] {
    stroke: var(--dash);
    stroke-width: 1.2;
}

/* ====== Table ====== */
.table-wrap[b-9rsmqumnav] {
    width: 100%;
    overflow: auto;
}

.redir-table[b-9rsmqumnav] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 520px;
    direction: rtl;
}

    .redir-table thead th[b-9rsmqumnav] {
        text-align: right;
        white-space: nowrap;
        font-weight: 900;
        background: var(--soft);
        border-bottom: 1px solid var(--dash);
        padding: 10px;
    }

    .redir-table tbody td[b-9rsmqumnav] {
        padding: 10px;
        border-bottom: 1px dashed var(--dash);
        vertical-align: middle;
    }

    .redir-table .num[b-9rsmqumnav] {
        text-align: left;
        font-variant-numeric: tabular-nums;
    }

.barsvg .x-label[b-9rsmqumnav] {
    font-size: 11px;
    fill: #475569;
    font-variant-numeric: tabular-nums;
}

.barsvg .y-label[b-9rsmqumnav] {
    font-size: 10px;
    fill: #64748b;
    font-variant-numeric: tabular-nums;
}


.mono[b-9rsmqumnav] {
    font-family: ui-monospace,Menlo,Consolas,monospace;
}

.truncate[b-9rsmqumnav] {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.empty[b-9rsmqumnav] {
    padding: 12px;
    text-align: center;
    border: 1px dashed var(--dash);
    border-radius: 12px;
    color: var(--muted);
}

/* ====== Active Users Progress ====== */
.progress-rows[b-9rsmqumnav] {
    display: grid;
    gap: 10px;
}

    .progress-rows .row[b-9rsmqumnav] {
        display: grid;
        grid-template-columns: 140px 1fr 64px;
        align-items: center;
        gap: 12px;
    }

.mlbl[b-9rsmqumnav] {
    color: var(--muted2);
}

.mnum[b-9rsmqumnav] {
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    text-align: left;
}

.bar[b-9rsmqumnav] {
    background: #f3f4f6;
    border-radius: 999px;
    height: 12px;
    overflow: hidden;
    border: 1px solid #eceff1;
}

    .bar > span[b-9rsmqumnav] {
        display: block;
        height: 100%;
        background: linear-gradient(90deg, var(--primary), #ffb36f);
        border-radius: 999px;
    }

/* ====== Responsive ====== */
@media (max-width:1200px) {
    .main-grid[b-9rsmqumnav] {
        grid-template-columns: 1fr;
    }
}

@media (max-width:900px) {
    .kpi-grid[b-9rsmqumnav] {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width:600px) {
    .kpi-grid[b-9rsmqumnav] {
        grid-template-columns: 1fr;
    }

    .an-hero[b-9rsmqumnav] {
        flex-direction: column;
        align-items: flex-start;
    }

    .progress-rows .row[b-9rsmqumnav] {
        grid-template-columns: 1fr;
    }

    .mnum[b-9rsmqumnav] {
        text-align: right;
    }
}
/* _content/LearnPlay/Pages/Admin/Announcements.razor.rz.scp.css */
.ann-admin[b-lko6yuwcx4] {
    padding: 20px;
    background: #fefcf9;
    font-family: "Cairo", sans-serif;
}

.ann-header[b-lko6yuwcx4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff8e6;
    border: 1px solid #ffd68a;
    border-radius: 14px;
    padding: 12px 18px;
    margin-bottom: 18px;
    box-shadow: 0 4px 10px rgba(0,0,0,.05);
}

.title-wrap[b-lko6yuwcx4] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon[b-lko6yuwcx4] {
    font-size: 32px;
}

.info h1[b-lko6yuwcx4] {
    font-weight: 900;
    margin: 0;
    font-size: 1.3rem;
    color: #3a2b00;
}

.meta[b-lko6yuwcx4] {
    color: #6b7280;
    font-size: 0.9rem;
}

.status.on[b-lko6yuwcx4] {
    color: #15803d;
    font-weight: 800;
}

.status.off[b-lko6yuwcx4] {
    color: #b91c1c;
    font-weight: 800;
}

.actions .btn[b-lko6yuwcx4] {
    margin-inline-start: 8px;
}

.btn[b-lko6yuwcx4] {
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid #ffd68a;
    background: #ffd68a;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

    .btn:hover[b-lko6yuwcx4] {
        background: #ffbf50;
    }

    .btn.primary[b-lko6yuwcx4] {
        background: #ffd68a;
        color: #3a2b00;
        border-color: #ffbf50;
        box-shadow: 0 2px 6px rgba(255, 215, 100, .4);
    }

        .btn.primary:hover[b-lko6yuwcx4] {
            background: #ffc94b;
        }

.ann-grid[b-lko6yuwcx4] {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 20px;
}

@media (max-width: 900px) {
    .ann-grid[b-lko6yuwcx4] {
        grid-template-columns: 1fr;
    }
}

.ann-form[b-lko6yuwcx4] {
    background: #fff;
    border: 1px solid #f1f1f1;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
}

section[b-lko6yuwcx4] {
    margin-bottom: 18px;
}

    section h3[b-lko6yuwcx4] {
        margin: 0 0 10px;
        font-size: 1.1rem;
        font-weight: 800;
        color: #4b2d00;
    }

.grid.two[b-lko6yuwcx4] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.grid.three[b-lko6yuwcx4] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.field[b-lko6yuwcx4] {
    display: flex;
    flex-direction: column;
}

    .field label[b-lko6yuwcx4] {
        font-weight: 700;
        color: #111827;
        margin-bottom: 4px;
    }

    .field.full[b-lko6yuwcx4] {
        grid-column: 1 / -1;
    }

.px-input[b-lko6yuwcx4], select[b-lko6yuwcx4], textarea[b-lko6yuwcx4] {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: 0.2s;
}

    .px-input:focus[b-lko6yuwcx4], select:focus[b-lko6yuwcx4], textarea:focus[b-lko6yuwcx4] {
        border-color: #a78bfa;
        box-shadow: 0 0 0 3px #a78bfa33;
    }

.form-footer[b-lko6yuwcx4] {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

    .form-footer .grow[b-lko6yuwcx4] {
        flex: 1;
    }

.ann-preview[b-lko6yuwcx4] {
    background: #fff;
    border: 1px solid #f1f1f1;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
}

.preview-box[b-lko6yuwcx4] {
    margin: 10px 0;
    border: 1px dashed #ffd68a;
    background: #fffaf1;
    border-radius: 12px;
    padding: 10px;
}

.hint[b-lko6yuwcx4] {
    color: #6b7280;
    font-size: 0.9rem;
}

.note[b-lko6yuwcx4] {
    color: #9ca3af;
    font-size: 0.85rem;
    margin-top: 6px;
}

.empty-state[b-lko6yuwcx4] {
    background: #fff;
    border: 1px dashed #ffd68a;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

    .empty-state .emoji[b-lko6yuwcx4] {
        font-size: 40px;
        margin-bottom: 8px;
    }


/* ===== تحسينات سريعة (ضعها في آخر الملف) ===== */

/* متغيرات للتحكم السريع */
.ann-form[b-lko6yuwcx4] {
    --ctl-h: 56px; /* ارتفاع الحقل */
    --ctl-pad: 12px 14px; /* هوامش داخلية */
    --ctl-bd: 2px; /* سُمك الحد */
    --ctl-radius: 14px; /* درجة التقويس */
    --ctl-bd-color: #e7c97a; /* لون الحد العادي (ذهبي باهت) */
    --ctl-bd-focus: #f59e0b; /* لون الحد وقت الفوكس */
    --ctl-shadow-focus: 0 0 0 4px #f59e0b22;
    --gap: 16px; /* مسافات الشبكات */
    font-size: 16.5px; /* تكبير بسيط للقراءة */
}

    /* بطاقات الأقسام أشيك وأوضح */
    .ann-form section[b-lko6yuwcx4] {
        background: #fff;
        border: 1px solid #f3efe6;
        border-radius: 18px;
        padding: 14px;
        margin-bottom: 16px;
        box-shadow: 0 2px 8px rgba(0,0,0,.04);
    }

    /* تباعد الشبكات */
    .ann-form .grid.two[b-lko6yuwcx4],
    .ann-form .grid.three[b-lko6yuwcx4] {
        gap: var(--gap);
    }

    /* لابل أوضح */
    .ann-form .field label[b-lko6yuwcx4] {
        font-weight: 800;
        color: #1f2937;
        margin-bottom: 6px;
    }

    /* الحقول – سميكة ومريحة */
    .ann-form .px-input[b-lko6yuwcx4],
    .ann-form select[b-lko6yuwcx4],
    .ann-form textarea[b-lko6yuwcx4],
    .ann-form input[type="text"][b-lko6yuwcx4],
    .ann-form input[type="number"][b-lko6yuwcx4],
    .ann-form input[type="date"][b-lko6yuwcx4] {
        height: var(--ctl-h);
        padding: var(--ctl-pad);
        border: var(--ctl-bd) solid var(--ctl-bd-color);
        border-radius: var(--ctl-radius);
        background: #fff;
        font-weight: 700;
        outline: none;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
        transition: .18s ease;
    }

    /* تكبير textarea مع إمكانية تغيير الارتفاع */
    .ann-form textarea[b-lko6yuwcx4] {
        min-height: calc(var(--ctl-h) * 1.8);
        resize: vertical;
        line-height: 1.6;
    }

        /* فوكس قوي وواضح */
        .ann-form .px-input:focus[b-lko6yuwcx4],
        .ann-form select:focus[b-lko6yuwcx4],
        .ann-form textarea:focus[b-lko6yuwcx4],
        .ann-form input[type="text"]:focus[b-lko6yuwcx4],
        .ann-form input[type="number"]:focus[b-lko6yuwcx4],
        .ann-form input[type="date"]:focus[b-lko6yuwcx4] {
            border-color: var(--ctl-bd-focus);
            box-shadow: var(--ctl-shadow-focus);
        }

    /* سهم select بشكل بسيط ومتوافق مع RTL */
    .ann-form select[b-lko6yuwcx4] {
        appearance: none;
        background-image: linear-gradient(45deg, transparent 50%, #8a6b2a 50%), linear-gradient(135deg, #8a6b2a 50%, transparent 50%);
        background-position: calc(100% - 16px) 22px, calc(100% - 11px) 22px;
        background-size: 6px 6px, 6px 6px;
        background-repeat: no-repeat;
    }

/* محاذاة أنسب لحقل التاريخ في RTL */
[dir="rtl"] .ann-form input[type="date"][b-lko6yuwcx4] {
    text-align: start;
}

/* أزرار الفوتر أكبر قليلًا */
.form-footer .btn[b-lko6yuwcx4],
.actions .btn[b-lko6yuwcx4] {
    height: 44px;
    padding: 8px 16px;
    border-radius: 12px;
    font-weight: 800;
}

/* صندوق المعاينة أشيك */
.ann-preview .preview-box[b-lko6yuwcx4] {
    padding: 12px;
    border: 2px dashed #ffd68a;
    border-radius: 14px;
    background: #fffdf6;
}

/* ضبط عام لحواف الحقول في كل الصفحة الإدارية لو لزم */
.ann-admin .px-input[b-lko6yuwcx4],
.ann-admin select[b-lko6yuwcx4],
.ann-admin textarea[b-lko6yuwcx4] {
    border-radius: var(--ctl-radius);
}

/* ====== Responsive polish (متوافق مع جميع الأجهزة) ====== */

.ann-admin[b-lko6yuwcx4] {
    width: min(1120px, 96vw);
    margin-inline: auto;
    padding-inline: max(12px, env(safe-area-inset-left));
    padding-block: 16px;
}

.ann-form[b-lko6yuwcx4] {
    --ctl-h: 56px;
    --gap: 16px;
    --ctl-pad: 12px 14px;
}

.ann-grid[b-lko6yuwcx4] {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 20px;
}

/* ========== تابلت / لابتوب صغير ========== */
@media (max-width: 1024px) {
    .ann-grid[b-lko6yuwcx4] {
        grid-template-columns: 1fr 340px;
        gap: 16px;
    }

    .ann-form[b-lko6yuwcx4] {
        --ctl-h: 54px;
        --gap: 14px;
    }

    .ann-header[b-lko6yuwcx4] {
        padding: 10px 14px;
    }
}

/* ========== تابلت طولي / موبايل كبير ========== */
@media (max-width: 820px) {
    .ann-grid[b-lko6yuwcx4] {
        grid-template-columns: 1fr;
    }

    .ann-preview[b-lko6yuwcx4] {
        order: 2;
    }

    .ann-form[b-lko6yuwcx4] {
        order: 1;
    }

    .actions .btn[b-lko6yuwcx4], .form-footer .btn[b-lko6yuwcx4] {
        height: 46px;
        padding: 10px 16px;
    }

    .ann-form .px-input[b-lko6yuwcx4],
    .ann-form select[b-lko6yuwcx4],
    .ann-form textarea[b-lko6yuwcx4],
    .ann-form input[type="text"][b-lko6yuwcx4],
    .ann-form input[type="number"][b-lko6yuwcx4],
    .ann-form input[type="date"][b-lko6yuwcx4] {
        width: 100%;
    }

    .ann-form .grid.three[b-lko6yuwcx4] {
        grid-template-columns: 1fr 1fr;
    }
}

/* ========== موبايل عادي ========== */
@media (max-width: 640px) {
    .ann-admin[b-lko6yuwcx4] {
        width: min(100%, 98vw);
    }

    .ann-header[b-lko6yuwcx4] {
        border-radius: 12px;
        padding: 10px 12px;
    }

    .title-wrap .icon[b-lko6yuwcx4] {
        font-size: 28px;
    }

    .info h1[b-lko6yuwcx4] {
        font-size: clamp(1rem, 2.8vw, 1.15rem);
    }

    .ann-form[b-lko6yuwcx4] {
        --ctl-h: 52px;
        --gap: 12px;
        font-size: 15.5px;
    }

        .ann-form .grid.two[b-lko6yuwcx4],
        .ann-form .grid.three[b-lko6yuwcx4] {
            grid-template-columns: 1fr;
        }

        .ann-form textarea[b-lko6yuwcx4] {
            min-height: 120px;
        }

        .ann-form select[b-lko6yuwcx4] {
            background-position: calc(100% - 14px) 22px, calc(100% - 9px) 22px;
        }
}

/* ========== موبايل صغير جدًا ========== */
@media (max-width: 380px) {
    .ann-form[b-lko6yuwcx4] {
        --ctl-h: 50px;
        --gap: 10px;
    }

    .actions .btn[b-lko6yuwcx4], .form-footer .btn[b-lko6yuwcx4] {
        height: 44px;
        padding: 9px 14px;
    }

    .ann-header[b-lko6yuwcx4] {
        padding: 8px 10px;
    }
}

/* تحسين لمس للموبايلات */
@media (pointer: coarse) {
    .ann-form .px-input[b-lko6yuwcx4],
    .ann-form select[b-lko6yuwcx4],
    .ann-form textarea[b-lko6yuwcx4],
    .ann-form input[type="text"][b-lko6yuwcx4],
    .ann-form input[type="number"][b-lko6yuwcx4],
    .ann-form input[type="date"][b-lko6yuwcx4] {
        border-width: 2px;
    }
}

/* تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
    .ann-header[b-lko6yuwcx4],
    .ann-form section[b-lko6yuwcx4] {
        transition: none !important;
    }
}


/* ====== Creative polish pack (drop-in) ====== */

/* لوحة ألوان مرنة */
.ann-admin[b-lko6yuwcx4] {
    --ann-accent: #f59e0b; /* برتقالي ذهبي */
    --ann-accent-2: #eab308; /* أصفر دافئ */
    --card-bd: #f0e7d6;
    --ink: #1f2937;
    --muted: #6b7280;
}

/* Header: تدرّج + لمعة خفيفة */
.ann-header[b-lko6yuwcx4] {
    background: radial-gradient(1400px 480px at 110% -60%, #fff1c266 0%, transparent 60%), linear-gradient(180deg,#fffaf0 0%, #fff4da 100%);
    border: 1px solid #ffe2a6;
    box-shadow: 0 10px 30px rgba(253,216,120,.25), inset 0 1px 0 rgba(255,255,255,.9);
    position: relative;
    overflow: hidden;
}

    .ann-header[b-lko6yuwcx4]::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(120deg, transparent 0 40%, #ffffff80 50%, transparent 60%);
        transform: translateX(-100%);
        animation: ann-shine-b-lko6yuwcx4 3.4s ease-in-out infinite;
        pointer-events: none;
    }

@keyframes ann-shine-b-lko6yuwcx4 {
    0%,75% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Meta chips */
.meta .key code[b-lko6yuwcx4] {
    background: #fff;
    border: 1px dashed #ffd68a;
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 800;
    color: #8a6b2a;
}

.status.on[b-lko6yuwcx4] {
    background: #ecfdf5;
    padding: .1rem .5rem;
    border-radius: 999px;
}

.status.off[b-lko6yuwcx4] {
    background: #fef2f2;
    padding: .1rem .5rem;
    border-radius: 999px;
}

/* Section cards + تفاعل */
.ann-form section[b-lko6yuwcx4] {
    border: 1px solid var(--card-bd);
    background: linear-gradient(180deg,#ffffff 0%, #fffdf7 100%);
    border-radius: 18px;
    transition: .2s ease;
}

    .ann-form section:focus-within[b-lko6yuwcx4] {
        border-color: #fed7aa;
        box-shadow: 0 10px 28px rgba(245,158,11,.10), 0 0 0 4px #f59e0b22;
    }

    /* عناوين الأقسام: بار ملوّن + نقطة متوهّجة */
    .ann-form section > h3[b-lko6yuwcx4] {
        position: relative;
        padding-block: 6px 10px;
        margin-bottom: 10px;
        color: var(--ink);
        font-weight: 900;
        letter-spacing: .2px;
    }

        .ann-form section > h3[b-lko6yuwcx4]::after {
            content: "";
            position: absolute;
            inset-inline: 0;
            bottom: 0;
            height: 4px;
            border-radius: 999px;
            background: linear-gradient(90deg, var(--ann-accent), var(--ann-accent-2));
            opacity: .75;
        }

        .ann-form section > h3[b-lko6yuwcx4]::before {
            content: "";
            position: absolute;
            inset-inline-start: -10px;
            top: 2px;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: radial-gradient(circle at 30% 30%, #fff 0 40%, var(--ann-accent) 41% 100%);
            box-shadow: 0 0 0 6px #f59e0b22, 0 0 18px #f59e0b66;
        }

/* Inputs already thicker — نزود مظهر الـ focus */
.ann-form .px-input:focus[b-lko6yuwcx4],
.ann-form select:focus[b-lko6yuwcx4],
.ann-form textarea:focus[b-lko6yuwcx4],
.ann-form input[type="text"]:focus[b-lko6yuwcx4],
.ann-form input[type="number"]:focus[b-lko6yuwcx4],
.ann-form input[type="date"]:focus[b-lko6yuwcx4] {
    border-color: var(--ann-accent);
    box-shadow: 0 0 0 4px #f59e0b26, inset 0 1px 0 #fff;
}

/* Switch أجمل */
.switch[b-lko6yuwcx4] {
    width: 62px;
    height: 34px;
}

.slider[b-lko6yuwcx4] {
    background: #e5e7eb;
}

    .slider[b-lko6yuwcx4]:before {
        width: 26px;
        height: 26px;
        inset-block-start: 4px;
        inset-inline-end: 32px;
    }

.switch input:checked + .slider[b-lko6yuwcx4] {
    background: linear-gradient(90deg, #34d399, #10b981);
}

    .switch input:checked + .slider[b-lko6yuwcx4]:before {
        inset-inline-end: 4px;
    }

/* أزرار نابضة خفيفة */
.btn[b-lko6yuwcx4] {
    transform: translateY(0);
    box-shadow: 0 2px 0 #00000008;
}

    .btn:hover[b-lko6yuwcx4] {
        transform: translateY(-1px);
    }

    .btn:active[b-lko6yuwcx4] {
        transform: translateY(0);
        box-shadow: none;
    }

/* Preview sticky على العمود الأيمن */
.ann-preview[b-lko6yuwcx4] {
    position: sticky;
    top: 12px;
    background: #ffffff;
    border: 1px solid var(--card-bd);
    box-shadow: 0 8px 24px rgba(17,24,39,.06);
}

    .ann-preview .preview-box[b-lko6yuwcx4] {
        border: 2px dashed #ffd68a;
        background: #fffdf6;
        border-radius: 14px;
    }

/* شريط حفظ سفلي داخل الفورم (Dock) */
.form-footer[b-lko6yuwcx4] {
    position: sticky;
    bottom: 0;
    z-index: 3;
    padding: 10px 12px;
    background: linear-gradient(180deg,#ffffffcc 0%, #fff9eccc 100%);
    backdrop-filter: blur(6px);
    border-top: 1px solid #f3efe6;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

/* فواصل ناعمة داخل الشبكات */
.ann-form .grid.two > .field:not(.full)[b-lko6yuwcx4],
.ann-form .grid.three > .field[b-lko6yuwcx4] {
    position: relative;
}

    .ann-form .grid.two > .field:not(.full)[b-lko6yuwcx4]::after,
    .ann-form .grid.three > .field[b-lko6yuwcx4]::after {
        content: "";
        position: absolute;
        inset-inline: 0;
        bottom: -6px;
        height: 1px;
        background: #f5efe4;
        opacity: .6;
    }

/* Hover تمييز للحقل */
.field:hover .px-input[b-lko6yuwcx4],
.field:hover select[b-lko6yuwcx4],
.field:hover textarea[b-lko6yuwcx4] {
    border-color: #f1d08a;
}

/* Dark mode (اختياري إن فعّل النظام ذلك) */
@media (prefers-color-scheme: dark) {
    .ann-admin[b-lko6yuwcx4] {
        background: #0b0e11;
    }

    .ann-header[b-lko6yuwcx4] {
        background: linear-gradient(180deg,#181e25 0%, #11161b 100%);
        border-color: #2a2f37;
    }

    .info h1[b-lko6yuwcx4], .ann-form section > h3[b-lko6yuwcx4] {
        color: #eef2f7;
    }

    .meta[b-lko6yuwcx4], .hint[b-lko6yuwcx4], .note[b-lko6yuwcx4] {
        color: #9aa3ad;
    }

    .ann-form section[b-lko6yuwcx4] {
        background: linear-gradient(180deg,#12161b 0%, #0f1419 100%);
        border-color: #21262d;
    }

    .ann-preview[b-lko6yuwcx4] {
        background: #0f1419;
        border-color: #21262d;
    }

    .ann-form .px-input[b-lko6yuwcx4], .ann-form select[b-lko6yuwcx4], .ann-form textarea[b-lko6yuwcx4] {
        background: #0d1217;
        color: #e5e7eb;
        border-color: #2a2f37;
    }

        .ann-form .px-input:focus[b-lko6yuwcx4],
        .ann-form select:focus[b-lko6yuwcx4],
        .ann-form textarea:focus[b-lko6yuwcx4] {
            box-shadow: 0 0 0 4px #f59e0b33;
        }

    .form-footer[b-lko6yuwcx4] {
        background: linear-gradient(180deg,#0f1419cc 0%, #0c1015cc 100%);
        border-top-color: #21262d;
    }
}


/* ============== Mobile fix pack (ضعه في آخر الملف) ============== */

/* 1) تأكد كل العناصر جوّا الصفحة بتقيس بالحواف الداخلية (منع تمدد العرض) */
.ann-admin[b-lko6yuwcx4], .ann-admin *[b-lko6yuwcx4] {
    box-sizing: border-box;
    min-width: 0;
}

/* 2) الهيدر على الموبايل: ضغط الحشو، لفّ الأزرار لسطرين */
@media (max-width: 640px) {
    .ann-header[b-lko6yuwcx4] {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 10px 12px;
    }

    .title-wrap[b-lko6yuwcx4] {
        gap: 8px;
    }

    .actions[b-lko6yuwcx4] {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

        .actions .btn[b-lko6yuwcx4] {
            width: 100%;
        }
    /* مفتاح الإعلان طويل؟ اسمح بالكسر */
    .meta .key code[b-lko6yuwcx4] {
        max-width: 100%;
        display: inline-block;
        overflow-wrap: anywhere; /* يكسر أي مكان */
        font-size: .85rem;
        padding: 4px 8px;
    }
}

/* 3) الشبكات: عمود واحد + مسافات أوسع للمس */
@media (max-width: 640px) {
    .ann-grid[b-lko6yuwcx4] {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .ann-form[b-lko6yuwcx4] {
        --gap: 12px;
        font-size: 15.5px;
    }

        .ann-form .grid.two[b-lko6yuwcx4],
        .ann-form .grid.three[b-lko6yuwcx4] {
            grid-template-columns: 1fr;
        }

        .ann-form section[b-lko6yuwcx4] {
            padding: 12px;
            border-radius: 14px;
        }

    .field label[b-lko6yuwcx4] {
        margin-bottom: 6px;
    }

    .ann-form .px-input[b-lko6yuwcx4],
    .ann-form select[b-lko6yuwcx4],
    .ann-form textarea[b-lko6yuwcx4],
    .ann-form input[type="text"][b-lko6yuwcx4],
    .ann-form input[type="number"][b-lko6yuwcx4],
    .ann-form input[type="date"][b-lko6yuwcx4] {
        width: 100%;
    }
    /* أمنع ارتفاع زائد للـselect على أندرويد */
    .ann-form select[b-lko6yuwcx4] {
        line-height: 1.2;
    }
}

/* 4) المعاينة: الغِ الـsticky على الهاتف وخليها بعد الفورم */
@media (max-width: 820px) {
    .ann-preview[b-lko6yuwcx4] {
        position: static;
        top: auto;
    }
}

/* 5) شريط الحفظ: ما يغطيش الحقول + هو نفسه يتعطّل sticky على الشاشات الصغيرة */
.ann-form[b-lko6yuwcx4] {
    padding-bottom: 76px;
}
/* مساحة تحت للزرار */
@media (max-width: 640px) {
    .form-footer[b-lko6yuwcx4] {
        position: static; /* بلاش sticky في الموبايل */
        backdrop-filter: none;
        background: transparent;
        border-top: 0;
        padding: 8px 0 0;
    }
    /* لو حابب الزراير صفين فوق بعض */
    .form-footer[b-lko6yuwcx4] {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 8px;
    }

        .form-footer .grow[b-lko6yuwcx4] {
            display: none;
        }

        .form-footer .btn[b-lko6yuwcx4] {
            width: 100%;
            height: 44px;
        }
}

/* 6) تحسينات ملامسة/تكبير تلقائي iOS */
@media (max-width: 640px) {
    input[b-lko6yuwcx4], select[b-lko6yuwcx4], textarea[b-lko6yuwcx4], button[b-lko6yuwcx4] {
        font-size: 16px;
    }
    /* يمنع zoom في iOS */
}

/* 7) منع تزاحم حدود الـfieldset الوهمية اللي عملناها كفواصل */
@media (max-width: 640px) {
    .ann-form .grid.two > .field:not(.full)[b-lko6yuwcx4]::after,
    .ann-form .grid.three > .field[b-lko6yuwcx4]::after {
        display: none;
    }
}

/* 8) تصغير اللمعة المتحركة في الهيدر أو إيقافها بالموبايل لتوفير الأداء */
@media (max-width: 640px) {
    .ann-header[b-lko6yuwcx4]::after {
        animation-duration: 5s;
        opacity: .7;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ann-header[b-lko6yuwcx4]::after {
        animation: none;
    }
}
/* _content/LearnPlay/Pages/Admin/BooksAdmin.razor.rz.scp.css */
/* ================= BooksAdmin – Clean ================= */

/* القاعدة العامة */
:host[b-fcfexjxu6s] {
    display: block;
    max-width: 1100px;
    margin: 20px auto 40px;
    padding: 0 14px;
    font-family: "Cairo",system-ui,Segoe UI,Roboto,Arial;
    color: #1f2937;
    direction: rtl;
}

    /* روابط بدون تسطير */
    :host a[b-fcfexjxu6s] {
        text-decoration: none
    }

/* ===== العنوان + الشريط العلوي ===== */
.page-head[b-fcfexjxu6s] {
    text-align: center;
    margin: 0 0 18px
}

.page-title[b-fcfexjxu6s] {
    margin: 0 6px 10px;
    font-weight: 900;
    letter-spacing: .2px;
    color: #111827;
    font-size: clamp(22px,2.2vw,28px)
}

    .page-title[b-fcfexjxu6s]::before {
        content: "📚 "
    }

.toolbar-card[b-fcfexjxu6s] {
    display: inline-block;
    background: linear-gradient(180deg,#fff 0%,#fbfaff 100%);
    border: 1px solid #eee7ff;
    border-radius: 18px;
    padding: 10px 12px;
    box-shadow: 0 10px 24px rgba(124,58,237,.09);
}

.admin-toolbar[b-fcfexjxu6s] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap
}

/* زر رابط (pill) */
.link-btn[b-fcfexjxu6s] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 15px;
    color: #433875;
    background: linear-gradient(180deg,#fff 0%,#f9f7ff 100%);
    border: 1px solid #e9ddff;
    box-shadow: 0 2px 10px rgba(124,58,237,.10), inset 0 1px 0 rgba(255,255,255,.9);
    transition: .12s;
}

    .link-btn .ico[b-fcfexjxu6s] {
        font-size: 18px;
        line-height: 1
    }

    .link-btn:hover[b-fcfexjxu6s] {
        transform: translateY(-1px);
        border-color: #d8c9ff;
        background: linear-gradient(180deg,#fff 0%,#f3ecff 100%);
        box-shadow: 0 10px 18px rgba(124,58,237,.16)
    }

    .link-btn:focus-visible[b-fcfexjxu6s] {
        outline: 3px solid rgba(124,58,237,.25);
        outline-offset: 2px
    }

    .link-btn.is-active[b-fcfexjxu6s] {
        color: #fff;
        border-color: #7c3aed;
        background: linear-gradient(90deg,#6a1b9a,#7c3aed);
        box-shadow: 0 10px 22px rgba(124,58,237,.28), inset 0 1px 0 rgba(255,255,255,.15)
    }

/* ===== فورم الفلاتر ===== */
label[b-fcfexjxu6s] {
    font-weight: 800;
    color: #374151;
    margin-bottom: 6px;
    display: block;
    font-size: 14px
}

.grid[b-fcfexjxu6s] {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(230px,1fr));
    gap: 12px;
    background: linear-gradient(180deg,#fff 0%,#faf7ff 100%);
    border: 1px solid #ede9fe;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 10px 24px rgba(17,24,39,.06);
    margin-bottom: 12px;
}

/* الحقول */
select[b-fcfexjxu6s], input[type=text][b-fcfexjxu6s], input[type=number][b-fcfexjxu6s] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    height: 40px;
    padding: 8px 12px;
    font-weight: 700;
    font-size: 14px;
    color: #111827;
    width: 100%;
}

    input[type=text][b-fcfexjxu6s]::placeholder {
        color: #9ca3af;
        font-weight: 600
    }

    select:focus[b-fcfexjxu6s], input:focus[b-fcfexjxu6s] {
        outline: 3px solid rgba(124,58,237,.25);
        border-color: #d7c7ff
    }

    input.sm[b-fcfexjxu6s], select.sm[b-fcfexjxu6s] {
        height: 34px;
        border-radius: 10px
    }

input.xs[b-fcfexjxu6s] {
    height: 30px;
    border-radius: 8px;
    padding: 4px 8px
}

.mono[b-fcfexjxu6s] {
    font-family: ui-monospace,SFMono-Regular,Menlo,Consolas,"Courier New",monospace
}

/* نصوص مساعدة */
.center[b-fcfexjxu6s] {
    text-align: center
}

.muted[b-fcfexjxu6s] {
    color: #6b7280
}

.row-sub[b-fcfexjxu6s] {
    font-size: 11px;
    color: #6b7280;
    margin-top: 4px
}

/* ===== الأزرار ===== */
button[b-fcfexjxu6s] {
    border: 0;
    border-radius: 12px;
    padding: 10px 16px;
    font-weight: 900;
    cursor: pointer;
    background: linear-gradient(90deg,#6A1B9A,#7c3aed);
    color: #fff;
    box-shadow: 0 8px 18px rgba(124,58,237,.25);
    transition: .12s;
    font-size: 14px;
}

    button:hover[b-fcfexjxu6s] {
        transform: translateY(-1px)
    }

    button:active[b-fcfexjxu6s] {
        transform: translateY(0);
        filter: brightness(.98)
    }

    button[disabled][b-fcfexjxu6s] {
        opacity: .6;
        cursor: not-allowed
    }

    button + button[b-fcfexjxu6s] {
        margin-inline-start: 6px
    }

    button.primary[b-fcfexjxu6s] {
        background: linear-gradient(90deg,#6A1B9A,#7c3aed)
    }

    button.btn-danger[b-fcfexjxu6s] {
        background: #ef4444
    }

    button.xs[b-fcfexjxu6s] {
        padding: 7px 10px;
        font-size: 12px;
        border-radius: 8px
    }

.btn[b-fcfexjxu6s] {
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #1f2937;
    border-radius: 10px;
    padding: 8px 12px;
    font-weight: 800;
    cursor: pointer
}

    .btn.ghost:hover[b-fcfexjxu6s] {
        background: #f9fafb
    }

/* عناصر مخفية لملف */
.file-hidden[b-fcfexjxu6s] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0)
}

/* ===== Switch ===== */
.switch[b-fcfexjxu6s] {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 28px;
    vertical-align: middle
}

    .switch.small[b-fcfexjxu6s] {
        width: 42px;
        height: 24px
    }

    .switch input[b-fcfexjxu6s] {
        opacity: 0;
        width: 0;
        height: 0
    }

    .switch span[b-fcfexjxu6s] {
        position: absolute;
        inset: 0;
        background: #e5e7eb;
        border-radius: 999px;
        transition: .15s;
        box-shadow: inset 0 1px 2px rgba(0,0,0,.06)
    }

        .switch span[b-fcfexjxu6s]::after {
            content: "";
            position: absolute;
            width: 22px;
            height: 22px;
            top: 3px;
            right: 3px;
            background: #fff;
            border-radius: 50%;
            transition: .15s;
            box-shadow: 0 1px 3px rgba(0,0,0,.15)
        }

    .switch.small span[b-fcfexjxu6s]::after {
        width: 18px;
        height: 18px
    }

    .switch input:checked + span[b-fcfexjxu6s] {
        background: #c7d2fe
    }

        .switch input:checked + span[b-fcfexjxu6s]::after {
            transform: translateX(-20px);
            background: #4f46e5
        }

    .switch.small input:checked + span[b-fcfexjxu6s]::after {
        transform: translateX(-16px)
    }

/* ===== نموذج إنشاء كتاب ===== */
.book-create[b-fcfexjxu6s] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(17,24,39,.06);
    margin-top: 12px;
}

.bc-head[b-fcfexjxu6s] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f3f4f6;
    margin-bottom: 14px;
}

    .bc-head .title[b-fcfexjxu6s] {
        display: flex;
        align-items: center;
        gap: 10px
    }

    .bc-head .ico[b-fcfexjxu6s] {
        font-size: 24px;
        line-height: 1
    }

    .bc-head h4[b-fcfexjxu6s] {
        margin: 0;
        font-size: 18px;
        font-weight: 900;
        color: #111827
    }

    .bc-head small[b-fcfexjxu6s] {
        color: #6b7280
    }

    .bc-head .publish[b-fcfexjxu6s] {
        display: flex;
        align-items: center;
        gap: 10px
    }

.bc-grid[b-fcfexjxu6s] {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 12px
}

.f[b-fcfexjxu6s] {
    display: flex;
    flex-direction: column;
    gap: 6px
}

    .f.span-2[b-fcfexjxu6s] {
        grid-column: span 2
    }

.dot[b-fcfexjxu6s] {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #7c3aed;
    border-radius: 50%;
    margin-inline-start: 6px
}

.input[b-fcfexjxu6s] {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 6px 8px;
}

    .input input[type=text][b-fcfexjxu6s] {
        border: 0;
        outline: none;
        height: 34px;
        flex: 1;
        font-weight: 700
    }

    .input .addon[b-fcfexjxu6s] {
        font-size: 16px;
        opacity: .8
    }

    .input.with-action .btn[b-fcfexjxu6s] {
        margin-inline-start: auto
    }

.hint[b-fcfexjxu6s] {
    color: #6b7280;
    font-size: 12px;
    margin-top: 4px
}

.preview[b-fcfexjxu6s] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding: 8px;
    border: 1px dashed #e5e7eb;
    border-radius: 12px;
    background: #fafafa;
}

    .preview img[b-fcfexjxu6s] {
        width: 56px;
        height: 56px;
        border-radius: 10px;
        object-fit: cover;
        border: 1px solid #e5e7eb
    }

    .preview .meta strong[b-fcfexjxu6s] {
        display: block;
        font-size: 13px;
        color: #111827
    }

    .preview .meta small[b-fcfexjxu6s] {
        color: #6b7280;
        display: block;
        font-size: 12px;
        max-width: 420px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis
    }

.bc-actions[b-fcfexjxu6s] {
    display: flex;
    justify-content: flex-start;
    margin-top: 6px
}

    .bc-actions .primary[b-fcfexjxu6s] {
        background: #6d28d9;
        color: #fff;
        border: 0;
        border-radius: 12px;
        padding: 10px 18px;
        font-weight: 900;
        box-shadow: 0 8px 18px rgba(109,40,217,.25);
        cursor: pointer;
    }

        .bc-actions .primary:hover[b-fcfexjxu6s] {
            filter: brightness(.98)
        }

/* ===== قائمة الكتب (جدول) ===== */
.books-list[b-fcfexjxu6s] {
    margin-top: 8px
}

.list-toolbar[b-fcfexjxu6s] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border: 1px solid #eef;
    background: #fafaff;
    border-radius: 12px;
    margin-bottom: 10px;
}

    .list-toolbar .count[b-fcfexjxu6s] {
        color: #111827
    }

.legend[b-fcfexjxu6s] {
    display: flex;
    gap: 6px;
    align-items: center
}

.chip[b-fcfexjxu6s] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 4px 10px;
    border: 1px solid #e5e7eb;
    background: #fff;
    font-weight: 800;
    font-size: 12px;
    color: #374151;
}

    .chip.green[b-fcfexjxu6s] {
        border-color: #bbf7d0;
        background: #ecfdf5;
        color: #047857
    }

    .chip.gray[b-fcfexjxu6s] {
        border-color: #e5e7eb;
        background: #f9fafb;
        color: #6b7280
    }

    .chip.mini[b-fcfexjxu6s] {
        padding: 2px 8px;
        font-weight: 700
    }

.table[b-fcfexjxu6s] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 10px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(17,24,39,.06);
    font-size: 14px;
}

.table-wrap[b-fcfexjxu6s] {
    overflow: auto;
    border-radius: 16px
}

/* رأس ثابت وتحسينات */
.table.smart thead th[b-fcfexjxu6s] {
    position: sticky;
    top: 0;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    text-align: right;
    padding: 10px;
    font-size: 13px;
    z-index: 1;
}

.table.smart tbody tr[b-fcfexjxu6s] {
    transition: background-color .12s ease
}

    .table.smart tbody tr:hover[b-fcfexjxu6s] {
        background: #fcfcff
    }

.table.smart td[b-fcfexjxu6s] {
    vertical-align: middle;
    padding: 10px;
    border-bottom: 1px solid #f3f4f6
}

/* أعمدة مخصصة */
.col-title .meta-line[b-fcfexjxu6s] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px
}

    .col-title .meta-line .xs.subtle[b-fcfexjxu6s] {
        height: 30px;
        border-radius: 8px;
        border-color: #eaeaf3;
        background: #fbfbff;
        padding: 4px 8px;
        font-weight: 700;
    }

    .col-title .meta-line .id[b-fcfexjxu6s] {
        color: #9ca3af;
        font-size: 12px
    }

.col-year[b-fcfexjxu6s] {
    width: 120px
}

.col-pub .chip[b-fcfexjxu6s] {
    margin-inline-start: 8px
}

.col-pdf[b-fcfexjxu6s] {
    min-width: 240px
}

.col-cover[b-fcfexjxu6s] {
    min-width: 260px
}

/* رفع الغلاف داخل الصف */
.cover-inline[b-fcfexjxu6s] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap
}

    .cover-inline .thumb[b-fcfexjxu6s] {
        width: 42px;
        height: 42px;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        object-fit: cover
    }

/* أزرار عمود الأفعال */
.actions-cell[b-fcfexjxu6s] {
    white-space: nowrap;
    text-align: center
}

/* ===== Responsive ===== */
@media (max-width:980px) {
    .bc-grid[b-fcfexjxu6s] {
        grid-template-columns: 1fr 1fr
    }

    .f.span-2[b-fcfexjxu6s] {
        grid-column: span 2
    }
}

@media (max-width:880px) {
    .table.smart thead[b-fcfexjxu6s] {
        display: none
    }

    .table.smart tr[b-fcfexjxu6s] {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 10px 6px
    }

    .table.smart td[b-fcfexjxu6s] {
        border: 0;
        padding: 0
    }

    .col-year[b-fcfexjxu6s], .col-pub[b-fcfexjxu6s], .col-pdf[b-fcfexjxu6s], .col-cover[b-fcfexjxu6s], .actions-cell[b-fcfexjxu6s] {
        margin-top: 6px
    }

    .actions-cell[b-fcfexjxu6s] {
        justify-self: start
    }

    .books-list .list-toolbar[b-fcfexjxu6s] {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px
    }
}

@media (max-width:580px) {
    .bc-grid[b-fcfexjxu6s] {
        grid-template-columns: 1fr
    }

    .f.span-2[b-fcfexjxu6s] {
        grid-column: span 1
    }

    .bc-head[b-fcfexjxu6s] {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px
    }
}

@media (max-width:520px) {
    .link-btn[b-fcfexjxu6s] {
        padding: 9px 14px;
        font-size: 14px
    }

        .link-btn .ico[b-fcfexjxu6s] {
            font-size: 16px
        }
}
/* _content/LearnPlay/Pages/Admin/CountriesAdmin.razor.rz.scp.css */
/* =============== CountriesAdmin =============== */
:host[b-yyrmo4ovor] {
    display: block;
    max-width: 1000px;
    margin: 20px auto 40px;
    padding: 0 14px;
    font-family: 'Cairo',system-ui,Segoe UI,Roboto,Arial
}

h3[b-yyrmo4ovor] {
    margin: 0 0 10px;
    font-weight: 900;
    color: #2b2b2b
}

    h3[b-yyrmo4ovor]::before {
        content: "🌍 ";
    }

.grid[b-yyrmo4ovor] {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    gap: 10px
}

.grid[b-yyrmo4ovor] {
    background: linear-gradient(180deg,#fff 0%,#f7f3ff 100%);
    border: 1px solid #eadfff;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 10px 24px rgba(17,24,39,.06);
    margin-bottom: 12px
}

label[b-yyrmo4ovor] {
    font-weight: 800;
    color: #444;
    margin-bottom: 6px;
    display: block
}

input[type=text][b-yyrmo4ovor] {
    width: 100%;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 10px 12px;
    font-weight: 700;
    color: #222
}

input:focus[b-yyrmo4ovor] {
    outline: 3px solid rgba(124,58,237,.25);
    border-color: #d7c7ff
}

button[b-yyrmo4ovor] {
    border: 0;
    border-radius: 12px;
    padding: 10px 14px;
    font-weight: 900;
    cursor: pointer;
    background: linear-gradient(90deg,#6A1B9A,#7c3aed);
    color: #fff;
    box-shadow: 0 8px 18px rgba(124,58,237,.25)
}

    button + button[b-yyrmo4ovor] {
        margin-inline-start: 6px
    }

.btn-danger[b-yyrmo4ovor] {
    background: #ef4444
}

/* جدول */
.table[b-yyrmo4ovor] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(17,24,39,.06)
}

    .table thead th[b-yyrmo4ovor] {
        background: #faf7ff;
        border-bottom: 1px solid #eee;
        padding: 12px 10px;
        text-align: right;
        font-weight: 900
    }

    .table td[b-yyrmo4ovor] {
        padding: 10px;
        border-bottom: 1px solid #f3f4f6
    }

    .table tr:last-child td[b-yyrmo4ovor] {
        border-bottom: 0
    }


/* ===== رأس الصفحة + الروابط أسفله مباشرة ===== */
.page-head[b-yyrmo4ovor] {
    text-align: center;
    margin: 0 0 16px;
}

.page-title[b-yyrmo4ovor] {
    margin: 0 0 10px;
    font-weight: 900;
    color: #2b2b2b;
}

/* كارد خفيف يحتضن الروابط */
.toolbar-card[b-yyrmo4ovor] {
    display: inline-block;
    background: linear-gradient(180deg,#ffffff 0%, #fbfaff 100%);
    border: 1px solid #eee7ff;
    border-radius: 18px;
    padding: 10px 12px;
    box-shadow: 0 10px 24px rgba(124,58,237,.09);
}

/* شريط الروابط */
.admin-toolbar[b-yyrmo4ovor] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* زر رابط (pill) */
.link-btn[b-yyrmo4ovor] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
    color: #4b3f7a;
    background: linear-gradient(180deg,#ffffff 0%,#f9f7ff 100%);
    border: 1px solid #e9ddff;
    box-shadow: 0 2px 10px rgba(124,58,237,.10), inset 0 1px 0 rgba(255,255,255,.9);
    transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease, border-color .12s ease, color .12s ease;
}

    .link-btn .ico[b-yyrmo4ovor] {
        font-size: 18px;
        line-height: 1;
    }

    /* Hover/Focus */
    .link-btn:hover[b-yyrmo4ovor] {
        transform: translateY(-1px);
        border-color: #d8c9ff;
        background: linear-gradient(180deg,#ffffff 0%,#f3ecff 100%);
        box-shadow: 0 10px 18px rgba(124,58,237,.16);
    }

    .link-btn:focus-visible[b-yyrmo4ovor] {
        outline: 3px solid rgba(124,58,237,.25);
        outline-offset: 2px;
    }

    /* الزر النشط (NavLink active) */
    .link-btn.is-active[b-yyrmo4ovor] {
        color: #fff;
        border-color: #7c3aed;
        background: linear-gradient(90deg,#6a1b9a,#7c3aed);
        box-shadow: 0 10px 22px rgba(124,58,237,.28), inset 0 1px 0 rgba(255,255,255,.15);
    }

/* استجابة الشاشات الصغيرة */
@media (max-width: 520px) {
    .link-btn[b-yyrmo4ovor] {
        padding: 9px 14px;
    }

        .link-btn .ico[b-yyrmo4ovor] {
            font-size: 16px;
        }
}
/* _content/LearnPlay/Pages/Admin/GradesAdmin.razor.rz.scp.css */
/* =============== GradesAdmin =============== */
:host[b-hrqyz9rtp1] {
    display: block;
    max-width: 1000px;
    margin: 20px auto 40px;
    padding: 0 14px;
    font-family: 'Cairo',system-ui
}

h3[b-hrqyz9rtp1] {
    margin: 0 0 10px;
    font-weight: 900;
    color: #2b2b2b
}

    h3[b-hrqyz9rtp1]::before {
        content: "🏷️ ";
    }

.grid[b-hrqyz9rtp1] {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 10px
}

.grid[b-hrqyz9rtp1] {
    background: linear-gradient(180deg,#fff 0%,#faf7ff 100%);
    border: 1px solid #ede9fe;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 10px 24px rgba(17,24,39,.06);
    margin-bottom: 12px
}

label[b-hrqyz9rtp1] {
    font-weight: 800;
    color: #444;
    margin-bottom: 6px;
    display: block
}

select[b-hrqyz9rtp1], input[type=text][b-hrqyz9rtp1], input[type=number][b-hrqyz9rtp1] {
    width: 100%;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 10px 12px;
    font-weight: 700;
    color: #222
}

    select:focus[b-hrqyz9rtp1], input:focus[b-hrqyz9rtp1] {
        outline: 3px solid rgba(124,58,237,.25);
        border-color: #d7c7ff
    }

button[b-hrqyz9rtp1] {
    border: 0;
    border-radius: 12px;
    padding: 10px 14px;
    font-weight: 900;
    cursor: pointer;
    background: linear-gradient(90deg,#6A1B9A,#7c3aed);
    color: #fff;
    box-shadow: 0 8px 18px rgba(124,58,237,.25)
}

    button + button[b-hrqyz9rtp1] {
        margin-inline-start: 6px
    }

.btn-danger[b-hrqyz9rtp1] {
    background: #ef4444
}

.table[b-hrqyz9rtp1] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(17,24,39,.06)
}

    .table thead th[b-hrqyz9rtp1] {
        background: #faf7ff;
        border-bottom: 1px solid #eee;
        padding: 12px 10px;
        text-align: right;
        font-weight: 900
    }

    .table td[b-hrqyz9rtp1] {
        padding: 10px;
        border-bottom: 1px solid #f3f4f6;
        vertical-align: middle
    }

    .table tr:last-child td[b-hrqyz9rtp1] {
        border-bottom: 0
    }


/* ===== رأس الصفحة + الروابط أسفله مباشرة ===== */
.page-head[b-hrqyz9rtp1] {
    text-align: center;
    margin: 0 0 16px;
}

.page-title[b-hrqyz9rtp1] {
    margin: 0 0 10px;
    font-weight: 900;
    color: #2b2b2b;
}

/* كارد خفيف يحتضن الروابط */
.toolbar-card[b-hrqyz9rtp1] {
    display: inline-block;
    background: linear-gradient(180deg,#ffffff 0%, #fbfaff 100%);
    border: 1px solid #eee7ff;
    border-radius: 18px;
    padding: 10px 12px;
    box-shadow: 0 10px 24px rgba(124,58,237,.09);
}

/* شريط الروابط */
.admin-toolbar[b-hrqyz9rtp1] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* زر رابط (pill) */
.link-btn[b-hrqyz9rtp1] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
    color: #4b3f7a;
    background: linear-gradient(180deg,#ffffff 0%,#f9f7ff 100%);
    border: 1px solid #e9ddff;
    box-shadow: 0 2px 10px rgba(124,58,237,.10), inset 0 1px 0 rgba(255,255,255,.9);
    transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease, border-color .12s ease, color .12s ease;
}

    .link-btn .ico[b-hrqyz9rtp1] {
        font-size: 18px;
        line-height: 1;
    }

    /* Hover/Focus */
    .link-btn:hover[b-hrqyz9rtp1] {
        transform: translateY(-1px);
        border-color: #d8c9ff;
        background: linear-gradient(180deg,#ffffff 0%,#f3ecff 100%);
        box-shadow: 0 10px 18px rgba(124,58,237,.16);
    }

    .link-btn:focus-visible[b-hrqyz9rtp1] {
        outline: 3px solid rgba(124,58,237,.25);
        outline-offset: 2px;
    }

    /* الزر النشط (NavLink active) */
    .link-btn.is-active[b-hrqyz9rtp1] {
        color: #fff;
        border-color: #7c3aed;
        background: linear-gradient(90deg,#6a1b9a,#7c3aed);
        box-shadow: 0 10px 22px rgba(124,58,237,.28), inset 0 1px 0 rgba(255,255,255,.15);
    }

/* استجابة الشاشات الصغيرة */
@media (max-width: 520px) {
    .link-btn[b-hrqyz9rtp1] {
        padding: 9px 14px;
    }

        .link-btn .ico[b-hrqyz9rtp1] {
            font-size: 16px;
        }
}
/* _content/LearnPlay/Pages/Admin/PublicActivities.razor.rz.scp.css */
:root[b-ho5s4soon4] {
    --bg: #edf1f7;
    --surface: #fff;
    --surface-2: #f8fafc;
    --text: #0f172a;
    --muted: #475569;
    --line: #d7dce8;
    --primary: #2563eb;
    --ok: #16a34a;
    --danger: #ef4444;
    --radius-xl: 18px;
    --radius-lg: 14px;
    --radius-md: 12px;
    --shadow-1: 0 8px 18px rgba(15,23,42,.08);
    --shadow-2: 0 18px 36px rgba(15,23,42,.14);
    --sidebar-w: 300px;
    --gutter: 40px;
    --outer-gap: 48px;
    --container-max: 1040px;
    --topbar-h: 110px; /* من app.css */
}

:host[b-ho5s4soon4] {
    display: block;
    direction: rtl;
    background: var(--bg);
    color: var(--text);
    font-family: "Cairo",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif
}

/* تخطيط المحتوى مع مراعاة اللوحة اليمنى الثابتة */
.page-wrap[b-ho5s4soon4] {
    width: calc(100% - (var(--sidebar-w) + var(--gutter)) - (var(--outer-gap) * 2));
    max-width: var(--container-max);
    margin-inline: auto;
    padding: 28px 18px 40px;
    padding-left: var(--outer-gap);
    padding-right: calc(var(--sidebar-w) + var(--gutter) + var(--outer-gap));
    box-sizing: border-box;
    margin-right: calc(var(--sidebar-w) + var(--gutter));
    margin-left: var(--outer-gap);
}

/* ريسبونسف للتابلت/الموبايل */
@media (max-width:1200px) {
    :root[b-ho5s4soon4] {
        --sidebar-w: 260px;
        --gutter: 32px
    }
}

@media (max-width:992px) {
    :root[b-ho5s4soon4] {
        --sidebar-w: 0;
        --gutter: 0
    }

    .page-wrap[b-ho5s4soon4] {
        width: calc(100% - (var(--outer-gap)*2));
        margin-right: var(--outer-gap);
        margin-left: var(--outer-gap);
        padding-right: var(--outer-gap); /* ما في لوحة يمين */
    }
}

/* عناوين */
.page-title[b-ho5s4soon4] {
    margin: 0 0 4px;
    font-weight: 900;
    letter-spacing: .2px
}

    .page-title[b-ho5s4soon4]::after {
        content: "";
        display: block;
        width: 140px;
        height: 4px;
        border-radius: 999px;
        background: linear-gradient(90deg,var(--primary),#22c55e);
        margin: 8px auto 6px
    }

.section-title[b-ho5s4soon4] {
    margin: 18px 0 6px;
    font-weight: 900
}

.sub[b-ho5s4soon4] {
    color: var(--muted);
    margin-bottom: 18px
}

/* تنبيهات */
.notice[b-ho5s4soon4], .alert.ok[b-ho5s4soon4] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow-1)
}

.notice[b-ho5s4soon4] {
    color: #8a5a06;
    background: #fff3d4;
    border-color: #f2d48b
}

.alert.ok[b-ho5s4soon4] {
    color: #065f46;
    background: #eafcf2;
    border-color: #bfead1
}

/* شبكة الأنشطة */
.grid.activities-grid[b-ho5s4soon4] {
    display: grid;
    grid-template-columns: repeat(8,minmax(160px,1fr));
    gap: 12px;
    margin-bottom: 12px
}

@media (max-width:1400px) {
    .grid.activities-grid[b-ho5s4soon4] {
        grid-template-columns: repeat(6,minmax(160px,1fr))
    }
}

@media (max-width:1100px) {
    .grid.activities-grid[b-ho5s4soon4] {
        grid-template-columns: repeat(4,minmax(160px,1fr))
    }
}

@media (max-width:700px) {
    .grid.activities-grid[b-ho5s4soon4] {
        grid-template-columns: repeat(2,minmax(160px,1fr))
    }
}

.activity-card[b-ho5s4soon4] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 2px solid var(--line);
    box-shadow: var(--shadow-1);
    transition: transform .12s,box-shadow .2s,border-color .2s,background .2s;
    cursor: pointer;
    min-height: 64px
}

    .activity-card:hover[b-ho5s4soon4] {
        transform: translateY(-2px);
        border-color: #b9c3d9;
        box-shadow: var(--shadow-2);
        background: #fff
    }

    .activity-card .ico[b-ho5s4soon4] {
        width: 28px;
        text-align: center;
        font-size: 22px;
        line-height: 1;
        flex: 0 0 28px
    }

    .activity-card .info[b-ho5s4soon4] {
        display: flex;
        flex-direction: column;
        gap: 2px
    }

    .activity-card .title[b-ho5s4soon4] {
        font-weight: 900;
        line-height: 1.1
    }

    .activity-card .key[b-ho5s4soon4] {
        color: var(--muted);
        font-size: .82rem
    }

    .activity-card .toggle[b-ho5s4soon4] {
        margin-inline-start: auto;
        align-self: center
    }

/* شريط الحفظ sticky — احترم الهيدر الثابت */
.savebar[b-ho5s4soon4] {
    position: sticky;
    top: calc(var(--topbar-h) + 8px);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    margin: 12px 0;
    background: var(--surface);
    border: 2px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-2)
}

.path[b-ho5s4soon4] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700
}

    .path code[b-ho5s4soon4] {
        background: #f1f5f9;
        padding: 4px 8px;
        border-radius: 8px;
        border: 1px solid #e2e8f0;
        font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
        font-size: .85rem
    }

.path-label[b-ho5s4soon4] {
    color: #1e293b
}

.primary[b-ho5s4soon4] {
    background: linear-gradient(135deg,#2563eb,#3b82f6);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 11px 16px;
    font-weight: 900;
    letter-spacing: .2px;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(37,99,235,.25);
    transition: transform .08s,filter .2s,box-shadow .2s;
    display: inline-flex;
    align-items: center;
    gap: 10px
}

    .primary:hover[b-ho5s4soon4] {
        transform: translateY(-1px);
        filter: saturate(1.1);
        box-shadow: 0 14px 30px rgba(37,99,235,.32)
    }

.primary-lg[b-ho5s4soon4] {
    padding: 12px 20px;
    border-radius: 14px;
    font-size: 1rem
}

/* فاصل */
hr[b-ho5s4soon4] {
    border: none;
    border-top: 2px solid #cfd6e6;
    margin: 20px 0
}

/* الفلتر */
.toolbar[b-ho5s4soon4] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 4px 0 12px;
    background: #eef2ff80;
    border: 1px solid #c7d2fe;
    padding: 10px 12px;
    border-radius: 12px
}

.lbl[b-ho5s4soon4] {
    color: #1e293b;
    font-weight: 800
}

.input[b-ho5s4soon4], select.input[b-ho5s4soon4] {
    width: 260px;
    background: #fff;
    color: var(--text);
    border: 2px solid var(--line);
    border-radius: 12px;
    padding: 10px 12px;
    outline: none;
    transition: border-color .2s,box-shadow .2s,background .2s
}

    .input:focus[b-ho5s4soon4], select.input:focus[b-ho5s4soon4] {
        border-color: var(--primary);
        box-shadow: 0 0 0 4px rgba(37,99,235,.18)
    }

/* كارت إضافة واجب – بدون ::before عشان نتجنّب تراكب نص */
.card.form-card[b-ho5s4soon4] {
    background: var(--surface);
    border: 2px solid var(--line);
    border-radius: 20px;
    padding: 16px;
    box-shadow: var(--shadow-2)
}

.card-title[b-ho5s4soon4] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: -6px 0 12px;
    font-weight: 900;
    color: #1e293b
}

    .card-title .badge[b-ho5s4soon4] {
        display: inline-grid;
        place-items: center;
        width: 24px;
        height: 24px;
        border-radius: 8px;
        background: linear-gradient(90deg,var(--primary),#0ea5e9);
        color: #fff;
        font-weight: 900
    }

/* شبكة الحقول */
.grid-4[b-ho5s4soon4] {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr 1fr;
    gap: 12px
}

@media (max-width:1200px) {
    .grid-4[b-ho5s4soon4] {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width:650px) {
    .grid-4[b-ho5s4soon4] {
        grid-template-columns: 1fr
    }
}

/* الرفع */
.uploads[b-ho5s4soon4] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
    margin-top: 14px
}

.uploader[b-ho5s4soon4] {
    min-width: 300px;
    background: var(--surface-2);
    border: 2px dashed #b9c3d9;
    border-radius: 14px;
    padding: 12px
}

    .uploader.actions[b-ho5s4soon4] {
        min-width: auto;
        background: transparent;
        border: none;
        padding: 0
    }

    .uploader .lbl[b-ho5s4soon4] {
        color: var(--muted);
        font-size: .95rem;
        margin-bottom: 6px;
        display: block;
        font-weight: 800
    }

.thumb[b-ho5s4soon4] {
    display: block;
    margin-top: 8px;
    width: 180px;
    height: 110px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid var(--line)
}

.aud[b-ho5s4soon4] {
    display: block;
    margin-top: 8px;
    width: 280px
}

/* زر الإضافة */
.btn.add[b-ho5s4soon4] {
    background: #10b981;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 11px 16px;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(16,185,129,.22);
    cursor: pointer;
    transition: background .2s,transform .08s,box-shadow .2s
}

    .btn.add:hover[b-ho5s4soon4] {
        background: #059669;
        transform: translateY(-1px)
    }

/* بطاقات الواجبات */
.cards-grid[b-ho5s4soon4] {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit,minmax(340px,1fr));
    margin-top: 14px
}

.hw-card[b-ho5s4soon4] {
    background: var(--surface);
    border: 2px solid var(--line);
    border-radius: 20px;
    padding: 12px;
    box-shadow: var(--shadow-1);
    transition: transform .12s,box-shadow .2s,border-color .2s
}

    .hw-card:hover[b-ho5s4soon4] {
        transform: translateY(-2px);
        box-shadow: var(--shadow-2);
        border-color: #b9c3d9
    }

.hw-head[b-ho5s4soon4] {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.ts[b-ho5s4soon4] {
    color: var(--muted);
    font-size: .85rem;
    font-weight: 700
}

.chip[b-ho5s4soon4] {
    background: #e0e7ff;
    color: #3730a3;
    font-weight: 900;
    border-radius: 999px;
    padding: 4px 12px;
    font-size: .82rem
}

.hw-title[b-ho5s4soon4] {
    margin: 10px 0 6px;
    font-weight: 900;
    font-size: 1.05rem
}

.ok[b-ho5s4soon4] {
    color: var(--ok);
    font-weight: 900;
    margin-bottom: 6px
}

.hw-img[b-ho5s4soon4] {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 14px;
    border: 2px solid var(--line);
    margin: 8px 0
}

.hw-audio[b-ho5s4soon4] {
    width: 100%;
    margin-top: 6px
}

/* حذف */
.btn.danger[b-ho5s4soon4] {
    background: #fff;
    color: var(--danger);
    border: 2px solid #f2b3b3;
    border-radius: 12px;
    padding: 9px 12px;
    font-weight: 900;
    cursor: pointer;
    transition: background .2s,color .2s,border-color .2s
}

    .btn.danger:hover[b-ho5s4soon4] {
        background: #fff1f1;
        border-color: #ec9a9a
    }

/* Toggle */
.toggle[b-ho5s4soon4] {
    appearance: none;
    width: 56px;
    height: 30px;
    background: #e2e8f0;
    border: 2px solid #cbd5e1;
    border-radius: 999px;
    position: relative;
    cursor: pointer;
    outline: none;
    transition: background .2s,border-color .2s,box-shadow .2s;
    flex: 0 0 auto
}

    .toggle[b-ho5s4soon4]::after {
        content: "";
        position: absolute;
        inset: 3px;
        width: 24px;
        height: 24px;
        background: #fff;
        border-radius: 50%;
        box-shadow: 0 2px 6px rgba(0,0,0,.12);
        transform: translateX(0);
        transition: transform .22s cubic-bezier(.2,.8,.2,1)
    }

    .toggle:checked[b-ho5s4soon4] {
        background: #93c5fd;
        border-color: #60a5fa;
        box-shadow: 0 0 0 4px rgba(37,99,235,.20)
    }

        .toggle:checked[b-ho5s4soon4]::after {
            transform: translateX(-24px)
        }

/* حقول النص */
.input[b-ho5s4soon4] {
    width: 100%;
    font-weight: 800
}

/* شريط التحكم أعلى القائمة */
.list-toolbar[b-ho5s4soon4] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 8px 0 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 10px 12px;
    border-radius: 12px
}

    .list-toolbar .search[b-ho5s4soon4] {
        max-width: 320px
    }

    .list-toolbar .spacer[b-ho5s4soon4] {
        flex: 1
    }

.pager[b-ho5s4soon4] {
    display: flex;
    align-items: center;
    gap: 8px
}

.pg[b-ho5s4soon4], .pg-size[b-ho5s4soon4] {
    background: #fff;
    border: 2px solid var(--line);
    border-radius: 10px;
    padding: 6px 10px;
    font-weight: 800;
    cursor: pointer
}

    .pg:disabled[b-ho5s4soon4] {
        opacity: .5;
        cursor: not-allowed
    }

.pg-info[b-ho5s4soon4] {
    font-weight: 900
}

/* عنوان كل مجموعة */
.group-title[b-ho5s4soon4] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0 8px;
    font-weight: 900
}

    .group-title .count[b-ho5s4soon4] {
        color: var(--muted);
        font-weight: 700
    }

/* شبكة الكروت (نسخة مدمجة) */
.cards-grid.compact[b-ho5s4soon4] {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

/* الكارت: قوام ثابت وفوتر */
.hw-card[b-ho5s4soon4] {
    display: flex;
    flex-direction: column;
    min-height: 380px
}

.hw-title[b-ho5s4soon4] {
    margin: 8px 0 6px;
    font-weight: 900;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hw-img[b-ho5s4soon4] {
    height: 160px
}
/* أصغر لملائمة الشبكة */
.hw-audio[b-ho5s4soon4] {
    width: 100%;
    margin-top: 6px
}

.hw-foot[b-ho5s4soon4] {
    margin-top: auto;
    display: flex;
    justify-content: flex-end
}

.chip.small[b-ho5s4soon4] {
    padding: 3px 10px;
    font-size: .78rem
}


/* ===== تنسيق وضع تعديل الفيديو داخل الكارت ===== */

.hw-card.editing[b-ho5s4soon4] {
    min-height: auto;
}

.hw-card .vg-edit[b-ho5s4soon4] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* شبكة الحقول داخل الكارت: عمود واحد على الشاشات الصغيرة */
.hw-card .grid-edit[b-ho5s4soon4] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

/* تكبير الشبكة تدريجيًا حسب العرض */
@media (min-width: 900px) {
    .hw-card .grid-edit[b-ho5s4soon4] {
        grid-template-columns: 1.2fr 1fr 1fr 0.8fr; /* عنوان، رابط، مادة، مدة */
    }
}

/* رفع الصورة داخل الكارت بعرض الكارت */
.hw-card .edit-uploads[b-ho5s4soon4] {
    margin-top: 8px;
    gap: 10px;
}

    .hw-card .edit-uploads .uploader[b-ho5s4soon4] {
        min-width: 0; /* يلغي الـ min-width:300px داخل الكارت */
        width: 100%;
        padding: 10px;
    }

/* صورة مصغرة أصغر قليلًا داخل الكارت */
.hw-card .thumb[b-ho5s4soon4] {
    width: 160px;
    height: 100px;
}

/* أزرار الحفظ/الإلغاء */
.hw-card .edit-actions[b-ho5s4soon4] {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.hw-card .btn[b-ho5s4soon4] {
    background: #fff;
    border: 2px solid var(--line);
    border-radius: 12px;
    padding: 9px 12px;
    font-weight: 900;
    cursor: pointer;
}

    .hw-card .btn.ok[b-ho5s4soon4] {
        background: #10b981;
        color: #fff;
        border-color: transparent;
    }

        .hw-card .btn.ok:hover[b-ho5s4soon4] {
            filter: brightness(1.05);
        }


/* 1) داخل كارت التعديل: خلّي كل الحقول تاخد كامل العرض */
.hw-card .grid-edit .input[b-ho5s4soon4],
.hw-card .grid-edit select.input[b-ho5s4soon4] {
    width: 100% !important; /* يلغي 260px القديمة */
    min-width: 0; /* يمنع overflow جوّه grid */
}

/* 2) شكل صندوق التعديل داخل الكارت */
.hw-card.editing .hw-head[b-ho5s4soon4] {
    margin-bottom: 8px;
}

.hw-card .vg-edit[b-ho5s4soon4] {
    margin-top: 6px;
    padding: 10px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px; /* فراغ واضح بين الصفوف */
}

/* شبكة الحقول – تبدأ عمود واحد، وتكبر على الشاشات الأوسع */
.hw-card .grid-edit[b-ho5s4soon4] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

@media (min-width: 900px) {
    .hw-card .grid-edit[b-ho5s4soon4] {
        grid-template-columns: 1fr 1fr;
    }
}


/* منطقة الرفع والأزرار بفراغ واضح */
.hw-card .edit-uploads[b-ho5s4soon4] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-end;
}

    .hw-card .edit-uploads .uploader[b-ho5s4soon4] {
        min-width: 0; /* يلغي 300px داخل الكارت */
        width: 100%;
        padding: 10px;
    }

/* أزرار حفظ/إلغاء محاذاة يمين وبمسافات */
.hw-card .edit-actions[b-ho5s4soon4] {
    margin-inline-start: auto;
    display: flex;
    gap: 8px;
}
/* _content/LearnPlay/Pages/Admin/Redirects.razor.rz.scp.css */
:root[b-sf0n1yzfg4] {
    --r-border: #e6e7ea;
    --r-muted: #64748b;
    --r-card: #fff;
    --r-shadow: 0 16px 40px rgba(2,6,23,.06);
    --r-primary: #ff8c42;
    --r-primary-2: #ff6b2d;
    --r-green: #16a34a;
    --r-red: #dc2626;
    --r-amber: #f59e0b;
}

.card[b-sf0n1yzfg4] {
    background: var(--r-card);
    border: 1px solid var(--r-border);
    border-radius: 14px;
    box-shadow: var(--r-shadow);
    padding: 14px;
}

    .card.sticky[b-sf0n1yzfg4] {
        position: sticky;
        top: 110px;
        height: fit-content;
    }

.card__head[b-sf0n1yzfg4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed #e5e7eb;
    padding-bottom: 8px;
    margin-bottom: 10px;
}

    .card__head h3[b-sf0n1yzfg4] {
        margin: 0;
        font-size: 18px;
        font-weight: 900;
    }

.card__actions[b-sf0n1yzfg4] {
    display: flex;
    gap: 8px;
}

.redir-header.card[b-sf0n1yzfg4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    margin: 10px 0 14px;
    background: linear-gradient(180deg,#fff7ec 0,#fff 36%);
    position: relative;
    overflow: hidden;
}

    .redir-header.card[b-sf0n1yzfg4]::before {
        content: "";
        position: absolute;
        inset: 0 0 auto 0;
        height: 6px;
        background: linear-gradient(90deg,#22c55e,#3b82f6 45%,#a855f7 80%,#f59e0b);
    }

.redir-header h1[b-sf0n1yzfg4] {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 900;
    color: #0f172a;
}

    .redir-header h1 span[b-sf0n1yzfg4] {
        color: var(--r-primary-2);
    }

.redir-header p[b-sf0n1yzfg4] {
    margin: 0;
    color: var(--r-muted);
}

.stat[b-sf0n1yzfg4] {
    text-align: center;
    background: #fff;
    border: 1px solid var(--r-border);
    padding: 10px 14px;
    border-radius: 12px;
    box-shadow: var(--r-shadow);
}

.stat__num[b-sf0n1yzfg4] {
    font-size: 24px;
    font-weight: 900;
}

.stat__lbl[b-sf0n1yzfg4] {
    font-size: 12px;
    color: var(--r-muted);
}

.redir-grid[b-sf0n1yzfg4] {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 14px;
}

@media (max-width:1000px) {
    .redir-grid[b-sf0n1yzfg4] {
        grid-template-columns: 1fr;
    }

    .card.sticky[b-sf0n1yzfg4] {
        position: relative;
        top: auto;
    }
}

.form-grid[b-sf0n1yzfg4] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.field[b-sf0n1yzfg4] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .field.span-2[b-sf0n1yzfg4] {
        grid-column: 1 / -1;
    }

label[b-sf0n1yzfg4] {
    font-weight: 800;
    color: #0f172a;
}

.hint[b-sf0n1yzfg4] {
    color: var(--r-muted);
    font-size: 12px;
}

.req[b-sf0n1yzfg4] {
    color: var(--r-red);
    margin-inline-start: 4px;
}

.inp[b-sf0n1yzfg4] {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--r-border);
    border-radius: 12px;
    background: #fbfbfd;
    padding: 10px 12px;
    outline: none;
    transition: border .15s, box-shadow .15s, background .15s;
}

    .inp:focus[b-sf0n1yzfg4] {
        background: #fff;
        border-color: var(--r-primary-2);
        box-shadow: 0 0 0 3px rgba(255,140,66,.18);
    }

.chk[b-sf0n1yzfg4] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #1f2937;
}

.btn[b-sf0n1yzfg4] {
    -webkit-appearance: none;
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--r-border);
    background: #fff;
    color: #0f172a;
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 900;
    cursor: pointer;
    transition: transform .06s, box-shadow .15s, background .15s, border-color .15s;
}

    .btn:hover[b-sf0n1yzfg4] {
        transform: translateY(-1px);
        box-shadow: 0 10px 22px rgba(2,6,23,.08);
    }

    .btn.primary[b-sf0n1yzfg4] {
        background: var(--r-primary);
        border-color: var(--r-primary);
        color: #fff;
    }

        .btn.primary:hover[b-sf0n1yzfg4] {
            background: var(--r-primary-2);
            border-color: var(--r-primary-2);
        }

    .btn.ghost[b-sf0n1yzfg4] {
        background: #fff;
    }

        .btn.ghost:hover[b-sf0n1yzfg4] {
            background: #f8fafc;
        }

.alert[b-sf0n1yzfg4] {
    margin: 8px 0 10px;
    padding: 10px 12px;
    border-radius: 12px;
    font-weight: 800;
    border: 1px solid #d1fae5;
    background: #ecfdf5;
    color: #065f46;
}

.preview[b-sf0n1yzfg4] {
    border: 1px dashed #e5e7eb;
    border-radius: 12px;
    padding: 10px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .preview .pill[b-sf0n1yzfg4] {
        align-self: flex-start;
        font-size: 12px;
        font-weight: 800;
        color: #334155;
        background: #f1f5f9;
        padding: 2px 8px;
        border-radius: 999px;
    }

.preview-row[b-sf0n1yzfg4] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.url[b-sf0n1yzfg4] {
    font-weight: 800;
}

    .url.from[b-sf0n1yzfg4] {
        color: #991b1b;
    }

    .url.to[b-sf0n1yzfg4] {
        color: #065f46;
    }

.arrow[b-sf0n1yzfg4] {
    font-weight: 900;
    color: #334155;
}

.code[b-sf0n1yzfg4] {
    font-weight: 900;
    color: #0f172a;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 3px 8px;
}

.badge[b-sf0n1yzfg4] {
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

    .badge.on[b-sf0n1yzfg4] {
        background: #dcfce7;
        color: #166534;
        border: 1px solid #bbf7d0;
    }

    .badge.off[b-sf0n1yzfg4] {
        background: #fee2e2;
        color: #991b1b;
        border: 1px solid #fecaca;
    }

.table-wrap[b-sf0n1yzfg4] {
    overflow: auto;
}

.redir-table[b-sf0n1yzfg4] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

    .redir-table thead th[b-sf0n1yzfg4] {
        text-align: right;
        font-weight: 900;
        color: #0f172a;
        background: #f8fafc;
        border-bottom: 1px solid #e5e7eb;
        padding: 10px;
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .redir-table tbody td[b-sf0n1yzfg4] {
        padding: 10px;
        border-bottom: 1px dashed #e5e7eb;
        vertical-align: middle;
    }

    .redir-table tr.muted td[b-sf0n1yzfg4] {
        opacity: .6;
    }

.t-actions[b-sf0n1yzfg4] {
    white-space: nowrap;
}

.mono[b-sf0n1yzfg4] {
    font-family: ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}

.tag[b-sf0n1yzfg4] {
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    border: 1px solid transparent;
}

    .tag.good[b-sf0n1yzfg4] {
        background: #dcfce7;
        color: #166534;
        border-color: #bbf7d0;
    }

    .tag.warn[b-sf0n1yzfg4] {
        background: #fef3c7;
        color: #b45309;
        border-color: #fde68a;
    }

.empty[b-sf0n1yzfg4] {
    padding: 12px;
    text-align: center;
    border: 1px dashed #e5e7eb;
    border-radius: 12px;
    color: var(--r-muted);
}

.skeleton[b-sf0n1yzfg4] {
    padding: 16px;
    border: 1px dashed #e5e7eb;
    border-radius: 12px;
    color: #64748b;
}
/* _content/LearnPlay/Pages/Admin/SeoDashboard.razor.rz.scp.css */
/* ===== لوحة SEO – تصميم احترافي متناسق مع الهيدر ===== */
:root[b-4oiukv7kur] {
    --seo-bg: #fff8f1;
    --seo-card: #ffffff;
    --seo-border: #e6e7ea;
    --seo-shadow: 0 16px 40px rgba(2,6,23,.06);
    --seo-primary: #ff8c42; /* متناسق مع الهيدر */
    --seo-primary-2: #ff6b2d;
    --seo-muted: #64748b;
    --seo-green: #16a34a;
    --seo-red: #dc2626;
    --seo-amber: #f59e0b;
}

.seo-header.card[b-4oiukv7kur] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    border: 1px solid var(--seo-border);
    border-radius: 16px;
    background: linear-gradient(180deg,#fff7ec 0,#fff 36%);
    box-shadow: var(--seo-shadow);
    margin: 10px 0 14px;
    position: relative;
    overflow: hidden;
}

    .seo-header.card[b-4oiukv7kur]::before {
        content: "";
        position: absolute;
        inset: 0 0 auto 0;
        height: 6px;
        background: linear-gradient(90deg,#22c55e,#3b82f6 45%,#a855f7 80%,#f59e0b);
    }

.seo-header h1[b-4oiukv7kur] {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 900;
    color: #0f172a;
}

    .seo-header h1 span[b-4oiukv7kur] {
        color: var(--seo-primary-2);
    }

.seo-header p[b-4oiukv7kur] {
    margin: 0;
    color: var(--seo-muted);
}

.stat[b-4oiukv7kur] {
    text-align: center;
    background: #fff;
    border: 1px solid var(--seo-border);
    padding: 10px 14px;
    border-radius: 12px;
    box-shadow: var(--seo-shadow);
}

.stat__num[b-4oiukv7kur] {
    font-size: 24px;
    font-weight: 900;
}

.stat__lbl[b-4oiukv7kur] {
    font-size: 12px;
    color: var(--seo-muted);
}

.seo-grid[b-4oiukv7kur] {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 14px;
}

/* ===== Cards ===== */
.card[b-4oiukv7kur] {
    background: var(--seo-card);
    border: 1px solid var(--seo-border);
    border-radius: 14px;
    box-shadow: var(--seo-shadow);
    padding: 14px;
    position: relative;
    overflow: hidden;
}

    .card.sticky[b-4oiukv7kur] {
        position: sticky;
        top: 110px;
        height: fit-content;
    }

.card__head[b-4oiukv7kur] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed #e5e7eb;
    padding-bottom: 8px;
    margin-bottom: 10px;
}

    .card__head h3[b-4oiukv7kur] {
        margin: 0;
        font-size: 18px;
        font-weight: 900;
    }

.card__actions[b-4oiukv7kur] {
    display: flex;
    gap: 8px;
}

/* ===== Form grid ===== */
.form-grid[b-4oiukv7kur] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.field[b-4oiukv7kur] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .field.compact[b-4oiukv7kur] {
        gap: 8px;
    }

    .field span.req[b-4oiukv7kur] {
        color: var(--seo-red);
        margin-inline-start: 4px;
    }

    .field.span-2[b-4oiukv7kur] {
        grid-column: 1 / -1;
    }

.form-actions[b-4oiukv7kur] {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

label[b-4oiukv7kur] {
    font-weight: 800;
    color: #0f172a;
}

.hint[b-4oiukv7kur] {
    color: var(--seo-muted);
    font-size: 12px;
}

/* Inputs */
.inp[b-4oiukv7kur] {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--seo-border);
    border-radius: 12px;
    background: #fbfbfd;
    padding: 10px 12px;
    outline: none;
    transition: border .15s, box-shadow .15s, background .15s;
}

    .inp:focus[b-4oiukv7kur] {
        background: #fff;
        border-color: var(--seo-primary-2);
        box-shadow: 0 0 0 3px rgba(255,140,66,.18);
    }

.mono[b-4oiukv7kur] {
    font-family: ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}

/* Checkboxes row */
.checks[b-4oiukv7kur] {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.chk[b-4oiukv7kur] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #1f2937;
}

/* Buttons */
.btn[b-4oiukv7kur] {
    -webkit-appearance: none;
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--seo-border);
    background: #fff;
    color: #0f172a;
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 900;
    cursor: pointer;
    transition: transform .06s, box-shadow .15s, background .15s, border-color .15s;
}

    .btn:hover[b-4oiukv7kur] {
        transform: translateY(-1px);
        box-shadow: 0 10px 22px rgba(2,6,23,.08);
    }

    .btn.primary[b-4oiukv7kur] {
        background: var(--seo-primary);
        border-color: var(--seo-primary);
        color: #fff;
    }

        .btn.primary:hover[b-4oiukv7kur] {
            background: var(--seo-primary-2);
            border-color: var(--seo-primary-2);
        }

    .btn.ghost[b-4oiukv7kur] {
        background: #fff;
    }

        .btn.ghost:hover[b-4oiukv7kur] {
            background: #f8fafc;
        }

/* Alerts */
.alert[b-4oiukv7kur] {
    margin: 8px 0 10px;
    padding: 10px 12px;
    border-radius: 12px;
    font-weight: 800;
    border: 1px solid #d1fae5;
    background: #ecfdf5;
    color: #065f46;
}

    .alert.ok[b-4oiukv7kur] {
    }

/* ===== Right list ===== */
.list[b-4oiukv7kur] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .list .empty[b-4oiukv7kur] {
        padding: 12px;
        text-align: center;
        border: 1px dashed #e5e7eb;
        border-radius: 12px;
        color: var(--seo-muted);
    }

.list-item[b-4oiukv7kur] {
    text-align: right;
    border: 1px solid #f3f4f6;
    background: #fff;
    border-radius: 12px;
    padding: 10px 12px;
    cursor: pointer;
    transition: .12s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

    .list-item:hover[b-4oiukv7kur] {
        transform: translateY(-2px);
        box-shadow: 0 10px 22px rgba(2,6,23,.08);
        border-color: #e5e7eb;
    }

    .list-item .path[b-4oiukv7kur] {
        font-weight: 900;
        color: #0f172a;
    }

.labels[b-4oiukv7kur] {
    display: flex;
    gap: 6px;
}

.tag[b-4oiukv7kur] {
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

    .tag.bad[b-4oiukv7kur] {
        background: #fee2e2;
        color: #991b1b;
        border: 1px solid #fecaca;
    }

    .tag.warn[b-4oiukv7kur] {
        background: #fff7ed;
        color: #b45309;
        border: 1px solid #fed7aa;
    }

/* ===== SERP Preview (شكل نتيجة جوجل) ===== */
.serp-preview[b-4oiukv7kur] {
    margin-top: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(2,6,23,.06);
    direction: ltr;
    font-family: Arial, sans-serif;
}

.serp-url[b-4oiukv7kur] {
    font-size: 12px;
    color: #155724;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.serp-title[b-4oiukv7kur] {
    color: #1a0dab;
    font-size: 18px;
    line-height: 1.3;
    margin: 2px 0 4px;
    font-weight: 700;
}

.serp-desc[b-4oiukv7kur] {
    color: #4d5156;
    font-size: 13px;
    line-height: 1.4;
}


/* ===== Responsive ===== */
@media (max-width: 1000px) {
    .seo-grid[b-4oiukv7kur] {
        grid-template-columns: 1fr;
    }

    .card.sticky[b-4oiukv7kur] {
        position: relative;
        top: auto;
    }

    .form-grid[b-4oiukv7kur] {
        grid-template-columns: 1fr;
    }

    .field.span-2[b-4oiukv7kur] {
        grid-column: auto;
    }
}
/* _content/LearnPlay/Pages/Admin/StagesAdmin.razor.rz.scp.css */
/* =============== StagesAdmin =============== */
:host[b-1fjnd4hk1i] {
    display: block;
    max-width: 1000px;
    margin: 20px auto 40px;
    padding: 0 14px;
    font-family: 'Cairo', system-ui;
    color: #1f2937;
}

/* ===== العنوان العام ===== */
h3[b-1fjnd4hk1i] {
    margin: 0 0 10px;
    font-weight: 900;
    color: #1f2937;
    letter-spacing: .2px;
}

    h3[b-1fjnd4hk1i]::before {
        content: "🎓 ";
    }

/* ===== عناصر الإدخال ===== */
label[b-1fjnd4hk1i] {
    font-weight: 800;
    color: #374151;
    margin: 10px 0 6px;
    display: block;
}

InputSelect[b-1fjnd4hk1i], select[b-1fjnd4hk1i],
input[type=text][b-1fjnd4hk1i], input[type=number][b-1fjnd4hk1i] {
    width: 100%;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 10px 12px;
    font-weight: 700;
    color: #111827;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
    transition: border-color .12s ease, box-shadow .12s ease, background-color .12s ease;
}

input[b-1fjnd4hk1i]::placeholder {
    color: #9ca3af;
}

select:focus[b-1fjnd4hk1i], input:focus[b-1fjnd4hk1i] {
    outline: 3px solid rgba(124,58,237,.25);
    outline-offset: 1px;
    border-color: #c7b7ff;
    box-shadow: 0 0 0 3px rgba(124,58,237,.10);
}

/* ===== حاوية الشبكة (اختيار الدولة + نموذج الإضافة) ===== */
.grid[b-1fjnd4hk1i] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
    gap: 10px;
}

/* كروت خفيفة حول الـ grid و EditForm */
.grid[b-1fjnd4hk1i], EditForm[b-1fjnd4hk1i] {
    background: linear-gradient(180deg,#ffffff 0%,#f7f3ff 100%);
    border: 1px solid #eadfff;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 10px 24px rgba(17,24,39,.06);
    margin-bottom: 12px;
}

/* ===== الأزرار ===== */
button[b-1fjnd4hk1i] {
    border: 0;
    border-radius: 12px;
    padding: 10px 14px;
    font-weight: 900;
    cursor: pointer;
    background: linear-gradient(90deg,#6A1B9A,#7c3aed);
    color: #fff;
    box-shadow: 0 8px 18px rgba(124,58,237,.25);
    transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease, filter .12s ease;
}

    button:hover[b-1fjnd4hk1i] {
        transform: translateY(-1px);
        box-shadow: 0 12px 24px rgba(124,58,237,.28);
    }

    button:active[b-1fjnd4hk1i] {
        transform: translateY(0);
        filter: saturate(1.05);
    }

    button[disabled][b-1fjnd4hk1i] {
        opacity: .6;
        cursor: not-allowed;
    }

    button + button[b-1fjnd4hk1i] {
        margin-inline-start: 6px;
    }

.btn-danger[b-1fjnd4hk1i] {
    background: linear-gradient(90deg,#ef4444,#dc2626);
    box-shadow: 0 8px 18px rgba(239,68,68,.25);
}

    .btn-danger:hover[b-1fjnd4hk1i] {
        box-shadow: 0 12px 24px rgba(239,68,68,.32);
    }

/* ===== الجدول ===== */
.table[b-1fjnd4hk1i] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(17,24,39,.06);
}

    .table thead th[b-1fjnd4hk1i] {
        background: linear-gradient(180deg,#faf7ff 0%, #f3efff 100%);
        border-bottom: 1px solid #eee;
        padding: 12px 10px;
        text-align: right;
        font-weight: 900;
        color: #3a2f2f;
    }

    .table td[b-1fjnd4hk1i] {
        padding: 10px;
        border-bottom: 1px solid #f3f4f6;
        vertical-align: middle;
    }

    .table tr:last-child td[b-1fjnd4hk1i] {
        border-bottom: 0;
    }

/* ===== رأس الصفحة + شريط الروابط ===== */
.page-head[b-1fjnd4hk1i] {
    text-align: center;
    margin: 0 0 16px;
}

.page-title[b-1fjnd4hk1i] {
    margin: 0 0 10px;
    font-weight: 900;
    color: #1f2937;
    letter-spacing: .2px;
}

/* كارد يحتضن الروابط */
.toolbar-card[b-1fjnd4hk1i] {
    display: inline-block;
    background: linear-gradient(180deg,#ffffff 0%, #fbfaff 100%);
    border: 1px solid #eee7ff;
    border-radius: 18px;
    padding: 10px 12px;
    box-shadow: 0 10px 24px rgba(124,58,237,.09);
}

/* شريط الروابط */
.admin-toolbar[b-1fjnd4hk1i] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* زر رابط (pill) */
.link-btn[b-1fjnd4hk1i] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
    color: #4b3f7a;
    background: linear-gradient(180deg,#ffffff 0%,#f9f7ff 100%);
    border: 1px solid #e9ddff;
    box-shadow: 0 2px 10px rgba(124,58,237,.10), inset 0 1px 0 rgba(255,255,255,.9);
    transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease, border-color .12s ease, color .12s ease;
}

    .link-btn .ico[b-1fjnd4hk1i] {
        font-size: 18px;
        line-height: 1;
    }

    .link-btn:hover[b-1fjnd4hk1i] {
        transform: translateY(-1px);
        border-color: #d8c9ff;
        background: linear-gradient(180deg,#ffffff 0%,#f3ecff 100%);
        box-shadow: 0 10px 18px rgba(124,58,237,.16);
    }

    .link-btn:focus-visible[b-1fjnd4hk1i] {
        outline: 3px solid rgba(124,58,237,.25);
        outline-offset: 2px;
    }
    /* حالة NavLink النشطة */
    .link-btn.is-active[b-1fjnd4hk1i] {
        color: #fff;
        border-color: #7c3aed;
        background: linear-gradient(90deg,#6a1b9a,#7c3aed);
        box-shadow: 0 10px 22px rgba(124,58,237,.28), inset 0 1px 0 rgba(255,255,255,.15);
    }

/* ===== التنبيهات ===== */
.alert[b-1fjnd4hk1i] {
    margin: 10px 0 6px;
    padding: 10px 12px;
    border-radius: 12px;
    font-weight: 800;
    border: 1px solid #e5e7eb;
    background: #fff;
}

    .alert.ok[b-1fjnd4hk1i] {
        border-color: #bbf7d0;
        background: #ecfdf5;
        color: #065f46;
    }

    .alert.error[b-1fjnd4hk1i] {
        border-color: #fecaca;
        background: #fef2f2;
        color: #991b1b;
    }

/* ===== استجابة الشاشات الصغيرة ===== */
@media (max-width: 520px) {
    .link-btn[b-1fjnd4hk1i] {
        padding: 9px 14px;
    }

        .link-btn .ico[b-1fjnd4hk1i] {
            font-size: 16px;
        }
}
/* _content/LearnPlay/Pages/Admin/SubjectsAdmin.razor.rz.scp.css */
/* ===== SubjectsAdmin (Light Theme - Final Version) ===== */

.lp-sj.light[b-px75ff1dec] {
    --bg: #fff8f0; /* خلفية الصفحة نفس لون LearnPlay */
    --surface: #ffffff; /* الكروت والجدول */
    --text: #1e1e1e; /* النصوص الرئيسية */
    --muted: #666; /* النصوص الثانوية */
    --line: #e2e8f0; /* الحدود */
    --primary: #f59e0b; /* برتقالي LearnPlay */
    --primary-hover: #d97706; /* برتقالي أغمق عند hover */
    --ok: #22c55e; /* أخضر */
    --danger: #ef4444; /* أحمر */
    --shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
}

    .lp-sj.light.subjects-wrap[b-px75ff1dec] {
        max-width: 1050px;
        margin: 30px auto 100px;
        padding: 0 16px;
        color: var(--text);
        background: var(--bg);
    }

    /* العنوان */
    .lp-sj.light .head[b-px75ff1dec] {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        margin-bottom: 16px;
    }

        .lp-sj.light .head h2[b-px75ff1dec] {
            font-size: 1.8rem;
            color: var(--primary);
            margin: 0;
        }

        .lp-sj.light .head .sub[b-px75ff1dec] {
            color: var(--muted);
            font-size: 0.95rem;
        }

    /* الشريحة والإحصاءات */
    .lp-sj.light .chip[b-px75ff1dec] {
        background: #fff3da;
        border: 1px solid var(--line);
        border-radius: 999px;
        padding: 7px 14px;
        font-weight: 600;
        color: var(--primary);
        box-shadow: var(--shadow);
    }

    /* شريط الأدوات */
    .lp-sj.light .toolbar[b-px75ff1dec] {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 16px;
        align-items: center;
        margin: 20px 0;
    }

@media (max-width:760px) {
    .lp-sj.light .toolbar[b-px75ff1dec] {
        grid-template-columns: 1fr;
    }
}

/* المربعات */
.lp-sj.light .add-box[b-px75ff1dec],
.lp-sj.light .search-box[b-px75ff1dec] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lp-sj.light .input[b-px75ff1dec] {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 0.95rem;
    color: var(--text);
    width: 100%;
    box-shadow: var(--shadow);
    transition: border-color 0.2s, box-shadow 0.2s;
}

    .lp-sj.light .input:focus[b-px75ff1dec] {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
        outline: none;
    }

/* الأزرار */
.lp-sj.light .btn[b-px75ff1dec] {
    border: none;
    border-radius: 12px;
    padding: 10px 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

    .lp-sj.light .btn.primary[b-px75ff1dec] {
        background: var(--primary);
        color: #fff;
    }

        .lp-sj.light .btn.primary:hover[b-px75ff1dec] {
            background: var(--primary-hover);
        }

    .lp-sj.light .btn.ok[b-px75ff1dec] {
        background: var(--ok);
        color: #fff;
    }

    .lp-sj.light .btn.danger[b-px75ff1dec] {
        background: var(--danger);
        color: #fff;
    }

    .lp-sj.light .btn.ghost[b-px75ff1dec] {
        background: transparent;
        border: 1px dashed var(--primary);
        color: var(--primary);
    }

/* الجدول */
.lp-sj.light .tbl[b-px75ff1dec] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

    .lp-sj.light .tbl thead th[b-px75ff1dec] {
        text-align: right;
        color: var(--muted);
        font-weight: 600;
        padding: 10px 12px;
    }

    .lp-sj.light .tbl tbody tr[b-px75ff1dec] {
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: 12px;
        box-shadow: var(--shadow);
        transition: transform 0.15s ease, box-shadow 0.25s ease;
    }

        .lp-sj.light .tbl tbody tr:hover[b-px75ff1dec] {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        }

    .lp-sj.light .tbl td[b-px75ff1dec] {
        padding: 14px 12px;
        vertical-align: middle;
    }

    .lp-sj.light .tbl .idcell[b-px75ff1dec] {
        color: var(--muted);
        width: 60px;
    }

.lp-sj.light .actions[b-px75ff1dec] {
    display: flex;
    gap: 8px;
}

/* الرسائل */
.lp-sj.light .alert.ok[b-px75ff1dec] {
    background: #eafbe7;
    border: 1px solid #a5f0b2;
    color: #0d4d25;
    border-radius: 12px;
    padding: 10px 14px;
    margin: 10px 0 14px;
}

/* الحالة الفارغة */
.lp-sj.light .empty[b-px75ff1dec] {
    background: var(--surface);
    color: var(--muted);
    text-align: center;
    border: 1px dashed var(--line);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow);
}

    .lp-sj.light .empty .emoji[b-px75ff1dec] {
        font-size: 32px;
        margin-bottom: 8px;
    }


/* زر الإضافة أسفل الحقل */
.add-box[b-px75ff1dec] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    max-width: 350px;
}

.btn-wrap[b-px75ff1dec] {
    width: 100%;
}

.btn.full[b-px75ff1dec] {
    width: 100%;
    text-align: center;
}
/* _content/LearnPlay/Pages/Admin/YearsAdmin.razor.rz.scp.css */
/* =============== YearsAdmin =============== */
:host[b-pps05qgy8j] {
    display: block;
    max-width: 760px;
    margin: 20px auto 40px;
    padding: 0 14px;
    font-family: 'Cairo',system-ui
}

h3[b-pps05qgy8j] {
    margin: 0 0 10px;
    font-weight: 900;
    color: #2b2b2b
}

    h3[b-pps05qgy8j]::before {
        content: "🗓️ ";
    }

.grid[b-pps05qgy8j] {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 10px
}

.grid[b-pps05qgy8j] {
    background: linear-gradient(180deg,#fff 0%,#faf7ff 100%);
    border: 1px solid #ede9fe;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 10px 24px rgba(17,24,39,.06);
    margin-bottom: 12px
}

label[b-pps05qgy8j] {
    font-weight: 800;
    color: #444;
    margin-bottom: 6px;
    display: block
}

input[type=number][b-pps05qgy8j] {
    width: 100%;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 10px 12px;
    font-weight: 700;
    color: #222
}

input:focus[b-pps05qgy8j] {
    outline: 3px solid rgba(124,58,237,.25);
    border-color: #d7c7ff
}

button[b-pps05qgy8j] {
    border: 0;
    border-radius: 12px;
    padding: 10px 14px;
    font-weight: 900;
    cursor: pointer;
    background: linear-gradient(90deg,#6A1B9A,#7c3aed);
    color: #fff;
    box-shadow: 0 8px 18px rgba(124,58,237,.25)
}

    button + button[b-pps05qgy8j] {
        margin-inline-start: 6px
    }

.btn-danger[b-pps05qgy8j] {
    background: #ef4444
}

.table[b-pps05qgy8j] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(17,24,39,.06)
}

    .table thead th[b-pps05qgy8j] {
        background: #faf7ff;
        border-bottom: 1px solid #eee;
        padding: 12px 10px;
        text-align: right;
        font-weight: 900
    }

    .table td[b-pps05qgy8j] {
        padding: 10px;
        border-bottom: 1px solid #f3f4f6
    }

    .table tr:last-child td[b-pps05qgy8j] {
        border-bottom: 0
    }


/* ===== رأس الصفحة + الروابط أسفله مباشرة ===== */
.page-head[b-pps05qgy8j] {
    text-align: center;
    margin: 0 0 16px;
}

.page-title[b-pps05qgy8j] {
    margin: 0 0 10px;
    font-weight: 900;
    color: #2b2b2b;
}

/* كارد خفيف يحتضن الروابط */
.toolbar-card[b-pps05qgy8j] {
    display: inline-block;
    background: linear-gradient(180deg,#ffffff 0%, #fbfaff 100%);
    border: 1px solid #eee7ff;
    border-radius: 18px;
    padding: 10px 12px;
    box-shadow: 0 10px 24px rgba(124,58,237,.09);
}

/* شريط الروابط */
.admin-toolbar[b-pps05qgy8j] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* زر رابط (pill) */
.link-btn[b-pps05qgy8j] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
    color: #4b3f7a;
    background: linear-gradient(180deg,#ffffff 0%,#f9f7ff 100%);
    border: 1px solid #e9ddff;
    box-shadow: 0 2px 10px rgba(124,58,237,.10), inset 0 1px 0 rgba(255,255,255,.9);
    transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease, border-color .12s ease, color .12s ease;
}

    .link-btn .ico[b-pps05qgy8j] {
        font-size: 18px;
        line-height: 1;
    }

    /* Hover/Focus */
    .link-btn:hover[b-pps05qgy8j] {
        transform: translateY(-1px);
        border-color: #d8c9ff;
        background: linear-gradient(180deg,#ffffff 0%,#f3ecff 100%);
        box-shadow: 0 10px 18px rgba(124,58,237,.16);
    }

    .link-btn:focus-visible[b-pps05qgy8j] {
        outline: 3px solid rgba(124,58,237,.25);
        outline-offset: 2px;
    }

    /* الزر النشط (NavLink active) */
    .link-btn.is-active[b-pps05qgy8j] {
        color: #fff;
        border-color: #7c3aed;
        background: linear-gradient(90deg,#6a1b9a,#7c3aed);
        box-shadow: 0 10px 22px rgba(124,58,237,.28), inset 0 1px 0 rgba(255,255,255,.15);
    }

/* استجابة الشاشات الصغيرة */
@media (max-width: 520px) {
    .link-btn[b-pps05qgy8j] {
        padding: 9px 14px;
    }

        .link-btn .ico[b-pps05qgy8j] {
            font-size: 16px;
        }
}
/* _content/LearnPlay/Pages/AnimatedNumbers.razor.rz.scp.css */
/* عنوان */
.page-title[b-wbsoqujzm1] {
    margin-top: 24px;
    text-align: center;
    font-size: 32px;
    color: #6a1b9a;
    font-family: 'Cairo',sans-serif;
    margin-bottom: 16px;
    font-weight: 800
}

/* لودر */
.loader-wrap[b-wbsoqujzm1] {
    display: grid;
    place-items: center;
    height: 220px
}

.loader[b-wbsoqujzm1] {
    width: 36px;
    height: 36px;
    border: 4px solid #ddd;
    border-top-color: #6a1b9a;
    border-radius: 50%;
    animation: spin-b-wbsoqujzm1 1s linear infinite
}

.loader-text[b-wbsoqujzm1] {
    margin-top: 10px;
    color: #6b7280;
    font-weight: 700
}

@keyframes spin-b-wbsoqujzm1 {
    to {
        transform: rotate(360deg)
    }
}

/* البطاقة العامة */
.game-card[b-wbsoqujzm1] {
    max-width: 980px;
    margin: 0 auto 26px;
    background: #fffefb;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,.06);
    padding: 18px 16px
}

/* الشريط العلوي */
.top-bar[b-wbsoqujzm1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px
}

.left-pack[b-wbsoqujzm1], .right-pack[b-wbsoqujzm1] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap
}

.pill[b-wbsoqujzm1] {
    background: #eef2ff;
    color: #3730a3;
    font-weight: 800;
    padding: 6px 10px;
    border-radius: 999px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    font-size: 14px
}

    .pill.coins[b-wbsoqujzm1] {
        background: #fff7ed;
        color: #9a3412
    }

    .pill.streak[b-wbsoqujzm1] {
        background: #ecfeff;
        color: #0e7490
    }

        .pill.streak.on[b-wbsoqujzm1] {
            box-shadow: 0 0 0 3px rgba(14,116,144,.15) inset
        }

    .pill.page-pill[b-wbsoqujzm1] {
        background: #f0fdfa;
        color: #065f46;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }


/* أزرار */
.btn[b-wbsoqujzm1] {
    border: none;
    border-radius: 12px;
    padding: 10px 14px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .08s ease, filter .12s
}

    .btn:active[b-wbsoqujzm1] {
        transform: translateY(1px)
    }

    .btn:hover[b-wbsoqujzm1] {
        filter: brightness(.97)
    }

    .btn.speak[b-wbsoqujzm1] {
        background: #dbeafe;
        color: #1d4ed8
    }

    .btn.secondary[b-wbsoqujzm1] {
        background: #e0e7ff;
        color: #1e3a8a
    }

    .btn.light[b-wbsoqujzm1] {
        background: #f3f4f6;
        color: #111827
    }

    .btn.mode[b-wbsoqujzm1] {
        background: #fef9c3;
        color: #92400e
    }

    .btn.hint.small[b-wbsoqujzm1] {
        padding: 6px 10px;
        font-size: 14px;
        margin-inline-start: 8px
    }

/* تعليمات */
.instruction[b-wbsoqujzm1] {
    text-align: center;
    background: #f0f9ff;
    color: #075985;
    border: 2px solid #bae6fd;
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 800;
    margin: 6px auto 12px;
    max-width: 680px
}

/* شبكة الكروت */
.animated-numbers-container[b-wbsoqujzm1] {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(140px,1fr));
    gap: 16px;
    padding: 8px 12px 12px;
    max-width: 980px;
    margin: 0 auto
}

    /* Rainbow مزاجي */
    .animated-numbers-container.rainbow .animated-number-card:nth-child(6n+1)[b-wbsoqujzm1] {
        background: linear-gradient(180deg,#fff7ed,#ffedd5)
    }

    .animated-numbers-container.rainbow .animated-number-card:nth-child(6n+2)[b-wbsoqujzm1] {
        background: linear-gradient(180deg,#ecfeff,#dbeafe)
    }

    .animated-numbers-container.rainbow .animated-number-card:nth-child(6n+3)[b-wbsoqujzm1] {
        background: linear-gradient(180deg,#f0fdf4,#dcfce7)
    }

    .animated-numbers-container.rainbow .animated-number-card:nth-child(6n+4)[b-wbsoqujzm1] {
        background: linear-gradient(180deg,#fdf4ff,#fae8ff)
    }

    .animated-numbers-container.rainbow .animated-number-card:nth-child(6n+5)[b-wbsoqujzm1] {
        background: linear-gradient(180deg,#fef2f2,#fee2e2)
    }

    .animated-numbers-container.rainbow .animated-number-card:nth-child(6n)[b-wbsoqujzm1] {
        background: linear-gradient(180deg,#eff6ff,#dbeafe)
    }

/* الكرت */
.animated-number-card[b-wbsoqujzm1] {
    background-color: #fffaf0;
    border: 3px dashed #ffa726;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,.08);
    transition: transform .25s ease, box-shadow .25s ease;
    cursor: pointer;
    height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
    animation: bounceIn-b-wbsoqujzm1 .6s ease forwards;
    opacity: 0
}

    .animated-number-card:hover[b-wbsoqujzm1] {
        transform: translateY(-4px) scale(1.03);
        box-shadow: 0 8px 18px rgba(0,0,0,.12)
    }

/* الرقم */
.number-header[b-wbsoqujzm1] {
    font-size: 30px;
    font-weight: 900;
    color: #6a1b9a;
    font-family: 'Cairo',sans-serif;
    margin-top: 2px
}

/* الصورة */
.number-image-box[b-wbsoqujzm1] {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 6px;
    overflow: hidden
}

/* خفض حجم الصورة لتناسب الصندوق */
.number-image[b-wbsoqujzm1] {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* مؤثرات كرت */
.animated-number-card.pop[b-wbsoqujzm1] {
    animation: pop-b-wbsoqujzm1 .45s ease
}

.animated-number-card.shake[b-wbsoqujzm1] {
    animation: shake-b-wbsoqujzm1 .45s ease
}

/* تقدّم المستوى والإجمالي */
.level-progress[b-wbsoqujzm1], .overall-progress[b-wbsoqujzm1] {
    margin: 8px 0
}

    .level-progress .bar[b-wbsoqujzm1], .overall-progress .bar[b-wbsoqujzm1] {
        height: 10px;
        background: #eef2ff;
        border-radius: 999px;
        overflow: hidden
    }

    .level-progress .fill[b-wbsoqujzm1] {
        height: 100%;
        background: linear-gradient(90deg,#22c55e,#16a34a);
        width: 0%;
        transition: width .25s
    }

    .overall-progress .fill[b-wbsoqujzm1] {
        height: 100%;
        background: linear-gradient(90deg,#38bdf8,#0ea5e9);
        width: 0%;
        transition: width .25s
    }

    .level-progress .lp-text[b-wbsoqujzm1], .overall-progress .lp-text[b-wbsoqujzm1] {
        font-weight: 800;
        color: #475569;
        margin-top: 6px;
        text-align: center
    }

/* مُلاحة الصفحات */
.pager[b-wbsoqujzm1] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
    flex-wrap: wrap
}

    .pager .btn.nav[b-wbsoqujzm1] {
        background: #f3f4f6;
        color: #111827
    }

.pager-text[b-wbsoqujzm1] {
    font-weight: 800;
    color: #374151
}

/* Popup عام */
.popup-overlay[b-wbsoqujzm1] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center
}

.popup-content[b-wbsoqujzm1] {
    background: #fff;
    padding: 22px;
    border-radius: 14px;
    max-width: 460px;
    width: calc(100% - 32px);
    text-align: center;
    animation: popupFade-b-wbsoqujzm1 .25s ease-out;
    border: 3px solid #ffd54f;
    font-weight: 800
}

.popup-correct[b-wbsoqujzm1] {
    border-color: #4caf50;
    background: #e8f5e9;
    color: #2e7d32
}

.popup-wrong[b-wbsoqujzm1] {
    border-color: #f44336;
    background: #ffebee;
    color: #c62828
}

.popup-image[b-wbsoqujzm1] {
    width: 110px;
    margin: 10px 0;
    animation: pulse-b-wbsoqujzm1 1.3s infinite
}

.popup-actions[b-wbsoqujzm1] {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 8px
}

.popup-badges[b-wbsoqujzm1] {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 6px 0 0
}

.badge[b-wbsoqujzm1] {
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 900
}

    .badge.green[b-wbsoqujzm1] {
        background: #dcfce7;
        color: #166534
    }

    .badge.purple[b-wbsoqujzm1] {
        background: #ede9fe;
        color: #6d28d9
    }

    .badge.glow[b-wbsoqujzm1] {
        box-shadow: 0 0 0 3px rgba(251,146,60,.25) inset
    }

.btn.ghost[b-wbsoqujzm1] {
    background: #e5e7eb;
    color: #111827
}

.btn.primary[b-wbsoqujzm1] {
    background: #3b82f6;
    color: #fff
}

/* --- Fix: منع تمدد شارة الصفحات بسبب .page العام --- */
.pill.page[b-wbsoqujzm1] {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center;
    gap: 6px;
    height: auto !important;
    min-height: 0 !important;
    flex: 0 0 auto !important;
    padding: 6px 10px; /* تأكيد القياس */
    line-height: 1.1;
    white-space: nowrap;
}


/* أنيميشن */
@keyframes popupFade-b-wbsoqujzm1 {
    from {
        transform: scale(.92);
        opacity: 0
    }

    to {
        transform: scale(1);
        opacity: 1
    }
}

@keyframes pulse-b-wbsoqujzm1 {
    0% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.08)
    }

    100% {
        transform: scale(1)
    }
}

@keyframes pop-b-wbsoqujzm1 {
    0% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.08)
    }

    100% {
        transform: scale(1)
    }
}

@keyframes shake-b-wbsoqujzm1 {
    10%,90% {
        transform: translateX(-2px)
    }

    20%,80% {
        transform: translateX(4px)
    }

    30%,50%,70% {
        transform: translateX(-6px)
    }

    40%,60% {
        transform: translateX(6px)
    }
}

@keyframes bounceIn-b-wbsoqujzm1 {
    0% {
        transform: scale(.5);
        opacity: 0
    }

    60% {
        transform: scale(1.2);
        opacity: 1
    }

    80% {
        transform: scale(.95)
    }

    100% {
        transform: scale(1);
        opacity: 1
    }
}

@keyframes wiggle-b-wbsoqujzm1 {
    0%,100% {
        transform: rotate(0deg) scale(1)
    }

    25% {
        transform: rotate(3deg) scale(1.05)
    }

    75% {
        transform: rotate(-3deg) scale(1.05)
    }
}

/* موبايل */
@media (max-width:540px) {
    .animated-numbers-container[b-wbsoqujzm1] {
        grid-template-columns: repeat(auto-fit,minmax(120px,1fr))
    }

    .animated-number-card[b-wbsoqujzm1] {
        height: 200px
    }

    .number-header[b-wbsoqujzm1] {
        font-size: 26px
    }
}
/* _content/LearnPlay/Pages/ColorNumber.razor.rz.scp.css */
/* عنوان */
.page-title[b-tj97u2qbac] {
    text-align: center;
    color: #8b5cf6;
    margin: 26px 0 18px;
    font: 800 32px 'Cairo',sans-serif
}

/* لودر */
.loader-wrap[b-tj97u2qbac] {
    display: grid;
    place-items: center;
    height: 220px
}

.loader[b-tj97u2qbac] {
    width: 36px;
    height: 36px;
    border: 4px solid #ddd;
    border-top-color: #8b5cf6;
    border-radius: 50%;
    animation: spin-b-tj97u2qbac 1s linear infinite
}

.loader-text[b-tj97u2qbac] {
    margin-top: 10px;
    color: #6b7280;
    font-weight: 700
}

@keyframes spin-b-tj97u2qbac {
    to {
        transform: rotate(360deg)
    }
}

/* البطاقة */
.game-card[b-tj97u2qbac] {
    max-width: 920px;
    margin: 0 auto 26px;
    background: #fffef5;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,.06);
    padding: 20px 16px
}

/* الشريط العلوي */
.top-bar[b-tj97u2qbac] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px
}

.left-pack[b-tj97u2qbac], .right-pack[b-tj97u2qbac] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap
}

.pill[b-tj97u2qbac] {
    background: #eef2ff;
    color: #3730a3;
    font-weight: 800;
    padding: 6px 10px;
    border-radius: 999px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    font-size: 14px
}

    .pill.coins[b-tj97u2qbac] {
        background: #fff7ed;
        color: #9a3412
    }

    .pill.streak[b-tj97u2qbac] {
        background: #ecfeff;
        color: #0e7490
    }

        .pill.streak.on[b-tj97u2qbac] {
            box-shadow: 0 0 0 3px rgba(14,116,144,.15) inset
        }

    .pill.stickers[b-tj97u2qbac] {
        background: #fef9c3;
        color: #92400e
    }

/* أزرار */
.btn[b-tj97u2qbac] {
    border: none;
    border-radius: 12px;
    padding: 10px 14px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .08s ease, filter .12s
}

    .btn:active[b-tj97u2qbac] {
        transform: translateY(1px)
    }

    .btn.light[b-tj97u2qbac] {
        background: #f3f4f6;
        color: #111827
    }

    .btn.hint[b-tj97u2qbac] {
        background: #fff7ed;
        color: #c2410c
    }

    .btn.secondary[b-tj97u2qbac] {
        background: #e0e7ff;
        color: #1e3a8a
    }

    .btn.primary[b-tj97u2qbac] {
        background: #3b82f6;
        color: #fff
    }

    .btn:hover[b-tj97u2qbac] {
        filter: brightness(.97)
    }

/* شريط مستوى */
.level-progress[b-tj97u2qbac] {
    margin: 10px 0 8px
}

    .level-progress .bar[b-tj97u2qbac] {
        height: 10px;
        background: #eef2ff;
        border-radius: 999px;
        overflow: hidden
    }

    .level-progress .fill[b-tj97u2qbac] {
        height: 100%;
        background: linear-gradient(90deg,#22c55e,#16a34a);
        width: 0%;
        transition: width .25s
    }

    .level-progress .lp-text[b-tj97u2qbac] {
        font-weight: 800;
        color: #475569;
        margin-top: 6px;
        text-align: center
    }

/* التعليمات */
.instruction[b-tj97u2qbac] {
    text-align: center;
    background: #f0f9ff;
    color: #075985;
    border: 2px solid #bae6fd;
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 800;
    margin: 10px auto 8px;
    max-width: 680px
}

/* الرقم الكبير */
.number-area[b-tj97u2qbac] {
    display: grid;
    justify-items: center;
    margin: 10px 0 6px
}

.big-number[b-tj97u2qbac] {
    width: min(280px,80vw);
    height: min(180px,34vw);
    display: grid;
    place-items: center;
    background: linear-gradient(180deg,#fef3c7,#fde68a);
    color: #1f2937;
    border-radius: 22px;
    font: 900 82px 'Cairo',sans-serif;
    box-shadow: 0 10px 26px rgba(245,158,11,.25);
    user-select: none;
    transition: transform .12s, box-shadow .12s
}

    .big-number.pop[b-tj97u2qbac] {
        animation: pop-b-tj97u2qbac .45s ease
    }

    .big-number.shake[b-tj97u2qbac] {
        animation: shake-b-tj97u2qbac .45s ease
    }

@keyframes pop-b-tj97u2qbac {
    0% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.08)
    }

    100% {
        transform: scale(1)
    }
}

@keyframes shake-b-tj97u2qbac {
    10%,90% {
        transform: translateX(-2px)
    }

    20%,80% {
        transform: translateX(4px)
    }

    30%,50%,70% {
        transform: translateX(-6px)
    }

    40%,60% {
        transform: translateX(6px)
    }
}

/* عنوان صف */
.row-title[b-tj97u2qbac] {
    margin: 12px 4px 6px;
    font-weight: 800;
    color: #374151
}

/* دوائر الألوان */
.color-options[b-tj97u2qbac] {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(64px,1fr));
    gap: 12px;
    max-width: 700px;
    margin: 0 auto
}

.color-btn[b-tj97u2qbac] {
    --c: #000;
    width: 64px;
    height: 64px;
    border-radius: 999px;
    border: 3px solid rgba(0,0,0,.08);
    background: var(--c);
    cursor: pointer;
    position: relative;
    box-shadow: 0 6px 16px rgba(0,0,0,.12);
    transition: transform .12s, box-shadow .12s, filter .12s
}

    .color-btn:hover[b-tj97u2qbac] {
        filter: brightness(1.05)
    }

    .color-btn:active[b-tj97u2qbac] {
        transform: scale(1.04);
        box-shadow: 0 8px 18px rgba(0,0,0,.18)
    }

    .color-btn.selected[b-tj97u2qbac] {
        outline: 3px solid #93c5fd;
        outline-offset: 3px
    }

    .color-btn .tick[b-tj97u2qbac] {
        position: absolute;
        right: 6px;
        bottom: 4px;
        background: #fff;
        color: #111;
        font-weight: 900;
        border-radius: 999px;
        padding: 2px 6px;
        font-size: 12px;
        box-shadow: 0 2px 6px rgba(0,0,0,.15)
    }

/* تلميح بصري (هزّ الدائرة الصحيحة) */
@keyframes wiggle-b-tj97u2qbac {
    0%,100% {
        transform: rotate(0deg) scale(1)
    }

    25% {
        transform: rotate(3deg) scale(1.05)
    }

    75% {
        transform: rotate(-3deg) scale(1.05)
    }
}

.color-btn.wiggle[b-tj97u2qbac] {
    animation: wiggle-b-tj97u2qbac .35s ease-in-out 0s 4
}

/* شريط الملصقات المكتسبة */
.sticker-bar[b-tj97u2qbac] {
    margin: 12px auto 0;
    max-width: 720px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center
}

.sticker[b-tj97u2qbac] {
    font-size: 24px;
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    border: 1px solid #eee
}

/* فيدباك */
.feedback[b-tj97u2qbac] {
    margin-top: 12px;
    font-weight: 800;
    padding: 10px 14px;
    border-radius: 12px;
    display: inline-block
}

    .feedback.okay[b-tj97u2qbac] {
        background: #e8f5e9;
        color: #2e7d32;
        border: 2px solid #66bb6a
    }

    .feedback.bad[b-tj97u2qbac] {
        background: #ffebee;
        color: #c62828;
        border: 2px solid #ef5350
    }

/* Popup عام */
.popup-overlay[b-tj97u2qbac] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center
}

.popup-content[b-tj97u2qbac] {
    background: #fff;
    padding: 22px;
    border-radius: 14px;
    max-width: 460px;
    width: calc(100% - 32px);
    text-align: center;
    animation: popupFade-b-tj97u2qbac .25s ease-out;
    border: 3px solid #ffd54f;
    font-weight: 800
}

.popup-correct[b-tj97u2qbac] {
    border-color: #4caf50;
    background: #e8f5e9;
    color: #2e7d32
}

.popup-wrong[b-tj97u2qbac] {
    border-color: #f44336;
    background: #ffebee;
    color: #c62828
}

.popup-image[b-tj97u2qbac] {
    width: 110px;
    margin: 10px 0;
    animation: pulse-b-tj97u2qbac 1.3s infinite
}

.popup-actions[b-tj97u2qbac] {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 8px
}

.popup-badges[b-tj97u2qbac] {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 6px 0 0
}

.badge[b-tj97u2qbac] {
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 900
}

    .badge.green[b-tj97u2qbac] {
        background: #dcfce7;
        color: #166534
    }

    .badge.purple[b-tj97u2qbac] {
        background: #ede9fe;
        color: #6d28d9
    }

    .badge.glow[b-tj97u2qbac] {
        box-shadow: 0 0 0 3px rgba(251,146,60,.25) inset
    }

.btn.ghost[b-tj97u2qbac] {
    background: #e5e7eb;
    color: #111827
}

.btn.primary[b-tj97u2qbac] {
    background: #3b82f6;
    color: #fff
}

@keyframes popupFade-b-tj97u2qbac {
    from {
        transform: scale(.92);
        opacity: 0
    }

    to {
        transform: scale(1);
        opacity: 1
    }
}

@keyframes pulse-b-tj97u2qbac {
    0% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.08)
    }

    100% {
        transform: scale(1)
    }
}

/* Popup المكافأة */
.reward-box[b-tj97u2qbac] {
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    max-width: 420px;
    width: calc(100% - 32px);
    border: 3px dashed #f59e0b;
    text-align: center;
    animation: popupFade-b-tj97u2qbac .25s ease-out;
    font-weight: 800
}

.reward-title[b-tj97u2qbac] {
    color: #b45309;
    margin: 6px 0 8px
}

.chest[b-tj97u2qbac] {
    font-size: 44px
}

.reward-emoji[b-tj97u2qbac] {
    font-size: 56px;
    display: inline-grid;
    place-items: center;
    width: 96px;
    height: 96px;
    margin: 6px auto 4px;
    background: #fff7ed;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(245,158,11,.25)
}

/* موبايل */
@media (max-width:540px) {
    .big-number[b-tj97u2qbac] {
        font-size: 64px;
        height: min(160px,40vw)
    }

    .color-options[b-tj97u2qbac] {
        grid-template-columns: repeat(auto-fit,minmax(56px,1fr))
    }

    .color-btn[b-tj97u2qbac] {
        width: 56px;
        height: 56px
    }
}
/* _content/LearnPlay/Pages/Contact.razor.rz.scp.css */
/* البطل */
.contact-hero[b-5xl14q70d7] {
    text-align: center;
    margin-top: calc(var(--topbar-h) - 10px);
    margin-bottom: 6px;
}

    .contact-hero h1[b-5xl14q70d7] {
        margin: 0 0 6px;
        font-size: 28px;
        font-weight: 800;
        color: #2b2b2b;
    }

    .contact-hero p[b-5xl14q70d7] {
        margin: 0;
        color: #6b7280;
        font-weight: 700;
    }

/* الجسم */
.contact-body[b-5xl14q70d7] {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px;
    align-items: start;
    margin-bottom: 18px;
}

/* الكارت */
.contact-card[b-5xl14q70d7], .aside-card[b-5xl14q70d7] {
    background: #fff3e0;
    border: 1px solid #ffd08a;
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(0,0,0,.08);
    padding: 18px;
}

/* الحقول */
.grid[b-5xl14q70d7] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.field[b-5xl14q70d7] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field--full[b-5xl14q70d7] {
    grid-column: 1 / -1;
}

label[b-5xl14q70d7] {
    font-weight: 800;
    color: #444;
}

.input[b-5xl14q70d7], .textarea[b-5xl14q70d7] {
    border: 2px solid #ffd180;
    border-radius: 10px;
    background: #fffefc;
    padding: 12px 14px;
    font-size: 16px;
    transition: .2s ease;
}

    .input:focus[b-5xl14q70d7], .textarea:focus[b-5xl14q70d7] {
        outline: none;
        border-color: #ffa726;
        box-shadow: 0 0 6px rgba(255,167,38,.35);
        background: #fff8ef;
    }

.validation-message[b-5xl14q70d7], .validation-errors[b-5xl14q70d7], .validation-message span[b-5xl14q70d7], .validation-errors li[b-5xl14q70d7] {
    color: #c62828;
    font-weight: 800;
}

/* أزرار */
.actions[b-5xl14q70d7] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.btn-primary[b-5xl14q70d7] {
    background: #ff7043;
    color: #fff;
    border: 0;
    border-radius: 10px;
    padding: 10px 16px;
    font-weight: 800;
    cursor: pointer;
    transition: background .2s ease, transform .05s ease;
}

    .btn-primary:hover[b-5xl14q70d7] {
        background: #f4511e;
    }

    .btn-primary:active[b-5xl14q70d7] {
        transform: translateY(1px);
    }

    .btn-primary[disabled][b-5xl14q70d7] {
        opacity: .7;
        cursor: not-allowed;
    }

.hint[b-5xl14q70d7] {
    color: #6b7280;
    font-weight: 700;
}

/* تنبيهات */
.alert[b-5xl14q70d7] {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    font-weight: 800;
}

    .alert.success[b-5xl14q70d7] {
        background: #e8f5e9;
        color: #2e7d32;
        border: 1px solid #66bb6a;
    }

    .alert.error[b-5xl14q70d7] {
        background: #ffebee;
        color: #c62828;
        border: 1px solid #ef5350;
    }

/* الجانب */
.aside-card h3[b-5xl14q70d7] {
    margin: 0 0 4px;
    font-weight: 900;
}

.aside-card .tagline[b-5xl14q70d7] {
    margin: 0 0 8px;
    color: #6b7280;
    font-weight: 700;
}

.mini-list[b-5xl14q70d7] {
    list-style: none;
    margin: 8px 0;
    padding: 0;
    display: grid;
    gap: 6px;
    font-weight: 800;
}

    .mini-list a[b-5xl14q70d7] {
        color: #2b2b2b;
        text-decoration: none;
    }

        .mini-list a:hover[b-5xl14q70d7] {
            text-decoration: underline;
        }

.social[b-5xl14q70d7] {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 8px;
}

    .social img[b-5xl14q70d7] {
        width: 26px;
        height: 26px;
    }
.note[b-5xl14q70d7] {
    margin-top: 16px;
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: 10px;
    padding: 10px 12px;
    color: #4e342e;
    font-weight: 700;
    line-height: 1.6;
    font-size: 15px;
}

    .note strong[b-5xl14q70d7] {
        color: #bf360c;
    }

/* موبايل */
@media (max-width: 920px) {
    .contact-body[b-5xl14q70d7] {
        grid-template-columns: 1fr;
    }

    .grid[b-5xl14q70d7] {
        grid-template-columns: 1fr;
    }
}
/* _content/LearnPlay/Pages/Feedback.razor.rz.scp.css */
/* ======= البطل (Hero) ======= */
.fb-hero[b-ovqcipp97d] {
    background: linear-gradient(90deg,#ffcc80,#ff8a65);
    padding: 22px 16px;
    border-bottom: 3px solid rgba(0,0,0,.05);
}

.fb-hero__inner[b-ovqcipp97d] {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.fb-hero__icon[b-ovqcipp97d] {
    font-size: 34px;
    line-height: 1;
}

.fb-hero__title[b-ovqcipp97d] {
    margin: 0;
    font-weight: 900;
    color: #2d1b3f;
}

.fb-hero__sub[b-ovqcipp97d] {
    margin: 2px 0 0;
    color: #4a3b5c;
    font-weight: 700;
}

/* ======= الوعاء العام ======= */
.fb-wrap[b-ovqcipp97d] {
    max-width: 980px;
    margin: 18px auto;
    padding: 0 12px;
}

/* ======= كارت النموذج ======= */
.fb-card[b-ovqcipp97d] {
    background: #fff;
    border: 1px solid #eee7;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 10px 28px rgba(0,0,0,.06);
}

/* ======= الشبكة ======= */
.fb-grid[b-ovqcipp97d] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 14px;
}

.fb-colspan-2[b-ovqcipp97d] {
    grid-column: span 2;
}

.fb-field[b-ovqcipp97d] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fb-label[b-ovqcipp97d] {
    font-weight: 800;
    color: #3b2a4d;
}

.fb-label-row[b-ovqcipp97d] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fb-counter[b-ovqcipp97d] {
    font-size: 12.5px;
    color: #6b6b6b;
    font-weight: 800;
}

/* ======= مدخلات ======= */
.input[b-ovqcipp97d], .textarea[b-ovqcipp97d], .select[b-ovqcipp97d], select[b-ovqcipp97d] {
    width: 100%;
    padding: 12px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
    font-size: 15px;
}

    .input:focus[b-ovqcipp97d], .textarea:focus[b-ovqcipp97d], .select:focus[b-ovqcipp97d], select:focus[b-ovqcipp97d] {
        outline: none;
        border-color: #7c3aed;
        box-shadow: 0 0 0 4px rgba(124,58,237,.15);
    }

    /* Blazor يضيف valid/invalid تلقائيًا على عناصر Input* */
    .input.invalid[b-ovqcipp97d], .textarea.invalid[b-ovqcipp97d], .select.invalid[b-ovqcipp97d], select.invalid[b-ovqcipp97d] {
        border-color: #ef4444;
        box-shadow: 0 0 0 4px rgba(239,68,68,.08);
    }

/* رسائل التحقق */
.fb-validation[b-ovqcipp97d] {
    margin-bottom: 4px;
}

.validation-message[b-ovqcipp97d] {
    color: #b91c1c;
    font-weight: 700;
}

/* ======= الأزرار ======= */
.btn[b-ovqcipp97d] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    border-radius: 12px;
    padding: 10px 16px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
}

    .btn.primary[b-ovqcipp97d] {
        justify-content: center;
        background: linear-gradient(90deg,#6a1b9a,#7c3aed);
        color: #fff;
        box-shadow: 0 8px 18px rgba(124,58,237,.22);
    }

        .btn.primary:hover[b-ovqcipp97d] {
            transform: translateY(-1px);
            box-shadow: 0 12px 24px rgba(124,58,237,.26);
        }

        .btn.primary[disabled][b-ovqcipp97d] {
            opacity: .75;
            cursor: not-allowed;
            transform: none;
        }

    .btn.ghost[b-ovqcipp97d] {
        background: #3ed72c;
        color: #4b445a;
        border: 1px solid #e6e2ee;
    }

        .btn.ghost:hover[b-ovqcipp97d] {
            background: #f33131;
        }

.btn-block[b-ovqcipp97d] {
    width: 100%;
}

.fb-actions[b-ovqcipp97d] {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* سبنر بسيط */
.spinner[b-ovqcipp97d] {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    animation: spin-b-ovqcipp97d .7s linear infinite;
}

@keyframes spin-b-ovqcipp97d {
    to {
        transform: rotate(360deg);
    }
}

/* ======= حالة النجاح ======= */
.fb-done[b-ovqcipp97d] {
    max-width: 760px;
    margin: 26px auto;
    background: #f7fdfb;
    border: 1px solid #d9f2e8;
    border-radius: 18px;
    padding: 22px;
    text-align: center;
    box-shadow: 0 10px 26px rgba(0,0,0,.05);
}

.fb-done__icon[b-ovqcipp97d] {
    font-size: 42px;
    line-height: 1;
    margin-bottom: 6px;
}

.fb-done__title[b-ovqcipp97d] {
    margin: 0 0 6px;
    color: #0f5132;
    font-weight: 900;
}

.fb-done__text[b-ovqcipp97d] {
    color: #265947;
    font-weight: 700;
}

.fb-done__actions[b-ovqcipp97d] {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 12px;
}

/* ======= موبايل ======= */
@media (max-width: 780px) {
    .fb-grid[b-ovqcipp97d] {
        grid-template-columns: 1fr;
    }

    .fb-colspan-2[b-ovqcipp97d] {
        grid-column: span 1;
    }

    .btn-block[b-ovqcipp97d] {
        width: 100%;
    }
}
/* _content/LearnPlay/Pages/HelpHub.razor.rz.scp.css */

/* ====== الشكل العام ====== */
.help-wrap[b-vw9858u2uq] {
    max-width: 980px;
    margin: 28px auto;
    padding: 0 14px;
}

.card[b-vw9858u2uq] {
    background: #fff;
    border-radius: 16px;
    padding: 18px 18px 22px;
    box-shadow: 0 6px 20px rgba(0,0,0,.06);
    border: 1px solid #eee;
    margin-bottom: 20px;
}

.help-head[b-vw9858u2uq] {
    text-align: center;
}

    .help-head .brand[b-vw9858u2uq] {
        color: #6b5bff;
        font-weight: 800;
    }

/* ====== تبويبات أعلى الصفحة ====== */
.segmented[b-vw9858u2uq] {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 14px;
    flex-wrap: wrap;
}

.segmented--xl .segmented__btn[b-vw9858u2uq] {
    min-width: 220px;
    border: 1px solid #e7e7e7;
    background: #fafafa;
    border-radius: 16px;
    padding: 14px 16px;
    cursor: pointer;
    text-align: center;
    transition: .2s ease;
    display: grid;
    place-items: center;
    row-gap: 4px;
}

.segmented__btn .seg-emoji[b-vw9858u2uq] {
    font-size: 22px;
}

.segmented__btn .seg-title[b-vw9858u2uq] {
    font-weight: 700;
}

.segmented__btn .seg-sub[b-vw9858u2uq] {
    font-size: 12px;
    color: #666
}

.segmented__btn:hover[b-vw9858u2uq] {
    background: #f5f5ff;
}

.segmented__btn.is-active[b-vw9858u2uq] {
    background: #f0f0ff;
    border-color: #b7b2ff;
}

/* ====== لستة الخطوات ====== */
.steps[b-vw9858u2uq] {
    margin: 10px 18px;
    line-height: 1.9;
}

    .steps b[b-vw9858u2uq] {
        color: #333;
    }

/* ====== فيديو يوتيوب Responsive ====== */
.video[b-vw9858u2uq] {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    border-radius: 16px;
    overflow: hidden;
    background: #f2f2f2;
    margin-top: 14px;
}

    .video iframe[b-vw9858u2uq] {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

/* ====== أزرار التذييل ====== */
.help-foot[b-vw9858u2uq] {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 18px 0;
    flex-wrap: wrap;
}

.btn[b-vw9858u2uq] {
    background: #6b5bff;
    color: #fff;
    border: 0;
    padding: 10px 16px;
    border-radius: 12px;
    text-decoration: none;
}

    .btn.ghost[b-vw9858u2uq] {
        background: transparent;
        color: #333;
        border: 1px solid #ddd;
    }

@media (max-width: 520px) {
    .segmented--xl .segmented__btn[b-vw9858u2uq] {
        min-width: 0;
        width: 100%;
    }

    .segmented[b-vw9858u2uq] {
        flex-direction: column;
    }
}
/* _content/LearnPlay/Pages/Library.razor.rz.scp.css */
/* ===== إعدادات عامة وخطوط واضحة ===== */
:root[b-hb28u0if73] {
    --bg: #fff;
    --ink: #0f172a; /* slate-900 */
    --ink-2: #1f2937; /* slate-800 */
    --muted: #6b7280; /* slate-500 */
    --brand: #6a1b9a; /* primary */
    --brand-2: #7c3aed;
    --card: #ffffff;
    --soft: #f7f3ff;
    --border: #ede9fe;
    --shadow: 0 10px 24px rgba(17,24,39,.06);
}

:host[b-hb28u0if73], body[b-hb28u0if73] {
    color: var(--ink-2);
    font-family: "Cairo", system-ui, Segoe UI, Roboto, Arial;
}

a[b-hb28u0if73], a:link[b-hb28u0if73], a:visited[b-hb28u0if73], a:hover[b-hb28u0if73], a:active[b-hb28u0if73] {
    text-decoration: none !important;
}

/* ===== هيرو ===== */
.hero[b-hb28u0if73] {
    margin: 18px 0 10px;
    text-align: center;
}

.hero-inner[b-hb28u0if73] {
    display: inline-block;
    padding: 8px 14px;
}

.hero-title[b-hb28u0if73] {
    margin: 0 0 6px;
    font-weight: 900;
    color: var(--ink);
    font-size: clamp(22px, 2.4vw, 30px);
    letter-spacing: .2px;
}

    .hero-title .muted[b-hb28u0if73] {
        color: var(--muted);
        font-weight: 800;
    }

.hero-sub[b-hb28u0if73] {
    margin: 0;
    color: var(--muted);
    font-weight: 700;
}

/* ===== فلاتر ===== */
.filters-wrap[b-hb28u0if73] {
    position: sticky;
    top: 10px;
    z-index: 5;
    backdrop-filter: blur(6px);
}

.filters[b-hb28u0if73] {
    max-width: 1100px;
    margin: 12px auto 10px;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    background: linear-gradient(180deg,#ffffff 0%, var(--soft) 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 12px;
    box-shadow: var(--shadow);
}

.filter label[b-hb28u0if73] {
    font-weight: 900;
    color: var(--ink-2);
    margin: 0 0 6px;
    display: block;
    font-size: 14px;
}

.filter select[b-hb28u0if73] {
    width: 100%;
    height: 44px;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: var(--ink);
    font-weight: 800;
}

    .filter select:focus[b-hb28u0if73] {
        outline: 3px solid rgba(124,58,237,.25);
        border-color: #d7c7ff;
    }

/* غلاف خاص للسلكت مع العلم */
.flag-select[b-hb28u0if73] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px; /* مسافة بين السلكت والعلم */
}

/* بادج العلم */
.flag-badge[b-hb28u0if73] {
    display: inline-grid;
    place-items: center;
    width: 52px; /* مساحة أكبر من العلم */
    height: 40px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #fff;
    box-shadow: var(--shadow);
}

/* ===== ميتا النتائج ===== */
.results-meta[b-hb28u0if73] {
    max-width: 1100px;
    margin: 6px auto 12px;
    display: flex;
    justify-content: flex-start;
}

.chip[b-hb28u0if73] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 900;
    color: var(--ink-2);
    border: 1px solid #e5e7eb;
    background: #fff;
    font-size: 13px;
}

.chip-outline[b-hb28u0if73] {
    background: #fff;
    border: 1px solid var(--border);
}

.chip-soft[b-hb28u0if73] {
    background: #f0f9ff;
    border-color: #bae6fd;
}

/* ===== شبكة الكتب ===== */
.book-grid[b-hb28u0if73] {
    max-width: 1100px;
    margin: 10px auto 30px;
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
}

.book-card[b-hb28u0if73] {
    background: var(--card);
    border: 1px solid #eee;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s;
}

    .book-card:hover[b-hb28u0if73] {
        transform: translateY(-2px);
        box-shadow: 0 14px 30px rgba(17,24,39,.10);
        border-color: #e7e7e7;
    }

.book-link[b-hb28u0if73] {
    display: block;
    color: inherit;
}

.book-cover[b-hb28u0if73] {
    aspect-ratio: 16 / 9;
    background: var(--soft);
    border-bottom: 1px solid var(--border);
    display: grid;
    place-items: center;
    overflow: hidden;
}

    .book-cover img[b-hb28u0if73] {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.no-cover[b-hb28u0if73] {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-weight: 900;
    color: var(--brand);
    letter-spacing: .5px;
    background: linear-gradient(180deg,#faf7ff 0%, #f3edff 100%);
}

.pdf-ico[b-hb28u0if73] {
    font-size: 22px;
}

.book-body[b-hb28u0if73] {
    padding: 12px;
}

.book-title[b-hb28u0if73] {
    margin: 0 0 6px;
    color: var(--ink);
    font-weight: 900;
    font-size: 1.05rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.book-sub[b-hb28u0if73] {
    color: var(--muted);
    font-weight: 800;
    font-size: .95rem;
    margin: 0 0 8px;
}

.book-footer[b-hb28u0if73] {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/* ===== سكلتون ===== */
.skeleton-grid[b-hb28u0if73] {
    max-width: 1100px;
    margin: 12px auto 24px;
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
}

.skeleton-card[b-hb28u0if73] {
    border-radius: 16px;
    border: 1px solid #eee;
    background: #fff;
    padding: 10px;
    box-shadow: var(--shadow);
}

.sk-cover[b-hb28u0if73] {
    aspect-ratio: 16/9;
    border-radius: 12px;
    margin-bottom: 10px;
    background: linear-gradient(90deg,#f5f2ff 25%, #ece7ff 37%, #f5f2ff 63%);
    background-size: 400% 100%;
    animation: shimmer-b-hb28u0if73 1.2s infinite;
}

.sk-line[b-hb28u0if73] {
    height: 12px;
    border-radius: 8px;
    background: linear-gradient(90deg,#f5f2ff 25%, #ece7ff 37%, #f5f2ff 63%);
    background-size: 400% 100%;
    animation: shimmer-b-hb28u0if73 1.2s infinite;
    margin-bottom: 8px;
}

    .sk-line.w-80[b-hb28u0if73] {
        width: 80%;
    }

    .sk-line.w-50[b-hb28u0if73] {
        width: 50%;
    }

@keyframes shimmer-b-hb28u0if73 {
    0% {
        background-position: 100% 0
    }

    100% {
        background-position: 0 0
    }
}

/* ===== Empty state ===== */
.empty[b-hb28u0if73] {
    max-width: 1100px;
    margin: 18px auto 26px;
}

.empty-card[b-hb28u0if73] {
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    display: grid;
    place-items: center;
    text-align: center;
    box-shadow: var(--shadow);
}

.empty-ico[b-hb28u0if73] {
    font-size: 28px;
    margin-bottom: 8px;
}

.empty-title[b-hb28u0if73] {
    font-weight: 900;
    color: var(--ink);
    margin-bottom: 4px;
}

.empty-sub[b-hb28u0if73] {
    color: var(--muted);
    font-weight: 700;
}

/* ===== Book Card (Pro) ===== */
.book-card.pro[b-hb28u0if73] {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(124,58,237,.14);
    background: linear-gradient(180deg,#ffffff 0%, #fbfaff 100%);
    box-shadow: 0 10px 24px rgba(17,24,39,.06);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, filter .15s ease;
}

    .book-card.pro:hover[b-hb28u0if73] {
        transform: translateY(-3px);
        box-shadow: 0 16px 36px rgba(17,24,39,.12);
        border-color: rgba(124,58,237,.26);
    }

/* الغلاف */
.card-link[b-hb28u0if73] {
    display: block;
    color: inherit
}

.card-media[b-hb28u0if73] {
    position: relative;
    aspect-ratio: 16 / 9;
    background: linear-gradient(180deg,#faf7ff 0%, #f3edff 100%);
    border-bottom: 1px solid #ede9fe;
    overflow: hidden;
}

    .card-media img[b-hb28u0if73] {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale(1.001);
        transition: transform .35s ease
    }

.book-card.pro:hover .card-media img[b-hb28u0if73] {
    transform: scale(1.04)
}

/* شين خفيف */
.book-card.pro[b-hb28u0if73]::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(120% 50% at 100% 0%, rgba(124,58,237,.10), transparent 60%);
    opacity: .6;
}

/* بادجات فوق الغلاف */
.media-badges[b-hb28u0if73] {
    position: absolute;
    inset: auto 10px 10px auto;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    z-index: 2;
}

.badge[b-hb28u0if73] {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #1f2937;
    box-shadow: 0 2px 8px rgba(17,24,39,.08);
}

    .badge.year[b-hb28u0if73] {
        border-color: #c7d2fe;
        background: #eef2ff;
        color: #1e3a8a
    }

    .badge.grade[b-hb28u0if73] {
        border-color: #bae6fd;
        background: #f0f9ff;
        color: #0c4a6e
    }

/* زر فتح سريع */
.quick-open[b-hb28u0if73] {
    position: absolute;
    inset: auto auto 10px 10px;
    background: linear-gradient(90deg,#6A1B9A,#7c3aed);
    color: #fff;
    font-weight: 900;
    font-size: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(124,58,237,.25);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .15s ease, transform .15s ease;
}

.book-card.pro:hover .quick-open[b-hb28u0if73] {
    opacity: 1;
    transform: translateY(0)
}

/* جسم الكارت */
.card-body[b-hb28u0if73] {
    padding: 12px 12px 14px
}

.title[b-hb28u0if73] {
    margin: 0 0 6px;
    color: #0f172a;
    font-weight: 900;
    font-size: 1.06rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.meta[b-hb28u0if73] {
    display: flex;
    gap: 6px;
    flex-wrap: wrap
}

.subject[b-hb28u0if73] {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 12px;
    color: #374151;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

/* no-cover المتعطّل */
.no-cover[b-hb28u0if73] {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #6a1b9a;
    font-weight: 900;
    background: linear-gradient(180deg,#faf7ff 0%, #f3edff 100%)
}

.pdf-ico[b-hb28u0if73] {
    font-size: 22px
}


/* ===== تصميم الكارت الطويل ===== */
.book-card.tall[b-hb28u0if73] {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(17, 24, 39, 0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.25s ease;
}

    .book-card.tall:hover[b-hb28u0if73] {
        transform: translateY(-5px);
        box-shadow: 0 18px 40px rgba(124, 58, 237, 0.15);
    }

    /* الغلاف أطول */
    .book-card.tall .book-cover[b-hb28u0if73] {
        aspect-ratio: 3 / 4; /* أطول من السابق */
        background: #f7f3ff;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

        .book-card.tall .book-cover img[b-hb28u0if73] {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

    .book-card.tall:hover .book-cover img[b-hb28u0if73] {
        transform: scale(1.05);
    }

    /* الجسم */
    .book-card.tall .book-body[b-hb28u0if73] {
        padding: 16px 14px 18px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        flex-grow: 1;
    }

    /* العنوان */
    .book-card.tall .book-title[b-hb28u0if73] {
        font-weight: 900;
        font-size: 1.1rem;
        color: #111827;
        line-height: 1.4;
        margin: 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* وصف المادة */
    .book-card.tall .book-sub[b-hb28u0if73] {
        color: #6b7280;
        font-weight: 700;
        font-size: 0.9rem;
        margin: 0;
        min-height: 1.3em;
    }

    /* ميتا (السنة + المرحلة) */
    .book-card.tall .book-meta[b-hb28u0if73] {
        margin-top: auto;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

.tag[b-hb28u0if73] {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #111827;
    font-weight: 800;
}

.tag-year[b-hb28u0if73] {
    background: #ede9fe;
    color: #5b21b6;
}

/* ===== شكل كتاب حقيقي (3D) ===== */
.book-card.book-look[b-hb28u0if73] {
    perspective: 900px; /* عمق المنظور */
    border: 0; /* هنرسم الإطار بالديفات الداخلية */
    background: transparent;
    box-shadow: none;
}

/* حاوية الغلاف */
.book-look .cover-wrap[b-hb28u0if73] {
    position: relative;
    height: auto;
    aspect-ratio: 3/4; /* كتاب طولي */
    transform-style: preserve-3d;
    transition: transform .35s ease, filter .35s ease;
    filter: drop-shadow(0 12px 18px rgba(17,24,39,.12));
}

/* الميلان والظل عند المرور */
.book-card.book-look:hover .cover-wrap[b-hb28u0if73] {
    transform: rotateY(-8deg);
    filter: drop-shadow(0 18px 28px rgba(124,58,237,.22));
}

/* كعب الكتاب (spine) */
.book-look .book-spine[b-hb28u0if73] {
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    width: 18px;
    height: 100%;
    background: linear-gradient(90deg,#d7d7e0 0%, #cfcfe0 30%, #bbb9d4 100%);
    border-radius: 10px 0 0 10px;
    transform: translateZ(-12px); /* للخلف قليلاً */
    box-shadow: inset -1px 0 0 rgba(0,0,0,.08);
}

/* وجه الكتاب (الغلاف) */
.book-look .book-face[b-hb28u0if73] {
    position: relative;
    height: 100%;
    background: #f7f3ff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

    /* حواف الورق على يمين الغلاف */
    .book-look .book-face[b-hb28u0if73]::after {
        content: "";
        position: absolute;
        top: 6px;
        bottom: 6px;
        inset-inline-end: -10px;
        width: 12px;
        border-radius: 8px;
        background: repeating-linear-gradient( 90deg, #f7f7fb 0, #f7f7fb 2px, #ededf5 3px, #ededf5 4px );
        filter: blur(.2px);
        transform: translateZ(-6px);
        box-shadow: inset 0 0 0 1px #e8e8f4;
    }

    .book-look .book-face img[b-hb28u0if73],
    .book-look .no-cover[b-hb28u0if73] {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* علامة كتاب (Bookmark) للسنة */
.book-look .bookmark[b-hb28u0if73] {
    position: absolute;
    top: 10px;
    inset-inline-end: 12px;
    background: #7c3aed;
    color: #fff;
    font-weight: 900;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 6px 6px 0 0;
    transform: translateZ(2px);
    box-shadow: 0 4px 10px rgba(124,58,237,.25);
}

    .book-look .bookmark[b-hb28u0if73]::after {
        content: "";
        position: absolute;
        inset-inline: 0;
        bottom: -8px;
        height: 8px;
        background: linear-gradient( to bottom, #6a1b9a, #7c3aed );
        clip-path: polygon(0 0,100% 0,50% 100%);
    }

/* نعيد استخدام جسم الكرت الطويل */
.book-card.tall .book-body[b-hb28u0if73] {
    padding: 14px 2px 0;
}

.book-card.tall .book-title[b-hb28u0if73] {
    margin: 10px 0 6px;
    padding-inline: 2px;
}


/* ========= تغليفة/جلاد كتاب ========= */
/* الحاوية الأساسية (كما في الرد السابق) تبقى كما هي.
   هنضيف تأثير اللمعان والشريط والزوايا على cover-wrap/book-face. */

/* 1) لمعان بلاستيك متدرّج + انعكاس قطري */
.book-look .laminated .book-face[b-hb28u0if73]::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  /* طبقتان: لمعان قطري + لمعان رأسي هادئ */
  background:
    linear-gradient( 65deg,
      rgba(255,255,255,.00) 0%,
      rgba(255,255,255,.06) 18%,
      rgba(255,255,255,.18) 22%,
      rgba(255,255,255,.00) 32% ) ,
    linear-gradient( to bottom,
      rgba(255,255,255,.12), rgba(255,255,255,0) 35%, rgba(255,255,255,.10) 80%, rgba(255,255,255,0) );
  mix-blend-mode: screen;               /* يخلي اللمعان طبيعي فوق الغلاف */
  border-radius: 12px;
}

/* حركة خفيفة للمعان عند المرور */
.book-card.book-look:hover .laminated .book-face[b-hb28u0if73]::before{
  background-position: 6% 0, 0 0;
  transition: background-position .35s ease;
}

/* 2) خدوش/تموج جلاد خفيفة جدًا (Noise بأسطر شفّافة) */
.book-look .laminated .book-face[b-hb28u0if73]{
  background-clip: padding-box;
  /* خطوط شعرية شبه خدوش الجلاد */
  --lines: repeating-linear-gradient(
      90deg,
      rgba(255,255,255,.04) 0 1px,
      transparent 1px 4px
  );
}
.book-look .laminated .book-face > img[b-hb28u0if73],
.book-look .laminated .book-face > .no-cover[b-hb28u0if73]{
  position:relative;
  z-index:1; /* تحت اللمعان وفوق الخطوط */
}
.book-look .laminated .book-face[b-hb28u0if73]{
  /* نرسم الخطوط "تحت" اللمعان وفوق الصورة كخلفية إضافية */
  background-image: var(--lines);
  background-size: 100% 100%;
}

/* 3) شريط تغليفة عند الكعب (Tape) */
.book-look .laminated .book-spine[b-hb28u0if73]{
  background:
    repeating-linear-gradient(
      to bottom,
      #cfcfe0 0 10px,
      #c6c6da 10px 20px
    );
  position:relative;
}
.book-look .laminated .book-spine[b-hb28u0if73]::after{
  content:"";
  position:absolute;
  inset-inline-end:-2px; top:0; bottom:0;
  width: 4px;
  background: linear-gradient(90deg, rgba(0,0,0,.08), rgba(255,255,255,.15));
  filter: blur(.2px);                 /* حافة لاصق */
}

/* 4) حمايات زوايا خفيفة (Corner guards) */
.book-look .laminated .book-face[b-hb28u0if73]::after{
  /* كانت للصفحات في الرد السابق، نبقيها كما هي للورق،
     ونضيف الحمايات على cover-wrap: */
}

.book-look .laminated[b-hb28u0if73]::after,
.book-look .laminated[b-hb28u0if73]::before{
  content:"";
  position:absolute;
  width:16px; height:16px;
  border-radius:4px;
  background: linear-gradient(145deg,#f8f8ff,#e9e9f6);
  box-shadow: 0 1px 0 rgba(0,0,0,.06), inset 0 0 0 1px rgba(0,0,0,.06);
  z-index:3;
}
.book-look .laminated[b-hb28u0if73]::after{         /* الزاوية السفلية اليمنى */
  inset-inline-end: -2px; bottom:-2px;
  transform: rotate(45deg);
}
.book-look .laminated[b-hb28u0if73]::before{        /* الزاوية العلوية اليمنى */
  inset-inline-end: -2px; top:-2px;
  transform: rotate(-45deg);
}

/* 5) شارة السنة بشكل لصاقة على الجلاد */
.book-look .bookmark[b-hb28u0if73]{
  background:#6a1b9a;
  border:1px solid rgba(255,255,255,.6);
  box-shadow:
    0 4px 12px rgba(124,58,237,.30),
    inset 0 1px 0 rgba(255,255,255,.35);
}
.book-look .bookmark[b-hb28u0if73]::after{
  background: linear-gradient(to bottom, #5c138f, #7c3aed);
}

/* 6) ظل قاعدة أعرض ليظهر ككتاب ثقيل */
.book-card.book-look .cover-wrap[b-hb28u0if73]{
  filter: drop-shadow(0 14px 20px rgba(17,24,39,.14));
}
.book-card.book-look:hover .cover-wrap[b-hb28u0if73]{
  filter: drop-shadow(0 22px 34px rgba(124,58,237,.25));
}

/* تأكيد الارتفاع والطول كما طلبت */
.book-card.tall .cover-wrap[b-hb28u0if73]{ aspect-ratio: 3/4; }

/* تحسين التفاعل للموبايل */
@media (hover:none) {
    .book-card.book-look:hover .cover-wrap[b-hb28u0if73] {
        transform: none;
    }
}

/* استجابة */
@media (max-width:520px) {
    .book-card.tall[b-hb28u0if73] {
        aspect-ratio: auto;
    }
}

/* شبكة أصغر قليلاً على الموبايل */
@media (max-width:520px) {
    .book-grid[b-hb28u0if73] {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }
}

@media (max-width:380px) {
    .book-grid[b-hb28u0if73] {
        grid-template-columns: 1fr
    }
}


/* ===== استجابة صغيرة ===== */
@media (max-width:520px) {
    .filters[b-hb28u0if73] {
        grid-template-columns: 1fr;
    }

    .flag-badge[b-hb28u0if73] {
        width: 48px;
        height: 38px;
    }
    /* تصغير بسيط على الشاشات الصغيرة */
    .book-grid[b-hb28u0if73], .skeleton-grid[b-hb28u0if73] {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width:380px) {
    .book-grid[b-hb28u0if73], .skeleton-grid[b-hb28u0if73] {
        grid-template-columns: 1fr;
    }
}
/* _content/LearnPlay/Pages/NumberOrder.razor.rz.scp.css */
/* ===== عنوان & حاويات عامة ===== */
.page-title[b-mav79n8e2h] {
    text-align: center;
    color: #7b1fa2;
    margin: 28px 0 18px;
    font: 800 32px 'Cairo',sans-serif
}

.game-card[b-mav79n8e2h] {
    max-width: 920px;
    margin: 0 auto 26px;
    background: #fffef5;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,.06);
    padding: 22px 18px
}

/* شريط علوي */
.top-bar[b-mav79n8e2h] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px
}

.badge[b-mav79n8e2h] {
    background: #fff7ed;
    color: #f97316;
    font-weight: 800;
    padding: 8px 14px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,.05)
}

.stats[b-mav79n8e2h] {
    background: #f0fdfa;
    color: #0f766e;
    font-weight: 800;
    padding: 8px 14px;
    border-radius: 12px
}

/* عناوين صفوف */
.row-title[b-mav79n8e2h] {
    margin: 14px 4px 8px;
    font-weight: 800;
    color: #374151
}

/* صندوق الأرقام */
.tray[b-mav79n8e2h] {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    min-height: 64px;
    padding: 12px;
    border: 2px dashed #e5e7eb;
    border-radius: 14px;
    background: #fff
}

/* الخانات */
.slots[b-mav79n8e2h] {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(90px,1fr));
    gap: 12px;
    margin-top: 10px
}

.slot[b-mav79n8e2h] {
    min-height: 72px;
    border: 2px dashed #d1d5db;
    border-radius: 14px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background .15s,border-color .15s, transform .08s ease
}

    .slot:active[b-mav79n8e2h] {
        transform: scale(.98)
    }

    .slot:hover[b-mav79n8e2h] {
        background: #f8fbff;
        border-color: #93c5fd
    }

.slot-hint[b-mav79n8e2h] {
    color: #6b7280; /* كان أفتح شوية علشان القراءة */
    font-weight: 700;
    letter-spacing: .2px
}

/* الشيب (الرقم) */
.chip[b-mav79n8e2h] {
    display: grid;
    place-items: center;
    min-width: 64px;
    min-height: 64px;
    padding: 6px 12px;
    border-radius: 14px;
    background: linear-gradient(180deg,#3b82f6,#2563eb);
    color: #fff;
    font-weight: 900;
    font-size: 24px;
    cursor: pointer; /* بدلاً من grab لأن التفاعل بالضغط */
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 8px 20px rgba(37,99,235,.25);
    transition: transform .12s, box-shadow .12s, filter .12s
}

    .chip:hover[b-mav79n8e2h] {
        filter: brightness(1.03)
    }

    .chip:active[b-mav79n8e2h] {
        transform: scale(1.05);
        box-shadow: 0 10px 24px rgba(37,99,235,.32)
    }

    /* دعم الوصول بالكيبورد/الموبايل */
    .chip:focus-visible[b-mav79n8e2h] {
        outline: 3px solid #93c5fd;
        outline-offset: 3px
    }

.in-slot[b-mav79n8e2h] { /* نفس الشكل داخل الخانة */
    background: linear-gradient(180deg,#22c55e,#16a34a);
    box-shadow: 0 8px 20px rgba(22,163,74,.25)
}

/* أزرار */
.actions[b-mav79n8e2h] {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 14px
}

.btn[b-mav79n8e2h] {
    border: none;
    border-radius: 10px;
    padding: 10px 16px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .08s ease, filter .12s
}

    .btn:active[b-mav79n8e2h] {
        transform: translateY(1px)
    }

    .btn.secondary[b-mav79n8e2h] {
        background: #e0e7ff;
        color: #1e3a8a
    }

    .btn.light[b-mav79n8e2h] {
        background: #f3f4f6;
        color: #111827
    }

    .btn.check[b-mav79n8e2h] {
        background: #10b981;
        color: #fff
    }

    .btn:hover[b-mav79n8e2h] {
        filter: brightness(.96)
    }

/* فيدباك */
.feedback[b-mav79n8e2h] {
    margin-top: 12px;
    font-weight: 800;
    padding: 10px 14px;
    border-radius: 12px;
    display: inline-block
}

    .feedback.okay[b-mav79n8e2h] {
        background: #e8f5e9;
        color: #2e7d32;
        border: 2px solid #66bb6a
    }

    .feedback.bad[b-mav79n8e2h] {
        background: #ffebee;
        color: #c62828;
        border: 2px solid #ef5350
    }

/* لودر بسيط */
.loader-wrap[b-mav79n8e2h] {
    display: grid;
    place-items: center;
    height: 220px
}

.loader[b-mav79n8e2h] {
    width: 36px;
    height: 36px;
    border: 4px solid #ddd;
    border-top-color: #7b1fa2;
    border-radius: 50%;
    animation: spin-b-mav79n8e2h 1s linear infinite
}

.loader-text[b-mav79n8e2h] {
    margin-top: 10px;
    color: #6b7280;
    font-weight: 700
}

@keyframes spin-b-mav79n8e2h {
    to {
        transform: rotate(360deg)
    }
}

/* ===== Popup (نفس روح ChooseImage) ===== */
.popup-overlay[b-mav79n8e2h] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center
}

.popup-content[b-mav79n8e2h] {
    background: #fff;
    padding: 26px;
    border-radius: 14px;
    max-width: 420px;
    width: calc(100% - 32px);
    text-align: center;
    animation: popupFade-b-mav79n8e2h .25s ease-out;
    border: 3px solid #ffd54f;
    font-weight: 800
}

.popup-correct[b-mav79n8e2h] {
    border-color: #4caf50;
    background: #e8f5e9;
    color: #2e7d32
}

.popup-wrong[b-mav79n8e2h] {
    border-color: #f44336;
    background: #ffebee;
    color: #c62828
}

.popup-image[b-mav79n8e2h] {
    width: 110px;
    margin: 10px 0;
    animation: pulse-b-mav79n8e2h 1.3s infinite
}

.popup-actions[b-mav79n8e2h] {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 8px
}

.btn.ghost[b-mav79n8e2h] {
    background: #e5e7eb;
    color: #111827
}

.btn.primary[b-mav79n8e2h] {
    background: #3b82f6;
    color: #fff
}

@keyframes popupFade-b-mav79n8e2h {
    from {
        transform: scale(.92);
        opacity: 0
    }

    to {
        transform: scale(1);
        opacity: 1
    }
}

@keyframes pulse-b-mav79n8e2h {
    0% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.08)
    }

    100% {
        transform: scale(1)
    }
}

/* ريسبونسيف */
@media (max-width:540px) {
    .chip[b-mav79n8e2h] {
        min-width: 56px;
        min-height: 56px;
        font-size: 22px
    }

    .slot[b-mav79n8e2h] {
        min-height: 66px
    }
}
/* _content/LearnPlay/Pages/NumberSoundPractice.razor.rz.scp.css */
/* عنوان */
.game-title[b-ky6em5oxu6] {
    text-align: center;
    color: #0ea5e9;
    margin: 26px 0 18px;
    font: 800 32px 'Cairo',sans-serif
}

/* لودر */
.loader-wrap[b-ky6em5oxu6] {
    display: grid;
    place-items: center;
    height: 220px
}

.loader[b-ky6em5oxu6] {
    width: 36px;
    height: 36px;
    border: 4px solid #ddd;
    border-top-color: #0ea5e9;
    border-radius: 50%;
    animation: spin-b-ky6em5oxu6 1s linear infinite
}

.loader-text[b-ky6em5oxu6] {
    margin-top: 10px;
    color: #6b7280;
    font-weight: 700
}

@keyframes spin-b-ky6em5oxu6 {
    to {
        transform: rotate(360deg)
    }
}

/* البطاقة */
.practice-card[b-ky6em5oxu6] {
    max-width: 920px;
    margin: 0 auto 26px;
    background: #fdfcff;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,.06);
    padding: 20px 16px
}

/* الشريط العلوي */
.top-bar[b-ky6em5oxu6] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap
}

.left-pack[b-ky6em5oxu6], .right-pack[b-ky6em5oxu6] {
    display: flex;
    align-items: center;
    gap: 8px
}

.pill[b-ky6em5oxu6] {
    background: #eef2ff;
    color: #3730a3;
    font-weight: 800;
    padding: 6px 10px;
    border-radius: 999px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    font-size: 14px
}

    .pill.coins[b-ky6em5oxu6] {
        background: #fff7ed;
        color: #9a3412
    }

    .pill.streak[b-ky6em5oxu6] {
        background: #ecfeff;
        color: #0e7490
    }

        .pill.streak.on[b-ky6em5oxu6] {
            box-shadow: 0 0 0 3px rgba(14,116,144,.15) inset
        }

/* مؤقت دائري */
.timer[b-ky6em5oxu6] {
    width: 64px;
    height: 64px
}

.circular[b-ky6em5oxu6] {
    width: 64px;
    height: 64px
}

    .circular .bg[b-ky6em5oxu6] {
        fill: none;
        stroke: #e5e7eb;
        stroke-width: 3.2;
        stroke-linecap: round
    }

    .circular .progress[b-ky6em5oxu6] {
        fill: none;
        stroke: #22c55e;
        stroke-width: 3.2;
        stroke-linecap: round;
        transform: rotate(-90deg);
        transform-origin: 50% 50%;
        transition: stroke-dasharray .25s linear
    }

    .circular .count[b-ky6em5oxu6] {
        fill: #111827;
        font: 900 12px 'Cairo',sans-serif;
        text-anchor: middle
    }

/* مستوى */
.level-progress[b-ky6em5oxu6] {
    margin: 10px 0 4px
}

    .level-progress .bar[b-ky6em5oxu6] {
        height: 10px;
        background: #eef2ff;
        border-radius: 999px;
        overflow: hidden
    }

    .level-progress .fill[b-ky6em5oxu6] {
        height: 100%;
        background: linear-gradient(90deg,#22c55e,#16a34a);
        width: 0%;
        transition: width .25s
    }

    .level-progress .lp-text[b-ky6em5oxu6] {
        font-weight: 800;
        color: #475569;
        margin-top: 6px;
        text-align: center
    }

/* رقم كبير */
.number-area[b-ky6em5oxu6] {
    display: grid;
    gap: 12px;
    justify-items: center;
    margin: 10px 0 6px
}

.big-number[b-ky6em5oxu6] {
    width: min(280px,80vw);
    height: min(180px,34vw);
    display: grid;
    place-items: center;
    background: linear-gradient(180deg,#fef3c7,#fde68a);
    color: #1f2937;
    border-radius: 22px;
    font: 900 82px 'Cairo',sans-serif;
    box-shadow: 0 10px 26px rgba(245,158,11,.25);
    user-select: none;
    cursor: pointer;
    transition: transform .12s, box-shadow .12s
}

    .big-number:active[b-ky6em5oxu6] {
        transform: scale(1.03);
        box-shadow: 0 12px 28px rgba(245,158,11,.32)
    }

    .big-number.pop[b-ky6em5oxu6] {
        animation: pop-b-ky6em5oxu6 .45s ease
    }

    .big-number.shake[b-ky6em5oxu6] {
        animation: shake-b-ky6em5oxu6 .45s ease
    }

@keyframes pop-b-ky6em5oxu6 {
    0% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.08)
    }

    100% {
        transform: scale(1)
    }
}

@keyframes shake-b-ky6em5oxu6 {
    10%,90% {
        transform: translateX(-2px)
    }

    20%,80% {
        transform: translateX(4px)
    }

    30%,50%,70% {
        transform: translateX(-6px)
    }

    40%,60% {
        transform: translateX(6px)
    }
}

/* أزرار التحكم */
.controls[b-ky6em5oxu6] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center
}

.btn[b-ky6em5oxu6] {
    border: none;
    border-radius: 12px;
    padding: 10px 16px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .08s ease, filter .12s
}

    .btn:active[b-ky6em5oxu6] {
        transform: translateY(1px)
    }

    .btn.speak[b-ky6em5oxu6] {
        background: #dbeafe;
        color: #1d4ed8
    }

    .btn.light[b-ky6em5oxu6] {
        background: #f3f4f6;
        color: #111827
    }

    .btn.hint[b-ky6em5oxu6] {
        background: #fff7ed;
        color: #c2410c
    }

    .btn.check[b-ky6em5oxu6] {
        background: #10b981;
        color: #fff
    }

    .btn.secondary[b-ky6em5oxu6] {
        background: #e0e7ff;
        color: #1e3a8a
    }

    .btn:hover[b-ky6em5oxu6] {
        filter: brightness(.97)
    }

/* اختيارات */
.row-title[b-ky6em5oxu6] {
    margin: 12px 4px 6px;
    font-weight: 800;
    color: #374151
}

.options[b-ky6em5oxu6] {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(90px,1fr));
    gap: 12px
}

.chip[b-ky6em5oxu6] {
    display: grid;
    place-items: center;
    min-height: 64px;
    border-radius: 14px;
    background: linear-gradient(180deg,#3b82f6,#2563eb);
    color: #fff;
    font: 900 26px 'Cairo',sans-serif;
    box-shadow: 0 8px 20px rgba(37,99,235,.25);
    cursor: pointer;
    user-select: none;
    transition: transform .12s, box-shadow .12s, filter .12s
}

    .chip:hover[b-ky6em5oxu6] {
        filter: brightness(1.04)
    }

    .chip:active[b-ky6em5oxu6] {
        transform: scale(1.05);
        box-shadow: 0 10px 24px rgba(37,99,235,.32)
    }

    .chip.selected[b-ky6em5oxu6] {
        outline: 3px solid #93c5fd;
        outline-offset: 3px
    }

/* أزرار سفلية */
.actions[b-ky6em5oxu6] {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 12px
}

/* فيدباك */
.feedback[b-ky6em5oxu6] {
    margin-top: 10px;
    font-weight: 800;
    padding: 10px 14px;
    border-radius: 12px;
    display: inline-block
}

    .feedback.okay[b-ky6em5oxu6] {
        background: #e8f5e9;
        color: #2e7d32;
        border: 2px solid #66bb6a
    }

    .feedback.bad[b-ky6em5oxu6] {
        background: #ffebee;
        color: #c62828;
        border: 2px solid #ef5350
    }

/* Popup */
.popup-overlay[b-ky6em5oxu6] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center
}

.popup-content[b-ky6em5oxu6] {
    background: #fff;
    padding: 22px;
    border-radius: 14px;
    max-width: 460px;
    width: calc(100% - 32px);
    text-align: center;
    animation: popupFade-b-ky6em5oxu6 .25s ease-out;
    border: 3px solid #ffd54f;
    font-weight: 800
}

.popup-correct[b-ky6em5oxu6] {
    border-color: #4caf50;
    background: #e8f5e9;
    color: #2e7d32
}

.popup-wrong[b-ky6em5oxu6] {
    border-color: #f44336;
    background: #ffebee;
    color: #c62828
}

.popup-image[b-ky6em5oxu6] {
    width: 110px;
    margin: 10px 0;
    animation: pulse-b-ky6em5oxu6 1.3s infinite
}

.popup-actions[b-ky6em5oxu6] {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 8px
}

.popup-badges[b-ky6em5oxu6] {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 6px 0 0
}

.badge[b-ky6em5oxu6] {
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 900
}

    .badge.green[b-ky6em5oxu6] {
        background: #dcfce7;
        color: #166534
    }

    .badge.purple[b-ky6em5oxu6] {
        background: #ede9fe;
        color: #6d28d9
    }

    .badge.glow[b-ky6em5oxu6] {
        box-shadow: 0 0 0 3px rgba(251,146,60,.25) inset
    }

.btn.ghost[b-ky6em5oxu6] {
    background: #e5e7eb;
    color: #111827
}

.btn.primary[b-ky6em5oxu6] {
    background: #3b82f6;
    color: #fff
}

@keyframes popupFade-b-ky6em5oxu6 {
    from {
        transform: scale(.92);
        opacity: 0
    }

    to {
        transform: scale(1);
        opacity: 1
    }
}

@keyframes pulse-b-ky6em5oxu6 {
    0% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.08)
    }

    100% {
        transform: scale(1)
    }
}

/* موبايل */
@media (max-width:540px) {
    .big-number[b-ky6em5oxu6] {
        font-size: 64px
    }

    .chip[b-ky6em5oxu6] {
        min-height: 58px;
        font-size: 24px
    }
}
/* _content/LearnPlay/Pages/Privacy.razor.rz.scp.css */
/* ===== Hero ===== */
.policy-hero[b-7eo95q6jhr] {
    background: linear-gradient(to left, #ffcc80, #ffe0b2);
    border-bottom: 2px dashed #ff9800;
    margin-bottom: 14px;
}

.policy-hero__container[b-7eo95q6jhr] {
    max-width: var(--site-max, 1100px);
    margin-inline: auto;
    padding: 26px 16px;
    text-align: center;
}

.policy-hero h1[b-7eo95q6jhr] {
    margin: 0 0 6px;
    font-size: 28px;
    font-weight: 900;
    color: #2b2b2b;
}

.policy-hero p[b-7eo95q6jhr] {
    margin: 0;
    color: #6b7280;
    font-weight: 700;
}

/* ===== Layout ===== */
.policy-page[b-7eo95q6jhr] {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 18px;
    align-items: start;
    margin-bottom: 22px;
}

@media (max-width: 920px) {
    .policy-page[b-7eo95q6jhr] {
        grid-template-columns: 1fr;
    }
}

/* ===== TOC ===== */
.toc-card[b-7eo95q6jhr] {
    position: sticky;
    top: calc(var(--topbar-h, 110px) + 16px);
    background: #fffaf2;
    border: 1px solid #ffd08a;
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(0,0,0,.08);
    padding: 14px 16px;
}

.toc-title[b-7eo95q6jhr] {
    font-weight: 900;
    margin-bottom: 8px;
    color: #e65100;
}

.toc-card ol[b-7eo95q6jhr] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.toc-card a[b-7eo95q6jhr] {
    color: #2b2b2b;
    text-decoration: none;
    font-weight: 800;
}

    .toc-card a:hover[b-7eo95q6jhr] {
        text-decoration: underline;
    }

/* ===== Content ===== */
.policy-content[b-7eo95q6jhr] {
    background: #fffaf2;
    border: 1px solid #ffd08a;
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(0,0,0,.08);
    padding: 20px 18px;
    line-height: 1.85;
    color: #333;
}

.lead[b-7eo95q6jhr] {
    font-weight: 700;
    color: #444;
}

.policy-content h2[b-7eo95q6jhr] {
    margin-top: 16px;
    color: #e65100;
    font-size: 20px;
    border-right: 4px solid #ff9800;
    padding-right: 8px;
}

.bullets[b-7eo95q6jhr] {
    list-style: none;
    padding-right: 18px;
    display: grid;
    gap: 6px;
}

.link[b-7eo95q6jhr] {
    color: #ff7043;
    font-weight: 800;
    text-decoration: none;
}

    .link:hover[b-7eo95q6jhr] {
        text-decoration: underline;
    }

.updated[b-7eo95q6jhr] {
    text-align: center;
    margin-top: 18px;
    color: #787878;
    font-weight: 700;
}

.back-to-top[b-7eo95q6jhr] {
    display: inline-block;
    margin-top: 8px;
    font-weight: 800;
    color: #ff7043;
    text-decoration: none;
}

    .back-to-top:hover[b-7eo95q6jhr] {
        text-decoration: underline;
    }
/* _content/LearnPlay/Pages/Student/StudentHome.razor.rz.scp.css */
/* بطل الصفحة */
.kid-hero[b-fzkzeu8wxa] {
    text-align: center;
    margin: 28px 0 18px;
}

    .kid-hero .title[b-fzkzeu8wxa] {
        font-weight: 900;
        color: #4c1d95;
        margin: 0;
        font-size: clamp(24px, 3.8vw, 40px);
    }

        .kid-hero .title span[b-fzkzeu8wxa] {
            background: linear-gradient(90deg,#7c3aed,#ef4444);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

    .kid-hero .subtitle[b-fzkzeu8wxa] {
        color: #6b7280;
        font-weight: 800;
        margin-top: 8px;
    }

/* حالة غير مسجّل دخول */
.center-wrap[b-fzkzeu8wxa] {
    min-height: 38vh;
    display: grid;
    place-items: center;
    padding: 12px;
}

.warn-card[b-fzkzeu8wxa] {
    width: min(680px, 94vw);
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #f3f4f6;
    box-shadow: 0 12px 32px rgba(17,24,39,.10);
    padding: 18px;
    display: grid;
    grid-template-columns: 84px 1fr auto;
    gap: 14px;
    align-items: center;
}

    .warn-card .emoji[b-fzkzeu8wxa] {
        width: 84px;
        height: 84px;
        display: grid;
        place-items: center;
        font-size: 40px;
        border-radius: 18px;
        background: linear-gradient(135deg,#fde68a,#fca5a5);
        border: 3px dashed #f59e0b;
    }

    .warn-card .text h3[b-fzkzeu8wxa] {
        margin: 0 0 6px;
        color: #111827;
        font-weight: 900;
    }

    .warn-card .text p[b-fzkzeu8wxa] {
        margin: 0;
        color: #6b7280;
        font-weight: 800;
    }

    .warn-card .cta[b-fzkzeu8wxa] {
        text-decoration: none;
        padding: 12px 16px;
        border-radius: 14px;
        color: #fff;
        font-weight: 900;
        background: linear-gradient(90deg,#6366f1,#8b5cf6);
        box-shadow: 0 10px 22px rgba(99,102,241,.28);
    }

/* شبكة الأنشطة */
.game-grid .game-card[b-fzkzeu8wxa] {
    text-decoration: none;
    border: 1px solid #eef2f7;
    background: #fff;
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 10px 24px rgba(17,24,39,.06);
    transition: transform .12s ease, box-shadow .12s ease;
    color: inherit;
}

    .game-grid .game-card:hover[b-fzkzeu8wxa] {
        transform: translateY(-3px);
        box-shadow: 0 14px 30px rgba(17,24,39,.10);
    }


/* كرت "قريبًا" — نفس الشكل، بس غير قابل للنقر + شارة */
.game-options-grid .game-card.soon[b-fzkzeu8wxa] {
    position: relative;
    pointer-events: none; /* تعطيل النقر مؤقتًا */
    /* لا نغيّر الخلفية ولا الشادو ولا الشفافية عشان يفضل نفس شكل الباقي */
}

/* شارة "قريبًا" */
.game-options-grid .soon-badge[b-fzkzeu8wxa] {
    position: absolute;
    top: 10px;
    inset-inline-start: 10px; /* RTL/LTR آمن */
    background: #6a1b9a;
    color: #fff;
    font-weight: 900;
    font-size: .85rem;
    padding: 4px 10px;
    border-radius: 999px;
    box-shadow: 0 6px 14px rgba(106,27,154,.25);
}


.card-head[b-fzkzeu8wxa] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.badge[b-fzkzeu8wxa] {
    font-weight: 900;
    font-size: 14px;
    color: #065f46;
    background: #ecfdf5;
    border-radius: 999px;
    padding: 4px 10px;
}

.icon[b-fzkzeu8wxa] {
    font-size: 32px;
}

.card-body[b-fzkzeu8wxa] {
    margin-top: 10px;
}

.label[b-fzkzeu8wxa] {
    font-weight: 900;
    color: #111827;
}

.desc[b-fzkzeu8wxa] {
    color: #6b7280;
    font-weight: 700;
    font-size: 14px;
    margin-top: 4px;
}

/* شاشة قبل تسجيل الدخول (لطيفة للأطفال) */
.login-gate[b-fzkzeu8wxa] {
    max-width: 680px;
    margin: 24px auto 40px;
    padding: 26px 22px;
    text-align: center;
    border-radius: 22px;
    background: radial-gradient(1200px 300px at 90% -50%, #fde68a33, transparent), radial-gradient(900px 280px at -20% 110%, #a7f3d033, transparent), #ffffffcc;
    border: 2px dashed #fbbf24;
    box-shadow: 0 14px 28px rgba(17,24,39,.08);
}

.gate-emoji[b-fzkzeu8wxa] {
    font-size: 56px;
    line-height: 1;
    margin-bottom: 6px;
}

.gate-title[b-fzkzeu8wxa] {
    margin: 6px 0 8px;
    font-weight: 900;
    color: #5b21b6;
}

.gate-text[b-fzkzeu8wxa] {
    margin: 0 0 14px;
    color: #374151;
    font-weight: 700;
}

.btn-login[b-fzkzeu8wxa] {
    display: inline-block;
    padding: 14px 22px;
    border-radius: 14px;
    background: linear-gradient(180deg,#6366f1,#4f46e5);
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: .2px;
    box-shadow: 0 10px 20px rgba(79,70,229,.25);
    transition: transform .15s ease, box-shadow .15s ease;
}

    .btn-login:hover[b-fzkzeu8wxa] {
        transform: translateY(-2px);
        box-shadow: 0 14px 26px rgba(79,70,229,.33);
    }

    .btn-login:active[b-fzkzeu8wxa] {
        transform: translateY(0);
    }

.gate-tip[b-fzkzeu8wxa] {
    margin: 12px 0 0;
    color: #6b7280;
    font-weight: 700;
}

/* ==== كرت "قريبًا" ==== */
.game-card.soon[b-fzkzeu8wxa] {
    position: relative;
    pointer-events: none; /* تعطيل النقر */
    opacity: .85;
    filter: grayscale(8%) saturate(.9);
}

    .game-card.soon .icon[b-fzkzeu8wxa] {
        opacity: .9;
    }

    .game-card.soon .description[b-fzkzeu8wxa] {
        color: #555;
    }

/* شارة "قريبًا" أعلى الكرت */
.soon-badge[b-fzkzeu8wxa] {
    position: absolute;
    top: 10px;
    inset-inline-start: 10px; /* RTL/LTR آمن */
    background: #6a1b9a;
    color: #fff;
    font-weight: 900;
    font-size: .85rem;
    padding: 4px 10px;
    border-radius: 999px;
    box-shadow: 0 6px 14px rgba(106,27,154,.25);
}


/* موبايل */
@media (max-width:520px) {
    .warn-card[b-fzkzeu8wxa] {
        grid-template-columns: 62px 1fr;
    }

        .warn-card .emoji[b-fzkzeu8wxa] {
            width: 62px;
            height: 62px;
            font-size: 32px;
            border-radius: 16px
        }

        .warn-card .cta[b-fzkzeu8wxa] {
            grid-column: 1 / -1;
            justify-self: end;
        }
}
/* _content/LearnPlay/Pages/Student/StudentLogin.razor.rz.scp.css */
/* خلفية مرِحة مناسبة للأطفال */
.kid-wrap[b-bkyvhm3l3r] {
    min-height: calc(100vh - 110px);
    display: grid;
    place-items: center;
    padding: 24px 16px;
    background: radial-gradient(900px 400px at 100% -40%, #fde04722, transparent), radial-gradient(700px 420px at -20% 120%, #a7f3d022, transparent), #fff7ed; /* برتقالي فاتح دافي */
}

/* الكارت */
.kid-card[b-bkyvhm3l3r] {
    width: min(680px, 94vw);
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 18px 40px rgba(17,24,39,.14);
    padding: 20px 18px 22px;
    animation: pop-b-bkyvhm3l3r .15s ease-out;
}

/* رأس البطاقة */
.card-head[b-bkyvhm3l3r] {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 12px;
    align-items: center;
    margin-bottom: 6px;
}

.mascot[b-bkyvhm3l3r] {
    width: 84px;
    height: 84px;
    display: grid;
    place-items: center;
    font-size: 44px;
    border-radius: 22px;
    background: linear-gradient(135deg,#fde68a,#fca5a5);
    border: 3px dashed #f59e0b;
}

.titles .brand[b-bkyvhm3l3r] {
    font-weight: 900;
    color: #374151;
}

.headline[b-bkyvhm3l3r] {
    margin: 2px 0 0 0;
    font-weight: 900;
    color: #111827;
}

.sub[b-bkyvhm3l3r] {
    color: #6b7280;
    margin: 4px 0 0;
    font-weight: 700
}

/* رسائل */
.alert.error[b-bkyvhm3l3r] {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
    border-radius: 14px;
    padding: 10px 12px;
    font-weight: 800;
    margin: 10px 0 2px;
}

/* النموذج */
.form[b-bkyvhm3l3r] {
    margin-top: 6px;
}

.row[b-bkyvhm3l3r] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0;
}

.icon-bubble[b-bkyvhm3l3r] {
    flex: 0 0 46px;
    height: 46px;
    width: 46px;
    display: grid;
    place-items: center;
    font-size: 22px;
    background: #f1f5f9;
    color: #374151;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
}

.field[b-bkyvhm3l3r] {
    flex: 1;
}

    .field label[b-bkyvhm3l3r] {
        display: block;
        margin-bottom: 6px;
        font-weight: 900;
        color: #374151;
    }

.text-input[b-bkyvhm3l3r] {
    width: 100%;
    padding: 12px 14px;
    font-size: 18px;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    text-align: right; /* مهم للغات RTL */
    outline: none;
    transition: box-shadow .15s, border-color .15s;
}

    .text-input:focus[b-bkyvhm3l3r] {
        border-color: #60a5fa;
        box-shadow: 0 0 0 4px #dbeafe;
    }

/* شريط كلمة السر + زر الإظهار */
.pass-line[b-bkyvhm3l3r] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.show-btn[b-bkyvhm3l3r] {
    white-space: nowrap;
    border: none;
    cursor: pointer;
    background: #f3f4f6;
    color: #111827;
    font-weight: 900;
    padding: 10px 12px;
    border-radius: 12px;
}

/* زر الدخول */
.big-btn[b-bkyvhm3l3r] {
    width: 100%;
    border: none;
    cursor: pointer;
    margin-top: 8px;
    padding: 14px 16px;
    font-size: 18px;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(90deg,#6366f1,#8b5cf6);
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(99,102,241,.28);
}

    .big-btn:disabled[b-bkyvhm3l3r] {
        opacity: .7;
        cursor: not-allowed;
    }

/* تلميح */
.hint[b-bkyvhm3l3r] {
    text-align: center;
    color: #6b7280;
    font-weight: 800;
    margin-top: 10px;
}

/* حركة بسيطة */
@keyframes pop-b-bkyvhm3l3r {
    from {
        transform: scale(.98);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* موبايل */
@media (max-width: 460px) {
    .card-head[b-bkyvhm3l3r] {
        grid-template-columns: 62px 1fr;
    }

    .mascot[b-bkyvhm3l3r] {
        width: 62px;
        height: 62px;
        font-size: 32px;
        border-radius: 18px
    }

    .text-input[b-bkyvhm3l3r] {
        font-size: 17px
    }
}
/* _content/LearnPlay/Pages/Teacher/AssignHomework.razor.rz.scp.css */
/* ===== أساسيات الصفحة ===== */
.page-wrap[b-btvdwxwvgr] {
    padding: 14px;
}

.page-header[b-btvdwxwvgr] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 16px;
}

    .page-header h2[b-btvdwxwvgr] {
        margin: 0;
        font-size: 24px;
    }

.sub[b-btvdwxwvgr] {
    margin-top: 6px;
    color: #6b7280;
    font-size: 14px;
}

/* ===== زر الرجوع + Picker الاحترافي ===== */
/* ===== Toolbar + Picker (موحّد مع ManageStudents) ===== */
:root[b-btvdwxwvgr] {
    --ctl-h: 46px;
    --radius: 12px;
}

/* نفس ترتيب ManageStudents */
.toolbar[b-btvdwxwvgr] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-width: 260px;
}

/* زر الرجوع */
.back-btn[b-btvdwxwvgr] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 10px;
    background: linear-gradient(135deg,#2563eb,#1d4ed8);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(37,99,235,.25);
    cursor: pointer;
    text-decoration: none;
    transition: .2s;
}

    .back-btn .icon[b-btvdwxwvgr] {
        font-size: 18px;
        line-height: 1;
        transition: transform .2s;
    }

    .back-btn:hover[b-btvdwxwvgr] {
        transform: translateY(-1px);
        box-shadow: 0 6px 14px rgba(29,78,216,.35);
    }

        .back-btn:hover .icon[b-btvdwxwvgr] {
            transform: translateX(3px);
        }

/* عنوان واختيارات الفصل */
.picker[b-btvdwxwvgr] {
    display: grid;
    gap: 6px;
    width: 100%;
}

.picker-label[b-btvdwxwvgr] {
    font-size: 12px;
    color: #6b7280;
}

/* الغلاف والسهم */
.select-wrap[b-btvdwxwvgr] {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
}

    /* السلكت نفسه – إجبار الارتفاع والشكل */
    .select-wrap select[b-btvdwxwvgr] {
        box-sizing: border-box;
        display: block;
        width: 100%;
        height: var(--ctl-h);
        line-height: calc(var(--ctl-h) - 2px);
        font-size: 15px;
        padding: 0 46px 0 12px; /* مساحة للسهم */
        border-radius: 14px;
        border: 1px solid #e5e7eb;
        background: #fff;
        background-image: none;
        box-shadow: 0 10px 22px rgba(15,23,42,.06);
        transition: border-color .15s, box-shadow .15s, background-color .15s;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }

        .select-wrap select:focus[b-btvdwxwvgr] {
            outline: none;
            border-color: #93c5fd;
            box-shadow: 0 0 0 4px rgba(59,130,246,.12);
        }

    /* سهم دائري أزرق */
    .select-wrap .arrow[b-btvdwxwvgr] {
        position: absolute;
        right: 8px; /* في RTL يفضل السهم يمين */
        top: 50%;
        transform: translateY(-50%);
        width: 30px;
        height: 30px;
        border-radius: 999px;
        background: #2563eb;
        display: grid;
        place-items: center;
        color: #fff;
        font-weight: 800;
        font-size: 14px;
        box-shadow: 0 6px 14px rgba(37,99,235,.25);
        pointer-events: none;
    }

/* إخفاء سهم IE القديم */
select[b-btvdwxwvgr]::-ms-expand {
    display: none;
}



/* لودينج */
.skeleton[b-btvdwxwvgr] {
    height: 120px;
    background: linear-gradient(90deg,#f6f7f8 25%,#ecebeb 37%,#f6f7f8 63%);
    background-size: 400% 100%;
    border-radius: 14px;
    animation: shimmer-b-btvdwxwvgr 1.2s infinite;
}

@keyframes shimmer-b-btvdwxwvgr {
    0% {
        background-position: 200% 0
    }

    100% {
        background-position: -200% 0
    }
}

/* تنبيهات */
.alert[b-btvdwxwvgr] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 12px;
    padding: 10px 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

    .alert.ok[b-btvdwxwvgr] {
        background: #ecfdf5;
        color: #065f46;
        border: 1px solid #a7f3d0;
    }

    .alert.bad[b-btvdwxwvgr] {
        background: #fef2f2;
        color: #991b1b;
        border: 1px solid #fecaca;
    }

    .alert .x[b-btvdwxwvgr] {
        background: transparent;
        border: none;
        cursor: pointer;
        font-size: 16px;
    }

/* ملاحظات */
.notice[b-btvdwxwvgr] {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px dashed #f0ad4e;
    background: #fff7ed;
    color: #8a6d3b;
    margin-bottom: 14px;
}

    .notice.muted[b-btvdwxwvgr] {
        border-color: #e5e7eb;
        background: #f9fafb;
        color: #6b7280;
    }

    .notice.warn[b-btvdwxwvgr] {
        border-color: #fde68a;
        background: #fffbeb;
        color: #92400e;
    }

/* شبكة وبطاقات */
.grid.two[b-btvdwxwvgr] {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 14px;
}

@media (max-width:920px) {
    .grid.two[b-btvdwxwvgr] {
        grid-template-columns: 1fr;
    }
}

.card[b-btvdwxwvgr] {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 14px;
}

.manage-card[b-btvdwxwvgr] {
    position: relative;
    border: none;
    background: #fff;
    box-shadow: 0 14px 40px rgba(15,23,42,.06);
    padding: 18px 18px 14px;
    overflow: hidden;
}

    .manage-card[b-btvdwxwvgr]::before {
        content: "";
        position: absolute;
        inset: 0 0 auto 0;
        height: 6px;
        background: linear-gradient(90deg,#22c55e,#3b82f6 40%,#a855f7 75%,#f59e0b);
    }

.card-head[b-btvdwxwvgr] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px dashed #e5e7eb;
}

    .card-head .hint[b-btvdwxwvgr] {
        color: #6b7280;
        font-size: 12px
    }

/* فورم */
.form[b-btvdwxwvgr] {
    display: grid;
    gap: 10px;
}

.field[b-btvdwxwvgr] {
    display: grid;
    gap: 6px;
}

    .field input[b-btvdwxwvgr], .field select[b-btvdwxwvgr], .toolbar input[b-btvdwxwvgr] {
        padding: 12px 14px;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 1px 0 rgba(0,0,0,.02) inset;
        transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
    }

        .field input:focus[b-btvdwxwvgr], .field select:focus[b-btvdwxwvgr], .toolbar input:focus[b-btvdwxwvgr] {
            outline: none;
            border-color: #60a5fa;
            box-shadow: 0 0 0 3px rgba(96,165,250,.25);
        }

.muted[b-btvdwxwvgr] {
    color: #6b7280;
    font-size: 12px
}

/* رافع الصور */
.uploader[b-btvdwxwvgr] {
    display: grid;
    gap: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 14px;
    background: linear-gradient(180deg,#ffffff 0%,#fcfcfd 100%);
    box-shadow: 0 6px 24px rgba(2,6,23,.04) inset;
}

.uploader-head .title[b-btvdwxwvgr] {
    font-weight: 900;
    color: #0f172a;
}

.dropzone[b-btvdwxwvgr] {
    position: relative;
    border: 2px dashed #cbd5e1;
    border-radius: 16px;
    min-height: 200px;
    display: grid;
    place-items: center;
    padding: 16px;
    background: #fbfbfe;
    transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

    .dropzone:hover[b-btvdwxwvgr] {
        border-color: #60a5fa;
        background: #f8fbff;
        transform: translateY(-1px);
    }

    .dropzone input[type="file"][b-btvdwxwvgr] {
        position: absolute;
        inset: 0;
        opacity: 0;
        cursor: pointer;
    }

    .dropzone .hint[b-btvdwxwvgr] {
        color: #6b7280;
        font-weight: 600;
        text-align: center;
    }

.preview[b-btvdwxwvgr] {
    width: 100%;
    max-height: 220px;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 20px rgba(15,23,42,.06);
}

/* شريط الحفظ */
.savebar[b-btvdwxwvgr] {
    position: sticky;
    bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    padding: 10px 12px;
    border: none;
    border-radius: 14px;
    background: #ffffffcc;
    box-shadow: 0 8px 28px rgba(2,6,23,.06);
    backdrop-filter: blur(2px);
}

.primary[b-btvdwxwvgr] {
    background: linear-gradient(90deg,#2563eb,#4f46e5);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 10px 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(79,70,229,.25);
}

    .primary:disabled[b-btvdwxwvgr] {
        opacity: .5;
        cursor: not-allowed;
    }

.ghost[b-btvdwxwvgr] {
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer;
}

.small[b-btvdwxwvgr] {
    padding: 6px 8px;
    border-radius: 8px;
}

.info[b-btvdwxwvgr] {
    display: flex;
    gap: 8px;
    align-items: center;
    color: #6b7280;
}

.dot[b-btvdwxwvgr] {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    display: inline-block;
}

    .dot.ok[b-btvdwxwvgr] {
        background: #10b981;
    }

    .dot.bad[b-btvdwxwvgr] {
        background: #ef4444;
    }

/* مودال الحذف */
.modal-overlay[b-btvdwxwvgr] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.35);
    backdrop-filter: blur(1px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal[b-btvdwxwvgr] {
    width: min(520px,92vw);
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(0,0,0,.25);
    padding: 18px 20px;
    animation: modal-pop-b-btvdwxwvgr .15s ease-out;
}

.modal-header[b-btvdwxwvgr] {
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 8px;
}

.modal-body[b-btvdwxwvgr] {
    color: #374151;
}

.modal-item[b-btvdwxwvgr] {
    margin-top: 8px;
    padding: 10px 12px;
    background: #f9fafb;
    border: 1px dashed #e5e7eb;
    border-radius: 12px;
}

.chip[b-btvdwxwvgr] {
    display: inline-block;
    margin-inline-start: 8px;
    background: #f0fdfa;
    color: #065f46;
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
}

.modal-actions[b-btvdwxwvgr] {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn.danger[b-btvdwxwvgr] {
    background: #ef4444;
    color: #fff;
}

.btn.ghost[b-btvdwxwvgr] {
    background: #e5e7eb;
    color: #111827;
}
/* حجم موحّد لصور الواجب داخل الكروت */
.homework-card .hw-img[b-btvdwxwvgr] {
    width: 100%;
    height: 140px; /* ارتفاع ثابت للكرت */
    object-fit: contain; /* بدون قص للصورة */
    background: #fff; /* أو #f9fafb لو تحب إطار فاتح */
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    display: block;
    margin-top: 8px;
}

/* شبكة الكروت: خلي الكرت ثابت العرض حتى لو واحد بس */
.assign-hw .homework-grid[b-btvdwxwvgr] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
    justify-content: flex-start; /* يبدأ من اليمين في RTL */
    align-items: stretch;
}

/* كرت الواجب: عرض صغير ثابت */
.assign-hw .homework-card[b-btvdwxwvgr] {
    flex: 0 0 320px; /* ما يتمددش */
    max-width: 320px;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 12px;
    background: #fffefb;
}

    /* الصورة داخل الكرت – عندك قاعدة أصلاً؛ دي نسخة محصورة بالصفحة */
    .assign-hw .homework-card .hw-img[b-btvdwxwvgr] {
        width: 100%;
        height: 140px; /* ارتفاع ثابت */
        object-fit: contain;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        display: block;
        margin-top: 8px;
        background: #fff;
    }

/* ===== Fix: إجبار حجم الـ InputSelect داخل التولبار ===== */
.toolbar .select-wrap > select[b-btvdwxwvgr],
.toolbar .select-wrap > .select[b-btvdwxwvgr] {
    height: 62px !important; /* ⬅️ كبرنا الارتفاع */
    min-height: 62px !important;
    padding: 12px 60px 12px 14px !important; /* padding أكبر */
    font-size: 35px !important; /* خط أوضح */
    line-height: 38px !important; /* يضمن النص في النص */
    border-radius: 14px !important;
    background-image: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    box-sizing: border-box !important;
    display: block !important;
    width: 280px !important; /* ⬅️ خلي العرض أكبر */
    max-width: 100% !important;
}

/* سهم الاختيار */
.toolbar .select-wrap .arrow[b-btvdwxwvgr] {
    right: 10px;
    inset-inline-start: auto;
    width: 34px;
    height: 34px;
    font-size: 16px;
}

/* === Global Centered Loader Overlay === */
.global-loader[b-btvdwxwvgr] {
    position: fixed;
    inset: 0;
    z-index: 10000; /* أعلى من المودال الحالي */
    display: grid;
    place-items: center;
    background: radial-gradient(1200px 600px at 50% -20%, rgba(37,99,235,.20), transparent 60%), rgba(15,23,42,.35);
    backdrop-filter: blur(2.5px);
}

.gl-card[b-btvdwxwvgr] {
    width: min(440px, 90vw);
    border-radius: 16px;
    padding: 22px 20px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 24px 80px rgba(15,23,42,.25);
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 14px;
    animation: gl-pop-b-btvdwxwvgr .18s ease-out;
}

/* لوجو/سبنر كبير */
.spinner-lg[b-btvdwxwvgr] {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    border: 6px solid #e5e7eb;
    border-top-color: #2563eb;
    animation: gl-spin-b-btvdwxwvgr 1s linear infinite;
    box-shadow: 0 0 0 3px rgba(37,99,235,.06) inset;
}

.gl-texts[b-btvdwxwvgr] {
    display: grid;
    align-content: center;
    gap: 4px;
}

.gl-title[b-btvdwxwvgr] {
    font-weight: 900;
    color: #0f172a;
    font-size: 18px;
}

.gl-sub[b-btvdwxwvgr] {
    color: #6b7280;
    font-size: 13px;
}

/* Progress bar */
.gl-progress[b-btvdwxwvgr] {
    grid-column: 1 / -1;
    height: 8px;
    background: #f3f4f6;
    border-radius: 999px;
    overflow: hidden;
    position: relative;
    margin-top: 4px;
}

.gl-bar[b-btvdwxwvgr] {
    position: absolute;
    inset: 0 auto 0 0;
    width: 30%;
    background: linear-gradient(90deg, #60a5fa, #2563eb);
    border-radius: 999px;
    animation: gl-indet-b-btvdwxwvgr 1.1s ease-in-out infinite;
    box-shadow: 0 6px 16px rgba(37,99,235,.25);
}

/* Animations */
@keyframes gl-spin-b-btvdwxwvgr {
    to {
        transform: rotate(360deg);
    }
}

@keyframes gl-indet-b-btvdwxwvgr {
    0% {
        left: -30%;
        width: 30%;
    }

    50% {
        left: 35%;
        width: 40%;
    }

    100% {
        left: 100%;
        width: 30%;
    }
}

@keyframes gl-pop-b-btvdwxwvgr {
    from {
        transform: translateY(6px) scale(.985);
        opacity: .0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.assign-hw .homework-grid.compact[b-btvdwxwvgr] {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(260px, 320px)) !important;
    gap: 12px !important;
    align-items: stretch !important;
    justify-content: start !important;
}

    .assign-hw .homework-grid.compact > *[b-btvdwxwvgr] {
        width: auto !important;
        max-width: none !important;
    }

.assign-hw .homework-card.sm[b-btvdwxwvgr] {
    width: 100% !important;
    max-width: none !important;
    min-height: 180px !important;
    margin: 0 !important;
}

    .assign-hw .homework-card.sm .hw-img.thumb[b-btvdwxwvgr] {
        height: 140px !important;
        object-fit: contain;
    }


/* تقصير الأسطر */
.line-1[b-btvdwxwvgr] {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.line-2[b-btvdwxwvgr] {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

/* صوت صغير */
.assign-hw .homework-card.sm .hw-audio[b-btvdwxwvgr] {
    width: 100%;
    transform: scale(.94);
    transform-origin: right top; /* RTL */
    margin-top: 2px;
}

/* أزرار الإجراءات */
.assign-hw .homework-card.sm .hw-actions[b-btvdwxwvgr] {
    display: flex;
    gap: 6px;
    margin-top: auto;
    justify-content: flex-end;
}

.assign-hw .homework-card.sm .icon-btn[b-btvdwxwvgr] {
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 10px;
    padding: 6px 8px;
    font-weight: 700;
    cursor: pointer;
}

    .assign-hw .homework-card.sm .icon-btn.edit[b-btvdwxwvgr] {
        background: #e0e7ff;
        color: #1e3a8a;
        border-color: #c7d2fe
    }

    .assign-hw .homework-card.sm .icon-btn.del[b-btvdwxwvgr] {
        background: #fee2e2;
        color: #b91c1c;
        border-color: #fecaca
    }

/* 1) امنع القاعدة القديمة من التأثير على .compact */
.assign-hw .homework-grid:not(.compact)[b-btvdwxwvgr] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
    align-items: stretch;
}

/* 2) فرض الجريد على القائمة المدمجة ومنع أي override خارجي */
.assign-hw .homework-grid.compact[b-btvdwxwvgr] {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(260px, 320px)) !important;
    gap: 12px !important;
    align-items: stretch !important;
    justify-content: start !important;
}

    /* 3) أي عنصر داخل الشبكة لا يورِّث عرض غريب */
    .assign-hw .homework-grid.compact > *[b-btvdwxwvgr] {
        width: auto !important;
        max-width: none !important;
    }

/* 4) الكرت الصغير: امنع أي ارتفاع/عرض مفروض من ملفات تانية */
.assign-hw .homework-card.sm[b-btvdwxwvgr] {
    display: flex;
    flex-direction: column;
    width: 100% !important; /* يملأ خلية الجريد فقط */
    min-height: 180px !important;
    max-width: none !important;
    margin: 0 !important;
}

/* 5) لو فيه قاعدة عامة لـ .homework-card برة الصفحة بتدي عرض/ارتفاع كبير—إكسرها هنا */
.assign-hw .homework-card[b-btvdwxwvgr] {
    min-height: unset !important;
    width: auto !important;
}

    /* 6) الصورة داخل الكرت بارتفاع ثابت (من غير تمدد رأسي) */
    .assign-hw .homework-card.sm .hw-img.thumb[b-btvdwxwvgr] {
        height: 140px !important;
        aspect-ratio: auto !important;
        object-fit: contain;
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        margin: 4px 0;
    }


/* ✅ نفس شكل صندوق "اختر الفصل" لكن لمحتوى SubjectPicker الداخلي */
.subject-picker-wrap[b-btvdwxwvgr]  select,
.subject-picker-wrap[b-btvdwxwvgr]  .select,
.subject-picker-wrap[b-btvdwxwvgr]  .form-select,
.subject-picker-wrap[b-btvdwxwvgr]  .sp-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-sizing: border-box;
    display: block;
    width: 100% !important;
    height: var(--ctl-h) !important;
    line-height: calc(var(--ctl-h) - 2px) !important;
    font-size: 15px !important;
    padding: 0 46px 0 12px !important; /* مساحة للسهم */
    border-radius: 14px !important;
    border: 1px solid #e5e7eb !important;
    background: #fff !important;
    background-image: none !important;
    box-shadow: 0 10px 22px rgba(15,23,42,.06) !important;
    transition: border-color .15s, box-shadow .15s, background-color .15s !important;
}

    .subject-picker-wrap[b-btvdwxwvgr]  select:focus,
    .subject-picker-wrap[b-btvdwxwvgr]  .select:focus,
    .subject-picker-wrap[b-btvdwxwvgr]  .form-select:focus,
    .subject-picker-wrap[b-btvdwxwvgr]  .sp-select:focus {
        outline: none !important;
        border-color: #93c5fd !important;
        box-shadow: 0 0 0 4px rgba(59,130,246,.12) !important;
    }

/* RTL: السهم يمين، والبَدينج يعوِّض */
[dir="rtl"] .subject-picker-wrap[b-btvdwxwvgr]  select,
[dir="rtl"] .subject-picker-wrap[b-btvdwxwvgr]  .select,
[dir="rtl"] .subject-picker-wrap[b-btvdwxwvgr]  .form-select,
[dir="rtl"] .subject-picker-wrap[b-btvdwxwvgr]  .sp-select {
    padding-inline: 12px 46px !important;
}

/* لو عندك قواعد تكبير خاصة بعناصر التولبار—وسِّعها لتشمل السيليكتور العميق */
.toolbar .select-wrap > select[b-btvdwxwvgr],
.toolbar .select-wrap > .select[b-btvdwxwvgr],
.toolbar .subject-picker-wrap[b-btvdwxwvgr]  select {
    height: 62px !important;
    min-height: 62px !important;
    padding: 12px 60px 12px 14px !important;
    font-size: 16px !important;
    line-height: 38px !important;
    border-radius: 14px !important;
    width: 280px !important; /* نفس عرض صندوق الفصل */
}

/* اختياري: إخفاء سهم IE القديم لو المتصفح دعمه */
.subject-picker-wrap[b-btvdwxwvgr]  select::-ms-expand {
    display: none;
}



/* موبايل: ياخذ عرض الشاشة */
@media (max-width:480px) {
    .assign-hw .homework-grid.compact[b-btvdwxwvgr] {
        grid-template-columns: 1fr
    }

    .assign-hw .homework-card.sm .hw-img.thumb[b-btvdwxwvgr] {
        aspect-ratio: 3 / 2
    }
}


/* موبايل: اسمح له ياخذ العرض كله */
@media (max-width: 480px) {
    .assign-hw .homework-card[b-btvdwxwvgr] {
        flex: 1 1 100%;
        max-width: 100%;
    }

        .assign-hw .homework-card .hw-img[b-btvdwxwvgr] {
            height: 120px;
        }
}


@media (max-width: 480px) {
    .homework-card .hw-img[b-btvdwxwvgr] {
        height: 120px;
    }
}

@keyframes modal-pop-b-btvdwxwvgr {
    from {
        transform: scale(.96);
        opacity: 0
    }

    to {
        transform: scale(1);
        opacity: 1
    }
}
/* _content/LearnPlay/Pages/Teacher/CreateClass.razor.rz.scp.css */
.page-wrap[b-2utn7sbx0m] {
    padding: 14px
}

/* ====== رأس الصفحة ====== */
/* الوضع الجديد: Grid بعمودين */
.page-header.header-grid[b-2utn7sbx0m] {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 16px;
    margin-bottom: 16px;
}

.title-wrap h2[b-2utn7sbx0m] {
    margin: 0;
    font-size: 24px
}

.sub[b-2utn7sbx0m] {
    margin-top: 6px;
    color: #6b7280;
    font-size: 14px
}

/* العمود الجانبي: زر بالأعلى ثم الإحصاء أسفل */
.side-wrap[b-2utn7sbx0m] {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* يمين في RTL */
    gap: 10px;
}

/* ====== إحصاءات ====== */
.stats[b-2utn7sbx0m] {
    display: flex;
    gap: 10px
}

.stat[b-2utn7sbx0m] {
    min-width: 160px
}

.stat-card[b-2utn7sbx0m] {
    position: relative;
    background: #fff;
    border: none;
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: 0 12px 28px rgba(2,6,23,.06);
    overflow: hidden
}

    .stat-card[b-2utn7sbx0m]::before {
        content: "";
        position: absolute;
        inset: 0 0 auto 0;
        height: 4px;
        background: linear-gradient(90deg,#22c55e,#3b82f6 45%,#a855f7 80%,#f59e0b)
    }

.stat .label[b-2utn7sbx0m] {
    color: #6b7280;
    font-size: 13px
}

.stat .value[b-2utn7sbx0m] {
    font-weight: 800;
    font-size: 22px;
    margin-top: 4px
}

/* ====== تنبيهات ====== */
.alerts[b-2utn7sbx0m] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px
}

.alert[b-2utn7sbx0m] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 12px;
    padding: 10px 12px;
    font-weight: 600
}

    .alert.ok[b-2utn7sbx0m] {
        background: #ecfdf5;
        color: #065f46;
        border: 1px solid #a7f3d0
    }

    .alert.bad[b-2utn7sbx0m] {
        background: #fef2f2;
        color: #991b1b;
        border: 1px solid #fecaca
    }

    .alert .x[b-2utn7sbx0m] {
        background: transparent;
        border: none;
        cursor: pointer;
        font-size: 16px
    }

/* ====== الشبكة ====== */
.grid.two[b-2utn7sbx0m] {
    display: grid;
    grid-template-columns: 1.05fr 1.3fr;
    gap: 14px
}

/* ====== الكروت ====== */
.card[b-2utn7sbx0m] {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 14px
}

.create-card[b-2utn7sbx0m] {
    position: relative;
    border: none;
    background: #fff;
    box-shadow: 0 14px 40px rgba(15,23,42,.06);
    padding: 18px 18px 14px;
    overflow: hidden
}

    .create-card[b-2utn7sbx0m]::before {
        content: "";
        position: absolute;
        inset: 0 0 auto 0;
        height: 6px;
        background: linear-gradient(90deg,#22c55e,#3b82f6 40%,#a855f7 75%,#f59e0b)
    }

.card-head[b-2utn7sbx0m] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px dashed #e5e7eb
}

    .card-head h3[b-2utn7sbx0m] {
        margin: 0
    }

    .card-head .hint[b-2utn7sbx0m] {
        color: #6b7280;
        font-size: 12px
    }

/* ====== الفورم ====== */
.form[b-2utn7sbx0m] {
    display: grid;
    gap: 10px
}

.field[b-2utn7sbx0m] {
    display: grid;
    gap: 6px
}

.input[b-2utn7sbx0m], .search[b-2utn7sbx0m] {
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,.02) inset;
    transition: border-color .18s ease,box-shadow .18s ease,background-color .18s ease
}

    .input:focus[b-2utn7sbx0m], .search:focus[b-2utn7sbx0m] {
        outline: none;
        border-color: #60a5fa;
        box-shadow: 0 0 0 3px rgba(96,165,250,.25)
    }

.row[b-2utn7sbx0m] {
    display: flex;
    gap: 8px;
    align-items: center
}

/* أزرار عامة */
.primary[b-2utn7sbx0m] {
    background: linear-gradient(90deg,#2563eb,#4f46e5);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 10px 14px;
    cursor: pointer;
    font-weight: 700;
    box-shadow: 0 8px 16px rgba(79,70,229,.25)
}

    .primary:disabled[b-2utn7sbx0m] {
        opacity: .6;
        cursor: not-allowed
    }

.ghost[b-2utn7sbx0m] {
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer;
    transition: background-color .18s ease,border-color .18s ease,transform .12s ease
}

    .ghost:hover[b-2utn7sbx0m] {
        background: #f8fafc;
        border-color: #cbd5e1;
        transform: translateY(-1px)
    }

.danger[b-2utn7sbx0m] {
    background: #ef4444;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer;
    transition: filter .15s ease,transform .12s ease
}

    .danger:hover[b-2utn7sbx0m] {
        filter: brightness(.95);
        transform: translateY(-1px)
    }

.small[b-2utn7sbx0m] {
    padding: 6px 8px;
    border-radius: 8px
}

/* أدوات البحث */
.toolbar[b-2utn7sbx0m] {
    display: flex;
    gap: 8px;
    align-items: center
}

.search[b-2utn7sbx0m] {
    width: 100%
}

/* ====== الجدول ====== */
.table[b-2utn7sbx0m] {
    width: 100%;
    border-collapse: collapse;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #eee
}

.table-elev[b-2utn7sbx0m] {
    box-shadow: 0 10px 28px rgba(15,23,42,.06)
}

.table th[b-2utn7sbx0m], .table td[b-2utn7sbx0m] {
    padding: 12px 14px;
    border-bottom: 1px solid #f3f4f6;
    text-align: right
}

.table thead[b-2utn7sbx0m] {
    background: #f9fafb;
    position: sticky;
    top: 0;
    z-index: 1
}

.table tbody tr:hover[b-2utn7sbx0m] {
    background: #fafafa
}

.actions[b-2utn7sbx0m] {
    display: flex;
    gap: 6px
}

/* عناوين المجموعات */
.group[b-2utn7sbx0m] {
    margin-bottom: 14px
}

.group-title[b-2utn7sbx0m] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    margin: 8px 0 6px;
    color: #374151
}

    .group-title .badge[b-2utn7sbx0m] {
        background: #eef2ff;
        color: #4338ca;
        border-radius: 999px;
        padding: 2px 10px;
        font-weight: 700
    }

/* إبراز اسم الفصل */
.table td.class-name[b-2utn7sbx0m] {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    background: #f9fafb;
    border-radius: 6px;
    padding: 8px;
    color: #111827
}

/* لودينج */
.skeleton[b-2utn7sbx0m] {
    height: 120px;
    background: linear-gradient(90deg,#f6f7f8 25%,#ecebeb 37%,#f6f7f8 63%);
    background-size: 400% 100%;
    border-radius: 14px;
    animation: shimmer-b-2utn7sbx0m 1.2s infinite
}

@keyframes shimmer-b-2utn7sbx0m {
    0% {
        background-position: 200% 0
    }

    100% {
        background-position: -200% 0
    }
}

/* ===== زر الرجوع (الموحّد) ===== */
.back-btn[b-2utn7sbx0m] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 10px;
    background: linear-gradient(135deg,#2563eb,#1d4ed8);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(37,99,235,.25);
    cursor: pointer;
    text-decoration: none;
    transition: .2s
}

    .back-btn .icon[b-2utn7sbx0m] {
        font-size: 18px;
        line-height: 1;
        transition: transform .2s
    }

    .back-btn:hover[b-2utn7sbx0m] {
        transform: translateY(-1px);
        box-shadow: 0 6px 14px rgba(29,78,216,.35)
    }

        .back-btn:hover .icon[b-2utn7sbx0m] {
            transform: translateX(3px)
        }

/* RESPONSIVE */
@media (max-width:980px) {
    .grid.two[b-2utn7sbx0m] {
        grid-template-columns: 1fr
    }

    .page-header.header-grid[b-2utn7sbx0m] {
        grid-template-columns: 1fr
    }

    .side-wrap[b-2utn7sbx0m] {
        align-items: flex-start
    }
}
/* _content/LearnPlay/Pages/Teacher/ManageActivities.razor.rz.scp.css */
/* ===== Page base ===== */
.page-wrap[b-hoqhrpy2i0] {
    padding: 14px;
}

.page-header[b-hoqhrpy2i0] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

    .page-header h2[b-hoqhrpy2i0] {
        margin: 0;
        font-size: 24px;
    }

.sub[b-hoqhrpy2i0] {
    margin-top: 6px;
    color: #6b7280;
    font-size: 14px;
}

/* ===== Toolbar ===== */
:root[b-hoqhrpy2i0] {
    --ctl-h: 42px;
    --radius: 12px;
}

.toolbar[b-hoqhrpy2i0] {
    display: flex;
    flex-direction: column; /* الزر فوق والـ picker تحت */
    align-items: flex-start;
    gap: 10px;
    min-width: 260px;
}

/* Back Button */
.back-btn[b-hoqhrpy2i0] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 10px;
    background: linear-gradient(135deg,#2563eb,#1d4ed8);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(37,99,235,.25);
    cursor: pointer;
    text-decoration: none;
    transition: .2s;
}

    .back-btn .icon[b-hoqhrpy2i0] {
        font-size: 18px;
        line-height: 1;
        transition: transform .2s;
    }

    .back-btn:hover[b-hoqhrpy2i0] {
        transform: translateY(-1px);
        box-shadow: 0 6px 14px rgba(29,78,216,.35);
    }

        .back-btn:hover .icon[b-hoqhrpy2i0] {
            transform: translateX(3px);
        }

/* ===== Class picker ===== */
.picker[b-hoqhrpy2i0] {
    display: grid;
    gap: 6px;
    width: 100%;
    max-width: 360px;
}

.picker-label[b-hoqhrpy2i0] {
    font-size: 12px;
    color: #6b7280;
}

.select-wrap[b-hoqhrpy2i0] {
    position: relative;
    width: 100%;
}

.select-pro[b-hoqhrpy2i0] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    height: 48px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    background: #fff;
    padding-inline: 14px 44px;
    font-size: 14px;
    color: #111827;
    box-shadow: 0 1px 0 0 #f3f4f6 inset, 0 4px 12px rgba(17,24,39,.06);
    transition: border-color .15s ease, box-shadow .15s ease, transform .05s ease;
}

[dir="rtl"] .select-pro[b-hoqhrpy2i0] {
    padding-inline: 44px 14px;
}

.select-pro:hover[b-hoqhrpy2i0] {
    border-color: #d1d5db;
}

.select-pro:focus[b-hoqhrpy2i0] {
    outline: none;
    border-color: #93c5fd;
    box-shadow: 0 0 0 4px rgba(59,130,246,.14), 0 4px 12px rgba(17,24,39,.08);
}

.select-pro[b-hoqhrpy2i0]::-ms-expand {
    display: none;
}

.chev[b-hoqhrpy2i0] {
    position: absolute;
    top: 50%;
    inset-inline-start: 8px;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: linear-gradient(135deg,#2563eb,#1d4ed8);
    box-shadow: 0 2px 8px rgba(37,99,235,.25);
    display: grid;
    place-items: center;
    pointer-events: none;
}

[dir="ltr"] .chev[b-hoqhrpy2i0] {
    inset-inline-start: auto;
    inset-inline-end: 8px;
}

.chev[b-hoqhrpy2i0]::before {
    content: "▾";
    color: #fff;
    font-size: 14px;
    line-height: 1;
    transform: translateY(-1px);
}

/* ===== Skeleton / Alerts / Notices ===== */
.skeleton[b-hoqhrpy2i0] {
    height: 140px;
    background: linear-gradient(90deg,#f6f7f8 25%,#ecebeb 37%,#f6f7f8 63%);
    background-size: 400% 100%;
    border-radius: 14px;
    animation: shimmer-b-hoqhrpy2i0 1.2s infinite;
}

@keyframes shimmer-b-hoqhrpy2i0 {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.notice[b-hoqhrpy2i0] {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px dashed #f0ad4e;
    background: #fff7ed;
    color: #8a6d3b;
    margin-bottom: 14px;
}

    .notice.muted[b-hoqhrpy2i0] {
        border-color: #e5e7eb;
        background: #f9fafb;
        color: #6b7280;
    }

    .notice.warn[b-hoqhrpy2i0] {
        border-color: #fde68a;
        background: #fffbeb;
        color: #92400e;
    }

.alert[b-hoqhrpy2i0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 12px;
    padding: 10px 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

    .alert.ok[b-hoqhrpy2i0] {
        background: #ecfdf5;
        color: #065f46;
        border: 1px solid #a7f3d0;
    }

    .alert .x[b-hoqhrpy2i0] {
        background: transparent;
        border: none;
        cursor: pointer;
        font-size: 16px;
    }

/* ===== Grid of activity cards ===== */
.grid[b-hoqhrpy2i0] {
    display: grid;
    grid-template-columns: repeat(4,minmax(220px,1fr));
    gap: 12px;
}

.activity-card[b-hoqhrpy2i0] {
    display: grid;
    grid-template-columns: 42px 1fr 64px;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    user-select: none;
}

    .activity-card:hover[b-hoqhrpy2i0] {
        box-shadow: 0 1px 0 0 #f3f4f6 inset;
    }

    .activity-card .icon[b-hoqhrpy2i0] {
        font-size: 24px;
        text-align: center;
    }

    .activity-card .info .title[b-hoqhrpy2i0] {
        font-weight: 700;
    }

    .activity-card .info .key[b-hoqhrpy2i0] {
        font-size: 12px;
        color: #6b7280;
    }

    /* ✅ اخفِ الـcheckbox الأصلي نهائيًا (زي الأول) */
    /* إخفاء الـCheckbox الأصلي تمامًا */
    .activity-card .toggle[b-hoqhrpy2i0] {
        position: absolute !important;
        opacity: 0 !important;
        pointer-events: none !important;
        width: 0 !important;
        height: 0 !important;
        appearance: none !important;
    }


    /* Switch (رجّع نفس المقاسات القديمة) */
    .activity-card .switch[b-hoqhrpy2i0] {
        width: 52px;
        height: 28px;
        border-radius: 999px;
        background: #e5e7eb;
        position: relative;
        transition: background .2s;
    }

    .activity-card .knob[b-hoqhrpy2i0] {
        position: absolute;
        top: 3px;
        right: 3px;
        width: 22px;
        height: 22px;
        background: #fff;
        border-radius: 50%;
        box-shadow: 0 1px 2px rgba(0,0,0,.1);
        transition: right .2s;
    }

    /* Checked state */
    .activity-card .toggle:checked ~ .icon[b-hoqhrpy2i0],
    .activity-card .toggle:checked ~ .info .title[b-hoqhrpy2i0] {
        color: #065f46;
    }

    .activity-card .toggle:checked ~ .switch[b-hoqhrpy2i0] {
        background: #34d399;
    }

        .activity-card .toggle:checked ~ .switch .knob[b-hoqhrpy2i0] {
            right: 27px;
        }

/* ===== Save bar ===== */
.savebar[b-hoqhrpy2i0] {
    position: sticky;
    bottom: 12px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border: 1px solid #eee;
    border-radius: 14px;
    background: #fff;
    margin-top: 14px;
}

.primary[b-hoqhrpy2i0] {
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 10px 14px;
    cursor: pointer;
    font-weight: 700;
}

    .primary:hover[b-hoqhrpy2i0] {
        background: #1d4ed8;
    }

.hint[b-hoqhrpy2i0] {
    color: #6b7280;
    font-size: 13px;
}

/* ===== Responsive ===== */
@media (max-width:1100px) {
    .grid[b-hoqhrpy2i0] {
        grid-template-columns: repeat(3,minmax(220px,1fr));
    }
}

@media (max-width:820px) {
    .grid[b-hoqhrpy2i0] {
        grid-template-columns: repeat(2,minmax(220px,1fr));
    }
}

@media (max-width:560px) {
    .grid[b-hoqhrpy2i0] {
        grid-template-columns: 1fr;
    }

    .page-header[b-hoqhrpy2i0] {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* _content/LearnPlay/Pages/Teacher/ManageStudents.razor.rz.scp.css */
.page-wrap[b-qlk7htuzy9] {
    padding: 14px
}

/* ===== رأس الصفحة ===== */
.page-header[b-qlk7htuzy9] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px
}

    .page-header h2[b-qlk7htuzy9] {
        margin: 0;
        font-size: 24px
    }

.sub[b-qlk7htuzy9] {
    margin-top: 6px;
    color: #6b7280;
    font-size: 14px
}

/* ===== Toolbar ===== */
:root[b-qlk7htuzy9] {
    --ctl-h: 52px; /* 👈 الارتفاع المطلوب للسلكت */
    --radius: 12px
}

.toolbar[b-qlk7htuzy9] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-width: 260px
}

/* زر الرجوع */
.back-btn[b-qlk7htuzy9] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 10px;
    background: linear-gradient(135deg,#2563eb,#1d4ed8);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(37,99,235,.25);
    cursor: pointer;
    text-decoration: none;
    transition: .2s
}

    .back-btn .icon[b-qlk7htuzy9] {
        font-size: 18px;
        line-height: 1;
        transition: transform .2s
    }

    .back-btn:hover[b-qlk7htuzy9] {
        transform: translateY(-1px);
        box-shadow: 0 6px 14px rgba(29,78,216,.35)
    }

        .back-btn:hover .icon[b-qlk7htuzy9] {
            transform: translateX(3px)
        }

/* ===== Picker ===== */
.picker[b-qlk7htuzy9] {
    display: grid;
    gap: 6px;
    width: 100%
}

.picker-label[b-qlk7htuzy9] {
    font-size: 12px;
    color: #6b7280
}

/* غلاف السلكت + السهم */
.select-wrap[b-qlk7htuzy9] {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    width: 100%;
}

    /* السلكت — ارتفاع مضمون عبر padding + min-height */
    .select-wrap select[b-qlk7htuzy9] {
        box-sizing: border-box;
        display: block;
        width: 100%;
        height: auto !important; /* تجاهل أي ارتفاع مفروض */
        min-height: var(--ctl-h) !important; /* 👈 يضمن السمك */
        padding: 12px 46px 12px 12px !important; /* 👈 الحشوات الرأسية هي اللي بتكبره */
        font-size: 15px;
        line-height: normal !important;
        border-radius: 14px;
        border: 1px solid #e5e7eb;
        background: #fff;
        background-image: none;
        box-shadow: 0 10px 22px rgba(15,23,42,.06);
        transition: border-color .15s,box-shadow .15s,background-color .15s;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none; /* إخفاء سهم المتصفح */
    }

        .select-wrap select:focus[b-qlk7htuzy9] {
            outline: none;
            border-color: #93c5fd;
            box-shadow: 0 0 0 4px rgba(59,130,246,.12)
        }

select[b-qlk7htuzy9]::-ms-expand {
    display: none
}

/* السهم الأزرق */
.select-wrap .arrow[b-qlk7htuzy9] {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #2563eb;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    box-shadow: 0 6px 14px rgba(37,99,235,.25);
    pointer-events: none
}

/* ===== Skeleton ===== */
.skeleton[b-qlk7htuzy9] {
    height: 120px;
    background: linear-gradient(90deg,#f6f7f8 25%,#ecebeb 37%,#f6f7f8 63%);
    background-size: 400% 100%;
    border-radius: 14px;
    animation: shimmer-b-qlk7htuzy9 1.2s infinite
}

@keyframes shimmer-b-qlk7htuzy9 {
    0% {
        background-position: 200% 0
    }

    100% {
        background-position: -200% 0
    }
}

/* ===== إحصائيات ===== */
.stats-grid[b-qlk7htuzy9] {
    display: grid;
    grid-template-columns: repeat(2,minmax(180px,1fr));
    gap: 12px;
    margin-bottom: 14px
}

.stat-card[b-qlk7htuzy9] {
    position: relative;
    background: #fff;
    border: none;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 12px 28px rgba(2,6,23,.06);
    overflow: hidden
}

    .stat-card[b-qlk7htuzy9]::before {
        content: "";
        position: absolute;
        inset: 0 0 auto 0;
        height: 4px;
        background: linear-gradient(90deg,#22c55e,#3b82f6 45%,#a855f7 80%,#f59e0b)
    }

.stat-title[b-qlk7htuzy9] {
    color: #6b7280;
    font-size: 14px
}

.stat-value[b-qlk7htuzy9] {
    font-size: 22px;
    font-weight: 800;
    margin-top: 6px
}

/* ===== Alerts ===== */
.alerts[b-qlk7htuzy9] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px
}

.alert[b-qlk7htuzy9] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 12px;
    padding: 10px 12px;
    font-weight: 600
}

    .alert.ok[b-qlk7htuzy9] {
        background: #ecfdf5;
        color: #065f46;
        border: 1px solid #a7f3d0
    }

    .alert.bad[b-qlk7htuzy9] {
        background: #fef2f2;
        color: #991b1b;
        border: 1px solid #fecaca
    }

    .alert .x[b-qlk7htuzy9] {
        background: transparent;
        border: none;
        cursor: pointer;
        font-size: 16px
    }

/* ===== Notices ===== */
.notice[b-qlk7htuzy9] {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px dashed #f0ad4e;
    background: #fff7ed;
    color: #8a6d3b;
    margin-bottom: 14px
}

    .notice.muted[b-qlk7htuzy9] {
        border-color: #e5e7eb;
        background: #f9fafb;
        color: #6b7280
    }

    .notice.warn[b-qlk7htuzy9] {
        border-color: #fde68a;
        background: #fffbeb;
        color: #92400e
    }

/* ===== Layout & Cards ===== */
.grid.two[b-qlk7htuzy9] {
    display: grid;
    grid-template-columns: 1.05fr 1.2fr;
    gap: 14px
}

.card[b-qlk7htuzy9] {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 14px
}

.manage-card[b-qlk7htuzy9] {
    position: relative;
    border: none;
    background: #fff;
    box-shadow: 0 14px 40px rgba(15,23,42,.06);
    padding: 18px 18px 14px;
    overflow: hidden
}

    .manage-card[b-qlk7htuzy9]::before {
        content: "";
        position: absolute;
        inset: 0 0 auto 0;
        height: 6px;
        background: linear-gradient(90deg,#22c55e,#3b82f6 40%,#a855f7 75%,#f59e0b)
    }

/* ===== Card header ===== */
.card-head[b-qlk7htuzy9] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px dashed #e5e7eb
}

    .card-head h3[b-qlk7htuzy9] {
        margin: 0
    }

    .card-head .hint[b-qlk7htuzy9] {
        color: #6b7280;
        font-size: 12px
    }

/* ===== Forms ===== */
.form[b-qlk7htuzy9] {
    display: grid;
    gap: 10px
}

.field[b-qlk7htuzy9] {
    display: grid;
    gap: 6px
}

    .field input[b-qlk7htuzy9], .search[b-qlk7htuzy9], .toolbar-row input[b-qlk7htuzy9] {
        padding: 12px 14px;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 1px 0 rgba(0,0,0,.02) inset;
        transition: border-color .18s,box-shadow .18s,background-color .18s
    }

        .field input:focus[b-qlk7htuzy9], .search:focus[b-qlk7htuzy9] {
            outline: none;
            border-color: #60a5fa;
            box-shadow: 0 0 0 3px rgba(96,165,250,.25)
        }

/* Buttons */
.row[b-qlk7htuzy9] {
    display: flex;
    gap: 8px;
    align-items: center
}

.ghost[b-qlk7htuzy9] {
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer;
    transition: background-color .18s,border-color .18s,transform .12s
}

    .ghost:hover[b-qlk7htuzy9] {
        background: #f8fafc;
        border-color: #cbd5e1;
        transform: translateY(-1px)
    }

.primary[b-qlk7htuzy9] {
    background: linear-gradient(90deg,#2563eb,#4f46e5);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 10px 14px;
    cursor: pointer;
    font-weight: 700;
    box-shadow: 0 8px 16px rgba(79,70,229,.25)
}

    .primary:disabled[b-qlk7htuzy9] {
        opacity: .5;
        cursor: not-allowed
    }

/* ===== داخل بطاقة القائمة ===== */
.toolbar-row[b-qlk7htuzy9] {
    display: flex;
    gap: 8px;
    align-items: center
}

.search[b-qlk7htuzy9] {
    width: 100%
}

/* ===== Table ===== */
.table[b-qlk7htuzy9] {
    width: 100%;
    border-collapse: collapse;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #eee
}

.table-elev[b-qlk7htuzy9] {
    box-shadow: 0 10px 28px rgba(15,23,42,.06)
}

.table th[b-qlk7htuzy9], .table td[b-qlk7htuzy9] {
    padding: 12px 14px;
    border-bottom: 1px solid #f3f4f6;
    text-align: right
}

.table thead[b-qlk7htuzy9] {
    background: #f9fafb;
    position: sticky;
    top: 0;
    z-index: 1
}

.table tbody tr:hover[b-qlk7htuzy9] {
    background: #fafafa
}

/* Actions */
.actions[b-qlk7htuzy9] {
    display: flex;
    gap: 6px
}

.small[b-qlk7htuzy9] {
    padding: 6px 8px;
    border-radius: 8px
}

.danger[b-qlk7htuzy9] {
    background: #ef4444;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: filter .15s,transform .12s
}

    .danger:hover[b-qlk7htuzy9] {
        filter: brightness(.95);
        transform: translateY(-1px)
    }

/* ===== Modal ===== */
.modal-backdrop[b-qlk7htuzy9] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.35);
    z-index: 30
}

.modal[b-qlk7htuzy9] {
    position: fixed;
    inset-inline: 0;
    top: 10vh;
    margin-inline: auto;
    max-width: 520px;
    background: #fff;
    border: none;
    border-radius: 16px;
    padding: 16px 16px 18px;
    z-index: 40;
    box-shadow: 0 24px 64px rgba(0,0,0,.25)
}

.manage-modal[b-qlk7htuzy9]::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 6px;
    background: linear-gradient(90deg,#22c55e,#3b82f6 40%,#a855f7 75%,#f59e0b);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px
}

.modal-head[b-qlk7htuzy9] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px dashed #e5e7eb
}

.modal .x[b-qlk7htuzy9] {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 18px
}

/* ===== Responsive ===== */
@media (max-width:980px) {
    .grid.two[b-qlk7htuzy9], .stats-grid[b-qlk7htuzy9] {
        grid-template-columns: 1fr
    }

    .page-header[b-qlk7htuzy9] {
        flex-direction: column;
        align-items: flex-start
    }
}
/* _content/LearnPlay/Pages/Teacher/ManageSubjects.razor.rz.scp.css */
/* ===== الصفحة العامة ===== */
.subjects-page .page-header[b-x67jjgklyd] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

    .subjects-page .page-header h2[b-x67jjgklyd] {
        margin: 0;
        font-size: 26px;
        font-weight: 900;
        color: #0f172a;
    }

    .subjects-page .page-header .sub[b-x67jjgklyd] {
        margin: 6px 0 0;
        color: #6b7280;
        font-weight: 600;
    }

/* زر الرجوع */
.back-btn[b-x67jjgklyd] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 10px;
    background: linear-gradient(135deg,#2563eb,#1d4ed8);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(37,99,235,.25);
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: .2s;
}

    .back-btn .icon[b-x67jjgklyd] {
        font-size: 18px;
        transition: transform .2s;
    }

    .back-btn:hover[b-x67jjgklyd] {
        transform: translateY(-1px);
        box-shadow: 0 6px 14px rgba(29,78,216,.35);
    }

        .back-btn:hover .icon[b-x67jjgklyd] {
            transform: translateX(3px);
        }

/* Alerts */
.alert[b-x67jjgklyd] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    margin-bottom: 12px;
}

    .alert.ok[b-x67jjgklyd] {
        background: #f0fdf4;
        border: 1px solid #86efac;
    }

    .alert .x[b-x67jjgklyd] {
        border: 0;
        background: transparent;
        cursor: pointer;
        font-size: 18px;
    }

/* Cards */
.card[b-x67jjgklyd] {
    position: relative;
    background: #fff;
    border: 1px solid #e6e7ea;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 16px 40px rgba(2,6,23,.06);
    overflow: hidden;
}

    .card[b-x67jjgklyd]::before {
        content: "";
        position: absolute;
        inset: 0 0 auto 0;
        height: 6px;
        background: linear-gradient(90deg,#22c55e,#3b82f6 45%,#a855f7 80%,#f59e0b);
    }

.card-head[b-x67jjgklyd] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e5e7eb;
}

    .card-head .l[b-x67jjgklyd] {
        display: flex;
        gap: 10px;
        align-items: center;
    }

    .card-head .ic[b-x67jjgklyd] {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        display: grid;
        place-items: center;
        background: linear-gradient(180deg,#f8fafc,#eef2ff);
    }

.card-foot[b-x67jjgklyd] {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Form grid */
.form-grid .field[b-x67jjgklyd] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .form-grid .field label[b-x67jjgklyd] {
        font-weight: 900;
        color: #111827;
    }

.grid.two[b-x67jjgklyd] {
    display: grid;
    grid-template-columns: repeat(2,minmax(160px,1fr));
    gap: 12px;
}

.field.span2[b-x67jjgklyd] {
    grid-column: 1 / -1;
}

/* Inputs */
.input[b-x67jjgklyd] {
    width: 100%;
    border: 1px solid #e6e7ea;
    border-radius: 12px;
    background: #fbfbfd;
    padding: 10px 12px;
    font-size: 15px;
    outline: none;
    transition: border .15s,box-shadow .15s,background .15s;
}

    .input:focus[b-x67jjgklyd] {
        background: #fff;
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37,99,235,.15);
    }

    .input.sm[b-x67jjgklyd] {
        padding: 8px 10px;
        border-radius: 10px;
    }

/* Checks */
.check[b-x67jjgklyd] {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    user-select: none;
}

    .check.center[b-x67jjgklyd] {
        justify-content: center;
    }

/* Buttons */
.primary[b-x67jjgklyd], .ghost[b-x67jjgklyd], .danger[b-x67jjgklyd], .mini[b-x67jjgklyd] {
    appearance: none;
    border-radius: 12px;
    border: 1px solid #ef4444;
    background: #fff;
    color: #111827;
    padding: 10px 14px;
    font-weight: 900;
    cursor: pointer;
    transition: transform .05s,box-shadow .15s,background .15s,border-color .15s;
}

.primary[b-x67jjgklyd] {
    background: #fff;
    border-color: #0ee619;
    color: #000;
}

    .primary:hover[b-x67jjgklyd] {
        background: #0ee619;
        border-color: #0ee619;
    }

.ghost[b-x67jjgklyd] {
    background: #fff;
}

.danger[b-x67jjgklyd] {
    background: #fee2e2;
    border-color: #fecaca;
    color: #7f1d1d;
}

    .danger:hover[b-x67jjgklyd] {
        background: #fecaca;
    }

.mini[b-x67jjgklyd] {
    padding: 8px 10px;
    border-radius: 10px;
}

    .mini.primary[b-x67jjgklyd] {
        background: #2563eb;
        border-color: #2563eb;
        color: #fff;
    }

    .mini.danger[b-x67jjgklyd] {
        background: #ef4444;
        border-color: #ef4444;
        color: #fff;
    }

/* Loader */
.loader-wrap[b-x67jjgklyd] {
    display: grid;
    place-items: center;
    gap: 8px;
    padding: 16px;
}

.loader[b-x67jjgklyd] {
    width: 24px;
    height: 24px;
    border: 3px solid #e5e7eb;
    border-top-color: #2563eb;
    border-radius: 999px;
    animation: spin-b-x67jjgklyd 1s linear infinite;
}

.loader-text[b-x67jjgklyd] {
    color: #6b7280;
}

@keyframes spin-b-x67jjgklyd {
    to {
        transform: rotate(360deg);
    }
}

/* Table */
.table-wrap[b-x67jjgklyd] {
    overflow: auto;
}

.table[b-x67jjgklyd] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}

    .table thead th[b-x67jjgklyd] {
        font-weight: 900;
        text-align: right;
        color: #111827;
    }

    .table tbody tr[b-x67jjgklyd] {
        background: #fff;
        border: 1px solid #f3f4f6;
        box-shadow: 0 10px 22px rgba(2,6,23,.04);
        border-radius: 12px;
    }

    .table tbody td[b-x67jjgklyd], .table thead th[b-x67jjgklyd] {
        padding: 10px 12px;
    }

        .table tbody td:first-child[b-x67jjgklyd] {
            border-radius: 12px 0 0 12px;
        }

        .table tbody td:last-child[b-x67jjgklyd] {
            border-radius: 0 12px 12px 0;
        }

    .table .id[b-x67jjgklyd] {
        color: #6b7280;
    }

    .table .actions[b-x67jjgklyd] {
        display: flex;
        gap: 8px;
        justify-content: flex-end;
    }

/* Empty */
.empty[b-x67jjgklyd] {
    padding: 12px;
    border-radius: 12px;
    background: #f9fafb;
    color: #6b7280;
}

/* Modal عام */
.modal-overlay[b-x67jjgklyd] {
    position: fixed;
    inset: 0;
    background: rgba(17,24,39,.45);
    backdrop-filter: blur(2px);
    display: grid;
    place-items: center;
    z-index: 1000;
}

.modal[b-x67jjgklyd] {
    width: min(460px,calc(100% - 32px));
    background: #fff;
    border: 1px solid #e6e7ea;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 24px 60px rgba(2,6,23,.18);
    animation: pop-b-x67jjgklyd .18s ease-out;
}

.modal-header[b-x67jjgklyd] {
    font-weight: 900;
    margin-bottom: 8px;
    font-size: 18px;
}

.modal-body[b-x67jjgklyd] {
    color: #374151;
    margin-bottom: 12px;
    line-height: 1.8;
}

.modal-actions[b-x67jjgklyd] {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn[b-x67jjgklyd] {
    border-radius: 10px;
    border: 1px solid #e6e7ea;
    background: #39b647;
    padding: 8px 12px;
    cursor: pointer;
    font-weight: 900;
}

    .btn.danger[b-x67jjgklyd] {
        background: #ef4444;
        border-color: #ef4444;
        color: #fff;
    }

/* مودال التحذير الجديد */
.modal.warn[b-x67jjgklyd] {
    border: 1px solid #fecaca;
    box-shadow: 0 28px 70px rgba(239, 68, 68, .25);
}

.block-modal-body[b-x67jjgklyd] {
    line-height: 1.8;
    color: #374151;
}

    .block-modal-body .big-icon[b-x67jjgklyd] {
        font-size: 44px;
        margin-bottom: 8px;
        text-align: center;
    }

    .block-modal-body .usage-list[b-x67jjgklyd] {
        margin: 10px 0;
        padding-inline-start: 18px;
    }

        .block-modal-body .usage-list li[b-x67jjgklyd] {
            margin: 4px 0;
        }

    .block-modal-body .tip[b-x67jjgklyd] {
        margin-top: 8px;
        background: #fff7ed;
        border: 1px dashed #fdba74;
        padding: 8px 10px;
        border-radius: 10px;
    }

/* Toolbar */
:root[b-x67jjgklyd] {
    --ctl-h: 42px;
    --radius: 12px;
}

.subjects-page .toolbar[b-x67jjgklyd] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-width: 260px;
}

/* Animation */
@keyframes pop-b-x67jjgklyd {
    from {
        opacity: 0;
        transform: translateY(6px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive */
@media (max-width:820px) {
    .grid.two[b-x67jjgklyd] {
        grid-template-columns: 1fr;
    }

    .table thead[b-x67jjgklyd] {
        display: none;
    }

    .table tbody tr[b-x67jjgklyd] {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 8px;
    }

    .table tbody td[b-x67jjgklyd] {
        padding: 6px 8px;
    }

    .table .actions[b-x67jjgklyd] {
        grid-column: 1 / -1;
    }
}
/* _content/LearnPlay/Pages/Teacher/TeacherDashboard.razor.rz.scp.css */
/* ===== Theme ===== */
:root[b-c6azyq3mf2] {
    --td-bg: #fff8f1;
    --td-card: #ffffff;
    --td-border: #e6e7ea;
    --td-shadow: 0 16px 40px rgba(2,6,23,.06);
    --td-primary: #2563eb;
    --td-primary-2: #1d4ed8;
    --td-muted: #6b7280;
}

/* ===== Global Font (توحيد الخط) ===== */
.td-shell[b-c6azyq3mf2],
.td-shell *[b-c6azyq3mf2] {
    font-family: "Cairo","Tajawal","Noto Sans Arabic","Segoe UI",system-ui,Arial,sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ===== Shell ===== */
.td-shell[b-c6azyq3mf2] {
    padding: 18px
}

/* ===== Top ===== */
.td-top[b-c6azyq3mf2] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px
}

.td-title[b-c6azyq3mf2] {
    margin: 0;
    font-size: 28px;
    font-weight: 900;
    color: #0f172a
}

.td-sub[b-c6azyq3mf2] {
    margin: 6px 0 0;
    color: var(--td-muted);
    font-size: 16px;
    font-weight: 600
}

.td-profile[b-c6azyq3mf2] {
    position: relative;
    display: flex;
    gap: 12px;
    align-items: center;
    background: var(--td-card);
    border: 1px solid var(--td-border);
    border-radius: 14px;
    padding: 10px 12px;
    box-shadow: var(--td-shadow);
    overflow: hidden
}

    .td-profile[b-c6azyq3mf2]::before {
        content: "";
        position: absolute;
        inset: 0 0 auto 0;
        height: 4px;
        background: linear-gradient(90deg,#22c55e,#3b82f6 45%,#a855f7 80%,#f59e0b)
    }

.td-profile__avatar[b-c6azyq3mf2] {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #f3f4f6;
    font-size: 18px
}

.td-profile__name[b-c6azyq3mf2] {
    font-weight: 900;
    font-size: 16px;
    color: #111827
}

.td-profile__role[b-c6azyq3mf2] {
    color: var(--td-muted);
    font-size: 12px
}

/* ===== Banner ===== */
.td-banner[b-c6azyq3mf2] {
    padding: 10px 12px;
    border: 1px solid var(--td-border);
    background: #f8fafc;
    border-radius: 12px;
    color: #111827;
    margin-bottom: 12px
}

    .td-banner.warn[b-c6azyq3mf2] {
        background: #fff7ed;
        border-color: #fdba74
    }

/* ===== KPIs ===== */
.td-kpis[b-c6azyq3mf2] {
    display: grid;
    grid-template-columns: repeat(3,minmax(180px,1fr));
    gap: 12px;
    margin-bottom: 14px
}

.kpi[b-c6azyq3mf2] {
    position: relative;
    display: flex;
    gap: 12px;
    align-items: center;
    background: var(--td-card);
    border: 1px solid var(--td-border);
    border-radius: 14px;
    padding: 14px;
    box-shadow: var(--td-shadow);
    overflow: hidden
}

    .kpi[b-c6azyq3mf2]::before {
        content: "";
        position: absolute;
        inset: 0 0 auto 0;
        height: 4px;
        background: linear-gradient(90deg,#22c55e,#3b82f6 45%,#a855f7 80%,#f59e0b)
    }

.kpi__icon[b-c6azyq3mf2] {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 22px;
    background: linear-gradient(180deg,#f8fafc,#eef2ff)
}

.kpi__label[b-c6azyq3mf2] {
    color: var(--td-muted);
    font-size: 13px
}

.kpi__value[b-c6azyq3mf2] {
    font-size: 24px;
    font-weight: 900
}

/* ===== Actions ===== */
.td-actions[b-c6azyq3mf2] {
    display: grid;
    grid-template-columns: repeat(4,minmax(200px,1fr));
    gap: 12px;
    margin-bottom: 14px
}

.action[b-c6azyq3mf2] {
    position: relative;
    display: flex;
    gap: 12px;
    align-items: center;
    text-align: right;
    background: var(--td-card);
    border: 1px solid var(--td-border);
    border-radius: 14px;
    padding: 16px;
    cursor: pointer;
    transition: transform .15s,box-shadow .15s,border-color .15s;
    box-shadow: var(--td-shadow);
    overflow: hidden;
    font-family: inherit
}

    .action[b-c6azyq3mf2]::before {
        content: "";
        position: absolute;
        inset: 0 0 auto 0;
        height: 6px;
        background: linear-gradient(90deg,#22c55e,#3b82f6 45%,#a855f7 80%,#f59e0b)
    }

.action__ic[b-c6azyq3mf2] {
    font-size: 22px;
    margin-bottom: 2px
}

/* — توحيد ووضوح الخط داخل كروت الإجراءات — */
.action__title[b-c6azyq3mf2] {
    font-size: 18px; /* أوضح من قبل */
    font-weight: 900; /* ثِقل واضح */
    color: #0f172a;
    letter-spacing: .2px
}

.action__desc[b-c6azyq3mf2] {
    margin-top: 3px;
    font-size: 15px; /* قراءة أسهل */
    font-weight: 600; /* سُمك متوسط */
    line-height: 1.75; /* فراغ بين السطور */
    color: #374151
}

.action:hover[b-c6azyq3mf2] {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(2,6,23,.1)
}

    .action:hover .action__title[b-c6azyq3mf2] {
        color: #111827
    }

    .action:hover .action__desc[b-c6azyq3mf2] {
        color: #1f2937
    }

.action.is-blue[b-c6azyq3mf2] {
    background: linear-gradient(180deg,#eef2ff 0,#ffffff 26%)
}

.action.is-purple[b-c6azyq3mf2] {
    background: linear-gradient(180deg,#f5f3ff 0,#ffffff 26%)
}

.action.is-amber[b-c6azyq3mf2] {
    background: linear-gradient(180deg,#fffbeb 0,#ffffff 26%)
}

.action.is-green[b-c6azyq3mf2] {
    background: linear-gradient(180deg,#f0fdf4 0,#ffffff 26%)
}

/* ===== Grid ===== */
.td-grid[b-c6azyq3mf2] {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 14px
}

.action.is-teal[b-c6azyq3mf2] {
    background: linear-gradient(180deg, #ecfeff 0%, #ffffff 26%);
    /* ممكن تختار درجة تانية لو حابب:
       #e0f2fe (أزرق سماوي)
       #d1fae5 (أخضر تركواز فاتح)
    */
}

.card[b-c6azyq3mf2] {
    position: relative;
    background: var(--td-card);
    border: 1px solid var(--td-border);
    border-radius: 14px;
    padding: 14px;
    box-shadow: var(--td-shadow);
    overflow: hidden
}

    .card[b-c6azyq3mf2]::before {
        content: "";
        position: absolute;
        inset: 0 0 auto 0;
        height: 6px;
        background: linear-gradient(90deg,#22c55e,#3b82f6 45%,#a855f7 80%,#f59e0b)
    }

.card__head[b-c6azyq3mf2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px dashed #e5e7eb
}

    .card__head h3[b-c6azyq3mf2] {
        margin: 0
    }

.btn-ghost[b-c6azyq3mf2] {
    border: 1px solid var(--td-border);
    background: #fff;
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer
}

/* Skeleton / empty */
.skeleton[b-c6azyq3mf2] {
    height: 120px;
    background: linear-gradient(90deg,#f6f7f8 25%,#ecebeb 37%,#f6f7f8 63%);
    background-size: 400% 100%;
    border-radius: 14px;
    animation: shimmer-b-c6azyq3mf2 1.2s infinite
}

@keyframes shimmer-b-c6azyq3mf2 {
    0% {
        background-position: 200% 0
    }

    100% {
        background-position: -200% 0
    }
}

.empty[b-c6azyq3mf2] {
    padding: 10px 12px;
    color: var(--td-muted);
    background: #f9fafb;
    border-radius: 10px
}

/* Class list */
.class-list[b-c6azyq3mf2] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px
}

.class-item[b-c6azyq3mf2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #f3f4f6;
    border-radius: 12px;
    padding: 10px 12px;
    background: #fff;
    transition: transform .12s,box-shadow .12s,border-color .12s
}

    .class-item:hover[b-c6azyq3mf2] {
        transform: translateY(-2px);
        box-shadow: 0 10px 22px rgba(2,6,23,.08);
        border-color: #e5e7eb
    }

.class-left[b-c6azyq3mf2] {
    display: flex;
    gap: 10px;
    align-items: center
}

.badge[b-c6azyq3mf2] {
    font-size: 12px;
    background: #eef2ff;
    color: #3730a3;
    padding: 4px 8px;
    border-radius: 999px
}

.name[b-c6azyq3mf2] {
    font-weight: 900
}

.class-right[b-c6azyq3mf2] {
    display: flex;
    gap: 6px
}

.mini[b-c6azyq3mf2] {
    border: 1px solid var(--td-border);
    background: #fff;
    border-radius: 8px;
    padding: 6px 8px;
    cursor: pointer
}

/* Tips */
.tips[b-c6azyq3mf2] {
    margin: 0;
    padding-inline-start: 18px;
    color: #374151
}

    .tips li[b-c6azyq3mf2] {
        margin: 6px 0
    }

/* ===== Modal (verify) ===== */
.md-backdrop[b-c6azyq3mf2] {
    position: fixed;
    inset: 0;
    background: rgba(17,24,39,.45);
    backdrop-filter: blur(2px);
    z-index: 1000
}

.md-card[b-c6azyq3mf2] {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: min(520px,calc(100% - 32px));
    background: #fff;
    border: 1px solid var(--td-border);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 24px 60px rgba(2,6,23,.18);
    z-index: 1001;
    animation: md-pop-b-c6azyq3mf2 .18s ease-out;
    box-sizing: border-box
}

@keyframes md-pop-b-c6azyq3mf2 {
    from {
        opacity: 0;
        transform: translate(-50%,-48%) scale(.98)
    }

    to {
        opacity: 1;
        transform: translate(-50%,-50%) scale(1)
    }
}

.md-head[b-c6azyq3mf2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e5e7eb
}

    .md-head h3[b-c6azyq3mf2] {
        margin: 0;
        font-size: 1.25rem;
        font-weight: 900;
        color: #111827
    }

.md-x[b-c6azyq3mf2] {
    border: 1px solid var(--td-border);
    background: #fff;
    border-radius: 10px;
    padding: 6px 8px;
    cursor: pointer
}

.md-body .md-sub[b-c6azyq3mf2] {
    color: var(--td-muted);
    margin: 0 0 10px;
    line-height: 1.6
}

.md-alert[b-c6azyq3mf2] {
    padding: 10px 12px;
    border-radius: 12px;
    font-weight: 800;
    margin: 8px 0 12px
}

    .md-alert.bad[b-c6azyq3mf2] {
        background: #fef2f2;
        color: #991b1b;
        border: 1px solid #fecaca
    }

.md-field label[b-c6azyq3mf2] {
    display: block;
    font-weight: 900;
    margin-bottom: 6px;
    color: #111827
}

.md-input-wrap[b-c6azyq3mf2] {
    position: relative
}

.md-input[b-c6azyq3mf2] {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--td-border);
    border-radius: 12px;
    background: #e5e7eb;
    padding: 12px;
    padding-inline-start: 48px;
    padding-inline-end: 12px;
    font-size: 1rem;
    outline: none;
    transition: border .15s,box-shadow .15s,background .15s
}

    .md-input:focus[b-c6azyq3mf2] {
        background: #37b032;
        border-color: var(--td-primary);
        box-shadow: 0 0 0 3px rgba(37,99,235,.15)
    }

.md-eye[b-c6azyq3mf2] {
    position: absolute;
    top: 50%;
    inset-inline-start: 10px;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    background: transparent;
    border: 0;
    font-size: 18px;
    cursor: pointer;
    opacity: .9
}

/* Modal footer (ثبات الأزرار) */
.md-foot[b-c6azyq3mf2] {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap
}

.md-btn[b-c6azyq3mf2] {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--td-border);
    background: #fff;
    color: #111827;
    padding: 10px 16px;
    border-radius: 12px;
    font-weight: 900;
    cursor: pointer;
    min-width: 120px;
    transition: transform .05s,box-shadow .15s,background .15s,border-color .15s
}

    .md-btn:hover[b-c6azyq3mf2] {
        box-shadow: 0 10px 26px rgba(2,6,23,.10)
    }

    .md-btn:active[b-c6azyq3mf2] {
        transform: translateY(1px)
    }

    .md-btn.primary[b-c6azyq3mf2] {
        background: var(--td-primary) !important;
        border-color: var(--td-primary) !important;
        color: #000000  !important
    }

        .md-btn.primary:hover[b-c6azyq3mf2] {
            background: var(--td-primary-2) !important;
            border-color: var(--td-primary-2) !important
        }

    .md-btn.ghost[b-c6azyq3mf2] {
        background: #fff;
        color: #111827
    }

/* ===== Responsive ===== */
@media (max-width:1100px) {
    .td-actions[b-c6azyq3mf2] {
        grid-template-columns: repeat(2,1fr)
    }

    .td-grid[b-c6azyq3mf2] {
        grid-template-columns: 1fr
    }
}

@media (max-width:680px) {
    .td-kpis[b-c6azyq3mf2] {
        grid-template-columns: 1fr
    }

    .td-actions[b-c6azyq3mf2] {
        grid-template-columns: 1fr
    }

    .td-top[b-c6azyq3mf2] {
        flex-direction: column;
        align-items: flex-start
    }
}

@media (max-width:560px) {
    .md-card[b-c6azyq3mf2] {
        padding: 16px;
        border-radius: 16px
    }

    .md-foot[b-c6azyq3mf2] {
        flex-direction: column-reverse
    }

    .md-btn[b-c6azyq3mf2] {
        width: 100%
    }
}
/* _content/LearnPlay/Pages/Terms.razor.rz.scp.css */
/* يعيد استخدام نفس روح تصميم سياسة الخصوصية مع اختلافات طفيفة في الألوان */

.policy-hero[b-a120w1tpml] {
    background: linear-gradient(to left, #ffb74d, #ffe0b2);
    border-bottom: 2px dashed #ff9800;
    margin-bottom: 14px;
}

.policy-hero__container[b-a120w1tpml] {
    max-width: var(--site-max, 1100px);
    margin-inline: auto;
    padding: 26px 16px;
    text-align: center;
}

.policy-hero h1[b-a120w1tpml] {
    margin: 0 0 6px;
    font-size: 28px;
    font-weight: 900;
    color: #2b2b2b;
}

.policy-hero p[b-a120w1tpml] {
    margin: 0;
    color: #6b7280;
    font-weight: 700;
}

.policy-page[b-a120w1tpml] {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 18px;
    align-items: start;
    margin-bottom: 22px;
}

@media (max-width: 920px) {
    .policy-page[b-a120w1tpml] {
        grid-template-columns: 1fr;
    }
}

.toc-card[b-a120w1tpml] {
    position: sticky;
    top: calc(var(--topbar-h, 110px) + 16px);
    background: #fffaf2;
    border: 1px solid #ffc974;
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(0,0,0,.08);
    padding: 14px 16px;
}

.toc-title[b-a120w1tpml] {
    font-weight: 900;
    margin-bottom: 8px;
    color: #e65100;
}

.toc-card ol[b-a120w1tpml] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.toc-card a[b-a120w1tpml] {
    color: #2b2b2b;
    text-decoration: none;
    font-weight: 800;
}

    .toc-card a:hover[b-a120w1tpml] {
        text-decoration: underline;
    }

.policy-content[b-a120w1tpml] {
    background: #fffaf2;
    border: 1px solid #ffc974;
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(0,0,0,.08);
    padding: 20px 18px;
    line-height: 1.85;
    color: #333;
}

.lead[b-a120w1tpml] {
    font-weight: 700;
    color: #444;
}

.policy-content h2[b-a120w1tpml] {
    margin-top: 16px;
    color: #e65100;
    font-size: 20px;
    border-right: 4px solid #ffa726;
    padding-right: 8px;
}

.bullets[b-a120w1tpml] {
    list-style: none;
    padding-right: 18px;
    display: grid;
    gap: 6px;
}

.updated[b-a120w1tpml] {
    text-align: center;
    margin-top: 18px;
    color: #787878;
    font-weight: 700;
}

.back-to-top[b-a120w1tpml] {
    display: inline-block;
    margin-top: 8px;
    font-weight: 800;
    color: #ff7043;
    text-decoration: none;
}

    .back-to-top:hover[b-a120w1tpml] {
        text-decoration: underline;
    }
/* _content/LearnPlay/Pages/TonightReview.razor.rz.scp.css */
/* شبكة الكروت */
.tonight-grid[b-nmxitnmj63] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    padding: 20px;
}

/* الكارت العام */
.tonight-card[b-nmxitnmj63] {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .tonight-card:hover[b-nmxitnmj63] {
        transform: translateY(-4px);
        box-shadow: 0 10px 22px rgba(0, 0, 0, 0.09);
    }

/* رأس الكارت */
.card-header[b-nmxitnmj63] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px 8px;
}

.icon[b-nmxitnmj63] {
    font-size: 26px;
    flex-shrink: 0;
}

.card-info .title[b-nmxitnmj63] {
    margin: 0;
    color: #1e293b;
    font-weight: 800;
    font-size: 1.1rem;
}

.card-info .date[b-nmxitnmj63] {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* الغلاف */
.cover-wrap[b-nmxitnmj63] {
    width: 100%;
    max-height: 240px;
    overflow: hidden;
    border-bottom: 1px solid #f1f5f9;
}

.cover-img[b-nmxitnmj63] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.cover-wrap:hover .cover-img[b-nmxitnmj63] {
    transform: scale(1.04);
}

/* الملاحظات */
.notes[b-nmxitnmj63] {
    background: #f9fafb;
    border-radius: 12px;
    padding: 10px 14px;
    margin: 10px 16px;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    border: 1px dashed #e2e8f0;
}

/* معاينة PDF */
.pdf-preview-wrap[b-nmxitnmj63] {
    margin: 10px 16px;
    background: #fffdf5;
    border-radius: 12px;
    border: 1px solid #fcd34d40;
    padding: 10px;
    text-align: center;
}

.pdf-preview[b-nmxitnmj63] {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    border: none;
}

.btn-primary[b-nmxitnmj63] {
    display: inline-block;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    color: #fff;
    font-weight: 700;
    border-radius: 10px;
    padding: 8px 14px;
    margin-top: 10px;
    text-decoration: none;
    transition: background 0.2s ease;
}

    .btn-primary:hover[b-nmxitnmj63] {
        background: linear-gradient(90deg, #fbbf24, #f59e0b);
    }

/* لا يوجد PDF */
.no-pdf[b-nmxitnmj63] {
    color: #9ca3af;
    text-align: center;
    padding: 16px;
    font-weight: 600;
}

/* أنميشن دخول الكروت */
.tonight-card[b-nmxitnmj63] {
    animation: fadeUp-b-nmxitnmj63 0.4s ease both;
}

@keyframes fadeUp-b-nmxitnmj63 {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.actions[b-nmxitnmj63] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.btn-primary[b-nmxitnmj63] {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 10px;
    background: #f59e0b;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

    .btn-primary:hover[b-nmxitnmj63] {
        filter: brightness(0.95);
    }

.btn-secondary[b-nmxitnmj63] {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #0f172a;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid #e2e8f0;
}

    .btn-secondary:hover[b-nmxitnmj63] {
        background: #e2e8f0;
    }

.cover-wrap[b-nmxitnmj63] {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.cover-img[b-nmxitnmj63] {
    width: 100%;
    height: auto;
    display: block;
}

.no-preview[b-nmxitnmj63] {
    color: #64748b;
    font-weight: 700;
    font-size: .9rem;
}

/* شارات الحالة */
.badge-wrap[b-nmxitnmj63] {
    display: flex;
    justify-content: flex-start;
    padding: 0 16px 4px;
}

.badge[b-nmxitnmj63] {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    color: #fff;
}

.badge-pdf[b-nmxitnmj63] {
    background: linear-gradient(90deg,#10b981,#34d399);
}

.badge-img[b-nmxitnmj63] {
    background: linear-gradient(90deg,#3b82f6,#60a5fa);
}

.badge-none[b-nmxitnmj63] {
    background: #94a3b8;
}
/* _content/LearnPlay/Pages/VideoGuide.razor.rz.scp.css */
/* شبكة كروت الفيديو */
.vg-grid[b-v2xtrr28qt] {
    max-width: 1000px;
    margin: 10px auto 24px;
    padding: 0 12px;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
    gap: 14px;
}

.vg-card[b-v2xtrr28qt] {
    background: #fff;
    border: 1px solid #f2e9ff;
    border-radius: 18px;
    box-shadow: 0 6px 16px rgba(0,0,0,.06);
    cursor: pointer;
    overflow: hidden;
    transition: transform .15s ease, box-shadow .15s ease;
    display: flex;
    flex-direction: column;
}

    .vg-card:hover[b-v2xtrr28qt] {
        transform: translateY(-3px);
        box-shadow: 0 12px 28px rgba(0,0,0,.08);
    }

.vg-thumb[b-v2xtrr28qt] {
    position: relative;
    aspect-ratio: 16/9;
    background: #faf7ff;
    display: grid;
    place-items: center;
}

    .vg-thumb img[b-v2xtrr28qt] {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.vg-thumb-fallback[b-v2xtrr28qt] {
    font-size: 56px;
}

.vg-play[b-v2xtrr28qt] {
    position: absolute;
    inset: auto 12px 12px auto;
    background: rgba(106,27,154,.95);
    color: #fff;
    font-weight: 900;
    border-radius: 999px;
    padding: 6px 10px;
    box-shadow: 0 4px 14px rgba(106,27,154,.25);
}

.vg-body[b-v2xtrr28qt] {
    padding: 12px 14px;
    display: flex;
    gap: 6px;
    flex-direction: column;
}

.vg-title[b-v2xtrr28qt] {
    margin: 0;
    font-weight: 900;
    color: #333;
    font-size: 18px;
}

.vg-subject[b-v2xtrr28qt] {
    font-weight: 800;
    color: #6a1b9a;
}

.vg-desc[b-v2xtrr28qt] {
    margin: 0;
    color: #665;
    font-weight: 700;
    line-height: 1.6;
    font-size: .95rem;
}

.vg-meta[b-v2xtrr28qt] {
    margin-top: 4px;
    color: #777;
    font-weight: 800;
    font-size: .9rem;
}

/* مودال المشغل */
.vg-backdrop[b-v2xtrr28qt] {
    position: fixed;
    inset: 0;
    background: rgba(15,15,20,.45);
    z-index: 1100;
    backdrop-filter: blur(2px);
}

.vg-modal[b-v2xtrr28qt] {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    z-index: 1110;
}

.vg-head[b-v2xtrr28qt] {
    width: min(900px, 96vw);
    background: #fff;
    border: 1px solid #eee;
    border-bottom: 0;
    border-radius: 18px 18px 0 0;
    padding: 12px 14px;
    box-shadow: 0 6px 14px rgba(0,0,0,.08);
    display: flex;
    align-items: center;
    gap: 10px;
}

.vg-head-title[b-v2xtrr28qt] {
    font-weight: 900;
    color: #333;
}

.vg-x[b-v2xtrr28qt] {
    margin-inline-start: auto;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 0;
    background: #f5f5f5;
    cursor: pointer;
}

.vg-player[b-v2xtrr28qt] {
    width: min(900px, 96vw);
    background: #000;
    aspect-ratio: 16/9;
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

    .vg-player iframe[b-v2xtrr28qt], .vg-player video[b-v2xtrr28qt] {
        width: 100%;
        height: 100%;
        display: block;
        border: 0;
    }

.vg-foot[b-v2xtrr28qt] {
    width: min(900px, 96vw);
    background: #fff;
    border: 1px solid #eee;
    border-top: 0;
    border-radius: 0 0 18px 18px;
    padding: 12px 14px;
    box-shadow: 0 6px 14px rgba(0,0,0,.08);
}

.vg-foot-desc[b-v2xtrr28qt] {
    color: #555;
    font-weight: 700;
}

/* ===== زر عائم لفتح الدرج ===== */
.filters-fab[b-v2xtrr28qt] {
    position: fixed;
    right: 16px;
    top: 120px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 0;
    background: #7b1fa2;
    color: #fff;
    font-size: 22px;
    box-shadow: 0 10px 22px rgba(0,0,0,.18);
    cursor: pointer;
    z-index: 60;
    transition: transform .15s ease,box-shadow .2s ease,background .2s ease
}

    .filters-fab:hover[b-v2xtrr28qt] {
        transform: translateY(-2px);
        background: #6a1b9a;
        box-shadow: 0 14px 26px rgba(0,0,0,.22)
    }

/* ===== درج جانبى للمادة ===== */
.filters-drawer[b-v2xtrr28qt] {
    position: fixed;
    top: 90px;
    right: 16px;
    width: 300px;
    max-width: calc(100% - 32px);
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    box-shadow: 0 18px 36px rgba(0,0,0,.12);
    padding: 14px;
    transform: translateX(120%);
    transition: transform .25s ease;
    z-index: 70
}

    .filters-drawer.open[b-v2xtrr28qt] {
        transform: translateX(0)
    }

.filters-panel__header[b-v2xtrr28qt] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px
}

.filters-panel__title[b-v2xtrr28qt] {
    font-weight: 800;
    color: #6b21a8;
    font-size: 1.05rem
}

.filters-close[b-v2xtrr28qt] {
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    color: #9ca3af
}

    .filters-close:hover[b-v2xtrr28qt] {
        color: #6b7280
    }

/* شكل الـ select داخل الدرج */
.filters-drawer select[b-v2xtrr28qt] {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    background: #fafafa;
    padding: 8px 10px;
    font-size: .98rem;
    outline: none;
    direction: rtl
}

    .filters-drawer select:focus[b-v2xtrr28qt] {
        border-color: #7b1fa2;
        box-shadow: 0 0 0 3px rgba(123,31,162,.12)
    }

/* طبقة إغلاق */
.filters-overlay[b-v2xtrr28qt] {
    position: fixed;
    inset: 0;
    background: rgba(17,24,39,.25);
    z-index: 65
}

/* ===== Hint لأول مرة ===== */
.filters-hint[b-v2xtrr28qt] {
    position: fixed;
    right: 76px;
    top: 115px;
    background: #111827;
    color: #fff;
    padding: 10px 14px;
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(0,0,0,.22);
    z-index: 61;
    cursor: pointer;
    animation: hint-pop-b-v2xtrr28qt .2s ease-out, hint-pulse-b-v2xtrr28qt 1.4s ease-in-out infinite .15s
}

.filters-hint__text[b-v2xtrr28qt] {
    font-weight: 700;
    font-size: .95rem;
    white-space: nowrap
}

.filters-hint__arrow[b-v2xtrr28qt] {
    position: absolute;
    right: -8px;
    top: 14px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid transparent;
    border-left: 8px solid #111827
}

@keyframes hint-pop-b-v2xtrr28qt {
    from {
        transform: scale(.95);
        opacity: 0
    }

    to {
        transform: scale(1);
        opacity: 1
    }
}

@keyframes hint-pulse-b-v2xtrr28qt {
    0%,100% {
        box-shadow: 0 12px 24px rgba(0,0,0,.22)
    }

    50% {
        box-shadow: 0 16px 28px rgba(0,0,0,.28)
    }
}

/* وسّط عنوان الهيرو والوصف */
.welcome-section[b-v2xtrr28qt] {
    max-width: 980px; /* نفس عرض كروت الفيديو تقريبًا */
    margin: 12px auto 8px; /* auto => يوسّط أفقياً */
    padding: 0 16px; /* مساحة جانبية صغيرة للموبايل */
    text-align: center; /* يخلي النص في النص */
}

    /* تأكيد أن العنوان والوصف يرثوا الـ center حتى لو فيه ستايل قديم */
    .welcome-section .main-title[b-v2xtrr28qt],
    .welcome-section .subtitle[b-v2xtrr28qt] {
        text-align: inherit !important;
        margin-inline: auto; /* احتياط */
    }


/* موبايل */
@media (max-width:768px) {
    .filters-fab[b-v2xtrr28qt] {
        bottom: 18px;
        top: auto;
        right: 18px
    }

    .filters-drawer[b-v2xtrr28qt] {
        right: 12px;
        left: 12px;
        width: auto;
        top: auto;
        bottom: 84px
    }

    .filters-hint[b-v2xtrr28qt] {
        right: 20px;
        bottom: 148px;
        top: auto
    }

    .filters-hint__arrow[b-v2xtrr28qt] {
        right: 14px;
        bottom: -8px;
        top: auto;
        border-left-color: transparent;
        border-top: 8px solid #111827;
        border-right: 8px solid transparent;
        border-bottom: 0
    }
}
/* _content/LearnPlay/Shared/AnnounceStrip.razor.rz.scp.css */
/* ==== Helpers (عرض) ==== */
.ann-narrow[b-fcgyjg44fu] {
    --ann-max: 880px;
}

.ann-wide[b-fcgyjg44fu] {
    --ann-max: 1120px;
}

/* =========================
   STRIP (شريط احترافي)
   ========================= */
.announce-strip.pro[b-fcgyjg44fu] {
    --bg: #fff8e6;
    --bd: #ffd68a;
    --txt: #5a4300;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: min(100%, var(--ann-max,980px));
    margin: 10px auto 14px;
    padding: 10px 14px;
    border: 1px solid var(--bd);
    border-radius: 14px;
    background: linear-gradient(180deg,#fffdfa 0%,#fff6dc 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,.04), inset 0 1px 0 rgba(255,255,255,.7);
}

.as__left[b-fcgyjg44fu] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1 1 auto;
    font-size: 0; /* لإزالة فجوات inline */
}

.as__right[b-fcgyjg44fu] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

/* رجّع حجم الخط للعناصر */
.as__badge[b-fcgyjg44fu], .as__track[b-fcgyjg44fu], .as__cta[b-fcgyjg44fu] {
    font-size: initial;
}

.as__badge[b-fcgyjg44fu] {
    background: var(--pill);
    color: #1f2937;
    font-weight: 800;
    padding: 0 10px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: .78rem;
    white-space: nowrap;
}

/* مسار الماركيه */
.as__track[b-fcgyjg44fu] {
    position: relative;
    overflow: hidden;
    block-size: 1.9em;
    inline-size: clamp(240px,60vw,720px);
    flex: 1 1 auto;
    vertical-align: middle;
    display: inline-block;
}

/* العدّاء */
.as__runner[b-fcgyjg44fu] {
    display: inline-flex;
    gap: 28px;
    padding-inline: 6px 18px;
    width: max-content;
    will-change: transform;
    animation: ann-marq-single-b-fcgyjg44fu var(--speed, 12s) linear infinite;
}

/* عند المرور أوقف الحركة (اختياري) */
/* .as__track:hover .as__runner { animation-play-state: paused; } */

.as__chunk[b-fcgyjg44fu] {
    flex: 0 0 auto;
    white-space: nowrap;
    color: var(--txt);
    font-size: .96rem;
    font-weight: 700;
}

/* الحركة: مقدار الإزاحة يأتي من JS */
@keyframes ann-marq-b-fcgyjg44fu {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(var(--dx, -50%));
    }
    /* JS هيضبط --dx بالبكسل */
}
@keyframes ann-marq-single-b-fcgyjg44fu {
    from {
        transform: translateX(var(--from, 0px));
    }

    to {
        transform: translateX(var(--to, 0px));
    }
}

/* CTA */
.as__cta[b-fcgyjg44fu] {
    margin-inline-start: 8px;
    text-decoration: none;
    font-weight: 800;
    white-space: nowrap;
    outline: none;
}

/* أزرار التحكم */
.chip[b-fcgyjg44fu] {
    border: 1px dashed var(--bd);
    background: #fff;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: .82rem;
    line-height: 1.4;
    cursor: pointer;
}

.x[b-fcgyjg44fu] {
    border: none;
    background: transparent;
    font-size: 1.15rem;
    line-height: 1;
    cursor: pointer;
    opacity: .75;
}

/* نسخة قرّاء الشاشة المشتركة */
.sr-only[b-fcgyjg44fu] {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width:640px) {
    .announce-strip.pro[b-fcgyjg44fu] {
        padding: 8px 10px;
        gap: 8px;
    }

    .as__text[b-fcgyjg44fu] {
        font-size: .94rem;
    }
}

/* =========================
   CARD (كارت مبهر)
   ========================= */
.announce-card.pro[b-fcgyjg44fu] {
    width: min(100%, var(--ann-max,980px));
    margin-inline: auto;
    border-radius: 16px;
    padding: 14px 16px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    background: radial-gradient(1200px 500px at 100% -50%, #ffeab5 0%, transparent 60%), linear-gradient(180deg,#ffffff 0%, #fff7e6 100%);
    border: 1px solid #ffe2a6;
    box-shadow: 0 10px 30px rgba(253,216,120,.25), inset 0 1px 0 rgba(255,255,255,.8);
}

.ac__badge[b-fcgyjg44fu] {
    grid-column: 1 / -1;
    justify-self: start;
    background: #ffab00;
    color: #1f2937;
    font-weight: 900;
    border-radius: 999px;
    padding: 3px 10px;
    font-size: .8rem;
}

.ac__icon[b-fcgyjg44fu] {
    font-size: 28px;
    line-height: 1;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,.08));
}

.ac__text[b-fcgyjg44fu] {
    min-width: 0;
}

.ac__title[b-fcgyjg44fu] {
    font-weight: 900;
    font-size: 1.1rem;
    color: #3b2c00;
    display: inline;
    background-image: linear-gradient(to top,#ffd68a 3px,transparent 0);
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 100% 100%;
    padding-bottom: 2px;
}

.ac__sub[b-fcgyjg44fu] {
    color: #5f5a4a;
    margin-top: 4px;
}

.ac__cta[b-fcgyjg44fu] {
    justify-self: end;
    align-self: center;
    text-decoration: none;
    font-weight: 900;
    padding: 8px 14px;
    border-radius: 12px;
    border: 1px solid #ffd68a;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,.05);
}

.ac__controls[b-fcgyjg44fu] {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}

.announce-card.pro .chip[b-fcgyjg44fu] {
    border: 1px dashed #ffd68a;
    background: #fff;
    padding: 4px 10px;
}

.announce-card.pro .x[b-fcgyjg44fu] {
    border: none;
    background: transparent;
    font-size: 1.05rem;
    opacity: .85;
}

.announce-card.pro:hover[b-fcgyjg44fu] {
    transform: translateY(-1px);
    transition: .2s;
}

/* Focus */
.chip:focus-visible[b-fcgyjg44fu], .x:focus-visible[b-fcgyjg44fu], .as__cta:focus-visible[b-fcgyjg44fu], .ac__cta:focus-visible[b-fcgyjg44fu] {
    outline: 2px solid #a78bfa;
    outline-offset: 2px;
    border-radius: 8px;
}


/* أخفِ أي عنصر عليه hidden بشكل مؤكّد */
[hidden][b-fcgyjg44fu] {
    display: none !important;
}

/* لا تستقبل نقرات في كتلة اليسار بالكامل (الماركيه) */
.as__left[b-fcgyjg44fu] {
    position: relative;
    pointer-events: none; /* ← مهم */
    z-index: 1;
}

/* اسمح بالنقر للعناصر التفاعلية داخل اليسار */
.as__badge[b-fcgyjg44fu],
.as__cta[b-fcgyjg44fu] {
    pointer-events: auto;
}

/* الماركيه نفسها لا تلتقط نقرات إطلاقًا */
.as__track[b-fcgyjg44fu],
.as__runner[b-fcgyjg44fu],
.as__chunk[b-fcgyjg44fu] {
    pointer-events: none;
}

/* الأزرار/الروابط يمينًا فوق أي تراكب */
.announce-strip.pro[b-fcgyjg44fu] {
    position: relative;
}

.as__right[b-fcgyjg44fu],
.as__cta[b-fcgyjg44fu],
.chip[b-fcgyjg44fu],
.x[b-fcgyjg44fu] {
    pointer-events: auto;
    position: relative;
    z-index: 3; /* أعلى من اليسار */
}
/* _content/LearnPlay/Shared/MainLayout.razor.rz.scp.css */
/* المتغيّر هيتعرّف في app.css */
.main-layout[b-e7rsbkpco1] { /* عندك <main class="main-layout"> */
    padding-top: var(--topbar-h);
}
/* _content/LearnPlay/Shared/NavMenu.razor.rz.scp.css */
/* اجبار لون الروابط في الهيدر (ديسكتوب) */
.main-header .nav-links a:link[b-0cphb4vzj8],
.main-header .nav-links a:visited[b-0cphb4vzj8],
.main-header .nav-links .nav-logout[b-0cphb4vzj8] {
    color: #fff !important;
}

    /* هوفر موحّد */
    .main-header .nav-links a:hover[b-0cphb4vzj8],
    .main-header .nav-links .nav-logout:hover[b-0cphb4vzj8] {
        background: #fff;
        color: #ff6b6b !important;
    }

/* موبايل عند فتح القائمة (إنت بالفعل مديها خلفية فاتحة) */
@media (max-width:768px) {
    .main-header .nav-links.show a[b-0cphb4vzj8],
    .main-header .nav-links.show .nav-logout[b-0cphb4vzj8] {
        background: #ffcc80;
        color: #333 !important;
    }
}


/* ====== الشريط العلوي الأساسي ====== */
.main-header[b-0cphb4vzj8] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(to right,#ffcc70,#ff8c42);
    border-bottom: 4px solid #ff6b6b;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
    padding: 12px 0;
}

.site-logo[b-0cphb4vzj8] {
    height: 80px; /* زودت الارتفاع */
    width: auto;
    display: block;
    object-fit: contain;
}

/* حاوية الداخل */
.header-container[b-0cphb4vzj8] {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

/* يمين الهيدر: لوجو + تحية */
.logo-welcome[b-0cphb4vzj8] {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.logo[b-0cphb4vzj8] {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0,0,0,.2);
    white-space: nowrap;
    flex-shrink: 0;
}

.welcome-icon-box[b-0cphb4vzj8] {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.12);
    padding: 6px 12px;
    border-radius: 12px;
    color: #fff;
    font-weight: 700;
    max-width: 320px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* روابط الهيدر */
.nav-links[b-0cphb4vzj8] {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

    /* توحيد شكل الرابط والزر */
    .nav-links a[b-0cphb4vzj8],
    .nav-links .nav-logout[b-0cphb4vzj8] {
        text-decoration: none;
        color: #fff;
        background: rgba(255,255,255,.2);
        padding: 8px 14px;
        border-radius: 12px;
        font-weight: 700;
        font-size: 15px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        line-height: 1.4; /* ✅ يثبت الطول */
        min-height: 30px; /* ✅ نفس ارتفاع زر الرئيسية */
        border: none; /* يشيل بوردر الزر */
        cursor: pointer;
        transition: .25s ease;
    }

        /* هوفر موحد */
        .nav-links a:hover[b-0cphb4vzj8],
        .nav-links .nav-logout:hover[b-0cphb4vzj8] {
            background: #fff;
            color: #ff6b6b;
            box-shadow: 0 0 5px rgba(0,0,0,.1);
        }


/* زر القائمة (موبايل) */
.menu-toggle[b-0cphb4vzj8] {
    background: none;
    border: none;
    font-size: 26px;
    color: #fff;
    cursor: pointer;
    display: none;
}

/* ====== شاشات متوسطة ====== */
@media (max-width:1100px) {
    .header-container[b-0cphb4vzj8] {
        flex-wrap: wrap;
        row-gap: 10px;
    }

    .nav-links[b-0cphb4vzj8] {
        width: 100%;
        justify-content: flex-start;
        row-gap: 8px;
    }

        .nav-links a[b-0cphb4vzj8],
        .nav-links .nav-logout[b-0cphb4vzj8] {
            padding: 7px 12px;
            font-size: 14px;
            border-radius: 10px;
        }

    .logo[b-0cphb4vzj8] {
        font-size: 26px;
    }

    .welcome-icon-box[b-0cphb4vzj8] {
        max-width: 260px;
        padding: 5px 10px;
    }
}

/* تضييق إضافي */
@media (max-width:880px) {
    .nav-links[b-0cphb4vzj8] {
        gap: 10px;
    }

        .nav-links a[b-0cphb4vzj8],
        .nav-links .nav-logout[b-0cphb4vzj8] {
            padding: 6px 10px;
            font-size: 13.5px;
        }
}

/* ====== موبايل — قائمة منسدلة ====== */
@media (max-width:768px) {
    .menu-toggle[b-0cphb4vzj8] {
        display: block;
    }

    .header-container[b-0cphb4vzj8] {
        flex-wrap: wrap;
    }

    .logo-welcome[b-0cphb4vzj8] {
        order: 1;
    }

    .menu-toggle[b-0cphb4vzj8] {
        order: 2;
        margin-inline-start: auto;
    }

    .nav-links[b-0cphb4vzj8] {
        order: 3;
        display: none;
        width: 100%;
    }

        .nav-links.show[b-0cphb4vzj8] {
            display: flex;
            flex-direction: column;
            align-items: stretch;
            gap: 8px;
            background: linear-gradient(to right,#ffcc70,#ff8c42);
            border-radius: 10px;
            padding: 12px;
            box-shadow: 0 4px 12px rgba(0,0,0,.15);
        }

            .nav-links.show a[b-0cphb4vzj8],
            .nav-links.show .nav-logout[b-0cphb4vzj8] {
                background: #ffcc80;
                color: #333;
                border-radius: 10px;
            }
}
/* _content/LearnPlay/Shared/SubjectFilterDrawer.razor.rz.scp.css */
/* ===== زر عائم لفتح الدرج ===== */
.filters-fab[b-mft7qkguud] {
    position: fixed;
    right: 16px;
    top: 120px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 0;
    background: #7b1fa2;
    color: #fff;
    font-size: 22px;
    box-shadow: 0 10px 22px rgba(0,0,0,.18);
    cursor: pointer;
    z-index: 60;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}

    .filters-fab:hover[b-mft7qkguud] {
        transform: translateY(-2px);
        background: #6a1b9a;
        box-shadow: 0 14px 26px rgba(0,0,0,.22);
    }

/* ===== درج جانبي أنيق ===== */
.filters-drawer[b-mft7qkguud] {
    position: fixed;
    top: 90px;
    right: 16px;
    width: 300px;
    max-width: calc(100% - 32px);
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    box-shadow: 0 18px 36px rgba(0,0,0,.12);
    padding: 14px;
    transform: translateX(120%);
    transition: transform .25s ease;
    z-index: 70;
}

    .filters-drawer.open[b-mft7qkguud] {
        transform: translateX(0);
    }

/* ===== رأس الدرج ===== */
.filters-panel__header[b-mft7qkguud] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.filters-panel__title[b-mft7qkguud] {
    font-weight: 800;
    color: #6b21a8;
    font-size: 1.05rem;
}

.filters-close[b-mft7qkguud] {
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    color: #9ca3af;
}

    .filters-close:hover[b-mft7qkguud] {
        color: #6b7280;
    }

/* ===== select المادة ===== */
.subject-select select[b-mft7qkguud],
.filters-drawer select[b-mft7qkguud] {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    background: #fafafa;
    padding: 8px 10px;
    font-size: 0.98rem;
    outline: none;
    direction: rtl;
    color: #111;
    transition: border-color .2s ease, box-shadow .2s ease;
}

    .subject-select select:focus[b-mft7qkguud],
    .filters-drawer select:focus[b-mft7qkguud] {
        border-color: #7b1fa2;
        box-shadow: 0 0 0 3px rgba(123,31,162,.12);
    }

/* ===== طبقة التعتيم ===== */
.filters-overlay[b-mft7qkguud] {
    position: fixed;
    inset: 0;
    background: rgba(17,24,39,.25);
    z-index: 65;
}

/* ===== Hint أول مرة ===== */
.filters-hint[b-mft7qkguud] {
    position: fixed;
    right: 76px;
    top: 115px;
    background: #111827;
    color: #fff;
    padding: 10px 14px;
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(0,0,0,.22);
    z-index: 61;
    cursor: pointer;
    animation: hint-pop-b-mft7qkguud .2s ease-out, hint-pulse-b-mft7qkguud 1.4s ease-in-out infinite .15s;
}

.filters-hint__text[b-mft7qkguud] {
    font-weight: 700;
    font-size: .95rem;
    white-space: nowrap;
}

.filters-hint__arrow[b-mft7qkguud] {
    position: absolute;
    right: -8px;
    top: 14px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid #111827;
}

/* ===== أنيميشن ===== */
@keyframes hint-pop-b-mft7qkguud {
    from {
        transform: scale(.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes hint-pulse-b-mft7qkguud {
    0%,100% {
        box-shadow: 0 12px 24px rgba(0,0,0,.22);
    }

    50% {
        box-shadow: 0 16px 28px rgba(0,0,0,.28);
    }
}

/* ===== موبايل ===== */
@media (max-width:768px) {
    .filters-fab[b-mft7qkguud] {
        bottom: 18px;
        top: auto;
        right: 18px;
    }

    .filters-drawer[b-mft7qkguud] {
        right: 12px;
        left: 12px;
        width: auto;
        top: auto;
        bottom: 84px;
    }

    .filters-hint[b-mft7qkguud] {
        right: 20px;
        bottom: 148px;
        top: auto;
    }

    .filters-hint__arrow[b-mft7qkguud] {
        right: 14px;
        bottom: -8px;
        top: auto;
        border-left-color: transparent;
        border-top: 8px solid #111827;
        border-right: 8px solid transparent;
        border-bottom: 0;
    }
}
/* _content/LearnPlay/Shared/TeacherGate.razor.rz.scp.css */
/* غلاف */
.tg-wrap[b-vser3ecvec] {
    min-height: calc(100dvh - 140px);
    display: grid;
    place-items: center;
    padding: 24px;
    background: #FFF7EE;
}

/* الكارت والثيم */
.tg-card[b-vser3ecvec] {
    /* متغيرات الثيم داخل الكارت */
    --tg-text: #161616;
    --tg-sub: #4b5563;
    --tg-primary: #2563eb;
    --tg-primary-2: #1d4ed8;
    --tg-border: #e6e7ea;
    --tg-bad: #ef4444;
    --tg-warn: #f59e0b;
    --tg-shadow: 0 14px 34px rgba(16,24,40,.10);
    width: min(760px,100%);
    background: #fff;
    border: 1px solid var(--tg-border);
    border-radius: 20px;
    padding: 26px;
    box-shadow: var(--tg-shadow);
    font-family: "Tajawal","Cairo","Noto Sans Arabic","Segoe UI",system-ui,Arial,sans-serif;
}

/* رأس الكارت */
.tg-head[b-vser3ecvec] {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 16px;
    align-items: center;
    margin-bottom: 14px;
}

.tg-icon[b-vser3ecvec] {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: #eef2ff;
    font-size: 28px;
}

    .tg-icon.tg-warn[b-vser3ecvec] {
        background: #fff7ed;
    }

.tg-title[b-vser3ecvec] {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--tg-text);
    letter-spacing: .1px;
}

.tg-sub[b-vser3ecvec] {
    margin: 6px 0 0;
    color: var(--tg-sub);
    line-height: 1.65;
}

/* نموذج */
.tg-form[b-vser3ecvec] {
    margin-top: 12px;
    display: grid;
    gap: 16px;
}

.tg-field label[b-vser3ecvec] {
    display: block;
    margin-bottom: 8px;
    font-weight: 800;
    color: var(--tg-text);
}

.tg-help[b-vser3ecvec] {
    margin-top: 6px;
    color: #9ca3af;
    font-size: .9rem;
}

/* إدخال */
.tg-input[b-vser3ecvec] {
    position: relative;
}

    /* شكل الدخل */
    .tg-input input[b-vser3ecvec] {
        width: 100%;
        border: 1px solid var(--tg-border);
        border-radius: 14px;
        background: #fbfbfd;
        padding: 12px;
        font-size: 1rem;
        outline: none;
        transition: border .15s, box-shadow .15s, background .15s;
    }

        .tg-input input:focus[b-vser3ecvec] {
            background: #fff;
            border-color: var(--tg-primary);
            box-shadow: 0 0 0 3px color-mix(in srgb, var(--tg-primary) 18%, transparent);
        }

/* ـــ زر العين خارج الحقل ـــ */
.tg-outside[b-vser3ecvec] {
    display: flex;
    flex-direction: row; /* في RTL العنصر الأول يكون على اليمين */
    gap: 8px;
    align-items: center;
}

    .tg-outside input[b-vser3ecvec] {
        padding: 12px; /* لا نحتاج مساحة للأيقونة داخل الحقل */
    }

/* زر العين */
.tg-eye-btn[b-vser3ecvec] {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid var(--tg-border);
    background: #fff;
    border-radius: 12px;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(16,24,40,.06);
    transition: transform .05s, box-shadow .15s, background .15s, border-color .15s;
}

    .tg-eye-btn:hover[b-vser3ecvec] {
        box-shadow: var(--tg-shadow);
    }

    .tg-eye-btn:active[b-vser3ecvec] {
        transform: translateY(1px);
    }

/* تنبيهات */
.tg-alert[b-vser3ecvec] {
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 800;
    margin: 10px 0;
}

    .tg-alert.tg-bad[b-vser3ecvec] {
        background: #fef2f2;
        color: #991b1b;
        border: 1px solid #fecaca;
    }

/* أزرار */
.tg-actions[b-vser3ecvec] {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

    .tg-actions.center[b-vser3ecvec] {
        justify-content: center;
    }

    .tg-actions.stack[b-vser3ecvec] {
        flex-wrap: wrap;
    }

.tg-btn[b-vser3ecvec] {
    appearance: none;
    border: 1px solid var(--tg-border);
    background: #fff;
    color: var(--tg-text);
    padding: 12px 20px;
    border-radius: 14px;
    font-weight: 900;
    cursor: pointer;
    transition: transform .05s, box-shadow .15s, background .15s, border-color .15s;
}

    .tg-btn:hover[b-vser3ecvec] {
        box-shadow: var(--tg-shadow);
    }

    .tg-btn:active[b-vser3ecvec] {
        transform: translateY(1px);
    }

    .tg-btn.tg-primary[b-vser3ecvec] {
        background: var(--tg-primary);
        border-color: var(--tg-primary);
        color: #fff;
    }

        .tg-btn.tg-primary:hover[b-vser3ecvec] {
            background: var(--tg-primary-2);
            border-color: var(--tg-primary-2);
        }

    .tg-btn.tg-ghost[b-vser3ecvec] {
        background: #fff;
        color: #111;
    }

    .tg-btn.tg-lg[b-vser3ecvec] {
        min-width: 260px;
        padding: 14px 22px;
        font-size: 1.06rem;
    }

.tg-link[b-vser3ecvec] {
    background: none;
    border: 0;
    color: var(--tg-primary);
    cursor: pointer;
    font-weight: 800;
    padding: 0 4px;
}

/* Skeleton */
.tg-skeleton[b-vser3ecvec] {
    padding: 24px;
}

    .tg-skeleton .sk-line[b-vser3ecvec], .tg-skeleton .sk-card[b-vser3ecvec] {
        background: linear-gradient(90deg,#f3f4f6 25%,#e5e7eb 37%,#f3f4f6 63%);
        background-size: 400% 100%;
        animation: shimmer-b-vser3ecvec 1.2s infinite;
        border-radius: 12px;
    }

.sk-line[b-vser3ecvec] {
    height: 18px;
    margin-bottom: 12px;
}

    .sk-line.w40[b-vser3ecvec] {
        width: 40%;
    }

.sk-card[b-vser3ecvec] {
    height: 120px;
}

@keyframes shimmer-b-vser3ecvec {
    0% {
        background-position: 200% 0
    }

    100% {
        background-position: -200% 0
    }
}

/* موبايل */
@media (max-width:560px) {
    .tg-card[b-vser3ecvec] {
        padding: 18px;
        border-radius: 18px;
    }

    .tg-head[b-vser3ecvec] {
        grid-template-columns: 52px 1fr;
    }

    .tg-icon[b-vser3ecvec] {
        width: 52px;
        height: 52px;
        font-size: 24px;
    }

    .tg-btn.tg-lg[b-vser3ecvec] {
        width: 100%;
    }
    /* أزرار فل وِدث */
}
