/* _content/SchoolManagementSystem.Web/Components/Common/StudentQuickSearch.razor.rz.scp.css */
.student-quick-search[b-aga6ein1f9] {
    position: relative;
    width: 100%;
    max-width: 450px;
}

.student-search-input[b-aga6ein1f9] {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    direction: rtl;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

    .student-search-input:focus[b-aga6ein1f9] {
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
    }

.student-search-results[b-aga6ein1f9] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    z-index: 1000;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.student-search-item[b-aga6ein1f9] {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border: none;
    border-bottom: 1px solid #f1f5f9;
    background: #ffffff;
    text-align: right;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s ease;
}

    .student-search-item:last-child[b-aga6ein1f9] {
        border-bottom: none;
    }

    .student-search-item:hover[b-aga6ein1f9] {
        background: #f8fafc;
    }

.student-search-name[b-aga6ein1f9] {
    font-size: 13px;
    font-weight: 600;
    color: #172033;
}

.student-search-info[b-aga6ein1f9] {
    display: flex;
    gap: 16px;
    margin-top: 5px;
    color: #94a3b8;
    font-size: 11px;
}

.student-search-loading[b-aga6ein1f9],
.student-search-empty[b-aga6ein1f9] {
    padding: 12px 14px;
    color: #64748b;
    font-size: 12px;
    background: #ffffff;
}

@media (max-width: 650px) {
    .student-quick-search[b-aga6ein1f9] {
        width: 100%;
        max-width: none;
    }
}
/* _content/SchoolManagementSystem.Web/Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-w4s9ws3my2] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-w4s9ws3my2] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/SchoolManagementSystem.Web/Components/Pages/AttendanceDashboard.razor.rz.scp.css */
/* =========================================================
   SCHOOL ATTENDANCE
   COMPLETE CSS
   ========================================================= */


/* =========================================================
   GLOBAL
   ========================================================= */

.attendance-dashboard[b-in2rvmdcpu] {
    direction: rtl;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
}


/* =========================================================
   ATTENDANCE STATUS HEADER
   ========================================================= */

.attendance-status-header[b-in2rvmdcpu] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}


/* =========================================================
   DASHBOARD HEADER
   ========================================================= */

.attendance-header[b-in2rvmdcpu] {
    margin-bottom: 18px;
}

.attendance-title[b-in2rvmdcpu] {
    margin: 0;
    font-size: 22px;
    line-height: 1.4;
    font-weight: 700;
    color: #1f2937;
}

.attendance-subtitle[b-in2rvmdcpu] {
    margin-top: 4px;
    font-size: 13px;
    color: #6b7280;
}


/* =========================================================
   FILTER
   ========================================================= */

.attendance-filter-card[b-in2rvmdcpu] {
    width: 100%;
    box-sizing: border-box;
    padding: 16px 18px;
    margin-bottom: 18px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.attendance-filter-actions[b-in2rvmdcpu] {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 10px;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
}

.attendance-date-container[b-in2rvmdcpu] {
    width: 240px;
    min-width: 240px;
    max-width: 240px;
    flex: 0 0 240px;
    box-sizing: border-box;
}

.attendance-date-label[b-in2rvmdcpu] {
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #4b5563;
}


/* =========================================================
   STATUS LEGEND
   ========================================================= */

.attendance-status-legend[b-in2rvmdcpu] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 14px;
    padding: 8px 12px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 11px;
    color: #6b7280;
}

.attendance-legend-item[b-in2rvmdcpu] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.attendance-legend-dot[b-in2rvmdcpu] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.attendance-legend-not-registered[b-in2rvmdcpu] {
    background: #9ca3af;
}

.attendance-legend-registered[b-in2rvmdcpu] {
    background: #12b76a;
}

.attendance-legend-absent[b-in2rvmdcpu] {
    background: #f04438;
}


/* =========================================================
   SCHOOL STATISTICS
   ========================================================= */

.school-statistics[b-in2rvmdcpu] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.stat-card[b-in2rvmdcpu] {
    box-sizing: border-box;
    padding: 9px 13px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.stat-card-title[b-in2rvmdcpu] {
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.stat-main[b-in2rvmdcpu] {
    display: flex;
    align-items: baseline;
    gap: 26px;
    padding: 0;
}

.stat-total[b-in2rvmdcpu],
.stat-absent[b-in2rvmdcpu] {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    white-space: nowrap;
}

.stat-total-number[b-in2rvmdcpu],
.stat-absent-number[b-in2rvmdcpu] {
    font-size: 27px;
    line-height: 1;
    font-weight: 400;
}

.stat-total-number[b-in2rvmdcpu] {
    color: #374151;
}

.stat-absent-number[b-in2rvmdcpu] {
    color: #b42318;
}

.stat-total-text[b-in2rvmdcpu],
.stat-absent-text[b-in2rvmdcpu] {
    font-size: 11px;
    font-weight: 300;
    color: #6b7280;
}


/* =========================================================
   ATTENDANCE TABLE
   ========================================================= */

.attendance-grid-card[b-in2rvmdcpu] {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.attendance-table-wrapper[b-in2rvmdcpu] {
    width: 100%;
    overflow-x: auto;
}
.attendance-grid-card[b-in2rvmdcpu] {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.attendance-table-wrapper[b-in2rvmdcpu] {
    width: 100%;
    overflow-x: auto;
}

.attendance-table[b-in2rvmdcpu] {
    width: 100%;
    min-width: 720px;
    table-layout: fixed;
    border-collapse: collapse;
    direction: rtl;
}

    /* =========================
   Fixed Columns
   ========================= */

    .attendance-table th:nth-child(1)[b-in2rvmdcpu],
    .attendance-table td:nth-child(1)[b-in2rvmdcpu] {
        width: 220px;
        min-width: 220px;
        max-width: 220px;
    }

    .attendance-table th:nth-child(2)[b-in2rvmdcpu],
    .attendance-table td:nth-child(2)[b-in2rvmdcpu] {
        width: 130px;
        min-width: 130px;
        max-width: 130px;
    }

    .attendance-table th:nth-child(3)[b-in2rvmdcpu],
    .attendance-table td:nth-child(3)[b-in2rvmdcpu] {
        width: auto;
    }


    /* =========================
   Cells
   ========================= */

    .attendance-table th[b-in2rvmdcpu],
    .attendance-table td[b-in2rvmdcpu] {
        padding: 11px 14px;
        text-align: right;
        border-bottom: 1px solid #eeeeee;
    }

    .attendance-table th[b-in2rvmdcpu] {
        background: #f9fafb;
        font-size: 12px;
        font-weight: 600;
        color: #6b7280;
        white-space: nowrap;
    }

    .attendance-table td[b-in2rvmdcpu] {
        font-size: 13px;
        color: #374151;
        vertical-align: middle;
    }


/* =========================
   Class Name
   ========================= */

.attendance-class-name[b-in2rvmdcpu] {
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* =========================
   Hover
   ========================= */

.attendance-table tbody tr:hover[b-in2rvmdcpu] {
    background: #fafafa;
}

.attendance-table tbody tr:last-child td[b-in2rvmdcpu] {
    border-bottom: none;
}
/*.attendance-periods {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}*/

/*.attendance-period {
    min-width: 90px;
    height: 38px;
    flex: 0 0 90px;
}*/
    /* =========================================================
   Grade Level Colors
   ========================================================= */

    /* پایه 1 */
    .attendance-table tbody tr.attendance-grade-1 td[b-in2rvmdcpu] {
        background: #eef6ff;
    }

    /* پایه 2 */
    .attendance-table tbody tr.attendance-grade-2 td[b-in2rvmdcpu] {
        background: #e3f0ff;
    }

    /* پایه 3 */
    .attendance-table tbody tr.attendance-grade-3 td[b-in2rvmdcpu] {
        background: #d8eaff;
    }


    /* پایه 4 */
    .attendance-table tbody tr.attendance-grade-4 td[b-in2rvmdcpu] {
        background: #effaf3;
    }

    /* پایه 5 */
    .attendance-table tbody tr.attendance-grade-5 td[b-in2rvmdcpu] {
        background: #e2f5e9;
    }

    /* پایه 6 */
    .attendance-table tbody tr.attendance-grade-6 td[b-in2rvmdcpu] {
        background: #d5f0df;
    }


    /* پایه 7 */
    .attendance-table tbody tr.attendance-grade-7 td[b-in2rvmdcpu] {
        background: #fff4df;
    }

    /* پایه 8 */
    .attendance-table tbody tr.attendance-grade-8 td[b-in2rvmdcpu] {
        background: #ffe9c7;
    }

    /* پایه 9 */
    .attendance-table tbody tr.attendance-grade-9 td[b-in2rvmdcpu] {
        background: #ffddb0;
    }


    /* پایه 10 */
    .attendance-table tbody tr.attendance-grade-10 td[b-in2rvmdcpu] {
        background: #f4edff;
    }

    /* پایه 11 */
    .attendance-table tbody tr.attendance-grade-11 td[b-in2rvmdcpu] {
        background: #e9dcff;
    }

    /* پایه 12 */
    .attendance-table tbody tr.attendance-grade-12 td[b-in2rvmdcpu] {
        background: #ddc9ff;
    }

    .attendance-table tbody tr:last-child td[b-in2rvmdcpu] {
        border-bottom: none;
    }


/* =========================================================
   CLASS INFORMATION
   ========================================================= */

.attendance-class-name[b-in2rvmdcpu] {
    font-weight: 600;
    color: #1f2937;
}

.attendance-student-count[b-in2rvmdcpu] {
    font-size: 12px;
    color: #6b7280;
}


/* =========================================================
   PERIOD BUTTONS
   ========================================================= */

.attendance-periods[b-in2rvmdcpu] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.attendance-period[b-in2rvmdcpu] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 90px;
    min-height: 34px;
    padding: 5px 9px;
    border-radius: 7px;
    font-family: inherit;
    font-size: 26px;
    font-weight: 600;
    cursor: pointer;
    transition: transform .1s ease, opacity .1s ease, background-color .15s ease;
}

    .attendance-period:hover[b-in2rvmdcpu] {
        transform: translateY(-1px);
        opacity: .9;
    }

.attendance-period-not-registered[b-in2rvmdcpu] {
    background: #f3f4f6;
    color: #6b7280;
    border: 1px solid #e5e7eb;
}

.attendance-period-registered[b-in2rvmdcpu] {
    background: #ecfdf3;
    color: #027a48;
    border: 1px solid #abefc6;
}

.attendance-period-has-absent[b-in2rvmdcpu] {
    background: #fef3f2;
    color: #b42318;
    border: 1px solid #fecdca;
}

.attendance-period-status[b-in2rvmdcpu] {
    font-size: 10px;
    font-weight: 500;
}

.attendance-period-count[b-in2rvmdcpu] {
    font-weight: 700;
}


/* =========================================================
   GENERAL EMPTY / ERROR
   ========================================================= */

.attendance-empty[b-in2rvmdcpu] {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    font-size: 13px;
    color: #6b7280;
}

.attendance-error[b-in2rvmdcpu] {
    padding: 12px 15px;
    margin: 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    font-size: 13px;
    color: #b42318;
}


/* =========================================================
   =========================================================
   REGISTER ATTENDANCE MODAL
   =========================================================
   ========================================================= */


/* =========================================================
   MODAL OVERLAY
   ========================================================= */

.attendance-modal[b-in2rvmdcpu] {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    direction: rtl;
}


/* =========================================================
   BACKDROP
   ========================================================= */

.attendance-modal-backdrop[b-in2rvmdcpu] {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
}


/* =========================================================
   REGISTER DIALOG
   ========================================================= */

.attendance-dialog[b-in2rvmdcpu] {
    position: relative;
    z-index: 1;
    width: min(950px, calc(100vw - 40px));
    height: min(600px, calc(100vh - 40px));
    max-width: 100%;
    max-height: 100%;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.20);
    overflow: hidden;
    box-sizing: border-box;
}


/* =========================================================
   REGISTER HEADER
   ========================================================= */

.attendance-dialog-header[b-in2rvmdcpu] {
    flex: 0 0 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-sizing: border-box;
}


/* =========================================================
   POPUP TITLE
   مشترک با غیبت‌های امروز
   ========================================================= */

.attendance-popup-title[b-in2rvmdcpu] {
    font-family: inherit;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    color: #1f2937;
}


/* =========================================================
   REGISTER CLOSE BUTTON
   ========================================================= */

.attendance-dialog-close[b-in2rvmdcpu] {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #6b7280;
    font-family: inherit;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}

    .attendance-dialog-close:hover[b-in2rvmdcpu] {
        background: #f3f4f6;
        color: #1f2937;
    }


/* =========================================================
   REGISTER MAIN
   ========================================================= */

.attendance-popup[b-in2rvmdcpu] {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
}


/* =========================================================
   SESSION INFORMATION
   ========================================================= */

.attendance-session-info[b-in2rvmdcpu] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 30px;
    padding: 10px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 12px;
    color: #344054;
}

.info-label[b-in2rvmdcpu] {
    margin-left: 5px;
    font-weight: 600;
    color: #374151;
}


/* =========================================================
   STUDENTS AREA
   ========================================================= */

.attendance-students[b-in2rvmdcpu] {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
}


/* =========================================================
   STUDENTS TOOLBAR
   ========================================================= */

.attendance-students-toolbar[b-in2rvmdcpu] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 7px 12px;
    background: #ffffff;
    border-bottom: 1px solid #e4e7ec;
    box-sizing: border-box;
}

.attendance-students-toolbar-title[b-in2rvmdcpu] {
    order: 1;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
}

.attendance-students-toolbar-actions[b-in2rvmdcpu] {
    order: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: auto;
}


/* =========================================================
   SELECT ALL BUTTON
   ========================================================= */

.attendance-select-all-button[b-in2rvmdcpu] {
    height: 34px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 7px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    background: #fffaeb;
    color: #b54708;
    border: 1px solid #fedf89;
    box-shadow: none;
    cursor: pointer;
    transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}

    .attendance-select-all-button:hover[b-in2rvmdcpu] {
        background: #fef0c7;
        transform: translateY(-1px);
    }


/* =========================================================
   STUDENT HEADER
   ========================================================= */

.attendance-students > .student-row.header[b-in2rvmdcpu] {
    flex: 0 0 auto;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 60px 1.5fr 140px 2fr;
    align-items: center;
    gap: 12px;
    min-height: 42px;
    padding: 0 16px;
    background: #f8fafc;
    border-bottom: 1px solid #e4e7ec;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    color: #475467;
    text-align: right;
}


/* =========================================================
   STUDENT LIST
   ========================================================= */

.attendance-students-list[b-in2rvmdcpu] {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
}


/* =========================================================
   STUDENT ROW
   ========================================================= */

.student-row[b-in2rvmdcpu] {
    display: grid;
    grid-template-columns: 60px 1.5fr 140px 2fr;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 0 16px;
    direction: rtl;
    box-sizing: border-box;
    border-bottom: 1px solid #f0f2f5;
    font-family: inherit;
    font-size: 13px;
    color: #344054;
    transition: background-color .12s ease;
}

    .student-row:not(.header):hover[b-in2rvmdcpu] {
        background: #f8fafc;
    }


/* =========================================================
   STUDENT NAME
   ========================================================= */

.student-name[b-in2rvmdcpu] {
    min-width: 0;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
    white-space: normal;
    overflow-wrap: anywhere;
}


/* =========================================================
   STUDENT TEXTBOX
   ========================================================= */

[b-in2rvmdcpu] .student-row .k-input,
[b-in2rvmdcpu] .student-row .k-textbox {
    width: 100%;
    min-width: 0;
    height: 34px;
    font-family: inherit;
    font-size: 12px;
    border-radius: 7px;
    box-sizing: border-box;
}


/* =========================================================
   STUDENT SWITCH
   ========================================================= */

[b-in2rvmdcpu] .student-row .k-switch {
    transform: scale(.90);
    transform-origin: center;
}


/* =========================================================
   REGISTER FOOTER
   ========================================================= */

.attendance-popup-footer[b-in2rvmdcpu] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    padding: 10px 16px;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    box-sizing: border-box;
}


/* =========================================================
   SUMMARY
   ========================================================= */

.attendance-summary[b-in2rvmdcpu] {
    font-family: inherit;
    font-size: 12px;
    color: #475467;
}

    .attendance-summary strong[b-in2rvmdcpu] {
        font-size: 14px;
        font-weight: 700;
        color: #b42318;
    }


/* =========================================================
   ACTIONS
   ========================================================= */

.attendance-actions[b-in2rvmdcpu] {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}


/* =========================================================
   REGISTER BUTTONS
   ========================================================= */

.attendance-btn-primary[b-in2rvmdcpu],
.attendance-btn-secondary[b-in2rvmdcpu] {
    height: 34px;
    min-height: 34px;
    padding: 0 13px;
    border-radius: 7px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    box-sizing: border-box;
    transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}


/* ذخیره */

.attendance-btn-primary[b-in2rvmdcpu] {
    background: #2563eb;
    color: #ffffff;
    border: 1px solid #2563eb;
}

    .attendance-btn-primary:hover[b-in2rvmdcpu] {
        background: #1d4ed8;
        border-color: #1d4ed8;
        transform: translateY(-1px);
    }


/* انصراف */

.attendance-btn-secondary[b-in2rvmdcpu] {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

    .attendance-btn-secondary:hover[b-in2rvmdcpu] {
        background: #e5e7eb;
        transform: translateY(-1px);
    }


/* =========================================================
   =========================================================
   TODAY ABSENCES MODAL
   =========================================================
   ========================================================= */


/* =========================================================
   OVERLAY
   ========================================================= */

.today-absences-overlay[b-in2rvmdcpu] {
    position: fixed;
    inset: 0;
    z-index: 11000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    background: rgba(15, 23, 42, 0.35);
    direction: rtl;
}


/* =========================================================
   MODAL
   ========================================================= */

.today-absences-modal[b-in2rvmdcpu] {
    width: min(1100px, calc(100vw - 40px));
    height: min(700px, calc(100vh - 40px));
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    box-sizing: border-box;
}


/* =========================================================
   HEADER
   ========================================================= */

.today-absences-header[b-in2rvmdcpu] {
    flex: 0 0 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-sizing: border-box;
}

    .today-absences-header .attendance-popup-title[b-in2rvmdcpu] {
        font-family: inherit;
        font-size: 17px;
        font-weight: 600;
        color: #1f2937;
    }


/* =========================================================
   CLOSE
   ========================================================= */

.today-absences-close[b-in2rvmdcpu] {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #6b7280;
    font-family: inherit;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}

    .today-absences-close:hover[b-in2rvmdcpu] {
        background: #f3f4f6;
        color: #1f2937;
    }


/* =========================================================
   BODY
   ========================================================= */

.today-absences-body[b-in2rvmdcpu] {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
}


    /* =========================================================
   SESSION INFO
   ========================================================= */

    .today-absences-body .attendance-session-info[b-in2rvmdcpu] {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 12px 30px;
        padding: 10px 16px;
        background: #f8fafc;
        border-bottom: 1px solid #e5e7eb;
        box-sizing: border-box;
        font-family: inherit;
        font-size: 12px;
        color: #344054;
    }


/* =========================================================
   GRID CONTAINER
   ========================================================= */

.today-absences-grid-container[b-in2rvmdcpu] {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}


/* =========================================================
   TODAY ABSENCE GRID
   ========================================================= */

[b-in2rvmdcpu] .today-absence-grid {
    width: 100%;
    height: 100%;
    direction: rtl;
    font-family: inherit;
    box-sizing: border-box;
}


    /* =========================================================
   TELERIK GRID MAIN
   ========================================================= */

    [b-in2rvmdcpu] .today-absence-grid .k-grid {
        width: 100%;
        height: 100%;
        direction: rtl;
        font-family: inherit;
    }


    /* =========================================================
   GRID HEADER
   ========================================================= */

    [b-in2rvmdcpu] .today-absence-grid .k-grid-header {
        direction: rtl;
    }

    [b-in2rvmdcpu] .today-absence-grid .k-grid-header-wrap {
        direction: rtl;
    }

    [b-in2rvmdcpu] .today-absence-grid .k-grid-header table {
        direction: rtl;
    }

    [b-in2rvmdcpu] .today-absence-grid .k-grid-header th {
        height: 42px;
        padding: 0 12px;
        background: #f8fafc;
        color: #475467;
        font-family: inherit;
        font-size: 12px;
        font-weight: 600;
        text-align: right;
        border-bottom: 1px solid #e4e7ec;
        box-sizing: border-box;
    }


    /* =========================================================
   GRID CONTENT
   ========================================================= */

    [b-in2rvmdcpu] .today-absence-grid .k-grid-content {
        direction: rtl;
    }

        [b-in2rvmdcpu] .today-absence-grid .k-grid-content table {
            direction: rtl;
        }

        [b-in2rvmdcpu] .today-absence-grid .k-grid-content td {
            height: 44px;
            padding: 0 12px;
            font-family: inherit;
            font-size: 13px;
            color: #344054;
            text-align: right;
            vertical-align: middle;
            border-bottom: 1px solid #f0f2f5;
            box-sizing: border-box;
        }

        [b-in2rvmdcpu] .today-absence-grid .k-grid-content tr {
            transition: background-color .12s ease;
        }

            [b-in2rvmdcpu] .today-absence-grid .k-grid-content tr:hover {
                background: #f8fafc;
            }


        /* =========================================================
   GRID STUDENT COLUMNS
   ========================================================= */

        [b-in2rvmdcpu] .today-absence-grid .k-grid-content td:nth-child(3) {
            font-weight: 500;
        }

        [b-in2rvmdcpu] .today-absence-grid .k-grid-content td:nth-child(4) {
            font-weight: 600;
            color: #1f2937;
        }

        [b-in2rvmdcpu] .today-absence-grid .k-grid-content td:nth-child(5) {
            color: #667085;
            font-size: 12px;
        }


    /* =========================================================
   GRID TOOLBAR
   ========================================================= */

    [b-in2rvmdcpu] .today-absence-grid .k-grid-toolbar {
        display: flex;
        align-items: center;
        direction: rtl;
        gap: 8px;
        padding: 8px 12px;
        background: #ffffff;
        border-bottom: 1px solid #e4e7ec;
        box-sizing: border-box;
    }


        /* =========================================================
   GRID TOOLBAR BUTTONS
   ========================================================= */

        [b-in2rvmdcpu] .today-absence-grid .k-grid-toolbar .k-button {
            height: 34px;
            min-height: 34px;
            padding: 0 12px;
            border-radius: 7px;
            font-family: inherit;
            font-size: 12px;
            font-weight: 500;
            box-shadow: none;
            transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
        }

            [b-in2rvmdcpu] .today-absence-grid .k-grid-toolbar .k-button:hover {
                transform: translateY(-1px);
            }

        [b-in2rvmdcpu] .today-absence-grid .k-grid-toolbar .k-button-text {
            font-family: inherit;
        }


        /* =========================================================
   EXCEL
   ========================================================= */

        [b-in2rvmdcpu] .today-absence-grid
        .k-grid-toolbar
        .k-button:has(.k-svg-i-file-excel) {
            background: #ecfdf3;
            color: #027a48;
            border: 1px solid #abefc6;
        }

            [b-in2rvmdcpu] .today-absence-grid
            .k-grid-toolbar
            .k-button:has(.k-svg-i-file-excel):hover {
                background: #d1fadf;
            }


        /* =========================================================
   PDF
   ========================================================= */

        [b-in2rvmdcpu] .today-absence-grid
        .k-grid-toolbar
        .k-button:has(.k-svg-i-file-pdf) {
            background: #fef3f2;
            color: #b42318;
            border: 1px solid #fecdca;
        }

            [b-in2rvmdcpu] .today-absence-grid
            .k-grid-toolbar
            .k-button:has(.k-svg-i-file-pdf):hover {
                background: #fee4e2;
            }


    /* =========================================================
   RESET
   ========================================================= */

    [b-in2rvmdcpu] .today-absence-grid
    .attendance-btn-reset {
        background: #fffaeb;
        color: #b54708;
        border: 1px solid #fedf89;
    }

        [b-in2rvmdcpu] .today-absence-grid
        .attendance-btn-reset:hover {
            background: #fef0c7;
        }

        [b-in2rvmdcpu] .today-absence-grid
        .attendance-btn-reset .k-button-text {
            color: inherit;
        }


    /* =========================================================
   EXIT
   ========================================================= */

    [b-in2rvmdcpu] .today-absence-grid
    .attendance-btn-exit {
        background: #f3f4f6;
        color: #374151;
        border: 1px solid #d1d5db;
    }

        [b-in2rvmdcpu] .today-absence-grid
        .attendance-btn-exit:hover {
            background: #e5e7eb;
        }

        [b-in2rvmdcpu] .today-absence-grid
        .attendance-btn-exit .k-button-text {
            color: inherit;
        }


/* =========================================================
   ABSENCE PERIODS
   ========================================================= */

.absence-periods[b-in2rvmdcpu] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.absence-period-badge[b-in2rvmdcpu] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 25px;
    padding: 0 7px;
    border-radius: 6px;
    background: #fef3f2;
    color: #b42318;
    border: 1px solid #fecdca;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
   
}


/* =========================================================
   ABSENCE STATUS
   ========================================================= */

.absence-status[b-in2rvmdcpu] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 82px;
    height: 27px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.absence-status-full[b-in2rvmdcpu] {
    background: #fef3f2;
    color: #b42318;
    border: 1px solid #fecdca;
}

.absence-status-partial[b-in2rvmdcpu] {
    background: #fffaeb;
    color: #b54708;
    border: 1px solid #fedf89;
}


/* =========================================================
   =========================================================
   MOBILE
   =========================================================
   ========================================================= */

@media (max-width: 700px) {


    /* =====================================================
       DASHBOARD
       ===================================================== */

    .attendance-filter-card[b-in2rvmdcpu] {
        padding: 18px 20px;
    }

    .attendance-filter-actions[b-in2rvmdcpu] {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .attendance-date-container[b-in2rvmdcpu] {
        width: 100%;
        min-width: 0;
        max-width: none;
        flex: 1;
    }

    .attendance-status-legend[b-in2rvmdcpu] {
        flex-wrap: wrap;
    }

    .stat-main[b-in2rvmdcpu] {
        gap: 18px;
    }


    /* =====================================================
       ATTENDANCE TABLE
       ===================================================== */

    .attendance-table-wrapper[b-in2rvmdcpu] {
        width: 100%;
        overflow-x: hidden;
    }

    .attendance-table[b-in2rvmdcpu] {
        width: 100%;
        min-width: 0;
        table-layout: fixed;
    }

        .attendance-table th[b-in2rvmdcpu],
        .attendance-table td[b-in2rvmdcpu] {
            padding: 9px 7px;
            font-size: 11px;
            white-space: normal;
        }

            .attendance-table th:first-child[b-in2rvmdcpu],
            .attendance-table td:first-child[b-in2rvmdcpu] {
                width: 42% !important;
            }

            .attendance-table th:nth-child(2)[b-in2rvmdcpu],
            .attendance-table td:nth-child(2)[b-in2rvmdcpu] {
                width: 18% !important;
                text-align: center;
            }

            .attendance-table th:nth-child(3)[b-in2rvmdcpu],
            .attendance-table td:nth-child(3)[b-in2rvmdcpu] {
                width: 40% !important;
            }

   /* .attendance-periods {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        width: 100%;
    }*/

    .attendance-period[b-in2rvmdcpu] {
        min-width: 0;
        width: 100%;
        min-height: 30px;
        padding: 4px 5px;
        font-size: 9px;
        gap: 3px;
    }

    .attendance-period-status[b-in2rvmdcpu],
    .attendance-period-count[b-in2rvmdcpu] {
        font-size: 8px;
    }

    .attendance-class-name[b-in2rvmdcpu] {
        font-size: 10px;
    }

    .attendance-student-count[b-in2rvmdcpu] {
        font-size: 10px;
    }


    /* =====================================================
       REGISTER ATTENDANCE MODAL
       ===================================================== */

    .attendance-modal[b-in2rvmdcpu] {
        padding: 10px;
    }

    .attendance-dialog[b-in2rvmdcpu] {
        width: calc(100vw - 20px);
        height: calc(100vh - 20px);
        max-width: none;
        max-height: none;
        border-radius: 8px;
    }

    .attendance-dialog-header[b-in2rvmdcpu] {
        flex-basis: 48px;
        padding: 0 12px;
    }

    .attendance-popup-title[b-in2rvmdcpu] {
        font-size: 15px;
    }

    .attendance-session-info[b-in2rvmdcpu] {
        padding: 8px 12px;
        gap: 8px 18px;
        font-size: 11px;
    }

    .attendance-students-toolbar[b-in2rvmdcpu] {
        min-height: 44px;
        padding: 7px 10px;
    }

    .attendance-students-toolbar-title[b-in2rvmdcpu] {
        font-size: 11px;
    }

    .attendance-select-all-button[b-in2rvmdcpu] {
        height: 30px;
        min-height: 30px;
        padding: 0 9px;
        font-size: 10px;
    }

    .attendance-students > .student-row.header[b-in2rvmdcpu] {
        grid-template-columns: 30px minmax(0, 1fr) 75px minmax(0, 1.2fr);
        gap: 5px;
        min-height: 38px;
        padding: 6px 9px;
        font-size: 10px;
    }

    .student-row[b-in2rvmdcpu] {
        grid-template-columns: 30px minmax(0, 1fr) 75px minmax(0, 1.2fr);
        gap: 5px;
        min-height: 48px;
        padding: 8px 9px;
        font-size: 11px;
    }

    .student-name[b-in2rvmdcpu] {
        font-size: 11px;
    }

    [b-in2rvmdcpu] .student-row .k-switch {
        transform: scale(.82);
    }

    [b-in2rvmdcpu] .student-row .k-input,
    [b-in2rvmdcpu] .student-row .k-textbox {
        height: 30px;
        font-size: 10px;
    }

    .attendance-popup-footer[b-in2rvmdcpu] {
        min-height: 52px;
        padding: 8px 10px;
        gap: 8px;
    }

    .attendance-summary[b-in2rvmdcpu] {
        font-size: 11px;
    }

    .attendance-actions[b-in2rvmdcpu] {
        gap: 6px;
        cursor: pointer;
    }

    .attendance-btn-primary[b-in2rvmdcpu],
    .attendance-btn-secondary[b-in2rvmdcpu] {
        height: 32px;
        min-height: 32px;
        padding: 0 10px;
        font-size: 11px;
    }


    /* =====================================================
       TODAY ABSENCES
       ===================================================== */

    .today-absences-overlay[b-in2rvmdcpu] {
        padding: 10px;
    }

    .today-absences-modal[b-in2rvmdcpu] {
        width: calc(100vw - 20px);
        height: calc(100vh - 20px);
        max-width: none;
        max-height: none;
        border-radius: 8px;
    }

    .today-absences-header[b-in2rvmdcpu] {
        flex-basis: 48px;
        padding: 0 12px;
    }

        .today-absences-header .attendance-popup-title[b-in2rvmdcpu] {
            font-size: 15px;
        }

    .today-absences-body .attendance-session-info[b-in2rvmdcpu] {
        padding: 8px 12px;
        gap: 8px 18px;
        font-size: 11px;
    }

    .today-absences-grid-container[b-in2rvmdcpu] {
        overflow: auto;
    }

    [b-in2rvmdcpu] .today-absence-grid .k-grid-header th {
        height: 38px;
        padding: 0 8px;
        font-size: 10px;
    }

    [b-in2rvmdcpu] .today-absence-grid .k-grid-content td {
        height: 40px;
        padding: 0 8px;
        font-size: 11px;
    }

    [b-in2rvmdcpu] .today-absence-grid .k-grid-toolbar {
        padding: 7px 8px;
        gap: 5px;
        flex-wrap: wrap;
    }

        [b-in2rvmdcpu] .today-absence-grid .k-grid-toolbar .k-button {
            height: 30px;
            min-height: 30px;
            padding: 0 9px;
            font-size: 10px;
        }

}
/* =========================================================
   PERIOD BUTTONS - FINAL
   ========================================================= */

.attendance-periods[b-in2rvmdcpu] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

button.attendance-period[b-in2rvmdcpu] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 90px;
    min-height: 38px;
    padding: 6px 12px;
    border-radius: 12px !important;
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    box-sizing: border-box;
    text-align: center;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    box-shadow: none;
    overflow: hidden;
    transition: transform .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}


/* =========================================================
   ثبت نشده
   ========================================================= */

button.attendance-period-not-registered[b-in2rvmdcpu] {
    background: #fffaeb !important;
    color: #b54708 !important;
    border: 1px solid #fedf89 !important;
    border-radius: 7px !important;
}

    button.attendance-period-not-registered:hover[b-in2rvmdcpu] {
        background: #fef0c7 !important;
        color: #93370d !important;
        border-color: #fdb022 !important;
        transform: translateY(-1px);
        box-shadow: 0 4px 10px rgba(181, 71, 8, 0.12);
    }


/* =========================================================
   ثبت شده - بدون غیبت
   ========================================================= */

button.attendance-period-registered[b-in2rvmdcpu] {
    background: #ecfdf3 !important;
    color: #027a48 !important;
    border: 1px solid #abefc6 !important;
    border-radius: 7px !important;
}

    button.attendance-period-registered:hover[b-in2rvmdcpu] {
        background: #d1fadf !important;
        color: #05603a !important;
        border-color: #75e0a7 !important;
        transform: translateY(-1px);
        box-shadow: 0 4px 10px rgba(2, 122, 72, 0.12);
    }


/* =========================================================
   ثبت شده - دارای غیبت
   ========================================================= */

button.attendance-period-has-absent[b-in2rvmdcpu] {
    background: #fef3f2 !important;
    color: #b42318 !important;
    border: 1px solid #fecdca !important;
    border-radius: 7px !important;
}

    button.attendance-period-has-absent:hover[b-in2rvmdcpu] {
        background: #fee4e2 !important;
        color: #912018 !important;
        border-color: #f97066 !important;
        transform: translateY(-1px);
        box-shadow: 0 4px 10px rgba(180, 35, 24, 0.12);
    }


/* =========================================================
   CONTENT
   ========================================================= */

button.attendance-period .attendance-period-status[b-in2rvmdcpu],
button.attendance-period .attendance-period-count[b-in2rvmdcpu] {
    border-radius: inherit;
}

.attendance-period-status[b-in2rvmdcpu] {
    font-size: 10px;
    font-weight: 500;
}

.attendance-period-count[b-in2rvmdcpu] {
    font-weight: 700;
}


/* =========================================================
   FOCUS
   ========================================================= */

button.attendance-period:focus[b-in2rvmdcpu],
button.attendance-period:focus-visible[b-in2rvmdcpu] {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}


/* =========================================================
   DISABLED
   ========================================================= */

button.attendance-period:disabled[b-in2rvmdcpu] {
    opacity: .6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}
/* _content/SchoolManagementSystem.Web/Components/Pages/Dashboard.razor.rz.scp.css */
/* =========================================================
   DASHBOARD
   ========================================================= */

.dashboard[b-5uyp458r7n] {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    padding: 6px 0 35px;
    direction: rtl;
    box-sizing: border-box;
}


/* =========================================================
   HEADER
   ========================================================= */

.dashboard-header[b-5uyp458r7n] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.dashboard-title h1[b-5uyp458r7n] {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: #172033;
}

.dashboard-title p[b-5uyp458r7n] {
    margin: 5px 0 0;
    font-size: 11px;
    color: #64748b;
}

.dashboard-date[b-5uyp458r7n] {
    padding: 7px 12px;
    border: 1px solid #e5eaf0;
    border-radius: 8px;
    background: #fff;
    color: #64748b;
    font-size: 11px;
    white-space: nowrap;
}


/* =========================================================
   COMMON CARD
   ========================================================= */

.dashboard-card[b-5uyp458r7n] {
    overflow: hidden;
    margin-bottom: 12px;
    border: 1px solid #e5eaf0;
    border-radius: 10px;
    background: #fff;
    box-sizing: border-box;
}


/* =========================================================
   CARD / SECTION HEADER
   ========================================================= */

.dashboard-card-header[b-5uyp458r7n],
.dashboard-section-header[b-5uyp458r7n] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 15px;
    border-bottom: 1px solid #edf0f4;
}

    .dashboard-card-header h2[b-5uyp458r7n],
    .dashboard-section-header h2[b-5uyp458r7n] {
        margin: 0;
        font-size: 13px;
        font-weight: 800;
        color: #172033;
    }

    .dashboard-card-header span[b-5uyp458r7n],
    .dashboard-section-header span[b-5uyp458r7n] {
        display: block;
        margin-top: 3px;
        font-size: 10px;
        color: #64748b;
    }


/* =========================================================
   QUICK ACCESS
   ========================================================= */

.dashboard-quick-links[b-5uyp458r7n] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 12px 15px;
}

.dashboard-quick-link[b-5uyp458r7n] {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    padding: 10px;
    border: 1px solid #edf1f5;
    border-radius: 8px;
    background: #f8fafc;
    color: inherit;
    text-decoration: none;
    transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}

    .dashboard-quick-link:hover[b-5uyp458r7n] {
        background: #f5f8fb;
        border-color: #dce3eb;
        transform: translateY(-1px);
    }

.dashboard-quick-link-icon[b-5uyp458r7n] {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 8px;
    background: #eff6ff;
    font-size: 16px;
}

.dashboard-icon-attendance[b-5uyp458r7n] {
    background: #ecfdf5;
    color: #16a34a;
    font-weight: 800;
}

.dashboard-icon-discipline[b-5uyp458r7n] {
    background: #fff7ed;
    color: #ea580c;
    font-weight: 800;
}

.dashboard-quick-link-content[b-5uyp458r7n] {
    min-width: 0;
    flex: 1;
}

    .dashboard-quick-link-content strong[b-5uyp458r7n] {
        display: block;
        font-size: 11px;
        font-weight: 700;
        color: #172033;
    }

    .dashboard-quick-link-content span[b-5uyp458r7n] {
        display: block;
        margin-top: 2px;
        overflow: hidden;
        font-size: 9px;
        color: #64748b;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.dashboard-quick-link-arrow[b-5uyp458r7n] {
    flex-shrink: 0;
    color: #94a3b8;
    font-size: 15px;
    transition: transform .15s ease, color .15s ease;
}

.dashboard-quick-link:hover .dashboard-quick-link-arrow[b-5uyp458r7n] {
    transform: translateX(-2px);
    color: #2563eb;
}


/* =========================================================
   SECTION LINK
   ========================================================= */

.dashboard-section-link[b-5uyp458r7n] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    color: #2563eb;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: color .15s ease;
}

    .dashboard-section-link:hover[b-5uyp458r7n] {
        color: #1d4ed8;
    }

    .dashboard-section-link span[b-5uyp458r7n] {
        margin: 0;
        font-size: 12px;
        color: inherit;
    }


/* =========================================================
   ATTENDANCE PERIOD GRID
   ========================================================= */

.dashboard-period-grid[b-5uyp458r7n] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
    padding: 14px 15px 15px;
}


/* =========================================================
   PERIOD CARD
   ========================================================= */

.dashboard-period-card[b-5uyp458r7n] {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e8edf2;
    border-radius: 9px;
    background: #fbfcfd;
    box-sizing: border-box;
    transition: border-color .15s ease, background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

    .dashboard-period-card:hover[b-5uyp458r7n] {
        border-color: #d9e1e9;
        background: #f8fafc;
        transform: translateY(-1px);
        box-shadow: 0 3px 10px rgba(15, 23, 42, .04);
    }


/* =========================================================
   PERIOD HEADER
   ========================================================= */

.dashboard-period-header[b-5uyp458r7n] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 36px;
    padding: 7px 10px;
    border-bottom: 1px solid #edf1f5;
    background: #fff;
    box-sizing: border-box;
}

    .dashboard-period-header strong[b-5uyp458r7n] {
        overflow: hidden;
        color: #172033;
        font-size: 11px;
        font-weight: 800;
        text-overflow: ellipsis;
        white-space: nowrap;
    }


/* =========================================================
   REGISTRATION
   ========================================================= */

.dashboard-registration[b-5uyp458r7n] {
    padding: 9px 10px 0;
}

.dashboard-registration-header[b-5uyp458r7n] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 5px;
}

    .dashboard-registration-header span[b-5uyp458r7n] {
        font-size: 9px;
        color: #64748b;
    }

    .dashboard-registration-header strong[b-5uyp458r7n] {
        font-size: 9px;
        font-weight: 700;
        color: #475569;
        white-space: nowrap;
    }


/* =========================================================
   REGISTRATION PROGRESS
   ========================================================= */

.dashboard-registration-track[b-5uyp458r7n] {
    width: 100%;
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: #e9eef3;
}

.dashboard-registration-value[b-5uyp458r7n] {
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: #cbd5e1;
    transition: width .25s ease;
}

    .dashboard-registration-value.is-registered[b-5uyp458r7n] {
        background: #22c55e;
    }


/* =========================================================
   GAUGE AREA
   ========================================================= */

.dashboard-gauge-area[b-5uyp458r7n] {
    width: 100%;
    height: 125px;
    margin-top: 2px;
    box-sizing: border-box;
}

    .dashboard-gauge-area .k-gauge[b-5uyp458r7n] {
        width: 100%;
        height: 100%;
    }


/* =========================================================
   GAUGE CENTER
   ========================================================= */

.dashboard-gauge-center[b-5uyp458r7n] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    direction: rtl;
    text-align: center;
}

    .dashboard-gauge-center strong[b-5uyp458r7n] {
        font-size: 21px;
        line-height: 1;
        font-weight: 800;
        color: #172033;
    }

    .dashboard-gauge-center span[b-5uyp458r7n] {
        margin-top: 4px;
        font-size: 9px;
        color: #64748b;
    }


/* =========================================================
   ATTENDANCE SUMMARY
   ========================================================= */

.dashboard-attendance-summary[b-5uyp458r7n] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    margin: 0 9px 9px;
}

.dashboard-attendance-item[b-5uyp458r7n] {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    padding: 5px 6px;
    border-radius: 6px;
    background: #f8fafc;
}

    .dashboard-attendance-item span:not(.dashboard-attendance-dot)[b-5uyp458r7n] {
        font-size: 9px;
        color: #64748b;
    }

    .dashboard-attendance-item strong[b-5uyp458r7n] {
        margin-right: auto;
        font-size: 10px;
        font-weight: 800;
        color: #172033;
    }

.dashboard-attendance-dot[b-5uyp458r7n] {
    width: 6px;
    height: 6px;
    flex-shrink: 0;
    border-radius: 50%;
}

.dashboard-present .dashboard-attendance-dot[b-5uyp458r7n] {
    background: #16a34a;
}

.dashboard-absent .dashboard-attendance-dot[b-5uyp458r7n] {
    background: #dc2626;
}


/* =========================================================
   UNREGISTERED
   ========================================================= */

.dashboard-gauge-unregistered[b-5uyp458r7n] {
    min-height: 125px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    text-align: center;
    box-sizing: border-box;
}

.dashboard-gauge-unregistered-icon[b-5uyp458r7n] {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 7px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #94a3b8;
    font-size: 18px;
    font-weight: 700;
}

.dashboard-gauge-unregistered strong[b-5uyp458r7n] {
    font-size: 10px;
    color: #64748b;
}

.dashboard-gauge-unregistered span[b-5uyp458r7n] {
    max-width: 150px;
    margin-top: 3px;
    font-size: 8px;
    line-height: 1.7;
    color: #94a3b8;
}


/* =========================================================
   LOADING / EMPTY
   ========================================================= */

.dashboard-loading[b-5uyp458r7n],
.dashboard-empty[b-5uyp458r7n] {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #64748b;
    font-size: 11px;
    text-align: center;
    box-sizing: border-box;
}

.dashboard-loading[b-5uyp458r7n] {
    background: #f8fafc;
}

.dashboard-empty[b-5uyp458r7n] {
    background: #f8fafc;
}


/* =========================================================
   ERROR
   ========================================================= */

.dashboard-error[b-5uyp458r7n] {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 12px 15px;
    padding: 15px;
    border: 1px solid #fecaca;
    border-radius: 8px;
    background: #fff1f2;
    color: #b91c1c;
    font-size: 11px;
    text-align: center;
    box-sizing: border-box;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 950px) {

    .dashboard-period-grid[b-5uyp458r7n] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}


@media (max-width: 700px) {

    .dashboard-quick-links[b-5uyp458r7n] {
        grid-template-columns: 1fr;
    }

    .dashboard-section-header[b-5uyp458r7n],
    .dashboard-card-header[b-5uyp458r7n] {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .dashboard-section-link[b-5uyp458r7n] {
        align-self: flex-start;
    }

    .dashboard-period-grid[b-5uyp458r7n] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 600px) {

    .dashboard[b-5uyp458r7n] {
        padding-right: 10px;
        padding-left: 10px;
    }

    .dashboard-header[b-5uyp458r7n] {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .dashboard-date[b-5uyp458r7n] {
        align-self: stretch;
        text-align: center;
    }
}


@media (max-width: 460px) {

    .dashboard-period-grid[b-5uyp458r7n] {
        grid-template-columns: 1fr;
    }
}
/* _content/SchoolManagementSystem.Web/Components/Pages/DisciplineDashboard.razor.rz.scp.css */

/* =========================================================
   DASHBOARD
   ========================================================= */
.discipline-dashboard[b-sw5hxgkyqk] {
    direction: rtl;
    width: 100%;
}


/* =========================================================
   HEADER
   ========================================================= */

.discipline-header[b-sw5hxgkyqk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.discipline-title[b-sw5hxgkyqk] {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
}

.discipline-subtitle[b-sw5hxgkyqk] {
    margin-top: 4px;
    font-size: 12px;
    color: #6b7280;
}


/* =========================================================
   FILTER
   ========================================================= */

.discipline-filter-card[b-sw5hxgkyqk] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 12px 14px;
    margin-bottom: 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.discipline-date-box[b-sw5hxgkyqk] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.discipline-date-label[b-sw5hxgkyqk] {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}


/* =========================================================
   GRID CARD
   ========================================================= */

.discipline-grid-card[b-sw5hxgkyqk] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.discipline-table-wrapper[b-sw5hxgkyqk] {
    width: 100%;
    overflow-x: auto;
}

.discipline-table[b-sw5hxgkyqk] {
    width: 100%;
    min-width: 720px;
    table-layout: fixed;
    border-collapse: collapse;
    direction: rtl;
}

.discipline-class-column[b-sw5hxgkyqk] {
    width: 220px;
}

.discipline-total-column[b-sw5hxgkyqk] {
    width: 130px;
}

.discipline-period-column[b-sw5hxgkyqk] {
    width: auto;
}

.discipline-table th[b-sw5hxgkyqk],
.discipline-table td[b-sw5hxgkyqk] {
    padding: 10px 14px;
    text-align: right;
    border-bottom: 1px solid #eeeeee;
}

.discipline-table th[b-sw5hxgkyqk] {
    background: #f9fafb;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
}

.discipline-table td[b-sw5hxgkyqk] {
    font-size: 13px;
    color: #374151;
    vertical-align: middle;
}

.discipline-table tbody tr:last-child td[b-sw5hxgkyqk] {
    border-bottom: none;
}


/* =========================================================
   CLASS
   ========================================================= */

.discipline-class-name[b-sw5hxgkyqk] {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.discipline-total-count[b-sw5hxgkyqk] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    font-size: 18px;
    font-weight: 700;
    color: #b42318;
}


/* =========================================================
   PERIOD
   ========================================================= */

.discipline-period[b-sw5hxgkyqk] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 32px;
    padding: 5px 9px;
    border-radius: 7px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: .15s;
}

    .discipline-period:hover[b-sw5hxgkyqk] {
        transform: translateY(-1px);
    }

.discipline-period-no-item[b-sw5hxgkyqk] {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #15803d;
}

.discipline-period-has-item[b-sw5hxgkyqk] {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b42318;
}

.discipline-period-empty-cell[b-sw5hxgkyqk] {
    color: #d1d5db;
}


/* =========================================================
   MODAL
   ========================================================= */

.discipline-modal[b-sw5hxgkyqk] {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.discipline-modal-backdrop[b-sw5hxgkyqk] {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .42);
}

.discipline-dialog[b-sw5hxgkyqk] {
    position: relative;
    z-index: 1;
    width: min(1100px, calc(100vw - 30px));
    max-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .18);
}


.discipline-grid .k-grid-header th:last-child[b-sw5hxgkyqk],
.discipline-grid .k-grid-content td:last-child[b-sw5hxgkyqk] {
    white-space: nowrap;
}


/* =========================================================
   MODAL HEADER
   ========================================================= */

.discipline-dialog-header[b-sw5hxgkyqk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid #e5e7eb;
}

.discipline-popup-title[b-sw5hxgkyqk] {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
}

.discipline-dialog-close[b-sw5hxgkyqk],
.discipline-small-close[b-sw5hxgkyqk] {
    border: 0;
    background: transparent;
    color: #6b7280;
    font-size: 24px;
    cursor: pointer;
}

    .discipline-dialog-close:hover[b-sw5hxgkyqk],
    .discipline-small-close:hover[b-sw5hxgkyqk] {
        color: #111827;
    }


/* =========================================================
   MODAL BODY
   ========================================================= */

.discipline-popup-body[b-sw5hxgkyqk] {
    padding: 16px;
    overflow-y: auto;
}


/* =========================================================
   SESSION INFO
   ========================================================= */

.discipline-session-info[b-sw5hxgkyqk] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    padding: 11px 13px;
    margin-bottom: 14px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 12px;
    color: #374151;
}

.info-label[b-sw5hxgkyqk] {
    margin-left: 5px;
    font-weight: 600;
    color: #6b7280;
}


/* =========================================================
   TOOLBAR
   ========================================================= */

.discipline-items-toolbar[b-sw5hxgkyqk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.discipline-items-title[b-sw5hxgkyqk] {
    font-size: 14px;
    font-weight: 700;
    color: #374151;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.discipline-btn-primary[b-sw5hxgkyqk],
.discipline-btn-secondary[b-sw5hxgkyqk] {
    min-height: 34px;
    padding: 6px 14px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.discipline-btn-primary[b-sw5hxgkyqk] {
    border: 1px solid #2563eb;
    background: #2563eb;
    color: #fff;
}

    .discipline-btn-primary:hover[b-sw5hxgkyqk] {
        background: #1d4ed8;
    }

.discipline-btn-secondary[b-sw5hxgkyqk] {
    border: 1px solid #d1d5db;
    background: #fff;
    color: #374151;
}

    .discipline-btn-secondary:hover[b-sw5hxgkyqk] {
        background: #f9fafb;
    }


/* =========================================================
   FORM
   ========================================================= */

.discipline-form-card[b-sw5hxgkyqk],
.discipline-review-card[b-sw5hxgkyqk] {
    padding: 14px;
    margin-bottom: 14px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
}

.discipline-form-title[b-sw5hxgkyqk] {
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
    color: #374151;
}

.discipline-form-grid[b-sw5hxgkyqk] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.discipline-form-field[b-sw5hxgkyqk] {
    margin-bottom: 12px;
}

    .discipline-form-field label[b-sw5hxgkyqk] {
        display: block;
        margin-bottom: 6px;
        font-size: 12px;
        font-weight: 600;
        color: #374151;
    }

.discipline-form-actions[b-sw5hxgkyqk] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 10px;
}


/* =========================================================
   REVIEW
   ========================================================= */

.discipline-review-header[b-sw5hxgkyqk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.discipline-review-info[b-sw5hxgkyqk] {
    display: grid;
    gap: 7px;
    padding: 10px;
    margin-bottom: 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 7px;
    font-size: 12px;
    color: #374151;
}


/* =========================================================
   GRID
   ========================================================= */

.discipline-grid-container[b-sw5hxgkyqk] {
    width: 100%;
    overflow-x: auto;
}

.discipline-grid[b-sw5hxgkyqk] {
    direction: rtl;
}


/* =========================================================
   STATUS
   ========================================================= */
/* =========================================================
   STATUS BADGE
   ========================================================= */

.discipline-status-pending[b-sw5hxgkyqk],
.discipline-status-reviewed[b-sw5hxgkyqk] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    min-width: 110px;
    height: 30px;
    padding: 0 8px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    cursor: default;
    user-select: none;
}


/* =========================
   در انتظار رسیدگی
   ========================= */

.discipline-status-pending[b-sw5hxgkyqk] {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
}


/* =========================
   رسیدگی شده
   ========================= */

.discipline-status-reviewed[b-sw5hxgkyqk] {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

/* =========================================================
   REVIEW BUTTON
   ========================================================= */

.discipline-review-button[b-sw5hxgkyqk] {
    padding: 5px 10px;
    border: 1px solid #2563eb;
    border-radius: 6px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}

    .discipline-review-button:hover[b-sw5hxgkyqk] {
        background: #dbeafe;
    }

.discipline-review-done[b-sw5hxgkyqk] {
    border-color: #16a34a;
    background: #f0fdf4;
    color: #15803d;
}


/* =========================================================
   EMPTY / ERROR
   ========================================================= */

.discipline-empty[b-sw5hxgkyqk],
.discipline-empty-box[b-sw5hxgkyqk] {
    padding: 25px 20px;
    text-align: center;
    color: #6b7280;
    font-size: 13px;
}

.discipline-empty-box[b-sw5hxgkyqk] {
    background: #f9fafb;
    border: 1px dashed #d1d5db;
    border-radius: 8px;
}

.discipline-error[b-sw5hxgkyqk] {
    padding: 10px 12px;
    margin-bottom: 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 7px;
    color: #b42318;
    font-size: 12px;
}

.discipline-loading[b-sw5hxgkyqk] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    color: #6b7280;
    font-size: 13px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.discipline-popup-footer[b-sw5hxgkyqk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 16px;
    border-top: 1px solid #e5e7eb;
    background: #fff;
}

.discipline-summary[b-sw5hxgkyqk] {
    font-size: 12px;
    color: #6b7280;
}

    .discipline-summary strong[b-sw5hxgkyqk] {
        margin-right: 4px;
        color: #b42318;
    }


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {

    .discipline-dialog[b-sw5hxgkyqk] {
        width: calc(100vw - 16px);
        max-height: calc(100vh - 16px);
    }

    .discipline-form-grid[b-sw5hxgkyqk] {
        grid-template-columns: 1fr;
    }

    .discipline-session-info[b-sw5hxgkyqk] {
        flex-direction: column;
        gap: 7px;
    }

    .discipline-popup-body[b-sw5hxgkyqk] {
        padding: 10px;
    }
}
/* =========================================
   GRADE ROW COLORS - DISCIPLINE
   ========================================= */

/* پایه 1 */
.discipline-table tbody tr.discipline-grade-1 td[b-sw5hxgkyqk] {
    background: #eef6ff;
}

/* پایه 2 */
.discipline-table tbody tr.discipline-grade-2 td[b-sw5hxgkyqk] {
    background: #e3f0ff;
}

/* پایه 3 */
.discipline-table tbody tr.discipline-grade-3 td[b-sw5hxgkyqk] {
    background: #d8eaff;
}

/* پایه 4 */
.discipline-table tbody tr.discipline-grade-4 td[b-sw5hxgkyqk] {
    background: #effaf3;
}

/* پایه 5 */
.discipline-table tbody tr.discipline-grade-5 td[b-sw5hxgkyqk] {
    background: #e2f5e9;
}

/* پایه 6 */
.discipline-table tbody tr.discipline-grade-6 td[b-sw5hxgkyqk] {
    background: #d5f0df;
}

/* پایه 7 */
.discipline-table tbody tr.discipline-grade-7 td[b-sw5hxgkyqk] {
    background: #fff4df;
}

/* پایه 8 */
.discipline-table tbody tr.discipline-grade-8 td[b-sw5hxgkyqk] {
    background: #ffe9c7;
}

/* پایه 9 */
.discipline-table tbody tr.discipline-grade-9 td[b-sw5hxgkyqk] {
    background: #ffddb0;
}

/* پایه 10 */
.discipline-table tbody tr.discipline-grade-10 td[b-sw5hxgkyqk] {
    background: #f4edff;
}

/* پایه 11 */
.discipline-table tbody tr.discipline-grade-11 td[b-sw5hxgkyqk] {
    background: #e9dcff;
}

/* پایه 12 */
.discipline-table tbody tr.discipline-grade-12 td[b-sw5hxgkyqk] {
    background: #ddc9ff;
}

.discipline-table tbody tr:last-child td[b-sw5hxgkyqk] {
    border-bottom: none;
}

.discipline-form-actions[b-sw5hxgkyqk] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.discipline-print-option[b-sw5hxgkyqk] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    font-weight: 500;
    white-space: nowrap;
}

.discipline-review-dialog[b-sw5hxgkyqk] {
    width: 600px;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
}

/* =========================================================
   ADD / EDIT DISCIPLINE MODAL
   ========================================================= */

.discipline-form-modal[b-sw5hxgkyqk] {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    direction: rtl;
}


/* =========================================================
   FORM BACKDROP
   ========================================================= */

.discipline-form-backdrop[b-sw5hxgkyqk] {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}


/* =========================================================
   FORM DIALOG
   ========================================================= */

.discipline-form-dialog[b-sw5hxgkyqk] {
    position: relative;
    z-index: 10002;
    width: min(700px, calc(100vw - 30px));
    max-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    direction: rtl;
}


/* =========================================================
   FORM BODY
   ========================================================= */

.discipline-form-body[b-sw5hxgkyqk] {
    padding: 20px;
    overflow-y: auto;
}


/* =========================================================
   FORM GRID
   ========================================================= */

.discipline-form-grid[b-sw5hxgkyqk] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}


/* =========================================================
   FORM FIELD
   ========================================================= */

.discipline-form-field[b-sw5hxgkyqk] {
    margin-bottom: 14px;
}

    .discipline-form-field label[b-sw5hxgkyqk] {
        display: block;
        margin-bottom: 6px;
        font-size: 12px;
        font-weight: 600;
        color: #374151;
    }


/* =========================================================
   FORM ACTIONS
   ========================================================= */

.discipline-form-actions[b-sw5hxgkyqk] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #e5e7eb;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.discipline-btn-primary[b-sw5hxgkyqk],
.discipline-btn-secondary[b-sw5hxgkyqk] {
    min-height: 36px;
    padding: 7px 16px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}


.discipline-btn-primary[b-sw5hxgkyqk] {
    border: 1px solid #2563eb;
    background: #2563eb;
    color: #fff;
}

    .discipline-btn-primary:hover[b-sw5hxgkyqk] {
        background: #1d4ed8;
    }


.discipline-btn-secondary[b-sw5hxgkyqk] {
    border: 1px solid #d1d5db;
    background: #fff;
    color: #374151;
}

    .discipline-btn-secondary:hover[b-sw5hxgkyqk] {
        background: #f9fafb;
    }


/* =========================================================
   OPERATION BUTTONS
   ========================================================= */

.discipline-operation-buttons[b-sw5hxgkyqk] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    white-space: nowrap;
}


.discipline-review-button[b-sw5hxgkyqk] {
    min-width: 68px;
    padding: 5px 9px;
    border: 1px solid #2563eb;
    border-radius: 6px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}


    .discipline-review-button:hover[b-sw5hxgkyqk] {
        background: #dbeafe;
    }


.discipline-review-done[b-sw5hxgkyqk] {
    border-color: #16a34a;
    background: #f0fdf4;
    color: #15803d;
}


    .discipline-review-done:hover[b-sw5hxgkyqk] {
        background: #dcfce7;
    }


/* =========================================================
   GRID OPERATION COLUMN
   ========================================================= */

.discipline-grid .k-grid-header th:last-child[b-sw5hxgkyqk],
.discipline-grid .k-grid-content td:last-child[b-sw5hxgkyqk] {
    min-width: 200px;
    white-space: nowrap;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {

    .discipline-form-dialog[b-sw5hxgkyqk] {
        width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
    }

    .discipline-form-grid[b-sw5hxgkyqk] {
        grid-template-columns: 1fr;
    }

    .discipline-form-body[b-sw5hxgkyqk] {
        padding: 14px;
    }

    .discipline-operation-buttons[b-sw5hxgkyqk] {
        justify-content: flex-start;
    }
}
/* _content/SchoolManagementSystem.Web/Components/Pages/Students.razor.rz.scp.css */

.students-import-overlay[b-ayv4v7okd0] {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.60);
    backdrop-filter: blur(3px);
    direction: rtl;
}


.students-import-dialog[b-ayv4v7okd0] {
    position: relative;
    width: 650px;
    max-width: 95vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    direction: rtl;
}


/* =========================
       HEADER
       ========================= */

.students-import-header[b-ayv4v7okd0] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}


    .students-import-header h3[b-ayv4v7okd0] {
        margin: 0;
        font-size: 19px;
        font-weight: 700;
        color: #1e293b;
    }


    .students-import-header p[b-ayv4v7okd0] {
        margin: 7px 0 0;
        font-size: 14px;
        color: #64748b;
    }


    .students-import-header strong[b-ayv4v7okd0] {
        color: #2563eb;
    }


/* =========================
       CLOSE
       ========================= */

.students-import-close[b-ayv4v7okd0] {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #64748b;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}


    .students-import-close:hover:not(:disabled)[b-ayv4v7okd0] {
        background: #fee2e2;
        color: #dc2626;
    }


/* =========================
       BODY
       ========================= */

.students-import-body[b-ayv4v7okd0] {
    flex: 1;
    min-height: 0;
    padding: 24px;
    overflow-y: auto;
    background: #ffffff;
}


.students-import-file-label[b-ayv4v7okd0] {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}


.students-import-file-name[b-ayv4v7okd0] {
    margin-top: 15px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #475569;
    font-size: 14px;
}


    .students-import-file-name strong[b-ayv4v7okd0] {
        color: #2563eb;
    }


/* =========================
       ERROR
       ========================= */

.students-import-body > .students-import-error[b-ayv4v7okd0] {
    margin-top: 15px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    font-size: 14px;
}


/* =========================
       RESULT
       ========================= */

.students-import-result[b-ayv4v7okd0] {
    margin-top: 20px;
}


.students-import-summary[b-ayv4v7okd0] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}


.students-import-stat[b-ayv4v7okd0] {
    padding: 15px;
    text-align: center;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
}


    .students-import-stat span[b-ayv4v7okd0] {
        display: block;
        margin-bottom: 6px;
        font-size: 13px;
        color: #64748b;
    }


    .students-import-stat strong[b-ayv4v7okd0] {
        display: block;
        font-size: 22px;
        color: #334155;
    }


.students-import-success[b-ayv4v7okd0] {
    background: #f0fdf4;
    border-color: #bbf7d0;
}


    .students-import-success strong[b-ayv4v7okd0] {
        color: #16a34a;
    }


.students-import-error[b-ayv4v7okd0] {
    background: #fef2f2;
    border-color: #fecaca;
}


    .students-import-error strong[b-ayv4v7okd0] {
        color: #dc2626;
    }


/* =========================
       ERROR ROWS
       ========================= */

.students-import-errors[b-ayv4v7okd0] {
    margin-top: 20px;
    max-height: 280px;
    overflow-y: auto;
    padding: 15px;
    border-radius: 10px;
    background: #fef2f2;
    border: 1px solid #fecaca;
}


    .students-import-errors h4[b-ayv4v7okd0] {
        margin: 0 0 12px;
        font-size: 15px;
        color: #b91c1c;
    }


.students-import-error-row[b-ayv4v7okd0] {
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #fecaca;
}


    .students-import-error-row:last-child[b-ayv4v7okd0] {
        margin-bottom: 0;
    }


.students-import-error-title[b-ayv4v7okd0] {
    margin-bottom: 7px;
    font-weight: 600;
    color: #334155;
}


.students-import-error-row ul[b-ayv4v7okd0] {
    margin: 0;
    padding-right: 20px;
    color: #dc2626;
    font-size: 13px;
}


/* =========================
       ALL VALID
       ========================= */

.students-import-all-valid[b-ayv4v7okd0] {
    margin-top: 15px;
    padding: 14px;
    border-radius: 10px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}


/* =========================
       FOOTER
       ========================= */

.students-import-footer[b-ayv4v7okd0] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 16px 24px;
    border-top: 1px solid #e5e7eb;
    background: #f8fafc;
}


/* =========================
       BUTTONS
       ========================= */

.students-import-btn[b-ayv4v7okd0] {
    height: 38px;
    padding: 0 20px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, transform .1s ease, box-shadow .2s ease;
}


    .students-import-btn:active:not(:disabled)[b-ayv4v7okd0] {
        transform: translateY(1px);
    }


    .students-import-btn:disabled[b-ayv4v7okd0] {
        opacity: .55;
        cursor: not-allowed;
    }


.students-import-btn-cancel[b-ayv4v7okd0] {
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
}


    .students-import-btn-cancel:hover:not(:disabled)[b-ayv4v7okd0] {
        background: #f1f5f9;
        border-color: #94a3b8;
    }


.students-import-btn-primary[b-ayv4v7okd0] {
    border: 1px solid #2563eb;
    background: #2563eb;
    color: #ffffff;
}


    .students-import-btn-primary:hover:not(:disabled)[b-ayv4v7okd0] {
        background: #1d4ed8;
        border-color: #1d4ed8;
        box-shadow: 0 4px 12px rgba(37, 99, 235, .25);
    }


/* =========================
       MOBILE
       ========================= */

@media (max-width: 600px) {
    .students-import-overlay[b-ayv4v7okd0] {
        padding: 10px;
    }

    .students-import-dialog[b-ayv4v7okd0] {
        width: 100%;
        max-width: 100%;
        max-height: 95vh;
        border-radius: 12px;
    }

    .students-import-header[b-ayv4v7okd0] {
        padding: 16px;
    }

    .students-import-body[b-ayv4v7okd0] {
        padding: 16px;
    }

    .students-import-footer[b-ayv4v7okd0] {
        padding: 14px 16px;
    }

    .students-import-summary[b-ayv4v7okd0] {
        grid-template-columns: 1fr;
    }

    .students-import-btn[b-ayv4v7okd0] {
        flex: 1;
    }
}
/* =========================================================
       EXCEL UPLOAD
       ========================================================= */

.students-excel-upload[b-ayv4v7okd0] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 230px;
    padding: 30px 20px;
    border: 2px dashed #cbd5e1;
    border-radius: 14px;
    background: #f8fafc;
    text-align: center;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}


    .students-excel-upload:hover[b-ayv4v7okd0] {
        border-color: #22c55e;
        background: #f0fdf4;
        box-shadow: 0 6px 20px rgba(34, 197, 94, .08);
    }


/* =========================================================
       ICON
       ========================================================= */

.students-excel-upload-icon[b-ayv4v7okd0] {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    border-radius: 14px;
    background: #dcfce7;
    font-size: 32px;
    box-shadow: 0 4px 12px rgba(34, 197, 94, .12);
}


    .students-excel-upload-icon span[b-ayv4v7okd0] {
        display: block;
    }


/* =========================================================
       TITLE
       ========================================================= */

.students-excel-upload-title[b-ayv4v7okd0] {
    margin-bottom: 8px;
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
}


/* =========================================================
       DESCRIPTION
       ========================================================= */

.students-excel-upload-text[b-ayv4v7okd0] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
    font-size: 13px;
    color: #64748b;
}


    .students-excel-upload-text span[b-ayv4v7okd0] {
        color: #94a3b8;
    }


/* =========================================================
   SELECT FILE BUTTON
   ========================================================= */
.students-excel-upload-button[b-ayv4v7okd0] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 42px;
    padding: 0 24px;
    border: 1px solid #2563eb;
    border-radius: 9px;
    background: #2563eb;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .1s ease;
}

    .students-excel-upload-button:hover[b-ayv4v7okd0] {
        background: #1d4ed8;
        border-color: #1d4ed8;
        box-shadow: 0 5px 14px rgba(37, 99, 235, .25);
        transform: translateY(-1px);
    }

    .students-excel-upload-button:active[b-ayv4v7okd0] {
        transform: translateY(1px);
    }


/* =========================================================
   HIDDEN REAL FILE INPUT
   ========================================================= */

[b-ayv4v7okd0] .students-excel-input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
/* =========================================================
       HINT
       ========================================================= */

.students-excel-upload-hint[b-ayv4v7okd0] {
    margin-top: 14px;
    font-size: 12px;
    color: #94a3b8;
}


    .students-excel-upload-hint span[b-ayv4v7okd0] {
        margin: 0 5px;
    }


/* =========================================================
       SELECTED FILE
       ========================================================= */

.students-selected-file[b-ayv4v7okd0] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
    padding: 13px 14px;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    background: #f0fdf4;
}


/* =========================================================
       SELECTED ICON
       ========================================================= */

.students-selected-file-icon[b-ayv4v7okd0] {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #22c55e;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
}


/* =========================================================
       FILE INFO
       ========================================================= */

.students-selected-file-info[b-ayv4v7okd0] {
    flex: 1;
    min-width: 0;
    text-align: right;
}


.students-selected-file-title[b-ayv4v7okd0] {
    margin-bottom: 3px;
    font-size: 12px;
    font-weight: 600;
    color: #15803d;
}


.students-selected-file-name[b-ayv4v7okd0] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    color: #334155;
}


/* =========================================================
       REMOVE
       ========================================================= */

.students-selected-file-remove[b-ayv4v7okd0] {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 7px;
    background: transparent;
    color: #64748b;
    font-size: 20px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}


    .students-selected-file-remove:hover:not(:disabled)[b-ayv4v7okd0] {
        background: #fee2e2;
        color: #dc2626;
    }


/* =========================================================
       MOBILE
       ========================================================= */

@media (max-width: 600px) {
    .students-excel-upload[b-ayv4v7okd0] {
        min-height: 210px;
        padding: 25px 15px;
    }

    .students-excel-upload-icon[b-ayv4v7okd0] {
        width: 56px;
        height: 56px;
        font-size: 28px;
    }

    .students-excel-upload-title[b-ayv4v7okd0] {
        font-size: 16px;
    }
}

.students-template-button[b-ayv4v7okd0] {
    height: 38px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #86efac;
    border-radius: 8px;
    background: #f0fdf4;
    color: #15803d;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

    .students-template-button:hover[b-ayv4v7okd0] {
        background: #dcfce7;
        border-color: #4ade80;
        color: #166534;
        box-shadow: 0 4px 12px rgba(34, 197, 94, 0.15);
        transform: translateY(-1px);
    }

    .students-template-button:active[b-ayv4v7okd0] {
        transform: translateY(1px);
    }

.students-template-icon[b-ayv4v7okd0] {
    font-size: 16px;
    line-height: 1;
}


/* _content/SchoolManagementSystem.Web/Components/Pages/StudentStatus.razor.rz.scp.css */
/* =========================================================
   STUDENT STATUS
   ========================================================= */

.student-status[b-vaowi2mual] {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
    padding: 4px 0 30px;
    direction: rtl;
    box-sizing: border-box;
}


/* =========================================================
   HEADER
   ========================================================= */

.ss-header[b-vaowi2mual] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

    .ss-header h1[b-vaowi2mual] {
        margin: 0;
        font-size: 22px;
        font-weight: 700;
        color: #172033;
    }

    .ss-header p[b-vaowi2mual] {
        margin: 5px 0 0;
        font-size: 11px;
        color: #64748b;
    }

.ss-date[b-vaowi2mual] {
    padding: 7px 11px;
    border: 1px solid #e5eaf0;
    border-radius: 8px;
    background: #fff;
    font-size: 11px;
    color: #64748b;
    white-space: nowrap;
}


/* =========================================================
   SEARCH CARD
   ========================================================= */

.ss-search-card[b-vaowi2mual] {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 13px 15px;
    margin-bottom: 12px;
    border: 1px solid #e5eaf0;
    border-radius: 10px;
    background: #fff;
    box-sizing: border-box;
}

.ss-search-title[b-vaowi2mual] {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 230px;
}

.ss-search-icon[b-vaowi2mual] {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 8px;
    background: #eff6ff;
    font-size: 15px;
}

.ss-search-title strong[b-vaowi2mual] {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #172033;
}

.ss-search-title span[b-vaowi2mual] {
    display: block;
    margin-top: 2px;
    font-size: 10px;
    color: #64748b;
}

.ss-search-input[b-vaowi2mual] {
    flex: 1;
    min-width: 0;
}

    .ss-search-input .k-combobox[b-vaowi2mual] {
        width: 100%;
        min-height: 37px;
        border-radius: 8px;
    }

    .ss-search-input .k-input-inner[b-vaowi2mual] {
        font-family: inherit;
        font-size: 12px;
        text-align: right;
    }

    .ss-search-input .k-input[b-vaowi2mual] {
        border-radius: 8px;
    }

.ss-search-item[b-vaowi2mual] {
    padding: 4px 2px;
    text-align: right;
}

    .ss-search-item strong[b-vaowi2mual] {
        display: block;
        font-size: 12px;
        color: #172033;
    }

    .ss-search-item span[b-vaowi2mual] {
        display: block;
        margin-top: 2px;
        font-size: 10px;
        color: #64748b;
    }

.ss-search-input .k-list-item:hover[b-vaowi2mual] {
    background: #f8fafc;
}

.ss-search-input .k-list-item.k-selected[b-vaowi2mual] {
    background: #eff6ff;
}

.ss-no-data[b-vaowi2mual] {
    padding: 12px;
    text-align: center;
    font-size: 10px;
    color: #94a3b8;
}


/* =========================================================
   EMPTY
   ========================================================= */

.ss-empty-card[b-vaowi2mual] {
    min-height: 230px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px;
    border: 1px solid #e5eaf0;
    border-radius: 10px;
    background: #fff;
    text-align: center;
    box-sizing: border-box;
}

.ss-empty-icon[b-vaowi2mual] {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    border-radius: 14px;
    background: #eff6ff;
    font-size: 24px;
}

.ss-empty-card strong[b-vaowi2mual] {
    font-size: 14px;
    font-weight: 700;
    color: #172033;
}

.ss-empty-card span[b-vaowi2mual] {
    max-width: 330px;
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.8;
    color: #64748b;
}


/* =========================================================
   STUDENT CARD
   ========================================================= */

.ss-student-card[b-vaowi2mual] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    margin-bottom: 12px;
    border: 1px solid #e5eaf0;
    border-radius: 10px;
    background: #fff;
    box-sizing: border-box;
}

.ss-student-avatar[b-vaowi2mual] {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 9px;
    background: #eff6ff;
    font-size: 17px;
}

.ss-student-info strong[b-vaowi2mual] {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #172033;
}

.ss-student-info span[b-vaowi2mual] {
    display: block;
    margin-top: 2px;
    font-size: 10px;
    color: #64748b;
}


/* =========================================================
   COMMON CARDS
   ========================================================= */

.ss-attendance-card[b-vaowi2mual],
.ss-discipline-card[b-vaowi2mual] {
    overflow: hidden;
    margin-bottom: 12px;
    border: 1px solid #e5eaf0;
    border-radius: 10px;
    background: #fff;
}


/* =========================================================
   CARD HEADER
   ========================================================= */

.ss-card-header[b-vaowi2mual] {
    padding: 11px 14px;
    border-bottom: 1px solid #edf0f4;
}

    .ss-card-header strong[b-vaowi2mual] {
        display: block;
        font-size: 13px;
        font-weight: 700;
        color: #172033;
    }

    .ss-card-header span[b-vaowi2mual] {
        display: block;
        margin-top: 3px;
        font-size: 10px;
        color: #64748b;
    }


/* =========================================================
   CARD BODY
   ========================================================= */

.ss-attendance-body[b-vaowi2mual],
.ss-discipline-body[b-vaowi2mual] {
    padding: 13px 14px;
}


/* =========================================================
   MAIN STATISTICS
   ========================================================= */

.ss-main-stats[b-vaowi2mual] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.ss-stat[b-vaowi2mual] {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 64px;
    padding: 9px 10px;
    border: 1px solid #edf1f5;
    border-radius: 8px;
    background: #f8fafc;
    box-sizing: border-box;
    transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}

    .ss-stat:hover[b-vaowi2mual] {
        border-color: #dce3eb;
        background: #f5f8fb;
        transform: translateY(-1px);
    }


/* =========================================================
   STAT ICONS
   ========================================================= */

.ss-stat-icon[b-vaowi2mual] {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 700;
}

.ss-icon-blue[b-vaowi2mual] {
    background: #eff6ff;
    color: #2563eb;
}

.ss-icon-red[b-vaowi2mual] {
    background: #fff1f2;
    color: #dc2626;
}

.ss-icon-green[b-vaowi2mual] {
    background: #ecfdf5;
    color: #16a34a;
}

.ss-icon-orange[b-vaowi2mual] {
    background: #fff7ed;
    color: #ea580c;
}

.ss-icon-yellow[b-vaowi2mual] {
    background: #fffbeb;
    color: #d97706;
}

.ss-icon-purple[b-vaowi2mual] {
    background: #f5f3ff;
    color: #7c3aed;
}


/* =========================================================
   STAT TEXT
   ========================================================= */

.ss-stat span[b-vaowi2mual] {
    display: block;
    font-size: 10px;
    font-weight: 500;
    color: #475569;
}

.ss-stat strong[b-vaowi2mual] {
    display: inline-block;
    margin-top: 2px;
    font-size: 20px;
    line-height: 1;
    font-weight: 700;
    color: #172033;
}

.ss-stat small[b-vaowi2mual] {
    margin-right: 3px;
    font-size: 9px;
    color: #64748b;
}


/* =========================================================
   SECONDARY SECTIONS
   ========================================================= */

.ss-status-section[b-vaowi2mual] {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #f0f2f5;
}

.ss-section-title[b-vaowi2mual] {
    margin-bottom: 7px;
    font-size: 11px;
    font-weight: 700;
    color: #334155;
}


/* =========================================================
   STATUS LIST
   ========================================================= */

.ss-status-list[b-vaowi2mual] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ss-status-row[b-vaowi2mual] {
    display: flex;
    align-items: center;
    min-height: 36px;
    gap: 8px;
    padding: 5px 9px;
    border: 1px solid transparent;
    border-radius: 7px;
    background: #f8fafc;
    box-sizing: border-box;
    transition: background-color .15s ease, border-color .15s ease;
}

    .ss-status-row:hover[b-vaowi2mual] {
        background: #f5f8fb;
        border-color: #e3e8ee;
    }


/* =========================================================
   STATUS ICON
   ========================================================= */
.ss-status-icon[b-vaowi2mual] {
    width: 21px;
    height: 21px;
    min-width: 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 6px;
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    box-sizing: border-box;
}


/* =========================================================
   STATUS TEXT
   ========================================================= */

.ss-status-name[b-vaowi2mual] {
    flex: 1;
    min-width: 0;
    font-size: 11px;
    font-weight: 500;
    color: #475569;
}

.ss-status-row strong[b-vaowi2mual] {
    min-width: 24px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: #172033;
}

.ss-status-row small[b-vaowi2mual] {
    min-width: 28px;
    font-size: 9px;
    color: #64748b;
}


/* =========================================================
   LOADING / EMPTY SUMMARY
   ========================================================= */

.ss-loading[b-vaowi2mual],
.ss-no-summary[b-vaowi2mual] {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #64748b;
}


/* =========================================================
   DISCIPLINE HEADER
   ========================================================= */

.ss-discipline-header[b-vaowi2mual] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ss-discipline-add-btn[b-vaowi2mual] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 32px;
    padding: 0 12px;
    border: 0;
    border-radius: 7px;
    background: #2563eb;
    color: #fff;
    font-family: inherit;
    font-size: 11px;
    cursor: pointer;
    transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

    .ss-discipline-add-btn span[b-vaowi2mual] {
        font-size: 16px;
        line-height: 1;
    }

    .ss-discipline-add-btn:hover[b-vaowi2mual] {
        background: #1d4ed8;
        transform: translateY(-1px);
        box-shadow: 0 3px 8px rgba(37, 99, 235, .18);
    }


/* =========================================================
   POPUP BACKDROP
   ========================================================= */

.ss-popup-backdrop[b-vaowi2mual] {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    padding: 20px;
    background: rgba(15, 23, 42, .42) !important;
    box-sizing: border-box;
}


/* =========================================================
   OLD DISCIPLINE POPUP
   ========================================================= */

.ss-discipline-popup[b-vaowi2mual] {
    width: 100%;
    max-width: 770px;
    max-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff !important;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .18);
    direction: rtl;
    box-sizing: border-box;
    opacity: 1 !important;
    visibility: visible !important;
}


/* =========================================================
   NEW DISCIPLINE POPUP
   ========================================================= */

/*
   این کلاس دقیقاً با Razor فعلی شما هماهنگ است:

   <div class="ss-new-discipline-popup">
*/

.ss-new-discipline-popup[b-vaowi2mual] {
    width: 100%;
    max-width: 560px;
    max-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: 1px solid #dbe2ea !important;
    border-radius: 14px;
    background-color: #ffffff !important;
    color: #172033 !important;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .20);
    box-sizing: border-box;
    direction: rtl;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative;
    z-index: 10001;
}


/* =========================================================
   POPUP HEADER
   ========================================================= */

.ss-popup-header[b-vaowi2mual] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 68px;
    margin: 0;
    padding: 14px 16px;
    background-color: #ffffff !important;
    color: #172033 !important;
    border-bottom: 1px solid #edf0f4;
    box-sizing: border-box;
}

    .ss-popup-header > div[b-vaowi2mual] {
        min-width: 0;
    }

    .ss-popup-header strong[b-vaowi2mual] {
        display: block;
        margin: 0;
        padding: 0;
        font-size: 14px;
        font-weight: 800;
        color: #172033 !important;
    }

    .ss-popup-header span[b-vaowi2mual] {
        display: block;
        margin-top: 3px;
        padding: 0;
        font-size: 10px;
        color: #64748b !important;
    }


/* =========================================================
   POPUP CLOSE
   ========================================================= */

.ss-popup-close[b-vaowi2mual] {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    border: 0 !important;
    border-radius: 7px;
    background-color: #f1f5f9 !important;
    color: #64748b !important;
    font-family: inherit;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    opacity: 1 !important;
    transition: background-color .15s ease, color .15s ease, transform .15s ease;
}

    .ss-popup-close:hover[b-vaowi2mual] {
        background-color: #fee2e2 !important;
        color: #dc2626 !important;
        transform: scale(1.05);
    }


/* =========================================================
   OLD POPUP BODY
   ========================================================= */

.ss-popup-body[b-vaowi2mual] {
    overflow-y: auto;
    padding: 15px 16px;
    background-color: #ffffff;
}


/* =========================================================
   NEW POPUP BODY
   ========================================================= */

.ss-new-popup-body[b-vaowi2mual] {
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    margin: 0;
    padding: 16px 18px;
    background-color: #ffffff !important;
    color: #172033 !important;
    box-sizing: border-box;
    opacity: 1 !important;
}


/* =========================================================
   STUDENT INSIDE FORM
   ========================================================= */

.ss-form-student[b-vaowi2mual] {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    margin: 0 0 15px 0;
    padding: 9px 10px;
    border: 1px solid #edf1f5;
    border-radius: 8px;
    background-color: #f8fafc !important;
    box-sizing: border-box;
}

.ss-form-student-icon[b-vaowi2mual] {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 8px;
    background-color: #eff6ff !important;
    font-size: 16px;
}

.ss-form-student strong[b-vaowi2mual] {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #172033 !important;
}

.ss-form-student span[b-vaowi2mual] {
    display: block;
    margin-top: 2px;
    font-size: 10px;
    color: #94a3b8 !important;
}


/* =========================================================
   FORM GRID
   ========================================================= */

.ss-new-form-grid[b-vaowi2mual] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #ffffff !important;
    box-sizing: border-box;
    opacity: 1 !important;
}

.ss-form-full[b-vaowi2mual] {
    grid-column: 1 / -1;
}


/* =========================================================
   FORM GROUP
   ========================================================= */

.ss-form-group[b-vaowi2mual] {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    box-sizing: border-box;
}

    .ss-form-group label[b-vaowi2mual] {
        display: block;
        margin: 0;
        padding: 0;
        font-size: 12px;
        font-weight: 700;
        color: #334155 !important;
    }


/* =========================================================
   TELERIK DROPDOWN
   ========================================================= */

.ss-new-discipline-popup .k-dropdownlist[b-vaowi2mual],
.ss-new-discipline-popup .k-dropdown[b-vaowi2mual],
.ss-new-discipline-popup .k-picker[b-vaowi2mual] {
    width: 100% !important;
    box-sizing: border-box;
    background-color: #ffffff !important;
    color: #172033 !important;
    border-radius: 7px;
}


/* =========================================================
   TELERIK INPUT
   ========================================================= */

.ss-new-discipline-popup .k-input[b-vaowi2mual],
.ss-new-discipline-popup .k-input-inner[b-vaowi2mual] {
    color: #172033 !important;
}

.ss-new-discipline-popup .k-input[b-vaowi2mual] {
    background-color: #ffffff !important;
}

.ss-new-discipline-popup .k-input-inner[b-vaowi2mual] {
    width: 100%;
    font-family: inherit;
    font-size: 12px;
    text-align: right;
    background-color: transparent !important;
}


/* =========================================================
   TELERIK TEXTAREA
   ========================================================= */

.ss-new-discipline-popup .k-textarea[b-vaowi2mual] {
    width: 100% !important;
    background-color: #ffffff !important;
    color: #172033 !important;
    box-sizing: border-box;
    border-radius: 7px;
}

.ss-new-discipline-popup textarea[b-vaowi2mual] {
    width: 100% !important;
    min-height: 110px;
    margin: 0;
    padding: 9px 10px;
    border-radius: 7px;
    background-color: #ffffff !important;
    color: #172033 !important;
    font-family: inherit;
    font-size: 12px;
    line-height: 1.8;
    resize: vertical;
    box-sizing: border-box;
}


/* =========================================================
   TELERIK FOCUS
   ========================================================= */

.ss-new-discipline-popup .k-input:focus-within[b-vaowi2mual],
.ss-new-discipline-popup .k-picker:focus-within[b-vaowi2mual],
.ss-new-discipline-popup .k-dropdownlist:focus-within[b-vaowi2mual],
.ss-new-discipline-popup .k-textarea:focus-within[b-vaowi2mual] {
    border-color: #2563eb !important;
}


/* =========================================================
   POPUP FOOTER
   ========================================================= */

.ss-popup-footer[b-vaowi2mual] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 12px 16px;
    border-top: 1px solid #edf0f4;
    background-color: #ffffff !important;
    color: #172033 !important;
    box-sizing: border-box;
    opacity: 1 !important;
}


/* =========================================================
   POPUP BUTTON BASE
   ========================================================= */

.ss-popup-btn[b-vaowi2mual] {
    min-width: 105px;
    height: 36px;
    margin: 0;
    padding: 0 16px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    opacity: 1;
    box-sizing: border-box;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}


/* =========================================================
   PRIMARY BUTTON
   ========================================================= */

.ss-popup-btn-primary[b-vaowi2mual] {
    border: 1px solid #2563eb !important;
    background-color: #2563eb !important;
    color: #ffffff !important;
}

    .ss-popup-btn-primary:hover:not(:disabled)[b-vaowi2mual] {
        border-color: #1d4ed8 !important;
        background-color: #1d4ed8 !important;
        color: #ffffff !important;
        transform: translateY(-1px);
        box-shadow: 0 4px 10px rgba(37, 99, 235, .18);
    }

    .ss-popup-btn-primary:active:not(:disabled)[b-vaowi2mual] {
        transform: translateY(0);
    }


/* =========================================================
   SECONDARY BUTTON
   ========================================================= */

.ss-popup-btn-secondary[b-vaowi2mual] {
    border: 1px solid #cbd5e1 !important;
    background-color: #ffffff !important;
    color: #475569 !important;
}

    .ss-popup-btn-secondary:hover:not(:disabled)[b-vaowi2mual] {
        border-color: #94a3b8 !important;
        background-color: #f8fafc !important;
        color: #334155 !important;
        transform: translateY(-1px);
    }

    .ss-popup-btn-secondary:active:not(:disabled)[b-vaowi2mual] {
        transform: translateY(0);
    }


/* =========================================================
   DISABLED BUTTON
   ========================================================= */

.ss-popup-btn:disabled[b-vaowi2mual] {
    opacity: .55 !important;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}


/* =========================================================
   DISCIPLINE HISTORY
   ========================================================= */

.ss-discipline-history[b-vaowi2mual] {
    width: 100%;
    margin-top: 18px;
}

.ss-history-header[b-vaowi2mual] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.ss-history-title[b-vaowi2mual] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .ss-history-title strong[b-vaowi2mual] {
        font-size: 16px;
        font-weight: 800;
        color: #172033;
    }

    .ss-history-title span[b-vaowi2mual] {
        font-size: 13px;
        color: #64748b;
    }


/* =========================================================
   HISTORY ADD BUTTON
   ========================================================= */

.ss-history-add-btn[b-vaowi2mual] {
    border: 0;
    border-radius: 9px;
    padding: 9px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #2563eb;
    color: #ffffff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

    .ss-history-add-btn:hover[b-vaowi2mual] {
        background: #1d4ed8;
        transform: translateY(-1px);
        box-shadow: 0 5px 12px rgba(37, 99, 235, .20);
    }

    .ss-history-add-btn span[b-vaowi2mual] {
        font-size: 18px;
        line-height: 1;
    }


/* =========================================================
   DISCIPLINE TABLE
   ========================================================= */

.ss-discipline-table-wrapper[b-vaowi2mual] {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
}

.ss-discipline-table[b-vaowi2mual] {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

    .ss-discipline-table thead[b-vaowi2mual] {
        background: #f8fafc;
    }

    .ss-discipline-table th[b-vaowi2mual] {
        padding: 12px 14px;
        border-bottom: 1px solid #e5e7eb;
        text-align: right;
        color: #475569;
        font-size: 13px;
        font-weight: 800;
        white-space: nowrap;
    }

    .ss-discipline-table td[b-vaowi2mual] {
        padding: 12px 14px;
        border-bottom: 1px solid #eef2f7;
        color: #334155;
        font-size: 13px;
        vertical-align: middle;
    }

    .ss-discipline-table tbody tr[b-vaowi2mual] {
        transition: background .15s ease;
    }

        .ss-discipline-table tbody tr:hover[b-vaowi2mual] {
            background: #f8fafc;
        }

        .ss-discipline-table tbody tr:last-child td[b-vaowi2mual] {
            border-bottom: none;
        }


/* =========================================================
   DISCIPLINE STUDENT
   ========================================================= */

.ss-discipline-student[b-vaowi2mual] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

    .ss-discipline-student strong[b-vaowi2mual] {
        color: #172033;
        font-weight: 800;
    }

    .ss-discipline-student span[b-vaowi2mual] {
        color: #94a3b8;
        font-size: 11px;
    }


/* =========================================================
   DISCIPLINE TYPE
   ========================================================= */

.ss-discipline-type[b-vaowi2mual] {
    font-weight: 700;
    color: #334155;
}


/* =========================================================
   REVIEW BADGE
   ========================================================= */

.ss-review-badge[b-vaowi2mual] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.ss-review-badge-reviewed[b-vaowi2mual] {
    background: #dcfce7;
    color: #166534;
}

.ss-review-badge-unreviewed[b-vaowi2mual] {
    background: #fef3c7;
    color: #92400e;
}


/* =========================================================
   FORCE VISIBILITY
   ========================================================= */

/*
   این بخش مهم است.
   قبلاً با قرمز کردن این قسمت متوجه شدیم مشکل از
   استایل‌های بیرونی / override بوده است.

   حالا به جای قرمز، رنگ واقعی فرم را اعمال می‌کنیم.
*/

.ss-new-discipline-popup[b-vaowi2mual],
.ss-new-discipline-popup *[b-vaowi2mual],
.ss-new-popup-body[b-vaowi2mual],
.ss-new-popup-body *[b-vaowi2mual] {
    opacity: 1 !important;
    visibility: visible;
}

.ss-new-discipline-popup[b-vaowi2mual] {
    background-color: #ffffff !important;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 700px) {

    .student-status[b-vaowi2mual] {
        padding-left: 10px;
        padding-right: 10px;
    }

    .ss-header[b-vaowi2mual] {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .ss-search-card[b-vaowi2mual] {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
    }

    .ss-search-title[b-vaowi2mual] {
        min-width: 0;
    }

    .ss-main-stats[b-vaowi2mual] {
        grid-template-columns: 1fr;
    }

    .ss-history-header[b-vaowi2mual] {
        flex-direction: column;
        align-items: stretch;
    }

    .ss-history-add-btn[b-vaowi2mual] {
        width: 100%;
    }

    .ss-new-discipline-popup[b-vaowi2mual] {
        max-width: calc(100vw - 24px);
        max-height: calc(100vh - 24px);
        border-radius: 12px;
    }

    .ss-new-form-grid[b-vaowi2mual] {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .ss-form-full[b-vaowi2mual] {
        grid-column: auto;
    }

    .ss-popup-footer[b-vaowi2mual] {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 16px;
    }

        .ss-popup-footer .ss-popup-btn[b-vaowi2mual] {
            width: 100%;
        }
}
/* =========================================================
   STATUS LIST - INLINE ITEMS
   ========================================================= */

.ss-status-list[b-vaowi2mual] {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 6px 8px;
    width: 100%;
}


/* =========================================================
   STATUS ROW - COMPACT
   ========================================================= */

.ss-status-row[b-vaowi2mual] {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center;
    width: auto !important;
    max-width: max-content;
    min-height: 32px;
    gap: 4px;
    margin: 0;
    padding: 4px 8px;
    border: 1px solid transparent;
    border-radius: 7px;
    background: #f8fafc;
    box-sizing: border-box;
}


/* =========================================================
   STATUS NAME
   ========================================================= */

.ss-status-name[b-vaowi2mual] {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0;
    white-space: nowrap;
    font-size: 10px;
    font-weight: 500;
    color: #475569;
}


/* =========================================================
   STATUS NUMBER
   ========================================================= */

.ss-status-row strong[b-vaowi2mual] {
    flex: 0 0 auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    color: #172033;
}


/* =========================================================
   STATUS UNIT
   ========================================================= */

.ss-status-row small[b-vaowi2mual] {
    flex: 0 0 auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    font-size: 9px;
    color: #64748b;
}

/* =========================================================
   STATUS ICONS - UNIFIED SIZE
   ========================================================= */

.ss-status-icon[b-vaowi2mual] {
    width: 21px;
    height: 21px;
    min-width: 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 6px;
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    box-sizing: border-box;
}


    /* =========================================================
   DISCIPLINE
   ========================================================= */

    .ss-status-icon.ss-icon-orange[b-vaowi2mual] {
        background: #fff7ed;
        color: #ea580c;
    }


    /* =========================================================
   UNREVIEWED
   ========================================================= */

    .ss-status-icon.ss-icon-yellow[b-vaowi2mual] {
        background: #fffbeb;
        color: #d97706;
    }


    /* =========================================================
   REVIEWED
   ========================================================= */

    .ss-status-icon.ss-icon-green[b-vaowi2mual] {
        background: #ecfdf5;
        color: #16a34a;
    }


    /* =========================================================
   ABSENT
   ========================================================= */

    .ss-status-icon.ss-icon-red[b-vaowi2mual] {
        background: #fff1f2;
        color: #dc2626;
    }
/* _content/SchoolManagementSystem.Web/Components/Pages/Teachers.razor.rz.scp.css */

.teachers-import-overlay[b-7g8hc0eswc] {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, .60);
    backdrop-filter: blur(3px);
    direction: rtl;
}

.teachers-import-dialog[b-7g8hc0eswc] {
    position: relative;
    width: 650px;
    max-width: 95vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .25);
    overflow: hidden;
    direction: rtl;
}

.teachers-import-header[b-7g8hc0eswc] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

    .teachers-import-header h3[b-7g8hc0eswc] {
        margin: 0;
        font-size: 19px;
        font-weight: 700;
        color: #1e293b;
    }

    .teachers-import-header p[b-7g8hc0eswc] {
        margin: 7px 0 0;
        font-size: 14px;
        color: #64748b;
    }

    .teachers-import-header strong[b-7g8hc0eswc] {
        color: #2563eb;
    }

.teachers-import-close[b-7g8hc0eswc] {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #64748b;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: .2s ease;
}

    .teachers-import-close:hover:not(:disabled)[b-7g8hc0eswc] {
        background: #fee2e2;
        color: #dc2626;
    }

.teachers-import-body[b-7g8hc0eswc] {
    flex: 1;
    min-height: 0;
    padding: 24px;
    overflow-y: auto;
    background: #fff;
}

.teachers-import-error[b-7g8hc0eswc] {
    margin-top: 15px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    font-size: 14px;
}

.teachers-import-result[b-7g8hc0eswc] {
    margin-top: 20px;
}

.teachers-import-summary[b-7g8hc0eswc] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.teachers-import-stat[b-7g8hc0eswc] {
    padding: 15px;
    text-align: center;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
}

    .teachers-import-stat span[b-7g8hc0eswc] {
        display: block;
        margin-bottom: 6px;
        font-size: 13px;
        color: #64748b;
    }

    .teachers-import-stat strong[b-7g8hc0eswc] {
        display: block;
        font-size: 22px;
        color: #334155;
    }

.teachers-import-success[b-7g8hc0eswc] {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

    .teachers-import-success strong[b-7g8hc0eswc] {
        color: #16a34a;
    }

.teachers-import-error[b-7g8hc0eswc] {
    background: #fef2f2;
    border-color: #fecaca;
}

    .teachers-import-error strong[b-7g8hc0eswc] {
        color: #dc2626;
    }

.teachers-import-errors[b-7g8hc0eswc] {
    margin-top: 20px;
    max-height: 280px;
    overflow-y: auto;
    padding: 15px;
    border-radius: 10px;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

    .teachers-import-errors h4[b-7g8hc0eswc] {
        margin: 0 0 12px;
        font-size: 15px;
        color: #b91c1c;
    }

.teachers-import-error-row[b-7g8hc0eswc] {
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #fecaca;
}

    .teachers-import-error-row:last-child[b-7g8hc0eswc] {
        margin-bottom: 0;
    }

.teachers-import-error-title[b-7g8hc0eswc] {
    margin-bottom: 7px;
    font-weight: 600;
    color: #334155;
}

.teachers-import-error-row ul[b-7g8hc0eswc] {
    margin: 0;
    padding-right: 20px;
    color: #dc2626;
    font-size: 13px;
}

.teachers-import-all-valid[b-7g8hc0eswc] {
    margin-top: 15px;
    padding: 14px;
    border-radius: 10px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.teachers-import-footer[b-7g8hc0eswc] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 16px 24px;
    border-top: 1px solid #e5e7eb;
    background: #f8fafc;
}

.teachers-import-btn[b-7g8hc0eswc] {
    height: 38px;
    padding: 0 20px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s ease;
}

    .teachers-import-btn:active:not(:disabled)[b-7g8hc0eswc] {
        transform: translateY(1px);
    }

    .teachers-import-btn:disabled[b-7g8hc0eswc] {
        opacity: .55;
        cursor: not-allowed;
    }

.teachers-import-btn-cancel[b-7g8hc0eswc] {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #475569;
}

    .teachers-import-btn-cancel:hover:not(:disabled)[b-7g8hc0eswc] {
        background: #f1f5f9;
        border-color: #94a3b8;
    }

.teachers-import-btn-primary[b-7g8hc0eswc] {
    border: 1px solid #2563eb;
    background: #2563eb;
    color: #fff;
}

    .teachers-import-btn-primary:hover:not(:disabled)[b-7g8hc0eswc] {
        background: #1d4ed8;
        border-color: #1d4ed8;
        box-shadow: 0 4px 12px rgba(37, 99, 235, .25);
    }

.teachers-excel-upload[b-7g8hc0eswc] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 230px;
    padding: 30px 20px;
    border: 2px dashed #cbd5e1;
    border-radius: 14px;
    background: #f8fafc;
    text-align: center;
    transition: .2s ease;
}

    .teachers-excel-upload:hover[b-7g8hc0eswc] {
        border-color: #22c55e;
        background: #f0fdf4;
        box-shadow: 0 6px 20px rgba(34, 197, 94, .08);
    }

.teachers-excel-upload-icon[b-7g8hc0eswc] {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    border-radius: 14px;
    background: #dcfce7;
    font-size: 32px;
}

.teachers-excel-upload-title[b-7g8hc0eswc] {
    margin-bottom: 8px;
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
}

.teachers-excel-upload-text[b-7g8hc0eswc] {
    margin-bottom: 18px;
    font-size: 13px;
    color: #64748b;
}

.teachers-excel-upload-button[b-7g8hc0eswc] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 22px;
    border-radius: 8px;
    background: #2563eb;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    transition: .2s ease;
}

    .teachers-excel-upload-button:hover[b-7g8hc0eswc] {
        background: #1d4ed8;
        box-shadow: 0 5px 14px rgba(37, 99, 235, .25);
    }
/* =========================================================
   HIDDEN REAL FILE INPUT
   ========================================================= */
[b-7g8hc0eswc] .teachers-excel-input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.teachers-excel-upload-hint[b-7g8hc0eswc] {
    margin-top: 14px;
    font-size: 12px;
    color: #94a3b8;
}

    .teachers-excel-upload-hint span[b-7g8hc0eswc] {
        margin: 0 5px;
    }

.teachers-selected-file[b-7g8hc0eswc] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
    padding: 13px 14px;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    background: #f0fdf4;
}

.teachers-selected-file-icon[b-7g8hc0eswc] {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #22c55e;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.teachers-selected-file-info[b-7g8hc0eswc] {
    flex: 1;
    min-width: 0;
    text-align: right;
}

.teachers-selected-file-title[b-7g8hc0eswc] {
    margin-bottom: 3px;
    font-size: 12px;
    font-weight: 600;
    color: #15803d;
}

.teachers-selected-file-name[b-7g8hc0eswc] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    color: #334155;
}

.teachers-selected-file-remove[b-7g8hc0eswc] {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 7px;
    background: transparent;
    color: #64748b;
    font-size: 20px;
    cursor: pointer;
}

    .teachers-selected-file-remove:hover:not(:disabled)[b-7g8hc0eswc] {
        background: #fee2e2;
        color: #dc2626;
    }

.teachers-template-button[b-7g8hc0eswc] {
    height: 38px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #86efac;
    border-radius: 8px;
    background: #f0fdf4;
    color: #15803d;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: .2s ease;
}

    .teachers-template-button:hover[b-7g8hc0eswc] {
        background: #dcfce7;
        border-color: #4ade80;
        color: #166534;
        box-shadow: 0 4px 12px rgba(34, 197, 94, .15);
        transform: translateY(-1px);
    }

    .teachers-template-button:active[b-7g8hc0eswc] {
        transform: translateY(1px);
    }

.teachers-template-icon[b-7g8hc0eswc] {
    font-size: 16px;
}

