/* _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/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/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[b-fzkzeu8wxa] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    padding: 10px 14px 44px;
}

.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-card:hover[b-fzkzeu8wxa] {
        transform: translateY(-3px);
        box-shadow: 0 14px 30px rgba(17,24,39,.10);
    }

.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;
}


/* موبايل */
@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;
}

.class-picker[b-btvdwxwvgr] {
    display: grid;
    gap: 6px;
    min-width: 260px;
}

    .class-picker select[b-btvdwxwvgr] {
        padding: 10px 12px;
        border-radius: 10px;
        border: 1px solid #ddd;
        background: #fff;
    }

.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.warn[b-btvdwxwvgr] {
        border-color: #fde68a;
        background: #fffbeb;
        color: #92400e;
    }

.card[b-btvdwxwvgr] {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 14px;
}

.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;
    }
}

.form[b-btvdwxwvgr] {
    display: grid;
    gap: 12px;
}

.field[b-btvdwxwvgr] {
    display: grid;
    gap: 6px;
}

.input[b-btvdwxwvgr] {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
}

.muted[b-btvdwxwvgr] {
    color: #6b7280;
    font-size: 12px;
}

.uploader[b-btvdwxwvgr] {
    display: grid;
    gap: 10px;
}

.uploader-head .title[b-btvdwxwvgr] {
    font-weight: 700;
}

.dropzone[b-btvdwxwvgr] {
    position: relative;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    padding: 12px;
    background: #fafafa;
    min-height: 170px;
    display: grid;
    place-items: center;
}

    .dropzone input[type="file"][b-btvdwxwvgr] {
        position: absolute;
        inset: 0;
        opacity: 0;
        cursor: pointer;
    }

    .dropzone .hint[b-btvdwxwvgr] {
        color: #64748b;
        font-size: 13px;
        text-align: center;
    }

.preview[b-btvdwxwvgr] {
    width: 100%;
    max-height: 260px;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid #eee;
}

.savebar[b-btvdwxwvgr] {
    position: sticky;
    bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    padding: 10px 12px;
    border: 1px solid #eee;
    border-radius: 14px;
    background: #fff;
}

.primary[b-btvdwxwvgr] {
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 10px 14px;
    font-weight: 700;
    cursor: pointer;
}

    .primary:disabled[b-btvdwxwvgr] {
        opacity: .5;
        cursor: not-allowed;
    }

.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 centered */
.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 card */
.modal[b-btvdwxwvgr] {
    width: min(520px, 92vw);
    background: #ffffff;
    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;
}

@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
}

.page-header[b-2utn7sbx0m] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 16px
}

    .page-header h2[b-2utn7sbx0m] {
        margin: 0;
        font-size: 24px
    }

.sub[b-2utn7sbx0m] {
    margin-top: 6px;
    color: #6b7280;
    font-size: 14px
}

.stats[b-2utn7sbx0m] {
    display: flex;
    gap: 10px
}

.stat[b-2utn7sbx0m] {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 12px 14px;
    min-width: 160px
}

    .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
}

.card-head[b-2utn7sbx0m] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px
}

    .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] {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff
}

.row[b-2utn7sbx0m] {
    display: flex;
    gap: 8px;
    align-items: center
}

.primary[b-2utn7sbx0m] {
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 10px 14px;
    cursor: pointer;
    font-weight: 700
}

    .primary:disabled[b-2utn7sbx0m] {
        opacity: .6;
        cursor: not-allowed
    }

.ghost[b-2utn7sbx0m] {
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer
}

.danger[b-2utn7sbx0m] {
    background: #ef4444;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer
}

.small[b-2utn7sbx0m] {
    padding: 6px 8px;
    border-radius: 8px
}

.toolbar[b-2utn7sbx0m] {
    display: flex;
    gap: 8px;
    align-items: center
}

.search[b-2utn7sbx0m] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 10px
}

.table[b-2utn7sbx0m] {
    width: 100%;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee
}

    .table th[b-2utn7sbx0m], .table td[b-2utn7sbx0m] {
        padding: 10px 12px;
        border-bottom: 1px solid #f3f4f6;
        text-align: right
    }

    .table thead[b-2utn7sbx0m] {
        background: #f9fafb
    }

.actions[b-2utn7sbx0m] {
    display: flex;
    gap: 6px
}

.notice[b-2utn7sbx0m] {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px dashed #f0ad4e;
    background: #fff7ed;
    color: #8a6d3b;
    margin-bottom: 14px
}

    .notice.muted[b-2utn7sbx0m] {
        border-color: #e5e7eb;
        background: #f9fafb;
        color: #6b7280
    }

.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
}

.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; /* لون غامق لزيادة الوضوح */
}


@keyframes shimmer-b-2utn7sbx0m {
    0% {
        background-position: 200% 0
    }

    100% {
        background-position: -200% 0
    }
}

@media (max-width:980px) {
    .grid.two[b-2utn7sbx0m] {
        grid-template-columns: 1fr
    }

    .page-header[b-2utn7sbx0m] {
        flex-direction: column;
        align-items: flex-start
    }
}
/* _content/LearnPlay/Pages/Teacher/ManageActivities.razor.rz.scp.css */
.page-wrap[b-hoqhrpy2i0] {
    padding: 14px;
}

.page-header[b-hoqhrpy2i0] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    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;
}

.class-picker[b-hoqhrpy2i0] {
    display: grid;
    gap: 6px;
    min-width: 260px;
}

    .class-picker select[b-hoqhrpy2i0] {
        padding: 10px 12px;
        border-radius: 10px;
        border: 1px solid #ddd;
        background: #fff;
    }

.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[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;
    }

    .activity-card .toggle[b-hoqhrpy2i0] {
        display: none;
    }

    /* Switch */
    .activity-card .switch[b-hoqhrpy2i0] {
        width: 52px;
        height: 28px;
        border-radius: 999px;
        background: #e5e7eb;
        position: relative;
        transition: background .2s ease;
    }

    .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 ease;
    }
    /* 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;
        }

.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;
}

@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-end;
    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;
}

.class-picker[b-qlk7htuzy9] {
    display: grid;
    gap: 6px;
    min-width: 260px;
}

    .class-picker select[b-qlk7htuzy9] {
        padding: 10px 12px;
        border-radius: 10px;
        border: 1px solid #ddd;
        background: #fff;
    }

.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] {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 14px;
}

.stat-title[b-qlk7htuzy9] {
    color: #6b7280;
    font-size: 14px;
}

.stat-value[b-qlk7htuzy9] {
    font-size: 22px;
    font-weight: 700;
    margin-top: 6px;
}

.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;
    }

.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;
    }

.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;
}

.card-head[b-qlk7htuzy9] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

    .card-head h3[b-qlk7htuzy9] {
        margin: 0;
    }

    .card-head .hint[b-qlk7htuzy9] {
        color: #6b7280;
        font-size: 12px;
    }

.form[b-qlk7htuzy9] {
    display: grid;
    gap: 10px;
}

.field[b-qlk7htuzy9] {
    display: grid;
    gap: 6px;
}

    .field input[b-qlk7htuzy9] {
        padding: 10px 12px;
        border: 1px solid #ddd;
        border-radius: 10px;
        background: #fff;
    }

.row[b-qlk7htuzy9] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.ghost[b-qlk7htuzy9] {
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer;
}

.primary[b-qlk7htuzy9] {
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 10px 14px;
    cursor: pointer;
    font-weight: 700;
}

    .primary:disabled[b-qlk7htuzy9] {
        opacity: .5;
        cursor: not-allowed;
    }

.toolbar[b-qlk7htuzy9] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.search[b-qlk7htuzy9] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.table[b-qlk7htuzy9] {
    width: 100%;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
}

    .table th[b-qlk7htuzy9], .table td[b-qlk7htuzy9] {
        padding: 10px 12px;
        border-bottom: 1px solid #f3f4f6;
        text-align: right;
    }

    .table thead[b-qlk7htuzy9] {
        background: #f9fafb;
    }

.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;
}

    .danger:hover[b-qlk7htuzy9] {
        background: #dc2626;
    }

/* 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: 1px solid #eee;
    border-radius: 14px;
    padding: 16px;
    z-index: 40;
}

.modal-head[b-qlk7htuzy9] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.modal .x[b-qlk7htuzy9] {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 18px;
}



@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/TeacherDashboard.razor.rz.scp.css */
.td-wrap[b-c6azyq3mf2] {
    padding: 16px;
}

/* Header */
.td-header[b-c6azyq3mf2] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 16px;
}

    .td-header h2[b-c6azyq3mf2] {
        margin: 0;
        font-size: 26px;
    }

.sub[b-c6azyq3mf2] {
    color: #6b7280;
    margin-top: 6px;
    font-size: 14px;
}

.td-user[b-c6azyq3mf2] {
    display: flex;
    gap: 10px;
    align-items: center;
    background: #fff;
    border: 1px solid #eee;
    padding: 10px 12px;
    border-radius: 12px;
}

    .td-user .avatar[b-c6azyq3mf2] {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        background: #f3f4f6;
        font-size: 18px;
    }

    .td-user .name[b-c6azyq3mf2] {
        font-weight: 700;
    }

    .td-user .role[b-c6azyq3mf2] {
        color: #6b7280;
        font-size: 12px;
    }

/* Stats */
.td-stats[b-c6azyq3mf2] {
    display: grid;
    grid-template-columns: repeat(3, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.stat-card[b-c6azyq3mf2] {
    display: flex;
    gap: 12px;
    align-items: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 14px;
}

    .stat-card .ic[b-c6azyq3mf2] {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        background: #f3f4f6;
        display: grid;
        place-items: center;
        font-size: 22px;
    }

    .stat-card .label[b-c6azyq3mf2] {
        color: #6b7280;
        font-size: 13px;
    }

    .stat-card .val[b-c6azyq3mf2] {
        font-size: 22px;
        font-weight: 800;
    }

/* Actions */
.td-actions[b-c6azyq3mf2] {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.action-card[b-c6azyq3mf2] {
    text-align: right;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 14px;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}

    .action-card .icon[b-c6azyq3mf2] {
        font-size: 22px;
        margin-bottom: 6px;
    }

    .action-card .title[b-c6azyq3mf2] {
        font-weight: 700;
        margin-bottom: 4px;
    }

    .action-card .desc[b-c6azyq3mf2] {
        color: #6b7280;
        font-size: 13px;
    }

    .action-card:hover[b-c6azyq3mf2] {
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(0,0,0,.06);
    }

    .action-card.new-class[b-c6azyq3mf2] {
        border-color: #dbeafe;
        background: #eff6ff;
    }

    .action-card.students[b-c6azyq3mf2] {
        border-color: #e9d5ff;
        background: #f5f3ff;
    }

    .action-card.homework[b-c6azyq3mf2] {
        border-color: #fde68a;
        background: #fffbeb;
    }

    .action-card.activities[b-c6azyq3mf2] {
        border-color: #bbf7d0;
        background: #f0fdf4;
    }

/* Grid bottom */
.td-grid[b-c6azyq3mf2] {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 14px;
}

.card[b-c6azyq3mf2] {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 14px;
}

.card-head[b-c6azyq3mf2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

    .card-head h3[b-c6azyq3mf2] {
        margin: 0;
    }

.ghost[b-c6azyq3mf2] {
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer;
}

.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: #6b7280;
    background: #f9fafb;
    border-radius: 10px;
}

.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;
}

    .class-item .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: 700;
}

.right[b-c6azyq3mf2] {
    display: flex;
    gap: 6px;
}

.mini[b-c6azyq3mf2] {
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 8px;
    padding: 6px 8px;
    cursor: pointer;
}

.tips .tips-list[b-c6azyq3mf2] {
    margin: 0;
    padding-inline-start: 18px;
    color: #374151;
}

    .tips .tips-list li[b-c6azyq3mf2] {
        margin: 6px 0;
    }

/* 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-stats[b-c6azyq3mf2] {
        grid-template-columns: 1fr;
    }

    .td-actions[b-c6azyq3mf2] {
        grid-template-columns: 1fr;
    }

    .td-header[b-c6azyq3mf2] {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* _content/LearnPlay/Shared/MainLayout.razor.rz.scp.css */
main[b-e7rsbkpco1] {
    padding-top: 110px; /* يزيد المسافة بين الهيدر والمحتوى */
}
/* _content/LearnPlay/Shared/NavMenu.razor.rz.scp.css */

.main-header[b-0cphb4vzj8] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(to right, #ffcc70, #ff8c42);
    padding: 15px 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 4px solid #ff6b6b;
    flex-wrap: wrap;
}

.logo-welcome[b-0cphb4vzj8] {
    display: flex;
    align-items: center;
    gap: 20px;
}


.logo[b-0cphb4vzj8] {
    font-size: 30px;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.welcome-icon-box[b-0cphb4vzj8] {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 12px;
    color: white;
    font-weight: bold;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}

    .welcome-icon-box .welcome-icon[b-0cphb4vzj8] {
        font-size: 20px;
    }

.menu-toggle[b-0cphb4vzj8] {
    background: none;
    border: none;
    font-size: 26px;
    color: white;
    cursor: pointer;
    display: none;
}

.nav-links[b-0cphb4vzj8] {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

    .nav-links a[b-0cphb4vzj8] {
        text-decoration: none;
        color: white;
        background: rgba(255, 255, 255, 0.2);
        padding: 8px 15px;
        border-radius: 12px;
        font-weight: bold;
        transition: 0.3s ease-in-out;
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 16px;
        white-space: nowrap;
    }

        .nav-links a:hover[b-0cphb4vzj8] {
            background: white;
            color: #ff6b6b;
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
        }



/* Responsive */
@media (max-width: 768px) {
    .menu-toggle[b-0cphb4vzj8] {
        display: block;
    }

    .nav-links[b-0cphb4vzj8] {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 20px;
        width: 100%;
    }

        .nav-links a[b-0cphb4vzj8] {
            width: 100%;
            justify-content: flex-start;
        }

    .logo-welcome[b-0cphb4vzj8] {
        display: flex;
        flex-direction: column; /* ✅ جعل المحتوى عمودي */
        align-items: flex-end; /* ✅ محاذاة النص يمينًا بشكل أنيق */
    }


    .welcome-icon-box[b-0cphb4vzj8] {
        font-size: 14px;
        padding: 4px 10px;
    }
}
