/* /Components/Layout/SidebarNav.razor.rz.scp.css */
/* /Components/Pages/AcademicAdmin/CalendarPage/Calendar.razor.rz.scp.css */
/* /Components/Pages/AcademicAdmin/Contact/ConatactList.razor.rz.scp.css */
/* /Components/Pages/AcademicAdmin/LearnerPromotion/Promotions.razor.rz.scp.css */
/* /Components/Pages/AcademicAdmin/LearnerPromotion/PromotionsHistory.razor.rz.scp.css */
/* /Components/Pages/AcademicAdmin/Memos/AddMemoForm.razor.rz.scp.css */
/* /Components/Pages/AcademicAdmin/Memos/MemoList.razor.rz.scp.css */
/* /Components/Pages/AcademicAdmin/Stafflist/ClassroomExclusionModal.razor.rz.scp.css */

/* MODAL BASE */
.modal-backdrop[b-fmqq1g9eic] {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.5);
    z-index: 999;
}

.modal-container.exclusion-modal[b-fmqq1g9eic] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    max-width: 800px;
    height: 85vh; /* Fixed height to allow inner scrolling */
    background: white;
    border-radius: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* HEADER */
.modal-header[b-fmqq1g9eic] {
    padding: 15px 20px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0; /* Prevents header from squishing */
}

.header-left[b-fmqq1g9eic] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-circle[b-fmqq1g9eic] {
    width: 35px;
    height: 35px;
    background: #fee2e2;
    color: #ef4444;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-header h2[b-fmqq1g9eic] {
    font-size: 16px;
    margin: 0;
}

.close-btn-styled[b-fmqq1g9eic] {
    border: none;
    background: #f1f5f9;
    border-radius: 8px;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

/* FORM AREA */
.exclusion-form[b-fmqq1g9eic] {
    padding: 15px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0; /* Prevents form from squishing */
}

.grid-form[b-fmqq1g9eic] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 10px;
}

.form-row-bottom[b-fmqq1g9eic] {
    display: flex;
    gap: 8px;
}

/* Small inputs on desktop */
@media (min-width: 768px) {
    .grid-form[b-fmqq1g9eic] {
        grid-template-columns: repeat(4, 1fr);
    }

    .input-small[b-fmqq1g9eic] {
        max-width: 250px;
    }

    .btn-compact[b-fmqq1g9eic] {
        width: 100px !important;
    }
}

/* SCROLLABLE LIST */
.exclusion-list[b-fmqq1g9eic] {
    padding: 20px;
    overflow-y: auto; /* This makes the bottom half scrollable */
    flex-grow: 1;
    background: #ffffff;
}

.responsive-container[b-fmqq1g9eic] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 768px) {
    .responsive-container[b-fmqq1g9eic] {
        grid-template-columns: 1fr 1fr;
    }
}

/* TILES */
.exclusion-tile[b-fmqq1g9eic] {
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 12px;
    background: white;
    transition: transform 0.1s;
}

    .exclusion-tile:hover[b-fmqq1g9eic] {
        border-color: #ef4444;
    }

.tile-header[b-fmqq1g9eic] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.class-name[b-fmqq1g9eic] {
    font-weight: 700;
    color: #1e293b;
    font-size: 14px;
}

.tile-row[b-fmqq1g9eic] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.context-text[b-fmqq1g9eic] {
    font-size: 12px;
    color: #64748b;
}

.tile-reason[b-fmqq1g9eic] {
    font-size: 12px;
    color: #94a3b8;
    background: #f8fafc;
    padding: 6px;
    border-radius: 6px;
    border-left: 3px solid #e2e8f0;
}

/* SHARED UI */
.form-select-custom[b-fmqq1g9eic], .form-input-custom[b-fmqq1g9eic] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 13px;
}

.btn-primary-red[b-fmqq1g9eic] {
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    padding: 10px;
    width: 100%;
}

.badge-red-soft[b-fmqq1g9eic] {
    background: #fee2e2;
    color: #b91c1c;
    padding: 2px 8px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 800;
}

.section-title[b-fmqq1g9eic] {
    font-size: 11px;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 10px;
    font-weight: 700;
}

.empty-state[b-fmqq1g9eic] {
    text-align: center;
    padding: 30px;
    color: #cbd5e1;
    font-style: italic;
}

/* SCROLLBAR STYLING */
.custom-scrollbar[b-fmqq1g9eic]::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar[b-fmqq1g9eic]::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.custom-scrollbar[b-fmqq1g9eic]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}


/* /Components/Pages/AcademicAdmin/Stafflist/ClassTeacherAssignmentModal.razor.rz.scp.css */
/* === MODAL BACKDROP & CONTAINER === */
.modal-backdrop[b-2rlmwng2hl] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1040;
    animation: fadeIn-b-2rlmwng2hl 0.2s ease;
}

.modal-container[b-2rlmwng2hl] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    width: 94%;
    max-width: 800px;
    max-height: 88vh;
    overflow-y: auto;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.22);
    z-index: 1050;
    animation: zoomIn-b-2rlmwng2hl 0.3s ease;
    padding: 16px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* === HEADER === */
.modal-header[b-2rlmwng2hl] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

    .modal-header h2[b-2rlmwng2hl] {
        margin: 0;
        font-size: 1.35rem;
        font-weight: 600;
        color: #1a1a1a;
    }

.close-btn[b-2rlmwng2hl] {
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #999;
    padding: 4px;
    line-height: 1;
}

    .close-btn:hover[b-2rlmwng2hl] {
        color: #000;
    }

/* === SUBTITLE === */
.modal-subtitle[b-2rlmwng2hl] {
    color: #555;
    font-size: 0.88rem;
    margin-bottom: 16px;
    line-height: 1.4;
}

/* === DEPARTMENT LIST === */
.department-list[b-2rlmwng2hl] {
    margin-bottom: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #fdfdfd;
}

/* === DEPARTMENT ITEM === */
.department-item[b-2rlmwng2hl] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid #f0f0f0;
    min-height: 48px;
    transition: background 0.2s;
}

    .department-item:last-child[b-2rlmwng2hl] {
        border-bottom: none;
    }

    .department-item:hover[b-2rlmwng2hl] {
        background: #f8f9fa;
    }

    .department-item.editing[b-2rlmwng2hl] {
        background: #fff8e6;
        padding: 12px 14px;
    }

/* === INFO === */
.dept-info[b-2rlmwng2hl] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.dept-name[b-2rlmwng2hl] {
    font-weight: 600;
    font-size: 0.95rem;
    color: #2d3748;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tag[b-2rlmwng2hl] {
    background: #dbeafe;
    color: #1e40af;
    padding: 2px 9px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 500;
    white-space: nowrap;
}

/* === ACTIONS === */
.actions[b-2rlmwng2hl] {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-icon[b-2rlmwng2hl] {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: all 0.2s;
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .btn-icon:hover[b-2rlmwng2hl] {
        background: #e2e8f0;
    }

    .btn-icon.edit[b-2rlmwng2hl] {
        color: #2563eb;
    }

    .btn-icon.remove[b-2rlmwng2hl] {
        color: #dc2626;
    }

    .btn-icon.save[b-2rlmwng2hl] {
        color: #16a34a;
    }

    .btn-icon.cancel[b-2rlmwng2hl] {
        color: #64748b;
    }

/* === EDIT ROW === */
.edit-row[b-2rlmwng2hl] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    width: 100%;
}

.input-field[b-2rlmwng2hl] {
    flex: 1;
    min-width: 180px;
}

.date-field[b-2rlmwng2hl] {
    min-width: 130px;
    max-width: 150px;
}

/* === ADD SECTION === */
.add-section[b-2rlmwng2hl] {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
    overflow-x: hidden;
}

    .add-section .input-field[b-2rlmwng2hl] {
        flex: 1;
        min-width: 200px;
    }

    .add-section .date-field[b-2rlmwng2hl] {
        min-width: 130px;
        max-width: 150px;
    }

    .add-section .add-btn[b-2rlmwng2hl] {
        height: 38px;
        min-width: 76px;
        font-size: 0.9rem;
        white-space: nowrap;
    }

/* === ANIMATIONS === */
@keyframes fadeIn-b-2rlmwng2hl {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn-b-2rlmwng2hl {
    from {
        transform: translate(-50%, -50%) scale(0.96);
        opacity: 0;
    }

    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* === MOBILE: GROW TO 80% THEN SCROLL === */
@media (max-width: 768px) {
    .modal-container[b-2rlmwng2hl] {
        width: 96%;
        max-width: none;
        max-height: 80vh; /* Max 80% of screen */
        height: auto; /* Grow with content */
        min-height: 50vh; /* Minimum to avoid tiny modal */
        padding: 14px;
        border-radius: 12px;
        overflow-y: auto; /* Scroll when content exceeds 80vh */
        -webkit-overflow-scrolling: touch;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .modal-header h2[b-2rlmwng2hl] {
        font-size: 1.25rem;
    }

    .modal-subtitle[b-2rlmwng2hl] {
        font-size: 0.85rem;
    }

    .department-item[b-2rlmwng2hl] {
        padding: 10px 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .dept-info[b-2rlmwng2hl] {
        justify-content: space-between;
        width: 100%;
    }

    .dept-name[b-2rlmwng2hl] {
        font-size: 0.92rem;
    }

    .tag[b-2rlmwng2hl] {
        font-size: 0.75rem;
        padding: 2px 8px;
    }

    .actions[b-2rlmwng2hl] {
        justify-content: flex-end;
        width: 100%;
        gap: 6px;
    }

    .btn-icon[b-2rlmwng2hl] {
        font-size: 0.98rem;
        padding: 5px;
        min-width: 28px;
        min-height: 28px;
    }

    /* STACK INPUTS */
    .add-section[b-2rlmwng2hl],
    .edit-row[b-2rlmwng2hl] {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

        .add-section .input-field[b-2rlmwng2hl],
        .add-section .date-field[b-2rlmwng2hl],
        .input-field[b-2rlmwng2hl],
        .date-field[b-2rlmwng2hl] {
            min-width: 100% !important;
            max-width: 100% !important;
        }

        .add-section .add-btn[b-2rlmwng2hl],
        .footer-btn[b-2rlmwng2hl] {
            width: 100%;
        }
}

@media (max-width: 480px) {
    .modal-container[b-2rlmwng2hl] {
        padding: 12px;
        max-height: 80vh;
    }

    .dept-name[b-2rlmwng2hl] {
        font-size: 0.9rem;
    }

    .tag[b-2rlmwng2hl] {
        font-size: 0.72rem;
    }

    .btn-icon[b-2rlmwng2hl] {
        font-size: 0.94rem;
        padding: 4px;
        min-width: 26px;
        min-height: 26px;
    }
}

.wait-overlay[b-2rlmwng2hl] {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1060;
}

/* ADD SECTION – 4 FIELDS (Class, Session, Term, Button) */
@media (max-width: 768px) {
    .add-section[b-2rlmwng2hl] {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

        .add-section .dxbl-combobox[b-2rlmwng2hl],
        .add-section .dxbl-dateedit[b-2rlmwng2hl],
        .add-section .dxbl-textbox[b-2rlmwng2hl],
        .add-section .dxbl-button[b-2rlmwng2hl] {
            width: 100% !important;
            min-width: 100% !important;
        }

        .add-section .add-btn[b-2rlmwng2hl] {
            width: 100%;
            min-height: 42px;
        }
}

/* COMBOBOX & DATEEDIT – FULL WIDTH ON MOBILE */
@media (max-width: 768px) {
    .input-field[b-2rlmwng2hl],
    .dxbl-combobox .dxbl-text-editor[b-2rlmwng2hl],
    .dxbl-dateedit .dxbl-text-editor[b-2rlmwng2hl] {
        width: 100% !important;
    }
}

/* TAG STYLING – Session • Term */
.tag[b-2rlmwng2hl] {
    background: #e0e7ff;
    color: #4f46e5;
    font-weight: 600;
}

/* ICON FOR ASSIGN BUTTON */
.fas.fa-chalkboard-teacher[b-2rlmwng2hl]::before {
    content: "\f51c";
}

/* /Components/Pages/AcademicAdmin/Stafflist/DepartmentManagementModal.razor.rz.scp.css */
/* === MODAL BACKDROP & CONTAINER === */
.modal-backdrop[b-b01hrzwv44] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1040;
    animation: fadeIn-b-b01hrzwv44 0.2s ease;
}

.modal-container[b-b01hrzwv44] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    width: 94%;
    max-width: 800px;
    max-height: 88vh;
    overflow-y: auto;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.22);
    z-index: 1050;
    animation: zoomIn-b-b01hrzwv44 0.3s ease;
    padding: 16px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* === HEADER === */
.modal-header[b-b01hrzwv44] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

    .modal-header h2[b-b01hrzwv44] {
        margin: 0;
        font-size: 1.35rem;
        font-weight: 600;
        color: #1a1a1a;
    }

.close-btn[b-b01hrzwv44] {
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #999;
    padding: 4px;
    line-height: 1;
}

    .close-btn:hover[b-b01hrzwv44] {
        color: #000;
    }

/* === SUBTITLE === */
.modal-subtitle[b-b01hrzwv44] {
    color: #555;
    font-size: 0.88rem;
    margin-bottom: 16px;
    line-height: 1.4;
}

/* === DEPARTMENT LIST === */
.department-list[b-b01hrzwv44] {
    margin-bottom: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #fdfdfd;
}

/* === DEPARTMENT ITEM === */
.department-item[b-b01hrzwv44] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid #f0f0f0;
    min-height: 48px;
    transition: background 0.2s;
}

    .department-item:last-child[b-b01hrzwv44] {
        border-bottom: none;
    }

    .department-item:hover[b-b01hrzwv44] {
        background: #f8f9fa;
    }

    .department-item.editing[b-b01hrzwv44] {
        background: #fff8e6;
        padding: 12px 14px;
    }

/* === INFO === */
.dept-info[b-b01hrzwv44] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.dept-name[b-b01hrzwv44] {
    font-weight: 600;
    font-size: 0.95rem;
    color: #2d3748;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tag[b-b01hrzwv44] {
    background: #dbeafe;
    color: #1e40af;
    padding: 2px 9px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 500;
    white-space: nowrap;
}

/* === ACTIONS === */
.actions[b-b01hrzwv44] {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-icon[b-b01hrzwv44] {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: all 0.2s;
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .btn-icon:hover[b-b01hrzwv44] {
        background: #e2e8f0;
    }

    .btn-icon.edit[b-b01hrzwv44] {
        color: #2563eb;
    }

    .btn-icon.remove[b-b01hrzwv44] {
        color: #dc2626;
    }

    .btn-icon.save[b-b01hrzwv44] {
        color: #16a34a;
    }

    .btn-icon.cancel[b-b01hrzwv44] {
        color: #64748b;
    }

/* === EDIT ROW === */
.edit-row[b-b01hrzwv44] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    width: 100%;
}

.input-field[b-b01hrzwv44] {
    flex: 1;
    min-width: 180px;
}

.date-field[b-b01hrzwv44] {
    min-width: 130px;
    max-width: 150px;
}

/* === ADD SECTION === */
.add-section[b-b01hrzwv44] {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
    overflow-x: hidden;
}

    .add-section .input-field[b-b01hrzwv44] {
        flex: 1;
        min-width: 200px;
    }

    .add-section .date-field[b-b01hrzwv44] {
        min-width: 130px;
        max-width: 150px;
    }

    .add-section .add-btn[b-b01hrzwv44] {
        height: 38px;
        min-width: 76px;
        font-size: 0.9rem;
        white-space: nowrap;
    }

/* === ANIMATIONS === */
@keyframes fadeIn-b-b01hrzwv44 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn-b-b01hrzwv44 {
    from {
        transform: translate(-50%, -50%) scale(0.96);
        opacity: 0;
    }

    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* === MOBILE: GROW TO 80% THEN SCROLL === */
@media (max-width: 768px) {
    .modal-container[b-b01hrzwv44] {
        width: 96%;
        max-width: none;
        max-height: 80vh; /* Max 80% of screen */
        height: auto; /* Grow with content */
        min-height: 50vh; /* Minimum to avoid tiny modal */
        padding: 14px;
        border-radius: 12px;
        overflow-y: auto; /* Scroll when content exceeds 80vh */
        -webkit-overflow-scrolling: touch;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .modal-header h2[b-b01hrzwv44] {
        font-size: 1.25rem;
    }

    .modal-subtitle[b-b01hrzwv44] {
        font-size: 0.85rem;
    }

    .department-item[b-b01hrzwv44] {
        padding: 10px 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .dept-info[b-b01hrzwv44] {
        justify-content: space-between;
        width: 100%;
    }

    .dept-name[b-b01hrzwv44] {
        font-size: 0.92rem;
    }

    .tag[b-b01hrzwv44] {
        font-size: 0.75rem;
        padding: 2px 8px;
    }

    .actions[b-b01hrzwv44] {
        justify-content: flex-end;
        width: 100%;
        gap: 6px;
    }

    .btn-icon[b-b01hrzwv44] {
        font-size: 0.98rem;
        padding: 5px;
        min-width: 28px;
        min-height: 28px;
    }

    /* STACK INPUTS */
    .add-section[b-b01hrzwv44],
    .edit-row[b-b01hrzwv44] {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

        .add-section .input-field[b-b01hrzwv44],
        .add-section .date-field[b-b01hrzwv44],
        .input-field[b-b01hrzwv44],
        .date-field[b-b01hrzwv44] {
            min-width: 100% !important;
            max-width: 100% !important;
        }

        .add-section .add-btn[b-b01hrzwv44],
        .footer-btn[b-b01hrzwv44] {
            width: 100%;
        }
}

@media (max-width: 480px) {
    .modal-container[b-b01hrzwv44] {
        padding: 12px;
        max-height: 80vh;
    }

    .dept-name[b-b01hrzwv44] {
        font-size: 0.9rem;
    }

    .tag[b-b01hrzwv44] {
        font-size: 0.72rem;
    }

    .btn-icon[b-b01hrzwv44] {
        font-size: 0.94rem;
        padding: 4px;
        min-width: 26px;
        min-height: 26px;
    }
}

.wait-overlay[b-b01hrzwv44] {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1060;
}
/* /Components/Pages/AcademicAdmin/Stafflist/LinkStudentToParent.razor.rz.scp.css */


/* Container for the student tiles */
.student-tile-list[b-hew5iuqrcu] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

/* Individual student tile */
.student-tile[b-hew5iuqrcu] {
    position: relative;
    display: flex;
    align-items: center;
    padding: 12px;
    border: 1px solid #F3E8FF;
    border-radius: 6px;
    background-color: #fff;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    overflow: visible;
}

    .student-tile:hover[b-hew5iuqrcu] {
        background-color: #F3E8FF;
        border-color: #6A0DAD;
    }

/* Left section: avatar */
.tile-left[b-hew5iuqrcu] {
    width: 48px;
    height: 48px;
    margin-right: 12px;
    flex-shrink: 0;
}

.avatar-image[b-hew5iuqrcu],
.avatar-initials[b-hew5iuqrcu] {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #6A0DAD;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    text-transform: uppercase;
}

.avatar-initials[b-hew5iuqrcu] {
    background-color: #F3E8FF;
    color: #6A0DAD;
}

/* Center section: name and summary */
.tile-center[b-hew5iuqrcu] {
    flex-grow: 1;
}

.student-name[b-hew5iuqrcu] {
    font-weight: bold;
    color: #6A0DAD;
}

.student-summary[b-hew5iuqrcu] {
    font-size: 0.9em;
    color: #5A5A5A;
}

/* Right section: link button and menu */
.tile-wrapper[b-hew5iuqrcu] {
    position: relative;
    flex-shrink: 0;
}

.tile-right[b-hew5iuqrcu] {
    position: relative;
}

.link-btn[b-hew5iuqrcu] {
    background-color: #6A0DAD;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .link-btn:hover[b-hew5iuqrcu] {
        background-color: #5A0CB0;
    }

/* Floating relationship menu */
.relationship-menu[b-hew5iuqrcu] {
    position: absolute;
    top: calc(100% + 6px); /* Default: show below the button */
    right: 0;
    z-index: 1000;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 160px;
    padding: 8px 0;
    white-space: nowrap;
    max-height: 200px;
    overflow-y: auto;
    display: none; /* Hidden by default */
}

/* Show the relationship menu when toggled */
.show-menu[b-hew5iuqrcu] {
    display: block;
}

/* Flip menu above for last tile */
.student-tile:last-child .relationship-menu[b-hew5iuqrcu] {
    top: auto;
    bottom: calc(100% + 6px);
}

/* Relationship options */
.relationship-item[b-hew5iuqrcu] {
    display: block;
    width: 100%;
    padding: 8px 12px;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
}

    .relationship-item:hover[b-hew5iuqrcu] {
        background-color: #F3E8FF;
        color: #6A0DAD;
    }

/* Filter panel styles */
.action-buttons[b-hew5iuqrcu] {
    position: relative;
    display: inline-block;
}

.filter-flyout[b-hew5iuqrcu] {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1000;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 260px;
}

.filter-row[b-hew5iuqrcu] {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
}

    .filter-row label[b-hew5iuqrcu] {
        font-weight: bold;
        margin-bottom: 4px;
    }

.load-btn[b-hew5iuqrcu] {
    padding: 6px 12px;
    background-color: #0078d4;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Miscellaneous */
.wait-overlay[b-hew5iuqrcu] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.search-bar[b-hew5iuqrcu] {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.search-box[b-hew5iuqrcu] {
    flex: 1;
}

.search-btn[b-hew5iuqrcu] {
    min-width: 100px;
}

.link-student-container[b-hew5iuqrcu] {
    padding: 20px;
    margin-top: -30px;
}

.popup-caption[b-hew5iuqrcu] {
    margin-bottom: 10px;
    font-weight: 300;
    color: black;
}
/* /Components/Pages/AcademicAdmin/Stafflist/PositionManagementModal.razor.rz.scp.css */
/* === MODAL BACKDROP & CONTAINER === */
.modal-backdrop[b-0ht5f1nylv] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1040;
    animation: fadeIn-b-0ht5f1nylv 0.2s ease;
}

.modal-container[b-0ht5f1nylv] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    width: 94%;
    max-width: 800px;
    max-height: 88vh;
    overflow-y: auto;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.22);
    z-index: 1050;
    animation: zoomIn-b-0ht5f1nylv 0.3s ease;
    padding: 16px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* === HEADER === */
.modal-header[b-0ht5f1nylv] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

    .modal-header h2[b-0ht5f1nylv] {
        margin: 0;
        font-size: 1.35rem;
        font-weight: 600;
        color: #1a1a1a;
    }

.close-btn[b-0ht5f1nylv] {
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #999;
    padding: 4px;
    line-height: 1;
}

    .close-btn:hover[b-0ht5f1nylv] {
        color: #000;
    }

/* === SUBTITLE === */
.modal-subtitle[b-0ht5f1nylv] {
    color: #555;
    font-size: 0.88rem;
    margin-bottom: 16px;
    line-height: 1.4;
}

/* === DEPARTMENT LIST === */
.department-list[b-0ht5f1nylv] {
    margin-bottom: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #fdfdfd;
}

/* === DEPARTMENT ITEM === */
.department-item[b-0ht5f1nylv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid #f0f0f0;
    min-height: 48px;
    transition: background 0.2s;
}

    .department-item:last-child[b-0ht5f1nylv] {
        border-bottom: none;
    }

    .department-item:hover[b-0ht5f1nylv] {
        background: #f8f9fa;
    }

    .department-item.editing[b-0ht5f1nylv] {
        background: #fff8e6;
        padding: 12px 14px;
    }

/* === INFO === */
.dept-info[b-0ht5f1nylv] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.dept-name[b-0ht5f1nylv] {
    font-weight: 600;
    font-size: 0.95rem;
    color: #2d3748;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tag[b-0ht5f1nylv] {
    background: #dbeafe;
    color: #1e40af;
    padding: 2px 9px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 500;
    white-space: nowrap;
}

/* === ACTIONS === */
.actions[b-0ht5f1nylv] {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-icon[b-0ht5f1nylv] {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: all 0.2s;
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .btn-icon:hover[b-0ht5f1nylv] {
        background: #e2e8f0;
    }

    .btn-icon.edit[b-0ht5f1nylv] {
        color: #2563eb;
    }

    .btn-icon.remove[b-0ht5f1nylv] {
        color: #dc2626;
    }

    .btn-icon.save[b-0ht5f1nylv] {
        color: #16a34a;
    }

    .btn-icon.cancel[b-0ht5f1nylv] {
        color: #64748b;
    }

/* === EDIT ROW === */
.edit-row[b-0ht5f1nylv] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    width: 100%;
}

.input-field[b-0ht5f1nylv] {
    flex: 1;
    min-width: 180px;
}

.date-field[b-0ht5f1nylv] {
    min-width: 130px;
    max-width: 150px;
}

/* === ADD SECTION === */
.add-section[b-0ht5f1nylv] {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
    overflow-x: hidden;
}

    .add-section .input-field[b-0ht5f1nylv] {
        flex: 1;
        min-width: 200px;
    }

    .add-section .date-field[b-0ht5f1nylv] {
        min-width: 130px;
        max-width: 150px;
    }

    .add-section .add-btn[b-0ht5f1nylv] {
        height: 38px;
        min-width: 76px;
        font-size: 0.9rem;
        white-space: nowrap;
    }

/* === ANIMATIONS === */
@keyframes fadeIn-b-0ht5f1nylv {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn-b-0ht5f1nylv {
    from {
        transform: translate(-50%, -50%) scale(0.96);
        opacity: 0;
    }

    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* === MOBILE: GROW TO 80% THEN SCROLL === */
@media (max-width: 768px) {
    .modal-container[b-0ht5f1nylv] {
        width: 96%;
        max-width: none;
        max-height: 80vh; /* Max 80% of screen */
        height: auto; /* Grow with content */
        min-height: 50vh; /* Minimum to avoid tiny modal */
        padding: 14px;
        border-radius: 12px;
        overflow-y: auto; /* Scroll when content exceeds 80vh */
        -webkit-overflow-scrolling: touch;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .modal-header h2[b-0ht5f1nylv] {
        font-size: 1.25rem;
    }

    .modal-subtitle[b-0ht5f1nylv] {
        font-size: 0.85rem;
    }

    .department-item[b-0ht5f1nylv] {
        padding: 10px 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .dept-info[b-0ht5f1nylv] {
        justify-content: space-between;
        width: 100%;
    }

    .dept-name[b-0ht5f1nylv] {
        font-size: 0.92rem;
    }

    .tag[b-0ht5f1nylv] {
        font-size: 0.75rem;
        padding: 2px 8px;
    }

    .actions[b-0ht5f1nylv] {
        justify-content: flex-end;
        width: 100%;
        gap: 6px;
    }

    .btn-icon[b-0ht5f1nylv] {
        font-size: 0.98rem;
        padding: 5px;
        min-width: 28px;
        min-height: 28px;
    }

    /* STACK INPUTS */
    .add-section[b-0ht5f1nylv],
    .edit-row[b-0ht5f1nylv] {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

        .add-section .input-field[b-0ht5f1nylv],
        .add-section .date-field[b-0ht5f1nylv],
        .input-field[b-0ht5f1nylv],
        .date-field[b-0ht5f1nylv] {
            min-width: 100% !important;
            max-width: 100% !important;
        }

        .add-section .add-btn[b-0ht5f1nylv],
        .footer-btn[b-0ht5f1nylv] {
            width: 100%;
        }
}

@media (max-width: 480px) {
    .modal-container[b-0ht5f1nylv] {
        padding: 12px;
        max-height: 80vh;
    }

    .dept-name[b-0ht5f1nylv] {
        font-size: 0.9rem;
    }

    .tag[b-0ht5f1nylv] {
        font-size: 0.72rem;
    }

    .btn-icon[b-0ht5f1nylv] {
        font-size: 0.94rem;
        padding: 4px;
        min-width: 26px;
        min-height: 26px;
    }
}

.wait-overlay[b-0ht5f1nylv] {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1060;
}


.link-btn[b-0ht5f1nylv] {
    color: #22c55e;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}

   
/* /Components/Pages/AcademicAdmin/Stafflist/StaffLinkModal.razor.rz.scp.css */
/* ======================================================= */
/* ROOT VARIABLES                                          */
/* ======================================================= */
:root[b-kg85waa4bd] {
    --primary-color: #007bff;
    --accent-green: #28a745;
    --accent-green-light: #e6f7eb;
    --accent-green-halo: rgba(40, 167, 69, 0.22);
    --text-color: #343a40;
    --text-muted: #6c757d;
    --border-color-default: #c9c9c9;
    --border-color-subtle: #e9ecef;
    --bg-light: #f8f9fa;
}

/* ======================================================= */
/* MODAL BACKDROP                                          */
/* ======================================================= */
.modal-backdrop[b-kg85waa4bd] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.15);
    z-index: 2000;
}

/* ======================================================= */
/* MODAL CONTAINER                                         */
/* ======================================================= */
.modal-container[b-kg85waa4bd] {
    position: fixed;
    inset: 0;
    margin: auto;
    width: 900px;
    max-width: 95vw;
    height: 650px;
    max-height: 90vh;
    background: #fff;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 2010;
}

/* ======================================================= */
/* HEADER                                                  */
/* ======================================================= */
.modal-header[b-kg85waa4bd] {
    padding: 20px;
    border-bottom: 1px solid var(--border-color-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

    .modal-header h2[b-kg85waa4bd] {
        font-size: 1.5rem;
        font-weight: 600;
    }

.close-btn[b-kg85waa4bd] {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-muted);
}

    .close-btn:hover[b-kg85waa4bd] {
        color: var(--text-color);
    }

/* ======================================================= */
/* SUBTITLE                                                */
/* ======================================================= */
.modal-subtitle[b-kg85waa4bd] {
    padding: 12px 20px;
    font-size: .95rem;
    color: var(--text-muted);
    background: #fafafa;
    border-bottom: 1px solid var(--border-color-subtle);
    flex-shrink: 0;
}

/* ======================================================= */
/* SEARCH BOX                                              */
/* ======================================================= */
.staff-search-box[b-kg85waa4bd] {
    padding: 12px 20px;
    flex-shrink: 0;
}

    .staff-search-box .dxbs-textbox.dxbs-input-group[b-kg85waa4bd] {
        border-radius: 8px;
        border: 1px solid var(--border-color-default);
    }

        .staff-search-box .dxbs-textbox.dxbs-input-group:focus-within[b-kg85waa4bd] {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
        }

/* ======================================================= */
/* LIST CONTAINER (THIS FIXES THE ISSUE)                   */
/* ======================================================= */
.search-and-list-container[b-kg85waa4bd] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0; /* 🔥 CRITICAL FIX */
}

/* ======================================================= */
/* STAFF LIST (SCROLLABLE)                                 */
/* ======================================================= */
.linked-staff-vertical-list[b-kg85waa4bd] {
    flex: 1;
    min-height: 0; /* 🔥 REQUIRED FOR SCROLL */
    padding: 15px 20px;
    overflow-y: auto;
}

    /* Scrollbar */
    .linked-staff-vertical-list[b-kg85waa4bd]::-webkit-scrollbar {
        width: 7px;
    }

    .linked-staff-vertical-list[b-kg85waa4bd]::-webkit-scrollbar-thumb {
        background: #cfd4d8;
        border-radius: 10px;
    }

/* ======================================================= */
/* STAFF TILE                                             */
/* ======================================================= */
.staff-tile[b-kg85waa4bd] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    border: 2px solid var(--border-color-default);
    border-radius: 12px;
    background: #fff;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all .25s ease;
}

    .staff-tile:hover:not(.selected)[b-kg85waa4bd] {
        background: #f2f4f5;
    }

    .staff-tile.selected[b-kg85waa4bd] {
        border-color: var(--accent-green);
        background: var(--accent-green-light);
        box-shadow: 0 0 0 4px var(--accent-green-halo);
    }

/* ======================================================= */
/* STAFF IDENTITY                                          */
/* ======================================================= */
.staff-identity[b-kg85waa4bd] {
    display: flex;
    align-items: center;
    gap: 18px;
}

.staff-photo[b-kg85waa4bd] {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #0C5CA7;
    display: flex;
    justify-content: center;
    align-items: center;
}

.user-initials[b-kg85waa4bd] {
    color: #fff;
    font-weight: 700;
    font-size: 1.3rem;
}

.staff-name[b-kg85waa4bd] {
    font-weight: 700;
    color: var(--text-color);
    text-transform: uppercase;
}

/* ======================================================= */
/* ACCESS CONTROLS                                         */
/* ======================================================= */
.tile-access-controls[b-kg85waa4bd] {
    display: flex;
    gap: 25px;
    border-left: 1px solid #b9b9b9;
    padding-left: 25px;
}

.control-switch[b-kg85waa4bd] {
    min-width: 120px;
}

/* ======================================================= */
/* MOBILE FIXES                                            */
/* ======================================================= */
@media (max-width: 768px) {

    .modal-container[b-kg85waa4bd] {
        width: 95vw;
        height: 82vh;
        border-radius: 16px;
    }

    .staff-tile[b-kg85waa4bd] {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .tile-access-controls[b-kg85waa4bd] {
        width: 100%;
        border-left: none;
        padding-left: 0;
        flex-wrap: wrap;
        margin-top: 10px;
    }
}
/* /Components/Pages/AcademicAdmin/Stafflist/StaffList.razor.rz.scp.css */
/* /Components/Pages/AcademicAdmin/Stafflist/SubjectAssignmentModal.razor.rz.scp.css */
/* === MODAL BACKDROP & CONTAINER === */
.modal-backdrop[b-j3yw3j7vpt] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1040;
    animation: fadeIn-b-j3yw3j7vpt 0.2s ease;
}

.modal-container[b-j3yw3j7vpt] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    width: 94%;
    max-width: 800px;
    max-height: 88vh;
    overflow-y: auto;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.22);
    z-index: 1050;
    animation: zoomIn-b-j3yw3j7vpt 0.3s ease;
    padding: 16px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* === HEADER === */
.modal-header[b-j3yw3j7vpt] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

    .modal-header h2[b-j3yw3j7vpt] {
        margin: 0;
        font-size: 1.35rem;
        font-weight: 600;
        color: #1a1a1a;
    }

.close-btn[b-j3yw3j7vpt] {
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #999;
    padding: 4px;
    line-height: 1;
}

    .close-btn:hover[b-j3yw3j7vpt] {
        color: #000;
    }

/* === SUBTITLE === */
.modal-subtitle[b-j3yw3j7vpt] {
    color: #555;
    font-size: 0.88rem;
    margin-bottom: 16px;
    line-height: 1.4;
}

/* === ADD SECTION – 2 ROWS: 3 + 2 === */
.add-section[b-j3yw3j7vpt] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
    margin-bottom: 20px;
    align-items: end;
}

    /* Top Row: Class, Session, Term */
    .add-section > .dx-field:nth-child(1)[b-j3yw3j7vpt],
    .add-section > .dx-field:nth-child(2)[b-j3yw3j7vpt],
    .add-section > .dx-field:nth-child(3)[b-j3yw3j7vpt] {
        grid-column: span 1;
    }

    /* Bottom Row: Subject (2 cols), Role (1 col) */
    .add-section > .dx-field:nth-child(4)[b-j3yw3j7vpt] {
        grid-column: 1 / 3; /* Subject takes 2 columns */
    }

    .add-section > .dx-field:nth-child(5)[b-j3yw3j7vpt] {
        grid-column: 3 / 4; /* Role takes 1 column */
    }

    /* Button: Full width below */
    .add-section > .dx-field:last-child[b-j3yw3j7vpt] {
        grid-column: 1 / -1;
        margin-top: 8px;
    }

/* === MOBILE: STACK ALL VERTICALLY === */
@media (max-width: 768px) {
    .add-section[b-j3yw3j7vpt] {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, auto);
        gap: 10px;
    }

        .add-section > .dx-field[b-j3yw3j7vpt] {
            grid-column: 1 / -1 !important;
        }

            .add-section > .dx-field:last-child[b-j3yw3j7vpt] {
                margin-top: 10px;
            }
}
/* === LIST CONTAINER === */
.department-list[b-j3yw3j7vpt] {
    margin-bottom: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #fdfdfd;
}

/* === LIST ITEM === */
.department-item[b-j3yw3j7vpt] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid #f0f0f0;
    min-height: 48px;
    transition: background 0.2s;
}

    .department-item:last-child[b-j3yw3j7vpt] {
        border-bottom: none;
    }

    .department-item:hover[b-j3yw3j7vpt] {
        background: #f8f9fa;
    }

    .department-item.editing[b-j3yw3j7vpt] {
        background: #fff8e6;
        padding: 12px 14px;
    }

/* === INFO === */
.dept-info[b-j3yw3j7vpt] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    flex-wrap: wrap;
}

.dept-name[b-j3yw3j7vpt] {
    font-weight: 600;
    font-size: 0.95rem;
    color: #2d3748;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tag[b-j3yw3j7vpt] {
    background: #dbeafe;
    color: #1e40af;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

    .tag.role-tag[b-j3yw3j7vpt] {
        background: #d1fae5;
        color: #065f46;
    }

/* === ACTIONS === */
.actions[b-j3yw3j7vpt] {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-icon[b-j3yw3j7vpt] {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: all 0.2s;
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .btn-icon:hover[b-j3yw3j7vpt] {
        background: #e2e8f0;
    }

    .btn-icon.edit[b-j3yw3j7vpt] {
        color: #2563eb;
    }

    .btn-icon.remove[b-j3yw3j7vpt] {
        color: #dc2626;
    }

    .btn-icon.save[b-j3yw3j7vpt] {
        color: #16a34a;
    }

    .btn-icon.cancel[b-j3yw3j7vpt] {
        color: #64748b;
    }

/* === EDIT ROW === */
.edit-row[b-j3yw3j7vpt] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    width: 100%;
}

.input-field[b-j3yw3j7vpt] {
    flex: 1;
    min-width: 180px;
}

.date-field[b-j3yw3j7vpt] {
    min-width: 130px;
    max-width: 150px;
}

/* === ANIMATIONS === */
@keyframes fadeIn-b-j3yw3j7vpt {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn-b-j3yw3j7vpt {
    from {
        transform: translate(-50%, -50%) scale(0.96);
        opacity: 0;
    }

    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* === MOBILE: 80vh MAX + AUTO GROW + SCROLL === */
@media (max-width: 768px) {
    .modal-container[b-j3yw3j7vpt] {
        width: 96%;
        max-width: none;
        max-height: 80vh;
        height: auto;
        min-height: 50vh;
        padding: 14px;
        border-radius: 12px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .modal-header h2[b-j3yw3j7vpt] {
        font-size: 1.25rem;
    }

    .modal-subtitle[b-j3yw3j7vpt] {
        font-size: 0.85rem;
    }

    .department-item[b-j3yw3j7vpt] {
        padding: 10px 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .dept-info[b-j3yw3j7vpt] {
        justify-content: space-between;
        width: 100%;
    }

    .dept-name[b-j3yw3j7vpt] {
        font-size: 0.92rem;
    }

    .tag[b-j3yw3j7vpt] {
        font-size: 0.72rem;
        padding: 2px 7px;
    }

    .actions[b-j3yw3j7vpt] {
        justify-content: flex-end;
        width: 100%;
        gap: 6px;
    }

    .btn-icon[b-j3yw3j7vpt] {
        font-size: 0.98rem;
        padding: 5px;
        min-width: 28px;
        min-height: 28px;
    }

    /* STACK INPUTS */
    .add-section[b-j3yw3j7vpt],
    .edit-row[b-j3yw3j7vpt] {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

        .add-section .input-field[b-j3yw3j7vpt],
        .input-field[b-j3yw3j7vpt],
        .date-field[b-j3yw3j7vpt] {
            min-width: 100% !important;
            max-width: 100% !important;
        }

        .add-section .add-btn[b-j3yw3j7vpt] {
            width: 100%;
        }
}

@media (max-width: 480px) {
    .modal-container[b-j3yw3j7vpt] {
        padding: 12px;
    }

    .dept-name[b-j3yw3j7vpt] {
        font-size: 0.9rem;
    }

    .tag[b-j3yw3j7vpt] {
        font-size: 0.7rem;
    }

    .btn-icon[b-j3yw3j7vpt] {
        font-size: 0.94rem;
        padding: 4px;
        min-width: 26px;
        min-height: 26px;
    }
}

/* === WAIT OVERLAY === */
.wait-overlay[b-j3yw3j7vpt] {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1060;
}

.list-filter-header[b-j3yw3j7vpt] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 8px;
    border-radius: 6px 6px 0 0;
}

.filter-title[b-j3yw3j7vpt] {
    font-size: 13px;
    font-weight: 600;
    color: #495057;
    margin-right: 4px;
}

.filter-combo[b-j3yw3j7vpt] {
    width: 140px;
    min-width: 140px;
}

    .filter-combo[b-j3yw3j7vpt]  .dxbs-combobox {
        height: 32px;
        font-size: 13px;
    }

.assignment-count[b-j3yw3j7vpt] {
    font-size: 12px;
    color: #6c757d;
    margin-left: auto;
    font-weight: 500;
}

.empty-state[b-j3yw3j7vpt] {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
    font-style: italic;
}
/* /Components/Pages/AcademicAdmin/Stafflist/TeacherToggleModal.razor.rz.scp.css */
/* === MODAL BACKDROP & CONTAINER === */
.modal-backdrop[b-qm33y3l6rx] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1040;
    animation: fadeIn-b-qm33y3l6rx 0.2s ease;
}

.modal-container[b-qm33y3l6rx] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    width: 94%;
    max-width: 400px;
    max-height: 88vh;
    overflow-y: auto;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.22);
    z-index: 1050;
    animation: zoomIn 0.3s ease;
    padding: 16px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}


/* ANIMATIONS */
@keyframes fadeIn-b-qm33y3l6rx {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn-b-qm33y3l6rx {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.92);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}


/* === HEADER === */
.modal-header[b-qm33y3l6rx] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

    .modal-header h2[b-qm33y3l6rx] {
        margin: 0;
        font-size: 1.35rem;
        font-weight: 600;
        color: #1a1a1a;
    }

.close-btn[b-qm33y3l6rx] {
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #999;
    padding: 4px;
    line-height: 1;
}


    .close-btn:hover[b-qm33y3l6rx] {
        opacity: 1;
    }

.modal-body[b-qm33y3l6rx] {
    padding: 22px;
}

.staff-info strong[b-qm33y3l6rx] {
    display: block;
    font-size: 1.1rem;
    color: #111;
}

.staff-info p[b-qm33y3l6rx] {
    margin: 4px 0 20px;
    color: #555;
    font-size: 0.9rem;
}

.toggle-wrapper[b-qm33y3l6rx] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f5f6f8;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid #e6e6e6;
}

.switch-label[b-qm33y3l6rx] {
    font-weight: 500;
    color: #333;
}

.status-note[b-qm33y3l6rx] {
    text-align: center;
    font-size: 0.85rem;
    color: #333;
}

.wait-overlay[b-qm33y3l6rx] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}


.big-switch .e-switch-inner[b-qm33y3l6rx] {
    height: 30px !important;
}

.big-switch .e-switch-handle[b-qm33y3l6rx] {
    height: 26px !important;
    width: 26px !important;
}
/* /Components/Pages/AcademicTreasury/DailyReport/Dailyreport.razor.rz.scp.css */
/* === Daily Report Page Layout === */
.daily-report-wrapper[b-ykz4i9rp3p] {
    background-color: #f5f7fb;
    min-height: 100vh;
    width: 100%;
    padding: 24px;
    box-sizing: border-box;
    font-family: "Segoe UI", Roboto, sans-serif;
    color: #333;
}

/* Default mobile margin */
.daily-report-wrapper[b-ykz4i9rp3p] {
    margin-top: 5px;
    transition: margin-top 0.3s ease;
}


.header[b-ykz4i9rp3p] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

    .header i[b-ykz4i9rp3p] {
        font-size: 24px;
        color: #2E5AAC;
    }

    .header h1[b-ykz4i9rp3p] {
        font-size: 24px;
        font-weight: 600;
        color: #2a3f64;
        margin: 0;
    }

.report-description[b-ykz4i9rp3p] {
    font-size: 14px;
    color: #555;
    margin-bottom: 24px;
}


.fee-report-wrapper[b-ykz4i9rp3p] {
    background-color: #f5f7fb;
    min-height: 100vh;
    width: 100%;
    padding: 24px;
    box-sizing: border-box;
    font-family: "Segoe UI", Roboto, sans-serif;
    color: #333;
}

.header[b-ykz4i9rp3p] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

    .header i[b-ykz4i9rp3p] {
        font-size: 24px;
        color: #2E5AAC;
    }

    .header h1[b-ykz4i9rp3p] {
        font-size: 24px;
        font-weight: 600;
        color: #2a3f64;
        margin: 0;
    }

.report-description[b-ykz4i9rp3p] {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}


.report-filter-container[b-ykz4i9rp3p] {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    padding: 12px 18px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.filter-label[b-ykz4i9rp3p] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #2a3f64;
    white-space: nowrap;
}

    .filter-label i[b-ykz4i9rp3p] {
        color: #2E5AAC;
        font-size: 16px;
    }

.filter-buttons[b-ykz4i9rp3p] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn[b-ykz4i9rp3p] {
    font-weight: 500;
    min-width: 90px;
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 6px;
}

.custom-date-filter[b-ykz4i9rp3p] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    width: 220px;
}

.load-btn[b-ykz4i9rp3p] {
    align-self: flex-end;
}





.summary-cards[b-ykz4i9rp3p] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

/* === Individual Cards === */
.summary-card[b-ykz4i9rp3p] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    font-size: 0.9rem;
    flex: 1;
    box-sizing: border-box;
}

    .summary-card i[b-ykz4i9rp3p] {
        color: #1a3c8b;
        font-size: 1.2rem;
    }

.school-fee[b-ykz4i9rp3p] {
    background: #e6f0ff;
}

.other-fee[b-ykz4i9rp3p] {
    background: #fff5e6;
}

.total-amount[b-ykz4i9rp3p] {
    background: #e9f8ef;
}

.summary-value[b-ykz4i9rp3p] {
    font-weight: 700;
    font-size: 1rem;
}

.summary-note[b-ykz4i9rp3p] {
    font-size: 0.8rem;
    color: #444;
}

/* === 📱 Mobile View: Balanced Grid === */
@media (max-width: 768px) {
    .summary-cards[b-ykz4i9rp3p] {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Two equal columns */
        grid-template-areas:
            "total school"
            "other other";
        gap: 8px;
    }

    .total-amount[b-ykz4i9rp3p] {
        grid-area: total;
    }

    .school-fee[b-ykz4i9rp3p] {
        grid-area: school;
    }

    .other-fee[b-ykz4i9rp3p] {
        grid-area: other;
    }

    .summary-card[b-ykz4i9rp3p] {
        padding: 8px 10px;
        font-size: 0.85rem;
    }

        .summary-card i[b-ykz4i9rp3p] {
            font-size: 1rem;
        }
}



.payment-summary[b-ykz4i9rp3p] {
    background: #f8faff;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    padding: 16px 20px;
    margin-top: 16px;
}

.payment-summary-title[b-ykz4i9rp3p] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #2a3f64;
    margin-bottom: 12px;
}

    .payment-summary-title i[b-ykz4i9rp3p] {
        color: #1a3c8b;
        font-size: 16px;
    }

/* === Bank List === */
.payment-summary-list[b-ykz4i9rp3p] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.payment-item[b-ykz4i9rp3p] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    padding: 10px 14px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.bank-name[b-ykz4i9rp3p] {
    font-weight: 500;
    color: #2a3f64;
}

.bank-amount[b-ykz4i9rp3p] {
    font-weight: 700;
    color: #1a3c8b;
}

/* 📱 Mobile Optimization */
@media (max-width: 768px) {
    .payment-summary[b-ykz4i9rp3p] {
        padding: 12px 14px;
    }

    .payment-item[b-ykz4i9rp3p] {
        padding: 8px 10px;
        font-size: 0.9rem;
    }

    .payment-summary-title[b-ykz4i9rp3p] {
        font-size: 14px;
    }
}



/* === Report Panel === */
.report-panel[b-ykz4i9rp3p] {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 16px 20px;
    margin-top: 18px;
    width: 100%;
}

/* === Header Layout === */
.report-panel-header[b-ykz4i9rp3p] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

/* === Search Box (Left) === */
.report-search[b-ykz4i9rp3p] {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.search-box[b-ykz4i9rp3p] {
    width: 240px;
    max-width: 100%;
}

/* === Toggle Buttons (Right) === */
.view-toggle[b-ykz4i9rp3p] {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    align-items: center;
}

.toggle-btn[b-ykz4i9rp3p] {
    font-weight: 500;
    min-width: 100px;
    transition: all 0.2s ease-in-out;
}

/* === Body === */
.report-panel-body[b-ykz4i9rp3p] {
    padding: 10px;
    border-top: 1px solid #e6e9f0;
}

/* === Hover/Active States for Buttons === */
.toggle-btn:hover[b-ykz4i9rp3p] {
    transform: translateY(-1px);
}

/* === Responsive (Mobile / Tablet) === */
@media (max-width: 768px) {
    .report-panel[b-ykz4i9rp3p] {
        padding: 12px 14px;
    }

    .report-panel-header[b-ykz4i9rp3p] {
        flex-direction: column;
        align-items: flex-start; /* ✅ ensures left alignment on mobile */
        gap: 10px;
    }

    .report-search[b-ykz4i9rp3p] {
        justify-content: flex-start;
        width: 100%;
    }

    .view-toggle[b-ykz4i9rp3p] {
        justify-content: flex-start; /* ✅ left aligned */
        width: 100%;
        margin-top: 4px;
        gap: 6px;
    }

    .toggle-btn[b-ykz4i9rp3p] {
        min-width: 90px;
    }

    .search-box[b-ykz4i9rp3p] {
        width: 100%;
    }
}




/* === Student List View === */
.student-list-view[b-ykz4i9rp3p] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

/* === Student Tile === */
.student-tile[b-ykz4i9rp3p] {
    display: grid;
    grid-template-columns: 1fr auto 1fr; /* Left - Center - Right */
    align-items: center;
    background: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    padding: 14px 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s ease-in-out;
}

    .student-tile:hover[b-ykz4i9rp3p] {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    }

/* === Left Section === */
.student-info[b-ykz4i9rp3p] {
    justify-self: start;
}

.student-name[b-ykz4i9rp3p] {
    font-size: 15px;
    font-weight: 600;
    color: #2E5AAC;
    margin: 0;
}

.fee-type[b-ykz4i9rp3p] {
    color: #7a7f8a;
    font-weight: 500;
}

.student-details[b-ykz4i9rp3p] {
    font-size: 13px;
    color: #7a7f8a;
    margin-top: 2px;
}

/* === Center Section (Amount + Method) === */
.student-middle[b-ykz4i9rp3p] {
    justify-self: center;
    text-align: center;
}

.amount[b-ykz4i9rp3p] {
    font-size: 16px;
    font-weight: 700;
    color: #00996d; /* strong teal color */
}

.payment-method[b-ykz4i9rp3p] {
    font-size: 12px;
    color: #7a7f8a;
}

/* === Right Section (Date) === */
.student-right[b-ykz4i9rp3p] {
    justify-self: end;
    text-align: right;
}

.payment-date[b-ykz4i9rp3p] {
    font-size: 13px;
    color: #555;
}


@media (max-width: 768px) {
    .student-tile[b-ykz4i9rp3p] {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 14px 16px;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
        border: 1px solid #e2e8f0;
        margin-bottom: 12px;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    .student-info[b-ykz4i9rp3p] {
        width: 100%;
    }

    .student-name[b-ykz4i9rp3p] {
        font-size: 17px;
        font-weight: 600;
        color: #1a202c;
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        align-items: center;
    }

    .fee-type[b-ykz4i9rp3p] {
        font-weight: 500;
        color: #5a67d8;
        font-size: 14px;
    }

    .student-details[b-ykz4i9rp3p] {
        font-size: 13.5px;
        color: #718096;
        margin: 4px 0 0;
    }

    /* Middle: Amount + Payment Date */
    .student-middle[b-ykz4i9rp3p] {
        display: flex;
        justify-content: space-between;
        align-items: center; /* <-- centers vertically */
        width: 100%;
        padding-top: 10px;
        border-top: 1px dashed #e2e8f0;
        margin-top: 6px;
    }

    /* Left: Amount + Method */
    .amount-section[b-ykz4i9rp3p] {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .amount[b-ykz4i9rp3p] {
        font-size: 20px;
        font-weight: 700;
        color: #16a34a;
        margin: 0;
        line-height: 1.2;
    }

    .payment-method[b-ykz4i9rp3p] {
        font-weight: 500;
        color: #718096;
        font-size: 12.5px;
    }

    /* Right: Payment Date (vertically centered with amount) */
    .payment-date[b-ykz4i9rp3p] {
        font-size: 13px;
        font-weight: 500;
        color: #2d3748;
        padding: 6px 12px;
        border-radius: 20px;
        white-space: nowrap;
        align-self: center; /* centers with amount-section */
        margin: 0;
    }
}

.load-more-container[b-ykz4i9rp3p] {
    display: block;
}

.load-more-btn[b-ykz4i9rp3p] {
    visibility: visible;
}

.pager-control[b-ykz4i9rp3p] {
    margin-top: 20px;
    text-align: center;
}



.wait-overlay[b-ykz4i9rp3p] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}


.report-search[b-ykz4i9rp3p] {
    display: flex;
    align-items: center;
    gap: 10px; /* 👈 creates space between items */
 
}

.search-box[b-ykz4i9rp3p] {
    flex: 1; /* 👈 makes the search box take available space */
}

.print-btn[b-ykz4i9rp3p] {
    margin-left: 8px; /* 👈 extra manual space if you want more gap */
}

/* /Components/Pages/AcademicTreasury/DefaultersList/PaymentDefaultersReport.razor.rz.scp.css */
/* /Components/Pages/AcademicTreasury/ExpensesReport/ExpensesReport.razor.rz.scp.css */
/* /Components/Pages/AcademicTreasury/Other_Report/OtherPaymentRrt.razor.rz.scp.css */
/* /Components/Pages/AcademicTreasury/PaymentPortal/ContactLedger.razor.rz.scp.css */
/* === Layout & Scroll === */
.scroll-wrapper[b-14ulduzdev] {
    overflow-y: auto;
    max-height: 100vh;
    padding: 16px;
    padding-bottom: 120px;
    box-sizing: border-box;
}

/* === Children List === */
.children-list[b-14ulduzdev] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
}

/* === Learner Tile === */
.tile-container[b-14ulduzdev] {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    transition: background-color 0.3s ease;
}

    .tile-container:hover[b-14ulduzdev] {
        background-color: #ede7f6;
    }

.tile-left[b-14ulduzdev] {
    margin-right: 12px;
}

.avatar-circle[b-14ulduzdev] {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #7e57c2;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.avatar-img[b-14ulduzdev] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.tile-center h4[b-14ulduzdev] {
    margin: 0;
    font-size: 1rem;
    color: #333;
}

.financial-row[b-14ulduzdev] {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 6px;
    font-size: 0.85rem;
    color: #444;
}

@media (max-width: 480px) {
    .financial-row[b-14ulduzdev] {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

.tile-action[b-14ulduzdev] {
    margin-left: auto;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.tile-container:hover .tile-action[b-14ulduzdev] {
    opacity: 1;
    transform: translateX(0);
}

.ledger-button[b-14ulduzdev] {
    background: none;
    border: none;
    color: #7e57c2;
    font-size: 1.2rem;
    cursor: pointer;
}

/* === Profile Card === */
.profile-card[b-14ulduzdev] {
    text-align: center;
    padding: 16px;
    font-family: 'Segoe UI', sans-serif;
}

.profile-image[b-14ulduzdev] {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: auto;
    overflow: hidden;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

    .profile-image img[b-14ulduzdev] {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.profile-placeholder[b-14ulduzdev] {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    background-color: #999;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-name[b-14ulduzdev] {
    margin-top: 12px;
    font-size: 18px;
    font-weight: 600;
    color: #2a3f64;
    text-transform: uppercase;
}

.profile-meta[b-14ulduzdev] {
    margin-top: 4px;
    font-size: 13px;
    color: #666;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.profile-header[b-14ulduzdev] {
    text-align: left;
    margin-bottom: 5px;
    padding-top: 8px;
    padding-left: 12px;
}

    .profile-header h2[b-14ulduzdev] {
        font-size: 18px;
        font-weight: 600;
        color: #2a3f64;
        margin-bottom: 2px;
    }

    .profile-header p[b-14ulduzdev] {
        font-size: 16px;
        color: #666;
        margin: 0;
    }

/* === Tab Icons === */
.tabs-icon[b-14ulduzdev] {
    width: var(--dxbl-icon-width);
    height: var(--dxbl-icon-height);
    min-width: var(--dxbl-icon-width);
    min-height: var(--dxbl-icon-height);
    background-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    background-position: center center;
    background-color: currentColor;
}

.tabs-icon-home[b-14ulduzdev] {
    mask-image: var(--dxbl-tabs-icon-home);
    -webkit-mask-image: var(--dxbl-tabs-icon-home);
}

.tabs-icon-support[b-14ulduzdev] {
    mask-image: var(--dxbl-tabs-icon-support);
    -webkit-mask-image: var(--dxbl-tabs-icon-support);
}

.tabs-icon-products[b-14ulduzdev] {
    mask-image: var(--dxbl-tabs-icon-products);
    -webkit-mask-image: var(--dxbl-tabs-icon-products);
}

/* === Summary Tiles === */
.summary-tiles[b-14ulduzdev] {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 16px;
    padding: 0 16px;
}

.tile[b-14ulduzdev] {
    flex: 1 1 140px;
    padding: 10px;
    border-radius: 8px;
    background-color: #f5f5f5;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

    .tile h3[b-14ulduzdev] {
        margin-bottom: 6px;
        font-size: 0.95rem;
        color: #333;
    }

    .tile p[b-14ulduzdev] {
        font-size: 0.9rem;
        margin: 0;
    }

    .tile.total[b-14ulduzdev] {
        background-color: #e0f7fa;
    }

    .tile.paid[b-14ulduzdev] {
        background-color: #e8f5e9;
    }

    .tile.remaining[b-14ulduzdev] {
        background-color: #fff3e0;
    }

@media (min-width: 768px) {
    .tile[b-14ulduzdev] {
        flex: 1 1 200px;
        padding: 16px;
    }

        .tile h3[b-14ulduzdev] {
            font-size: 1.1rem;
        }

        .tile p[b-14ulduzdev] {
            font-size: 1rem;
        }
}

/* === Center Wrapper === */


.cw-480[b-14ulduzdev] {
    max-width: 480px;
    margin: 0 auto;
    padding: 1rem;
    overflow-y: auto;
    height: auto;
}

.payment-history-tab[b-14ulduzdev] {
    padding: 16px;
}

.search-box[b-14ulduzdev] {
    margin-bottom: 20px; /* Add spacing below the search box */
    width: 100%;
    max-width: 400px;
}

.payment-history[b-14ulduzdev] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 10px;
}

.payment-tile[b-14ulduzdev] {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.tile-header[b-14ulduzdev] {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 6px;
    color: #2c3e50;
}

.student-name[b-14ulduzdev] {
    font-size: 1.05rem;
    color: #34495e;
}

.tile-body .row[b-14ulduzdev] {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
    font-size: 0.95rem;
    flex-wrap: wrap;
}

.label[b-14ulduzdev] {
    font-weight: 600;
    color: #555;
    margin-right: 8px;
}

.value[b-14ulduzdev] {
    color: #333;
    flex: 1;
    text-align: right;
}

.no-history[b-14ulduzdev] {
    font-style: italic;
    color: #999;
    padding: 12px;
}

.row[b-14ulduzdev] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}



.label[b-14ulduzdev] {
    font-weight: 600;
    color: #555;
    min-width: 100px;
}

.row[b-14ulduzdev] {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.value2[b-14ulduzdev] {
    color: #333;
    flex: 1;
    text-align: left;
}

/* === Profile Image Container === */
.profile-image-container[b-14ulduzdev] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

/* === Refresh Button === */
.refresh-button[b-14ulduzdev] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.refresh-button i[b-14ulduzdev] {
    font-size: 1.1rem;
}

.refresh-button:hover[b-14ulduzdev] {
    background-color: #f0f0f0;
}




/* === Centered Popup Overlay === */
.center-popup-overlay[b-14ulduzdev] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0; /* Remove padding to avoid offset */
}

/* === Popup Container === */
.center-popup[b-14ulduzdev] {
    background-color: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    height: 80vh; /* ✅ Fixed height */
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: fadeIn-b-14ulduzdev 0.3s ease-out;
}

/* === Popup Content === */
.center-popup-content[b-14ulduzdev] {
    padding: 16px;
    overflow-y: auto;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 0; /* ✅ Prevent flex overflow */
}

/* === Header and Close Button === */
.center-popup-header[b-14ulduzdev] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.close-button[b-14ulduzdev] {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

/* === Animation === */
@keyframes fadeIn-b-14ulduzdev {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* === Mobile Styles === */
@media (max-width: 480px) {
    .center-popup-overlay[b-14ulduzdev] {
        align-items: center;
        justify-content: center;
    }

    .center-popup[b-14ulduzdev] {
        width: 100%;
        max-width: none;
        height: 95vh;
        border-radius: 0;
    }

    .center-popup-content[b-14ulduzdev] {
        padding: 20px 16px;
        gap: 20px;
        overflow-y: auto;
        flex: 1 1 auto;
        min-height: 0;
    }
}





.payment-tile[b-14ulduzdev] {
    position: relative;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    margin-bottom: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
}

.payment-tile:hover[b-14ulduzdev] {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.payment-tile.blurred[b-14ulduzdev] {
    filter: blur(2px);
    opacity: 0.5;
    pointer-events: none;
    transition: filter 0.3s ease, opacity 0.5s ease;
}

.delete-button[b-14ulduzdev] {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 18px;
    color: #c00;
    cursor: pointer;
    box-shadow: none;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1;
}

.payment-tile:hover .delete-button[b-14ulduzdev] {
    opacity: 1;
    pointer-events: auto;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    background-color: #f9f9f9;
    transform: translateY(-50%) scale(1.05);
}

.delete-button i[b-14ulduzdev] {
    pointer-events: none;
}


.wait-overlay[b-14ulduzdev] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}



.tile-action-button[b-14ulduzdev] {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background-color: #fff;
    border: none;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    color: #007bff;
    cursor: pointer;
    padding: 6px 10px;
    display: none;
    transition: all 0.2s ease;
}

.invoice-history-tile:hover .tile-action-button[b-14ulduzdev] {
    display: block;
}




.invoice-history-tab[b-14ulduzdev] {
    padding: 16px;
}

.invoice-search-box[b-14ulduzdev] {
    width: 100%;
    margin-bottom: 16px;
}

.invoice-history-list[b-14ulduzdev] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.invoice-history-tile[b-14ulduzdev] {
    background-color: #fff;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: box-shadow 0.3s ease;
}

    .invoice-history-tile:hover[b-14ulduzdev] {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

.tile-header[b-14ulduzdev] {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.tile-body .row[b-14ulduzdev] {
    margin-bottom: 6px;
}

.details[b-14ulduzdev] {
    font-size: 0.95rem;
    color: #555;
}


.tile-action-button i[b-14ulduzdev] {
    font-size: 1rem;
}

.no-invoice-history[b-14ulduzdev] {
    text-align: center;
    font-style: italic;
    color: #888;
    margin-top: 24px;
}
.invoice-search-wrapper[b-14ulduzdev] {
    margin-bottom: 16px;
}
/* /Components/Pages/AcademicTreasury/PaymentPortal/StudentLedger.razor.rz.scp.css */
/* /Components/Pages/AcademicTreasury/PaymentSummaryReport/PaymentReport.razor.rz.scp.css */
/* /Components/Pages/Dashboard/DashboardLayout.razor.rz.scp.css */
/* /Components/Pages/LoginPage/LoginPage.razor.rz.scp.css */

/* /Components/Pages/MyClassRoom/Attendance/Attendance.razor.rz.scp.css */
body[b-qwy6l26i08] {
    font-family: 'Inter', sans-serif;
}

.custom-scrollbar[b-qwy6l26i08]::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar[b-qwy6l26i08]::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.custom-scrollbar[b-qwy6l26i08]::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}

    .custom-scrollbar[b-qwy6l26i08]::-webkit-scrollbar-thumb:hover {
        background: #cbd5e1;
    }

[type="date"][b-qwy6l26i08]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
}

.animate-in[b-qwy6l26i08] {
    animation: slideIn-b-qwy6l26i08 0.3s ease-out forwards;
}

@keyframes slideIn-b-qwy6l26i08 {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes progress-short-b-qwy6l26i08 {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

.animate-progress-short[b-qwy6l26i08] {
    animation: progress-short-b-qwy6l26i08 1s linear forwards;
}

.wait-overlay[b-qwy6l26i08] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(1px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
/* /Components/Pages/MyClassRoom/Timetable/EventTimeTable.razor.rz.scp.css */

body[b-zpkz1myd8v] {
    background-color: var(--bg-main);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #1e293b;
}

/* Layout Grids */
.timetable-grid[b-zpkz1myd8v] {
    display: grid;
    grid-template-columns: 100px repeat(5, 1fr);
    gap: 1px;
    background-color: #e2e8f0;
    border: 1px solid #e2e8f0;
}

.monthly-grid[b-zpkz1myd8v] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background-color: #e2e8f0;
    border: 1px solid #e2e8f0;
}

.grid-header[b-zpkz1myd8v] {
    background-color: #f8fafc;
    padding: 16px;
    text-align: center;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
}

.time-slot[b-zpkz1myd8v] {
    background-color: #fff;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #94a3b8;
    border-bottom: 1px solid #f1f5f9;
}

.course-block[b-zpkz1myd8v] {
    background-color: #fff;
    min-height: 100px;
    padding: 6px;
    position: relative;
    border-bottom: 1px solid #f1f5f9;
}

.month-cell[b-zpkz1myd8v] {
    background-color: #fff;
    min-height: 100px;
    padding: 8px;
}

/* Card Styles */
.event-card[b-zpkz1myd8v] {
    border-radius: 10px;
    padding: 10px;
    font-size: 0.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid transparent;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

    .event-card:hover[b-zpkz1myd8v] {
        transform: translateY(-2px);
        z-index: 10;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

.event-class[b-zpkz1myd8v] {
    background: #eff6ff;
    color: #1e40af;
    border-color: #bfdbfe;
}

.event-exam[b-zpkz1myd8v] {
    background: #fff1f2;
    color: #9f1239;
    border-color: #fecdd3;
}

.event-activity[b-zpkz1myd8v] {
    background: #f0fdf4;
    color: #166534;
    border-color: #bbf7d0;
}

.event-break[b-zpkz1myd8v] {
    background: #f8fafc;
    color: #64748b;
    border: 1px dashed #cbd5e1;
}

.conflict-warning[b-zpkz1myd8v] {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    border: 2px solid white;
    animation: pulse-b-zpkz1myd8v 2s infinite;
}

@keyframes pulse-b-zpkz1myd8v {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.view-btn.active[b-zpkz1myd8v] {
    background-color: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    color: #1e293b;
}

.ai-badge[b-zpkz1myd8v] {
    background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
    color: white;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

select[b-zpkz1myd8v] {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.2em 1.2em;
}




.wait-overlay[b-zpkz1myd8v] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(1px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Hide the print area on screen */
.print-only[b-zpkz1myd8v] {
    display: none;
}


.print-agenda-container[b-zpkz1myd8v] {
    display: none;
}

@media print {
    body *[b-zpkz1myd8v] {
        visibility: hidden;
    }

    #printable-agenda[b-zpkz1myd8v], #printable-agenda *[b-zpkz1myd8v] {
        visibility: visible;
    }

    #printable-agenda[b-zpkz1myd8v] {
        display: block !important;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        background: white !important;
        color: black !important;
    }

    .print-header[b-zpkz1myd8v] {
        border-bottom: 3px solid black;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }

        .print-header h1[b-zpkz1myd8v] {
            font-size: 24pt;
            font-weight: bold;
            margin: 0;
        }

        .print-header p[b-zpkz1myd8v] {
            font-size: 12pt;
            color: black;
        }

    @page {
        size: A4 landscape;
        margin: 8mm;
    }

    .unified-print-table[b-zpkz1myd8v] {
        width: 100%;
        border-collapse: collapse;
        table-layout: fixed;
        border: 2px solid black;
    }

        .unified-print-table th[b-zpkz1myd8v], .unified-print-table td[b-zpkz1myd8v] {
            border: 1px solid black;
            vertical-align: top;
            padding: 4px;
            background: transparent !important;
        }

    .time-header[b-zpkz1myd8v], .time-cell[b-zpkz1myd8v] {
        width: 75px;
        font-weight: bold;
        font-size: 9pt;
        text-align: center;
    }

    .day-label[b-zpkz1myd8v] {
        font-size: 11pt;
        font-weight: bold;
    }

    .date-label[b-zpkz1myd8v] {
        font-size: 8pt;
    }
    /* B&W Card Styling */
    .print-card-bw[b-zpkz1myd8v] {
        padding: 4px;
        margin-bottom: 3px;
        border: 1px solid black; /* Strong black border instead of blue background */
        border-left: 5px solid black; /* Distinctive heavy accent */
        background: white !important;
        break-inside: avoid;
    }

    .print-subject-bw[b-zpkz1myd8v] {
        font-size: 10pt;
        font-weight: bold;
        text-transform: uppercase;
        border-bottom: 1px solid #ddd;
        margin-bottom: 2px;
    }

    .print-meta-bw[b-zpkz1myd8v] {
        font-size: 8pt;
        color: black !important;
        line-height: 1.2;
    }
    /* Hide all interactive UI elements */
    button[b-zpkz1myd8v], input[b-zpkz1myd8v], .hidden-print[b-zpkz1myd8v] {
        display: none !important;
    }
}
/* /Components/Pages/Office/Assessment/AssessmentPage.razor.rz.scp.css */
/* Page Wrapper */
.assessment-page-wrapper[b-esup0ycy8m] {
    background-color: #f5f7fb;
    min-height: 100vh;
    width: 100%;
    padding: 16px;
    box-sizing: border-box;
    font-family: "Segoe UI", Roboto, sans-serif;
    color: #333;
    transition: margin-top 0.3s ease;
    margin-top: 10px;
}

/* Glass Card Effect */
.glass-card[b-esup0ycy8m] {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

/* Status Colors - Preserved from your original */
.status-draft[b-esup0ycy8m] {
    background: #f1f5f9;
    color: #64748b;
}
.status-published[b-esup0ycy8m] {
    background: #ecfdf5;
    color: #10b981;
}
.status-active[b-esup0ycy8m] {
    background: #eef2ff;
    color: #6366f1;
    border: 1px solid #c7d2fe;
}
.status-closed[b-esup0ycy8m] {
    background: #fff1f2;
    color: #f43f5e;
}
.status-marked[b-esup0ycy8m] {
    background: #faf5ff;
    color: #a855f7;
}
/* Difficulty Badges - Preserved */
.diff-easy[b-esup0ycy8m] {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #dcfce7;
}
.diff-medium[b-esup0ycy8m] {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fef3c7;
}
.diff-hard[b-esup0ycy8m] {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fee2e2;
}

/* Type Colors - Preserved */
.type-assignment[b-esup0ycy8m] {
    background: #eff6ff;
    color: #3b82f6;
    border-color: #dbeafe;
}
.type-exam[b-esup0ycy8m] {
    background: #fef2f2;
    color: #ef4444;
    border-color: #fee2e2;
}
.type-test[b-esup0ycy8m] {
    background: #fffbeb;
    color: #f59e0b;
    border-color: #fef3c7;
}
.type-practice[b-esup0ycy8m] {
    background: #f5f3ff;
    color: #8b5cf6;
    border-color: #ede9fe;
}
.type-project[b-esup0ycy8m] {
    background: #ecfdf5;
    color: #059669;
    border-color: #d1fae5;
}
.type-quiz[b-esup0ycy8m] {
    background: #fff7ed;
    color: #ea580c;
    border-color: #ffedd5;
}

/* Pulse Animation for Locked State */
.pulse-active[b-esup0ycy8m] {
    animation: pulse-animation-b-esup0ycy8m 2s infinite;
    border: 1px solid rgba(99, 102, 241, 0.3);
}
@keyframes pulse-animation-b-esup0ycy8m {
    0% {
        box-shadow: 0 0 0 0px rgba(99, 102, 241, 0.2);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(99, 102, 241, 0);
    }

    100% {
        box-shadow: 0 0 0 0px rgba(99, 102, 241, 0);
    }
}

/* Responsive Status Button */
@media (max-width: 768px) {
    .status-text-desktop[b-esup0ycy8m] {
        display: none;
    }

    [id^="status-control-"][b-esup0ycy8m] {
        padding: 8px !important;
        width: 38px;
        height: 38px;
        justify-content: center;
        margin-left: 8px !important;
    }

        [id^="status-control-"] .fa-chevron-down[b-esup0ycy8m] {
            display: none;
        }

    .bg-white\/20[b-esup0ycy8m] {
        margin: 0 !important;
    }
}
@media (min-width: 769px) {
    .status-text-desktop[b-esup0ycy8m] {
        display: inline;
    }
}
/* Wait Indicator */
.wait-overlay[b-esup0ycy8m] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
/* /Components/Pages/Office/Assessment/AssSetting/AddAssessmentModal.razor.rz.scp.css */

.wait-overlay[b-e2wus9r3zc] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* MODAL HEADER UNIFICATION */
.modal-header[b-e2wus9r3zc] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9; /* Subtle separator */
}

.header-title-container[b-e2wus9r3zc] {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Beautiful Icon Box */
.icon-box[b-e2wus9r3zc] {
    width: 42px;
    height: 42px;
    background: #eff6ff; /* Light blue */
    color: #2563eb; /* Primary blue */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.1);
}

.header-text h3[b-e2wus9r3zc] {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.header-text p[b-e2wus9r3zc] {
    margin: 2px 0 0 0;
    font-size: 0.8rem;
    color: #64748b;
}

/* Modern Clean Close Button */
.close-btn-clean[b-e2wus9r3zc] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 1rem;
}

    .close-btn-clean:hover[b-e2wus9r3zc] {
        background: #fef2f2;
        color: #ef4444;
        border-color: #fee2e2;
    }

/* Ensure modal container handles the rounding of the header */
.modal-container[b-e2wus9r3zc] {
    background: #ffffff;
    border-radius: 16px; /* Smoother rounding */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}



/* MODAL BASE */
.modal-backdrop[b-e2wus9r3zc] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-container[b-e2wus9r3zc] {
    background: #ffffff;
    width: 95%;
    max-width: 750px;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}




.modal-body[b-e2wus9r3zc] {
    padding: 1.5rem;
    max-height: 80vh;
    overflow-y: auto;
}

/* FORM GRID */
.form-grid[b-e2wus9r3zc] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.full-width[b-e2wus9r3zc] {
    grid-column: span 2;
}

.form-group label[b-e2wus9r3zc] {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    color: #64748b;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.custom-input[b-e2wus9r3zc] {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #334155;
    transition: all 0.2s;
    background-color: #f8fafc;
}

    .custom-input:focus[b-e2wus9r3zc] {
        outline: none;
        border-color: #3b82f6;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        background: #fff;
    }

/* ASSESSMENT TYPE PILLS */
.type-pill-container[b-e2wus9r3zc] {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.type-pill[b-e2wus9r3zc] {
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    position: relative;
}

    .type-pill input[b-e2wus9r3zc] {
        position: absolute;
        opacity: 0;
    }

/* COLORS PER TYPE */
.type-assignment.active[b-e2wus9r3zc] {
    border-color: #3b82f6;
    background: #eff6ff;
    color: #1d4ed8;
}

.type-test.active[b-e2wus9r3zc] {
    border-color: #f59e0b;
    background: #fffbeb;
    color: #b45309;
}

.type-exam.active[b-e2wus9r3zc] {
    border-color: #ef4444;
    background: #fef2f2;
    color: #b91c1c;
}

.type-quiz.active[b-e2wus9r3zc] {
    border-color: #8b5cf6;
    background: #f5f3ff;
    color: #6d28d9;
}

/* FOOTER */
.modal-footer[b-e2wus9r3zc] {
    padding: 1.25rem 1.5rem;
    background: #f8fafc;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    border-top: 1px solid #e2e8f0;
}

.btn-primary[b-e2wus9r3zc] {
    background: #2563eb;
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

    .btn-primary:hover[b-e2wus9r3zc] {
        background: #1d4ed8;
    }

.btn-secondary[b-e2wus9r3zc] {
    background: white;
    color: #475569;
    border: 1px solid #cbd5e1;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
}

/* LOADING */
.custom-wait-overlay[b-e2wus9r3zc] {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.8);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.spinner-modern[b-e2wus9r3zc] {
    width: 40px;
    height: 40px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid #2563eb;
    border-radius: 50%;
    animation: spin-b-e2wus9r3zc 0.8s linear infinite;
}

@keyframes spin-b-e2wus9r3zc {
    to {
        transform: rotate(360deg);
    }
}

.slide-up[b-e2wus9r3zc] {
    animation: slideUp-b-e2wus9r3zc 0.3s ease-out;
}

@keyframes slideUp-b-e2wus9r3zc {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* /Components/Pages/Office/Assessment/AssSetting/AssessmentSchedulingModal.razor.rz.scp.css */

/* 1. Modal Layout & Backdrop */
.modal-backdrop-custom[b-k3lcihlh53] {
    position: fixed;
    /* Use inset for full coverage */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* dvh (Dynamic Viewport Height) is better for mobile address bars */
    height: 100dvh;
    width: 100vw;
    background-color: rgba(15, 23, 42, 0.35);
    /* Centering Logic */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    /* Prevent backdrop from scrolling */
    overflow: hidden;
}

.modal-container-custom[b-k3lcihlh53] {
    background: #ffffff;
    width: 90%; /* Slightly narrower for better mobile gutters */
    max-width: 480px;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    /* Ensure no margins are pushing it away from center */
    margin: auto;
    /* Prevent modal from being taller than the screen */
    max-height: 90dvh;
    display: flex;
    flex-direction: column;
}
.scheduling-compact[b-k3lcihlh53] {
    animation: slideUp-b-k3lcihlh53 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. Header Section */
.header-minimal[b-k3lcihlh53] {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-main-info[b-k3lcihlh53] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-text-stack[b-k3lcihlh53] {
    display: flex;
    flex-direction: column;
}

.icon-circle[b-k3lcihlh53] {
    width: 40px;
    height: 40px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-close-minimal[b-k3lcihlh53] {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 3. Form Controls & Dx Integration */
.dx-picker-wrapper[b-k3lcihlh53] {
    width: 100%;
}

[b-k3lcihlh53] .dx-custom-picker {
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    height: 42px !important;
    overflow: hidden;
}

    [b-k3lcihlh53] .dx-custom-picker:focus-within {
        border-color: #0F6CBD !important;
        box-shadow: 0 0 0 3px rgba(15, 108, 189, 0.1) !important;
    }

.control-label[b-k3lcihlh53] {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #64748b;
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.label-row-compact[b-k3lcihlh53] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dot[b-k3lcihlh53] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 8px;
}

.hint-text[b-k3lcihlh53] {
    font-size: 0.7rem;
    color: #64748b;
    margin-top: 5px;
    display: block;
    font-style: italic;
}

.header-text-stack h3[b-k3lcihlh53] {
    font-size: 1rem; /* Standard base size (usually 16px) */
    font-weight: 700;
    line-height: 1.2;
    color: #1e293b; /* Slate 800 */
}

.header-text-stack p[b-k3lcihlh53] {
    font-size: 0.7rem; /* Slightly smaller than default 'small' */
    color: #64748b; /* Slate 500 */
    letter-spacing: 0.01em;
}
/* 4. Range Slider */
.form-range-custom[b-k3lcihlh53] {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 8px;
    appearance: none;
    cursor: pointer;
}

    .form-range-custom[b-k3lcihlh53]::-webkit-slider-thumb {
        appearance: none;
        width: 18px;
        height: 18px;
        background: #0F6CBD;
        border-radius: 50%;
        border: 2px solid #ffffff;
        box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    }

.slider-ticks[b-k3lcihlh53] {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.65rem;
    color: #94a3b8;
    font-weight: 600;
}

/* 5. Footer Buttons */
.modal-footer[b-k3lcihlh53] {
    display: flex;
    justify-content: flex-end;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
}

.btn-action[b-k3lcihlh53] {
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-cancel[b-k3lcihlh53] {
    background: transparent;
    color: #dc2626;
    border-color: transparent;
}

    .btn-cancel:hover[b-k3lcihlh53] {
        background: #fef2f2;
    }

.btn-update-outline[b-k3lcihlh53] {
    background: #ffffff;
    color: #0F6CBD;
    border-color: #0F6CBD;
}

    .btn-update-outline:hover[b-k3lcihlh53] {
        background: #f0f7ff;
        box-shadow: 0 2px 4px rgba(15, 108, 189, 0.1);
    }

.bg-soft-brand[b-k3lcihlh53] {
    background: #f0f7ff;
}

.text-brand[b-k3lcihlh53] {
    color: #0F6CBD !important;
}

.badge[b-k3lcihlh53] {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
}

/* 6. Animations */
.fade-in[b-k3lcihlh53] {
    animation: fadeIn-b-k3lcihlh53 0.2s ease-out;
}

@keyframes fadeIn-b-k3lcihlh53 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp-b-k3lcihlh53 {
    from {
        transform: translateY(20px) scale(0.98);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}


/* 4. Double-check the Header and Footer */
.header-minimal[b-k3lcihlh53] {
    /* If the header has a background, it might need the top corners curved too */
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    background: #f8fafc;
}

.modal-footer[b-k3lcihlh53] {
    /* If the footer has a background, curve the bottom corners */
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}
/* /Components/Pages/Office/Assessment/AssSetting/CBTPolicyModal.Razor.rz.scp.css */


.modal-backdrop-custom[b-omk6oy0dz8] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background-color: rgba(15, 23, 42, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 12px;
}

.modal-container-custom[b-omk6oy0dz8] {
    background: #ffffff;
    width: 100%;
    max-width: 650px;
    max-height: 85vh;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* FIX: HEADER FLEX ALIGNMENT */
.modal-header.header-minimal[b-omk6oy0dz8] {
    padding: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-main-info[b-omk6oy0dz8] {
    display: flex;
    align-items: center;
    gap: 15px; /* Space between icon and text */
}

.header-text-stack h3[b-omk6oy0dz8] {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}

.icon-circle[b-omk6oy0dz8] {
    width: 44px;
    height: 44px;
    background: #f0f7ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0F6CBD;
    flex-shrink: 0; /* Prevents icon from squishing */
}

.btn-close-minimal[b-omk6oy0dz8] {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.2rem;
    padding: 8px;
    cursor: pointer;
    transition: color 0.2s;
}

    .btn-close-minimal:hover[b-omk6oy0dz8] {
        color: #ef4444;
    }

.modal-body-scrollable[b-omk6oy0dz8] {
    flex: 1 1 auto;
    overflow-y: auto;
    background: #fff;
}

.section-title[b-omk6oy0dz8] {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    margin-bottom: 16px;
}

.toggles-grid[b-omk6oy0dz8] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.segmented-control[b-omk6oy0dz8] {
    display: flex;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 12px;
    gap: 4px;
}

.segment-btn[b-omk6oy0dz8] {
    flex: 1;
    border: none;
    padding: 8px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    background: transparent;
    transition: all 0.2s;
}

    .segment-btn.active[b-omk6oy0dz8] {
        background: #ffffff;
        color: #0F6CBD;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }

.toggle-card[b-omk6oy0dz8] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    background: #fafbfc;
}

.toggle-label[b-omk6oy0dz8] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
}

.toggle-hint[b-omk6oy0dz8] {
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.3;
    display: block;
}

.input-label[b-omk6oy0dz8] {
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 6px;
    display: block;
}

.form-control-custom[b-omk6oy0dz8], .form-select-custom[b-omk6oy0dz8] {
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    font-size: 0.85rem;
    width: 100%;
}

.switch[b-omk6oy0dz8] {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 18px;
    flex-shrink: 0;
}

    .switch input[b-omk6oy0dz8] {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider[b-omk6oy0dz8] {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .25s;
    border-radius: 20px;
}

    .slider[b-omk6oy0dz8]:before {
        position: absolute;
        content: "";
        height: 12px;
        width: 12px;
        left: 3px;
        bottom: 3px;
        background-color: white;
        transition: .25s;
        border-radius: 50%;
    }

input:checked + .slider[b-omk6oy0dz8] {
    background-color: #0F6CBD;
}

    input:checked + .slider[b-omk6oy0dz8]:before {
        transform: translateX(16px);
    }

.btn-action[b-omk6oy0dz8] {
    padding: 8px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-ghost-red[b-omk6oy0dz8] {
    background: transparent;
    color: #64748b;
}

    .btn-ghost-red:hover[b-omk6oy0dz8] {
        background: #fee2e2;
        color: #991b1b;
    }

.btn-cute-outline[b-omk6oy0dz8] {
    background: transparent;
    color: #0F6CBD;
    border: 1px solid #0F6CBD;
    min-width: 140px;
}

    .btn-cute-outline:hover[b-omk6oy0dz8] {
        background: #f0f7ff;
    }

.fade-in[b-omk6oy0dz8] {
    animation: fadeIn-b-omk6oy0dz8 0.2s ease-out;
}

.slide-up[b-omk6oy0dz8] {
    animation: slideUp-b-omk6oy0dz8 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes fadeIn-b-omk6oy0dz8 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp-b-omk6oy0dz8 {
    from {
        transform: translateY(24px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}


.modal-footer[b-omk6oy0dz8] {
    position: sticky;
    bottom: 0;
    background: white; /* match modal bg */
    z-index: 10;
    display: flex;
    justify-content: flex-end; /* ensures buttons go to the right */
    gap: 12px; /* optional spacing between buttons */
    padding: 1rem; /* adjust if needed */
}


@media (max-width: 576px) {
    /* 1. Shrink the Title */
    .header-text-stack h3[b-omk6oy0dz8] {
        font-size: 0.95rem !important; /* Approximately 15px */
        font-weight: 700;
        letter-spacing: -0.01em;
        margin-bottom: 1px !important;
    }

    /* 2. Shrink the Subtext */
    .header-text-stack p[b-omk6oy0dz8] {
        font-size: 0.7rem !important; /* Approximately 11px */
        line-height: 1.1;
        color: #64748b !important; /* Slate 500 */
    }

    /* 3. Reduce the overall header padding */
    .modal-header.header-minimal[b-omk6oy0dz8] {
        padding: 0.85rem 1rem !important;
    }

    /* 4. If using an icon beside the text, scale it down */
    .icon-circle[b-omk6oy0dz8] {
        width: 30px !important;
        height: 30px !important;
        border-radius: 8px !important;
    }
}
/* /Components/Pages/Office/Assessment/AssSetting/ModeAccessModal.razor.rz.scp.css */
.modal-backdrop-custom[b-dug9faa42r] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background-color: rgba(15, 23, 42, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 12px;
}

.modal-container-custom[b-dug9faa42r] {
    background: #ffffff;
    width: 100%;
    max-width: 600px;
    max-height: 85vh;
    border-radius: 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.modal-header.header-minimal[b-dug9faa42r] {
    padding: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.modal-body-scrollable[b-dug9faa42r] {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
}

.modal-footer[b-dug9faa42r] {
    display: flex;
    justify-content: flex-end; /* aligns buttons to the right */
    align-items: center;
    padding: 1.25rem;
    border-top: 1px solid #f1f5f9;
    background: #ffffff;
    gap: 12px; /* spacing between buttons */
}


.header-main-info[b-dug9faa42r] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-circle[b-dug9faa42r] {
    width: 40px;
    height: 40px;
    background: #f0f7ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0F6CBD;
}

.header-text-stack h3[b-dug9faa42r] {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}

.section-title[b-dug9faa42r] {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-bottom: 12px;
}

.toggles-grid[b-dug9faa42r] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.toggle-card[b-dug9faa42r] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    background: #fafbfc;
}

.toggle-label[b-dug9faa42r] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
}

.toggle-hint[b-dug9faa42r] {
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.3;
    display: block;
}

.form-select-custom[b-dug9faa42r] {
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    font-size: 0.85rem;
    background: #fff;
}

.switch[b-dug9faa42r] {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 18px;
    flex-shrink: 0;
}

    .switch input[b-dug9faa42r] {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider[b-dug9faa42r] {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .25s;
    border-radius: 20px;
}

    .slider[b-dug9faa42r]:before {
        position: absolute;
        content: "";
        height: 12px;
        width: 12px;
        left: 3px;
        bottom: 3px;
        background-color: white;
        transition: .25s;
        border-radius: 50%;
    }

input:checked + .slider[b-dug9faa42r] {
    background-color: #0F6CBD;
}

    input:checked + .slider[b-dug9faa42r]:before {
        transform: translateX(16px);
    }

.btn-action[b-dug9faa42r] {
    padding: 8px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ghost style: background only on hover */
.btn-ghost-red[b-dug9faa42r] {
    background: transparent;
    color: #64748b;
}

    .btn-ghost-red:hover:not(:disabled)[b-dug9faa42r] {
        background: #fee2e2;
        color: #991b1b;
    }

/* Simple, cute outline */
.btn-cute-outline[b-dug9faa42r] {
    background: transparent;
    color: #0F6CBD;
    border: 1px solid #0F6CBD;
    min-width: 130px;
}

    .btn-cute-outline:hover:not(:disabled)[b-dug9faa42r] {
        background: #f0f7ff;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(15, 108, 189, 0.12);
    }

    .btn-cute-outline:active[b-dug9faa42r] {
        transform: translateY(0);
    }

.btn-close-minimal[b-dug9faa42r] {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
    transition: background 0.2s;
}

    .btn-close-minimal:hover[b-dug9faa42r] {
        background: #f1f5f9;
        color: #475569;
    }

@media (max-width: 576px) {
    .modal-container-custom[b-dug9faa42r] {
        max-height: 92vh;
        margin: 10px;
    }

    .toggles-grid[b-dug9faa42r] {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .modal-footer[b-dug9faa42r] {
        display: flex;
        justify-content: flex-end; /* aligns buttons to the right */
        align-items: center;
        padding: 1.25rem;
        border-top: 1px solid #f1f5f9;
        background: #ffffff;
        gap: 12px; /* spacing between buttons */
    }

  
}

.fade-in[b-dug9faa42r] {
    animation: fadeIn-b-dug9faa42r 0.2s ease-out;
}

.slide-up[b-dug9faa42r] {
    animation: slideUp-b-dug9faa42r 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes fadeIn-b-dug9faa42r {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp-b-dug9faa42r {
    from {
        transform: translateY(24px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}


@media (max-width: 576px) {
    .modal-container-custom[b-dug9faa42r] {
        /* Reduce max-height so backdrop is visible at top/bottom */
        max-height: 80dvh;
        /* Ensure it doesn't touch the side edges of the screen */
        width: calc(100% - 32px);
        margin: auto;
        /* Force the border radius to be visible */
        border-radius: 20px !important;
        overflow: hidden;
    }

    .modal-header.header-minimal[b-dug9faa42r] {
        padding: 1rem; /* Smaller padding for mobile */
    }

    .modal-body-scrollable[b-dug9faa42r] {
        padding: 1rem; /* Ensure body has padding so content doesn't touch edges */
    }

    .toggles-grid[b-dug9faa42r] {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .modal-footer[b-dug9faa42r] {
        padding: 1rem;
        /* Optional: stack buttons if they are too wide for one line */
        flex-direction: row;
        justify-content: flex-end;
    }
}

.header-text-stack[b-dug9faa42r] {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .header-text-stack h3[b-dug9faa42r],
    .header-text-stack h6[b-dug9faa42r] {
        font-size: 0.95rem !important; /* Forces a smaller header size */
        font-weight: 700;
        color: #1e293b;
        margin-bottom: 2px !important;
    }

    .header-text-stack p[b-dug9faa42r] {
        font-size: 0.72rem !important;
        color: #64748b;
        line-height: 1.1;
        white-space: nowrap; /* Prevents awkward wrapping on tiny screens */
    }

/* If you have an icon next to it, shrink it too */
@media (max-width: 576px) {
    .icon-circle[b-dug9faa42r] {
        width: 32px !important;
        height: 32px !important;
        border-radius: 8px !important;
    }

        .icon-circle i[b-dug9faa42r], .icon-circle svg[b-dug9faa42r] {
            font-size: 14px !important;
        }
}
/* /Components/Pages/Office/Assessment/AssSetting/MultiChoiceEditor/MultiChoiceEditors.razor.rz.scp.css */
/* /Components/Pages/Office/Assessment/AssSetting/QuestionManagementModal.razor.rz.scp.css */
/* /Components/Pages/Office/Assessment/AssSetting/QuickView/AssessmentView.razor.rz.scp.css */
/* /Components/Pages/Office/Assessment/AssSetting/SectionModal.razor.rz.scp.css */

/* Reset and Container */
.modal-backdrop-custom[b-pisoa4jdtj] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background: rgba(15, 23, 42, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-container-custom[b-pisoa4jdtj] {
    position: relative; /* important for drawer to be inside */
    background: #fff;
    width: 95%;
    max-width: 720px;
    max-height: 90vh;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}


/* Header & Nav */
.modal-header[b-pisoa4jdtj] {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-main-info[b-pisoa4jdtj] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-circle[b-pisoa4jdtj] {
    width: 44px;
    height: 44px;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.header-text-stack h3[b-pisoa4jdtj] {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: #0f172a;
}

.section-nav-bar[b-pisoa4jdtj] {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    min-height: 56px;
    display: flex;
    align-items: center;
}

.section-nav-scroll[b-pisoa4jdtj] {
    display: flex;
    flex-direction: row;
    gap: 10px;
    overflow-x: auto;
    white-space: nowrap;
    width: 100%;
    padding: 0 1.5rem;
}

.section-pill[b-pisoa4jdtj] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

    .section-pill.active[b-pisoa4jdtj] {
        background: #2563eb;
        border-color: #2563eb;
        color: #fff;
    }

/* Range Slider Styling */
.time-display[b-pisoa4jdtj] {
    font-size: 0.85rem;
    font-weight: 700;
    background: #f8fafc;
    padding: 2px 10px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.modern-range-slider[b-pisoa4jdtj] {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 5px;
    outline: none;
    margin: 10px 0;
}

    .modern-range-slider[b-pisoa4jdtj]::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 18px;
        height: 18px;
        background: #2563eb;
        cursor: pointer;
        border-radius: 50%;
        border: 3px solid #fff;
        box-shadow: 0 0 5px rgba(0,0,0,0.1);
    }

.tiny-label[b-pisoa4jdtj] {
    font-size: 0.65rem;
    color: #94a3b8;
    font-weight: 600;
}

/* Segmented Control */
.segmented-control[b-pisoa4jdtj] {
    background: #f1f5f9;
    padding: 4px;
    border-radius: 12px;
    display: flex;
    gap: 4px;
}

.segment-btn[b-pisoa4jdtj] {
    border: none;
    background: transparent;
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    border-radius: 8px;
    transition: 0.2s;
}

    .segment-btn.active[b-pisoa4jdtj] {
        background: #fff;
        color: #2563eb;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }

/* Form Styles */
.modal-body-scrollable[b-pisoa4jdtj] {
    flex: 1;
    overflow-y: auto;
}

.section-title[b-pisoa4jdtj] {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.input-label[b-pisoa4jdtj] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
    display: block;
}

.form-control-custom[b-pisoa4jdtj], .form-select-custom[b-pisoa4jdtj] {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    font-size: 0.9rem;
}

/* ===================================== */
/* TOTAL MARKS – MODERN PRIMARY HIGHLIGHT */
/* ===================================== */

.points-highlight[b-pisoa4jdtj] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: linear-gradient( 135deg, rgba(37, 99, 235, 0.12), rgba(37, 99, 235, 0.04) );
    border: 1px solid rgba(37, 99, 235, 0.25);
}

.points-icon[b-pisoa4jdtj] {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #2563eb;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.35);
    flex-shrink: 0;
}

.points-meta[b-pisoa4jdtj] {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.points-value[b-pisoa4jdtj] {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1e3a8a;
    letter-spacing: -0.02em;
}

.points-label[b-pisoa4jdtj] {
    font-size: 0.65rem;
    font-weight: 700;
    color: #2563eb;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Toggles */
.toggles-grid[b-pisoa4jdtj] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.toggle-card-minimal[b-pisoa4jdtj] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    background: #fff;
}

.toggle-header[b-pisoa4jdtj] {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
    display: block;
}

.toggle-description[b-pisoa4jdtj] {
    font-size: 0.72rem;
    color: #64748b;
    margin-top: 2px;
    display: block;
}

.modern-switch[b-pisoa4jdtj] {
    position: relative;
    width: 38px;
    height: 20px;
    flex-shrink: 0;
}

    .modern-switch input[b-pisoa4jdtj] {
        opacity: 0;
        width: 0;
        height: 0;
    }

.modern-slider[b-pisoa4jdtj] {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #e2e8f0;
    border-radius: 20px;
    transition: .3s;
}

    .modern-slider[b-pisoa4jdtj]:before {
        position: absolute;
        content: "";
        height: 14px;
        width: 14px;
        left: 3px;
        bottom: 3px;
        background: #fff;
        border-radius: 50%;
        transition: .3s;
    }

input:checked + .modern-slider[b-pisoa4jdtj] {
    background: #2563eb;
}

    input:checked + .modern-slider[b-pisoa4jdtj]:before {
        transform: translateX(18px);
    }

.modal-footer-custom[b-pisoa4jdtj] {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid #f1f5f9;
    background: #fff;
    display: flex; /* ensure flex layout */
    justify-content: flex-end; /* align buttons to the right */
    gap: 0.75rem; /* spacing between buttons */
}
/* ========================= */
/* Add Section Button Styling */
/* ========================= */
.btn-add-section-pill[b-pisoa4jdtj] {
    border: 1px dashed #cbd5e1;
    background: transparent;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
}


.btn-action-minimal[b-pisoa4jdtj] {
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
}

.btn-primary-custom[b-pisoa4jdtj] {
    background: #2563eb;
    color: #fff;
}

.fade-in[b-pisoa4jdtj] {
    animation: fadeIn-b-pisoa4jdtj 0.2s ease-out;
}

.slide-up[b-pisoa4jdtj] {
    animation: slideUp-b-pisoa4jdtj 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===================================== */
/* VISIBILITY PANEL – MODERN & COMPACT   */
/* ===================================== */

.visibility-card[b-pisoa4jdtj] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.visibility-info[b-pisoa4jdtj] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.visibility-icon[b-pisoa4jdtj] {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.12);
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.visibility-title[b-pisoa4jdtj] {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
    display: block;
}

.visibility-hint[b-pisoa4jdtj] {
    font-size: 0.72rem;
    color: #64748b;
    margin: 2px 0 0;
}

.visibility-toggle[b-pisoa4jdtj] {
    display: flex;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 14px;
    gap: 4px;
}

.visibility-option[b-pisoa4jdtj] {
    border: none;
    background: transparent;
    padding: 8px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 10px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

    .visibility-option.active[b-pisoa4jdtj] {
        background: #fff;
        color: #2563eb;
        box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    }

/* ===================================== */
/* TIME LIMIT – LABEL / VALUE ALIGNMENT  */
/* ===================================== */

.time-limit-row[b-pisoa4jdtj] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.time-limit-value[b-pisoa4jdtj] {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    white-space: nowrap;
}

    .time-limit-value.active[b-pisoa4jdtj] {
        color: #2563eb;
    }

    .time-limit-value.muted[b-pisoa4jdtj] {
        color: #94a3b8;
    }

/* ===================================== */
/* GLOBAL ROW / SECTION SPACING           */
/* ===================================== */

/* Space between form rows inside panels */
.config-group .row > [class^="col"][b-pisoa4jdtj] {
    margin-bottom: 18px;
}

/* Space between major blocks inside a panel */
.config-group > * + *[b-pisoa4jdtj] {
    margin-top: 18px;
}

/* Extra breathing room under Student Access */
.total-marks-row[b-pisoa4jdtj] {
    margin-top: 20px;
}

/* Consistent section separation */
.config-group[b-pisoa4jdtj] {
    padding-bottom: 28px;
}

/* ============================== */
/* Student Access – Mobile Friendly */
/* ============================== */
@media (max-width: 576px) {
    .visibility-card[b-pisoa4jdtj] {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 14px;
    }

    .visibility-info[b-pisoa4jdtj] {
        width: 100%;
    }

    .visibility-toggle[b-pisoa4jdtj] {
        width: 100%;
        flex-direction: column;
        gap: 8px;
    }

    .visibility-option[b-pisoa4jdtj] {
        width: 100%;
        justify-content: center;
        font-size: 0.85rem;
        padding: 10px 0;
    }

    .points-highlight[b-pisoa4jdtj] {
        flex-direction: row; /* keep icon and text side by side */
        align-items: center;
        flex-wrap: wrap; /* allow wrapping if needed */
        gap: 12px; /* spacing between icon and text */
        padding: 14px;
    }

    .points-meta[b-pisoa4jdtj] {
        margin-top: 0; /* reset top margin */
    }
    /* General modal adjustments for smaller screens */
    .modal-container-custom[b-pisoa4jdtj] {
        max-height: 95vh;
        width: 95%;
    }

    .section-title[b-pisoa4jdtj] {
        font-size: 0.75rem;
    }

    .input-label[b-pisoa4jdtj] {
        font-size: 0.9rem;
    }

    .form-control-custom[b-pisoa4jdtj],
    .form-select-custom[b-pisoa4jdtj] {
        font-size: 0.9rem;
        padding: 10px;
    }

    .toggles-grid[b-pisoa4jdtj] {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}


@keyframes fadeIn-b-pisoa4jdtj {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp-b-pisoa4jdtj {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}


.btn-ghost-red[b-pisoa4jdtj] {
    background: transparent;
    color: #64748b;
}

    .btn-ghost-red:hover[b-pisoa4jdtj] {
        background: #fee2e2;
        color: #991b1b;
    }

.btn-cute-outline[b-pisoa4jdtj] {
    background: transparent;
    color: #0F6CBD;
    border: 1px solid #0F6CBD;
    min-width: 140px;
}

    .btn-cute-outline:hover[b-pisoa4jdtj] {
        background: #f0f7ff;
    }

.fade-in[b-pisoa4jdtj] {
    animation: fadeIn-b-pisoa4jdtj 0.2s ease-out;
}

.slide-up[b-pisoa4jdtj] {
    animation: slideUp-b-pisoa4jdtj 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}


/* ===================== */
/* Trash Button (Footer) */
/* ===================== */
.btn-icon-trash[b-pisoa4jdtj] {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid #fee2e2;
    background: #fff;
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.flex-spacer[b-pisoa4jdtj] {
    flex: 1;
}

    .btn-icon-trash:hover[b-pisoa4jdtj] {
        background: #fee2e2;
        color: #991b1b;
    }

/* ===================== */
/* Trash Badge Indicator */
/* ===================== */
.btn-icon-trash[b-pisoa4jdtj] {
    position: relative; /* REQUIRED for badge */
}

.trash-badge[b-pisoa4jdtj] {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(220, 38, 38, 0.4);
    pointer-events: none;
}


/* ===================== */
/* Deleted Sections Drawer */
/* ===================== */

.drawer-backdrop[b-pisoa4jdtj] {
    position: fixed;
    inset: 0;
}

.deleted-drawer[b-pisoa4jdtj] {
    position: absolute; /* was fixed */
    left: 0;
    right: 0;
    bottom: 0; /* bottom slide inside modal */
    height: 50%; /* adjust as needed */
    background: #fff;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    box-shadow: 0 -8px 20px rgba(0,0,0,0.15);
    z-index: 100; /* higher than modal body */
    display: flex;
    flex-direction: column;
}

/* Slide animation inside modal */
.slide-up-drawer[b-pisoa4jdtj] {
    animation: slideUpDrawer-b-pisoa4jdtj 0.3s ease-out;
}

@keyframes slideUpDrawer-b-pisoa4jdtj {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}


/* Header */
.drawer-header[b-pisoa4jdtj] {
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.drawer-title[b-pisoa4jdtj] {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
}

.drawer-close[b-pisoa4jdtj] {
    border: none;
    background: transparent;
    font-size: 1.2rem;
    color: #64748b;
}

/* Body */
.drawer-body[b-pisoa4jdtj] {
    padding: 16px;
    overflow-y: auto;
    flex: 1;
}

/* Deleted item */
.deleted-item[b-pisoa4jdtj] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    margin-bottom: 12px;
}

.deleted-name[b-pisoa4jdtj] {
    font-weight: 700;
    font-size: 0.85rem;
}

.deleted-meta[b-pisoa4jdtj] {
    font-size: 0.7rem;
    color: #64748b;
}

/* Restore button */
.btn-restore[b-pisoa4jdtj] {
    background: #ecfeff;
    color: #0369a1;
    border: 1px solid #bae6fd;
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
}

@keyframes slideUpDrawer-b-pisoa4jdtj {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}


@media (max-width: 576px) {
    /* 1. Reduce the container height and add margin */
    .modal-container-custom[b-pisoa4jdtj] {
        max-height: 80dvh !important; /* Limits height to 80% of dynamic viewport */
        width: calc(100% - 24px) !important; /* Adds a small gap on left/right */
        margin: auto !important; /* Centers it vertically in the flex backdrop */
        border-radius: 20px !important; /* Ensures curves are visible */
    }

    /* 2. Shrink the Header text to save vertical space */
    .header-text-stack h3[b-pisoa4jdtj] {
        font-size: 0.95rem !important;
        margin-bottom: 2px !important;
    }

    /* 3. Scale down the large icon next to the title */
    .icon-circle[b-pisoa4jdtj] {
        width: 36px !important;
        height: 36px !important;
        border-radius: 10px !important;
        font-size: 1rem !important;
    }

    /* 4. Reduce Nav Bar height */
    .section-nav-bar[b-pisoa4jdtj] {
        min-height: 48px !important;
    }

    .section-pill[b-pisoa4jdtj] {
        padding: 5px 12px !important;
        font-size: 0.75rem !important;
    }

    /* 5. Ensure the footer stays compact */
    .modal-footer-custom[b-pisoa4jdtj] {
        padding: 1rem !important;
    }
}

/* /Components/Pages/Office/Assessment/AssSetting/SingleChoiceEditors/SingleChoiceEditor.razor.rz.scp.css */
/* /Components/Pages/Office/Assessment/AssSetting/TrueFalseQuestionEditors/TrueFalseQuestionEditor.razor.rz.scp.css */
/* /Components/Pages/Office/MyDocument/DocumentComponent/AttachLinkModal.razor.rz.scp.css */
/* /Components/Pages/Office/MyDocument/DocumentComponent/CreateFileModal.razor.rz.scp.css */
/* /Components/Pages/Office/MyDocument/DocumentComponent/CreateFolderModal.razor.rz.scp.css */
/* /Components/Pages/Office/MyDocument/DocumentComponent/FilePropertiesModal.razor.rz.scp.css */
/* /Components/Pages/Office/MyDocument/DocumentComponent/Mathlivetesting.razor.rz.scp.css */
/* /Components/Pages/Office/MyDocument/DocumentComponent/OCRModal.razor.rz.scp.css */
/* ==============================
   MODAL BACKDROP
   ============================== */
.modal-backdrop[b-o69152sbpj] {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.45);
    z-index: 1050;
    animation: fadeIn-b-o69152sbpj 0.25s ease-out;
}

/* ==============================
   MODAL CONTAINER
   ============================== */
.modal-container.ocr-modal[b-o69152sbpj] {
    background-color: #ffffff;
    border-radius: 10px;
    width: 90%;
    max-width: 680px;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    animation: slideIn-b-o69152sbpj 0.28s ease-out;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1060;
}

/* ==============================
   MODAL HEADER
   ============================== */
.modal-header[b-o69152sbpj] {
    background-color: #f5f5f7;
    color: #222;
    padding: 0.9rem 1.2rem;
    border-bottom: 1px solid #e1e1e1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 600;
}

    .modal-header i[b-o69152sbpj] {
        margin-right: 0.45rem;
        color: #555;
    }

/* CLOSE BUTTON */
.close-btn[b-o69152sbpj] {
    background: transparent;
    border: none;
    color: #444;
    font-size: 1.3rem;
    cursor: pointer;
    transition: opacity 0.2s;
}

    .close-btn:hover[b-o69152sbpj] {
        opacity: 0.6;
    }

/* ==============================
   MODAL BODY
   ============================== */
.modal-body[b-o69152sbpj] {
    padding: 1.1rem 1.3rem;
    flex: 1;
    overflow-y: auto;
    font-family: "Segoe UI", Tahoma, sans-serif;
    font-size: 0.95rem;
    color: #333;
}

/* LOADING SPINNER */
.spinner-border[b-o69152sbpj] {
    width: 2.5rem;
    height: 2.5rem;
    border-width: 3px;
}

/* TEXTAREA */
.modal-body textarea[b-o69152sbpj] {
    width: 100%;
    resize: vertical;
    padding: 0.7rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-family: monospace;
    font-size: 0.95rem;
    color: #111;
}

/* ERROR MESSAGE */
.modal-body .text-danger[b-o69152sbpj] {
    color: #d32f2f;
    font-weight: 600;
    margin-top: 0.5rem;
    text-align: center;
}

/* ==============================
   MODAL FOOTER
   ============================== */
.modal-footer[b-o69152sbpj] {
    padding: 0.8rem 1.25rem;
    display: flex;
    justify-content: flex-end;
    background-color: #fafafa;
    border-top: 1px solid #e5e5e5;
}

    .modal-footer .btn[b-o69152sbpj] {
        border-radius: 6px;
        padding: 0.45rem 1rem;
        font-weight: 500;
        cursor: pointer;
        transition: background-color 0.2s ease;
    }

    .modal-footer .btn-secondary[b-o69152sbpj] {
        background-color: #d0d0d0;
        color: #222;
    }

        .modal-footer .btn-secondary:hover[b-o69152sbpj] {
            background-color: #b5b5b5;
        }

/* ==============================
   ANIMATIONS
   ============================== */
@keyframes fadeIn-b-o69152sbpj {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn-b-o69152sbpj {
    from {
        transform: translate(-50%, calc(-50% - 30px));
        opacity: 0;
    }

    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

/* ============================
   GLOBAL WAIT OVERLAY
   ============================ */
.wait-overlay[b-o69152sbpj] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Center the loader + text perfectly */
.wait-box[b-o69152sbpj] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.wait-text[b-o69152sbpj] {
    margin-top: 10px;
    font-size: 14px;
    color: #333;
}



/* ============================
   GLOBAL WAIT OVERLAY
   ============================ */


.ocr-footer[b-o69152sbpj] {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding: 15px;
    border-top: 1px solid #e3e3e3;
}

    .ocr-footer .btn[b-o69152sbpj] {
        min-width: 90px;
        font-weight: 500;
    }

    .ocr-footer i[b-o69152sbpj] {
        margin-right: 5px;
    }

    /* Default: Desktop/tablet = show icon + text */
    .ocr-footer .btn i[b-o69152sbpj] {
        margin-right: 6px;
    }

    .ocr-footer .btn span[b-o69152sbpj] {
        display: inline;
    }

/* Mobile: Only icons */
@media (max-width: 576px) {
    .ocr-footer[b-o69152sbpj] {
        justify-content: space-between; /* to avoid overlap */
    }

        .ocr-footer .btn[b-o69152sbpj] {
            min-width: auto; /* allow shrinking */
            padding: 8px 10px; /* reduce size */
        }

            .ocr-footer .btn span[b-o69152sbpj] {
                display: none !important; /* hide the text */
            }

            .ocr-footer .btn i[b-o69152sbpj] {
                margin-right: 0; /* remove space when text is hidden */
            }
}
/* /Components/Pages/Office/MyDocument/DocumentComponent/OpenOrDownloadModal.razor.rz.scp.css */
/* /Components/Pages/Office/MyDocument/DocumentComponent/RenameItem.razor.rz.scp.css */
/* /Components/Pages/Office/MyDocument/DocumentComponent/ShareFileModal.razor.rz.scp.css */

.browser-fix-modal[b-cne04c8mhd] {
    display: flex;
    flex-direction: column;
    background: white;
    -webkit-backface-visibility: hidden; /* Safari fix */
    transform: translate(-50%, -50%);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.scroll-fix[b-cne04c8mhd] {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* Safari smooth scroll */
    scrollbar-width: thin; /* Firefox scrollbar */
}

.btn-red-fix[b-cne04c8mhd] {
    background-color: #dc2626 !important;
    color: white !important;
}

/* Force the body to be a column and prevent children from overlapping */
.modal-body-wrapper[b-cne04c8mhd] {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important; /* Forces space between tabs, search, and grid */
}

/* Standardizes the search container for Safari */
.search-container[b-cne04c8mhd] {
    position: relative !important;
    width: 100% !important;
    height: 50px !important; /* Explicit height prevents collapse */
    display: block !important;
}

/* Safari/Firefox fix for the search icon positioning */
.search-icon-fix[b-cne04c8mhd] {
    position: absolute !important;
    left: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
    pointer-events: none;
}

.search-input-fix[b-cne04c8mhd] {
    padding-left: 45px !important; /* Ensures text doesn't hit the icon */
}



/* /Components/Pages/Office/MyDocument/Documents.razor.rz.scp.css */

.mydocuments-container[b-dpw4931eyw] {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    min-height: 100vh;
    padding: 20px 15px;
    
}


    .mydocuments-container[b-dpw4931eyw] {
        margin-top: 10px;
    }


/* FORCE ROW TO BE SIDE-BY-SIDE ON DESKTOP WITH GAP */
@media (min-width: 992px) {
    .mydocuments-container .row[b-dpw4931eyw] {
        display: flex;
        flex-wrap: nowrap;
        gap: 10px; /* SPACE BETWEEN LEFT AND RIGHT PANELS */
        align-items: stretch;
    }

    .mydocuments-container .col-lg-8[b-dpw4931eyw] {
        flex: 0 0 70%;
        max-width: 70%;
    }

    .mydocuments-container .col-lg-4[b-dpw4931eyw] {
        flex: 0 0 30%;
        max-width: 30%;
    }
}

/* Header */
.mydocuments-header h2[b-dpw4931eyw] {
    color: #2a3f64;
    font-size: 24px;
    display: flex;
    margin-bottom: 18px;
}



.mydocuments-header p[b-dpw4931eyw] {
    color: #7f8c8d;
    font-size: 1rem;
    margin-bottom: 10px;
    margin-top: -14px;
}

/* ===================================================== */
/*  LEFT PANEL – TABS (70%)                             */
/* ===================================================== */
.mydocuments-tabs[b-dpw4931eyw] {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
}

/* DevExpress Tabs – Stylish Modern Look */
.dx-tabs-custom > .dx-tabs-nav[b-dpw4931eyw] {
    background: #f1f3f6 !important;
    border-bottom: none;
    padding: 10px 15px;
    display: flex;
    gap: 8px;
    justify-content: flex-start;
}

.dx-tabs-custom .dx-tab[b-dpw4931eyw] {
    border-radius: 12px 12px 0 0 !important;
    margin: 0;
    padding: 10px 22px;
    font-weight: 600;
    background: #e9ecef;
    color: #495057;
    transition: all 0.3s ease;
}

    .dx-tabs-custom .dx-tab:hover[b-dpw4931eyw] {
        background: #dee2e6;
    }

    .dx-tabs-custom .dx-tab.dx-state-active[b-dpw4931eyw] {
        background: #ffffff !important;
        color: #5a32a3 !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }

    .dx-tabs-custom .dx-tab .tabs-icon[b-dpw4931eyw] {
        margin-right: 8px;
        font-size: 1.2em;
    }

/* Tab Content Area – Styled */
.tab-content-placeholder[b-dpw4931eyw] {
    flex: 1;
    padding: 50px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #fdfdfd;
    color: #6c757d;
    min-height: 500px;
    border-top: 1px solid #e0e0e0;
    border-radius: 0 0 16px 16px;
}

/* ===================================================== */
/*  RIGHT PANEL – STORAGE & RECENT (30%)                */
/* ===================================================== */
.mydocuments-sidebar[b-dpw4931eyw] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
}

    .mydocuments-sidebar .sidebar-header[b-dpw4931eyw] {
        background: linear-gradient(135deg, #1B3A6F 0%, #2E5AAC 100%);
        color: #fff;
        font-weight: 600;
        padding: 14px 20px;
        border-radius: 14px 14px 0 0;
        font-size: 1.1rem;
        text-align: center;
    }



.storage-text[b-dpw4931eyw] {
    margin-top: 14px;
    font-size: 1.15rem;
    color: #2c3e50;
    font-weight: 500;
}

/* Breakdown Sections */
.breakdown-section[b-dpw4931eyw] {
    margin: 20px 0;
    padding: 0 20px;
}

.breakdown-title[b-dpw4931eyw] {
    font-size: 0.85rem;
    color: #7f8c8d;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.breakdown-item[b-dpw4931eyw] {
    display: flex;
    justify-content: space-between;
    padding: 7px 0;
    font-size: 0.95rem;
    color: #34495e;
}

    .breakdown-item span:last-child[b-dpw4931eyw] {
        font-weight: 700;
        color: #2c3e50;
    }

/* Recent Files Section */
.recent-header[b-dpw4931eyw] {
    padding: 16px 20px;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    font-weight: 700;
    color: #2c3e50;
    margin-top: auto;
}

.recent-item[b-dpw4931eyw] {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #eef2f7;
    transition: background 0.2s ease;
    cursor: pointer;
}

    .recent-item:hover[b-dpw4931eyw] {
        background-color: #f5f7fa;
    }

    .recent-item i[b-dpw4931eyw] {
        font-size: 1.5rem;
        margin-right: 14px;
        width: 34px;
        text-align: center;
    }

    .recent-item .file-info[b-dpw4931eyw] {
        flex-grow: 1;
        min-width: 0;
    }

    .recent-item .file-name[b-dpw4931eyw] {
        font-weight: 600;
        color: #2c3e50;
        font-size: 0.95rem;
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .recent-item .file-date[b-dpw4931eyw] {
        font-size: 0.8rem;
        color: #95a5a6;
    }

/* File Icon Colors */
.oi-file-pdf[b-dpw4931eyw] {
    color: #e74c3c;
}

.oi-link-intact[b-dpw4931eyw] {
    color: #9b59b6;
}

.oi-archive[b-dpw4931eyw] {
    color: #f39c12;
}

.oi-image[b-dpw4931eyw] {
    color: #3498db;
}

.oi-volume-high[b-dpw4931eyw] {
    color: #27ae60;
}

.oi-video[b-dpw4931eyw] {
    color: #8e44ad;
}

.oi-person[b-dpw4931eyw] {
    color: #27ae60;
}

.oi-aperture[b-dpw4931eyw] {
    color: #3498db;
}

.oi-share-boxed[b-dpw4931eyw] {
    color: #f39c12;
}

/* ===================================================== */
/*  RESPONSIVE ADJUSTMENTS                               */
/* ===================================================== */
@media (max-width: 992px) {
    .mydocuments-container .row[b-dpw4931eyw] {
        flex-direction: column;
        gap: 90px;
    }
}

@media (max-width: 576px) {
    .storage-circle[b-dpw4931eyw] {
        width: 120px;
        height: 120px;
    }

        .storage-circle[b-dpw4931eyw]::after {
            width: 90px;
            height: 90px;
        }

        .storage-circle span[b-dpw4931eyw] {
            font-size: 2rem;
        }
}

/* Add space between the two stacked panels on mobile */
@media (max-width: 991px) {
    .mydocuments-container .row > .col-12[b-dpw4931eyw] {
        margin-bottom: 20px;
    }
}













.personal-file-wrapper[b-dpw4931eyw] {
    padding: 20px 25px;
    /* NEW — enable vertical flex layout */
    display: flex;
    flex-direction: column;
    /* Make wrapper fill the entire available height */
    height: 100%;
    box-sizing: border-box;
}

/* Top Bar: Breadcrumb + Sort */
.personal-file-topbar[b-dpw4931eyw] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

/* Folder breadcrumb styles */
.folder-breadcrumb[b-dpw4931eyw] {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
}

    .folder-breadcrumb .crumb[b-dpw4931eyw] {
        cursor: pointer;
        color: #2E5AAC;
        transition: color 0.2s ease;
    }

        .folder-breadcrumb .crumb:hover[b-dpw4931eyw] {
            color: #1B3A6F;
        }

    .folder-breadcrumb .current[b-dpw4931eyw] {
        color: #2c3e50 !important;
    }

    .folder-breadcrumb .separator[b-dpw4931eyw] {
        margin: 0 6px;
        font-size: 0.75rem;
        color: #7f8c8d;
    }



/* Sort button */
.sort-button .dx-dropdownbutton[b-dpw4931eyw] {
    background-color: #2E5AAC !important;
    border-radius: 8px;
    color: white !important;
}

.sort-button .dx-button-content[b-dpw4931eyw] {
    color: white !important;
}





/* Breadcrumb styles */
.folder-breadcrumb .crumb[b-dpw4931eyw] {
    cursor: pointer;
    font-weight: 500;
    color: #0d6efd;
}

    .folder-breadcrumb .crumb.current[b-dpw4931eyw] {
        font-weight: 600;
        color: #333;
        pointer-events: none;
    }



/* ──────────────────────────────
   ACTION ROW – Perfect responsive behavior
   ────────────────────────────── */
.personal-action-row[b-dpw4931eyw] {
    display: flex;
    flex-wrap: wrap; /* allows wrapping only when really needed */
    align-items: center;
    gap: 16px;
    margin: 20px 0;
    width: 100%;
}

    /* Search box – grows on desktop, full-width on mobile */
    .personal-action-row .dx-textbox.search-box[b-dpw4931eyw] {
        flex: 1 1 300px; /* takes all available space */
        min-width: 250px;
    }

    /* Buttons wrapper – stays next to search on desktop */
    .personal-action-row .buttons-wrapper[b-dpw4931eyw] {
        display: flex;
        gap: 12px;
        flex-shrink: 0; /* never shrink */
    }

/* Desktop ≥ 768px → everything stays in ONE row */
@media (min-width: 768px) {
    .personal-action-row[b-dpw4931eyw] {
        flex-wrap: nowrap !important; /* force single row */
    }
}

/* Mobile < 768px → search full width, buttons side-by-side and LEFT aligned */
@media (max-width: 767px) {
    .personal-action-row[b-dpw4931eyw] {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

        .personal-action-row .dx-textbox.search-box[b-dpw4931eyw] {
            width: 100%;
        }

        .personal-action-row .buttons-wrapper[b-dpw4931eyw] {
            width: auto; /* don’t stretch across the whole screen */
            align-self: flex-start; /* THIS is what keeps them left-aligned */
        }

        /* Optional: make buttons a bit wider but not full width */
        .personal-action-row .dx-button[b-dpw4931eyw] {
            min-width: 120px;
        }
}

/* ====================== MAIN FILE CONTENT – ONLY ONE DEFINITION ====================== */
.personal-file-content[b-dpw4931eyw] {
    padding: 16px;
    background: #ffffff;
    min-height: 500px;
    font-family: "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
    user-select: none;
    border-radius: 12px;
    overflow: hidden;
    /* THIS IS THE ONLY GRID DEFINITION — REMOVE ALL OTHERS */
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 16px 14px; /* Perfect balanced spacing */
    align-items: start !important; /* ← THIS FIXES THE HUGE GAP */
    justify-items: start;
    place-content: start; /* Ensures top-left alignment */
}

/* Force items to have consistent height & fix row spacing */
.file-item[b-dpw4931eyw] {
    width: 100%;
    text-align: center;
    cursor: default;
    border-radius: 10px;
    transition: background 0.15s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 82px; /* Fixed height = no jumping or gaps */
}
/* Icon wrapper */
.file-icon-wrapper[b-dpw4931eyw] {
    padding: 6px;
    border-radius: 10px;
    transition: all 0.18s ease;
    flex-shrink: 0;
    color: #1B3A6F;
}

    .file-icon-wrapper:hover[b-dpw4931eyw] {
        background: rgba(0, 0, 0, 0.06);
        transform: translateY(-2px);
    }

    .file-icon-wrapper:active[b-dpw4931eyw] {
        background: rgba(0, 0, 0, 0.12);
        transform: translateY(0);
    }

.file-item i[b-dpw4931eyw] {
    font-size: 36px !important;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15));
}

/* File name — tight and responsive */
.file-name[b-dpw4931eyw] {
    font-size: 12.5px;
    font-weight: 400;
    color: #1e1e1e;
    padding: 3px 6px;
    border-radius: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.15s ease;
    cursor: default;
    margin-top: auto; /* Pushes name to bottom of fixed 80px */
}

    .file-name:hover[b-dpw4931eyw] {
        background: rgba(255, 255, 255, 0.9);
        outline: 1px solid rgba(0, 120, 215, 0.4);
    }

/* Hover on whole item */
.file-item:hover[b-dpw4931eyw] {
    background: rgba(0, 120, 215, 0.08);
}

/* Selected state */
.file-item.selected[b-dpw4931eyw],
.file-item:focus-within[b-dpw4931eyw] {
    background: rgba(0, 120, 215, 0.15) !important;
    outline: 2px solid #0078d4;
    outline-offset: -2px;
}

/* ====================== EMPTY STATE ====================== */
.empty-state[b-dpw4931eyw] {
    grid-column: 1 / -1;
    place-self: center;
    text-align: center;
    color: #888;
    padding: 40px 20px;
}

.empty-icon[b-dpw4931eyw] {
    font-size: 80px;
    color: #cccccc;
    margin-bottom: 20px;
    opacity: 0.7;
    display: block;
}

.empty-state p[b-dpw4931eyw] {
    font-size: 16px;
    margin: 0;
    color: #666;
    font-weight: 400;
}

/* ====================== CONTEXT MENU — COMPACT VERSION ====================== */
.file-context-flyout[b-dpw4931eyw] {
    border: 1px solid #d1d1d1 !important;
    border-radius: 10px !important;
    box-shadow: 0 12px 32px rgba(0,0,0,0.22) !important;
    font-size: 13.5px;
    background: #ffffff;
    overflow: hidden;
}

.context-menu-list[b-dpw4931eyw] {
    padding: 4px 0; /* Reduced from 6px */
}

.context-item[b-dpw4931eyw] {
    padding: 7px 16px !important; /* Reduced height */
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: background 0.15s ease;
    color: #1e1e1e;
    min-height: 32px; /* Enforce compact height */
}

    .context-item:hover[b-dpw4931eyw] {
        background: rgba(0, 120, 215, 0.12);
    }

    .context-item.text-danger[b-dpw4931eyw] {
        color: #c42b1c;
    }

        .context-item.text-danger:hover[b-dpw4931eyw] {
            background: rgba(196, 43, 28, 0.15);
        }

    .context-item i[b-dpw4931eyw] {
        font-size: 16px;
        width: 20px;
        opacity: 0.85;
        text-align: center;
    }

.context-separator[b-dpw4931eyw] {
    height: 1px;
    background: #e1e1e1;
    margin: 4px 12px; /* Reduced spacing */
}

/* ====================== MOBILE OPTIMIZATIONS ====================== */
@media (max-width: 768px) {
    .personal-file-content[b-dpw4931eyw] {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        gap: 12px 10px; /* Tighter on mobile */
        padding: 10px;
    }

    .file-item[b-dpw4931eyw] {
        height: 72px; /* Slightly shorter on mobile */
    }

        .file-item i[b-dpw4931eyw] {
            font-size: 32px !important;
        }

    .file-name[b-dpw4931eyw] {
        font-size: 12px;
        padding: 2px 4px;
    }

    .file-icon-wrapper[b-dpw4931eyw] {
        padding: 4px;
    }

    /* Extra compact context menu on mobile */
    .context-item[b-dpw4931eyw] {
        padding: 6px 14px !important;
        font-size: 13px;
        min-height: 30px;
    }

    .context-menu-list[b-dpw4931eyw] {
        padding: 3px 0;
    }
}

.personal-file-content[b-dpw4931eyw] {
    position: relative; /* make it the anchor for the paste bar */
    max-height: 70vh; /* or whatever height you want, scrollable */
    overflow-y: auto; /* scrolling for content */
}

/* Ensure space at bottom so last items aren't hidden */
.personal-file-content[b-dpw4931eyw] {
    position: relative;
    padding-bottom: 60px; /* space for paste bar */
}

/* Fixed / sticky paste bar */
.paste-bar[b-dpw4931eyw] {
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;

    color: #212529;
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 50; /* above file items */
}

    /* Paste button inside bar */
    .paste-bar button[b-dpw4931eyw] {
        width: 100%;
        max-width: 400px;
        background-color: #f1f3f5; /* same light color */
        color: #212529;
        border: 1px solid #ced4da;
        border-radius: 0.5rem;
        padding: 0.5rem 1rem;
        font-weight: 600;
        font-size: 1rem;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        cursor: pointer;
        transition: background-color 0.2s ease, transform 0.1s ease;
    }

        .paste-bar button:hover[b-dpw4931eyw] {
            background-color: #e9ecef; /* slightly darker on hover */
            transform: translateY(-1px);
        }

        .paste-bar button:active[b-dpw4931eyw] {
            transform: translateY(0);
        }

/* =========================================
   Storage Sidebar Container
   ========================================= */
.mydocuments-sidebar[b-dpw4931eyw] {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border-radius: 1rem;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Sidebar header */
.sidebar-header[b-dpw4931eyw] {
    background-color: #0d6efd; /* primary blue */
    color: #fff;
    font-weight: 600;
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
}









/* ============================================================
   STORAGE SIDEBAR — FINAL PERFECT VERSION (NO CUTOFF EVER)
   ============================================================ */
.mydocuments-sidebar[b-dpw4931eyw] {
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    overflow: hidden;
    animation: fadeIn-b-dpw4931eyw 0.8s ease-out;
    height: 100%;
}

    .mydocuments-sidebar .sidebar-header[b-dpw4931eyw] {

        background: linear-gradient(135deg, #0b58a1 0%, #0f6cbd 50%, #0b58a1 100%);
        color: white;
        font-size: 1.25rem;
        font-weight: 600;
        padding: 18px 20px;
        text-align: center;
        letter-spacing: 0.5px;
    }

/* ============================================================
   CIRCULAR PROGRESS — TRUE CIRCLE, NEVER CUT OFF
   ============================================================ */
.storage-circle-wrapper[b-dpw4931eyw] {
    position: relative;
    width: 210px;
    height: 210px;
    margin: 30px auto;
    /* This forces perfect circle + safe spacing on all devices */
    flex-shrink: 0;
}

.storage-circle-svg[b-dpw4931eyw] {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

/* Full background ring */
.storage-circle-bg[b-dpw4931eyw] {
    fill: none;
    stroke: #e9ecef;
    stroke-width: 18;
}

/* Animated progress ring */
.storage-circle-fg[b-dpw4931eyw] {
    fill: none;
    stroke: #0f6cbd;
    stroke-width: 18;
    stroke-linecap: round;
    stroke-dasharray: 534; /* 2π × 85 (exact radius inside) */
    stroke-dashoffset: 534;
    animation: circleFill-b-dpw4931eyw 2s ease-out forwards;
}

/* Perfect centered text — scales beautifully */
.storage-circle-center[b-dpw4931eyw] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 85%;
    line-height: 1.2;
    pointer-events: none;
}

.storage-circle-percent[b-dpw4931eyw] {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 4px;
}

.storage-circle-used[b-dpw4931eyw] {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.storage-circle-total[b-dpw4931eyw] {
    font-size: 0.9rem;
    color: #777;
}

/* =======================
   COLOR STATES
   ======================= */

/* 0% – 59% (SAFE) */
.storage-ok[b-dpw4931eyw] {
    stroke: #2ecc71 !important; /* green */
}

/* 60% – 79% (WARNING) */
.storage-warning[b-dpw4931eyw] {
    stroke: #f1c40f !important; /* yellow */
}

/* 80% – 94% (ALERT) */
.storage-alert[b-dpw4931eyw] {
    stroke: #e67e22 !important; /* orange */
}

/* 95% – 100% (DANGER) */
.storage-danger[b-dpw4931eyw] {
    stroke: #e74c3c !important; /* red */
}



/* ============================================================
   LINEAR BARS & REST
   ============================================================ */
.progress-container[b-dpw4931eyw] {
    margin-bottom: 18px;
    padding: 0 12px;
}

.progress-label[b-dpw4931eyw] {
    display: flex;
    justify-content: space-between;
    font-size: 0.92rem;
    color: #444;
    margin-bottom: 6px;
}

.progress-track[b-dpw4931eyw] {
    height: 10px;
    background: #e9ecef;
    border-radius: 6px;
    overflow: hidden;
}

.progress-fill[b-dpw4931eyw] {
    height: 100%;
    width: 0;
    border-radius: 6px;
    animation: fillBar-b-dpw4931eyw 1.8s ease-out forwards;
}

/* By Group bars – use your brand color #0f6cbd */
.storage-breakdown:first-of-type .progress-fill[b-dpw4931eyw] {
    background: linear-gradient(90deg, #0f6cbd, #42a5f5) !important;
    animation: fillBar-b-dpw4931eyw 1.8s ease-out forwards;
}

    .progress-fill.success[b-dpw4931eyw] {
        background: linear-gradient(90deg, #0bbf6d, #4caf50);
    }

.storage-breakdown[b-dpw4931eyw] {
    margin-top: 20px;
    padding: 0 12px;
}

    .storage-breakdown h6[b-dpw4931eyw] {
        font-size: 1rem;
        font-weight: 600;
        color: #222;
        margin-bottom: 14px;
        padding-bottom: 8px;
        border-bottom: 1px solid #eee;
    }

.mydocuments-sidebar:hover[b-dpw4931eyw] {
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

/* ============================================================
   RESPONSIVE — GUARANTEED NO CUTOFF ON MOBILE
   ============================================================ */
@media (max-width: 1200px) {
    .storage-circle-wrapper[b-dpw4931eyw] {
        width: 190px;
        height: 190px;
        margin: 28px auto;
    }

    .storage-circle-percent[b-dpw4931eyw] {
        font-size: 2.7rem;
    }
}

@media (max-width: 992px) {
    .storage-circle-wrapper[b-dpw4931eyw] {
        width: 180px;
        height: 180px;
        margin: 26px auto;
    }

    .storage-circle-percent[b-dpw4931eyw] {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .storage-circle-wrapper[b-dpw4931eyw] {
        width: 170px;
        height: 170px;
        margin: 24px auto;
    }

    .storage-circle-percent[b-dpw4931eyw] {
        font-size: 2.3rem;
    }
}

@media (max-width: 576px) {
    .storage-circle-wrapper[b-dpw4931eyw] {
        width: 160px;
        height: 160px;
        margin: 20px auto 24px auto;
    }

    .storage-circle-percent[b-dpw4931eyw] {
        font-size: 2.1rem;
    }

    .storage-circle-used[b-dpw4931eyw] {
        font-size: 0.95rem;
    }

    .storage-circle-total[b-dpw4931eyw] {
        font-size: 0.85rem;
    }
}

@media (max-width: 400px) {
    .storage-circle-wrapper[b-dpw4931eyw] {
        width: 150px;
        height: 150px;
        margin: 18px auto 22px auto;
    }

    .storage-circle-percent[b-dpw4931eyw] {
        font-size: 1.9rem;
    }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeIn-b-dpw4931eyw {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes circleFill-b-dpw4931eyw {
    to {
        stroke-dashoffset: var(--offset);
    }
}

@keyframes fillBar-b-dpw4931eyw {
    to {
        width: var(--percent);
    }
}


/* Perfect color match with your existing file icons */
.type-pdf        i[b-dpw4931eyw], .type-pdf        .progress-fill-type[b-dpw4931eyw] { color: #dc3545 !important; --progress-color: #dc3545; }
.type-word       i[b-dpw4931eyw], .type-word       .progress-fill[b-dpw4931eyw] { color: #0d6efd !important; --progress-color: #0d6efd; }
.type-excel      i[b-dpw4931eyw], .type-excel      .progress-fill[b-dpw4931eyw] { color: #198754 !important; --progress-color: #198754; }
.type-powerpoint i[b-dpw4931eyw], .type-powerpoint .progress-fill[b-dpw4931eyw] { color: #fd7e14 !important; --progress-color: #fd7e14; }
.type-image      i[b-dpw4931eyw], .type-image      .progress-fill[b-dpw4931eyw] { color: #198754 !important; --progress-color: #198754; }
.type-video      i[b-dpw4931eyw], .type-video      .progress-fill[b-dpw4931eyw] { color: #0d6efd !important; --progress-color: #0d6efd; }
.type-audio      i[b-dpw4931eyw], .type-audio      .progress-fill[b-dpw4931eyw] { color: #0dcaf0 !important; --progress-color: #0dcaf0; }
.type-zip        i[b-dpw4931eyw], .type-zip        .progress-fill[b-dpw4931eyw] { color: #6c757d !important; --progress-color: #6c757d; }
.type-code       i[b-dpw4931eyw], .type-code       .progress-fill[b-dpw4931eyw] { color: #0dcaf0 !important; --progress-color: #0dcaf0; }
.type-text       i[b-dpw4931eyw], .type-text       .progress-fill[b-dpw4931eyw] { color: #6c757d !important; --progress-color: #6c757d; }
.type-link       i[b-dpw4931eyw], .type-link       .progress-fill[b-dpw4931eyw] { color: #800080 !important; --progress-color: #800080; }

/* Use CSS variable for gradient */
.progress-fill[b-dpw4931eyw] {
    background: linear-gradient(90deg, var(--progress-color), color-mix(in srgb, var(--progress-color) 70%, white)) !important;
}
.progress-fill primary[b-dpw4931eyw] {
    background: linear-gradient(90deg, var(--progress-color), color-mix(in srgb, var(--progress-color) 70%, white)) !important;
}

/* Unified colors — used by BOTH file list icons AND storage progress bars */
.text-type-pdf[b-dpw4931eyw]        { color: #dc3545 !important; }
.text-type-word[b-dpw4931eyw]       { color: #0d6efd !important; }
.text-type-excel[b-dpw4931eyw]      { color: #198754 !important; }
.text-type-powerpoint[b-dpw4931eyw] { color: #fd7e14 !important; }
.text-type-image[b-dpw4931eyw]      { color: #198754 !important; }
.text-type-video[b-dpw4931eyw]      { color: #0d6efd !important; }
.text-type-audio[b-dpw4931eyw]      { color: #0dcaf0 !important; }
.text-type-zip[b-dpw4931eyw]        { color: #6c757d !important; }
.text-type-text[b-dpw4931eyw]       { color: #6c757d !important; }
.text-type-code[b-dpw4931eyw]       { color: #0dcaf0 !important; }
.text-type-link[b-dpw4931eyw]       { color: #800080 !important; }

/* Folder — beautiful consistent yellow/orange */
.text-type-folder[b-dpw4931eyw] {
    color: #fd7e14 !important; /* Same as Bootstrap warning */
    /* Or use a richer gold if you prefer: */
    /* color: #f39c12 !important; */
}

/* Optional: If you ever show folders in the storage "By Type" breakdown */
.type-folder i[b-dpw4931eyw],
.type-folder .progress-fill[b-dpw4931eyw] {
    color: #fd7e14 !important;
    background: linear-gradient(90deg, #fd7e14, #f39c12) !important;
}

.wait-overlay[b-dpw4931eyw] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}




/* Base track */
.progress-track[b-dpw4931eyw] {
    height: 10px;
    background: #e9ecef;
    border-radius: 6px;
    overflow: hidden;
}

/* GROUP BARS – your brand blue gradient */
.progress-fill-group[b-dpw4931eyw] {
    height: 100%;
    width: 0;
    border-radius: 6px;
    background: linear-gradient(90deg, #0f6cbd, #42a5f5);
    animation: fillBar-b-dpw4931eyw 1.8s ease-out forwards;
}

/* TYPE BARS – inherit color from parent wrapper (.type-pdf, etc.) */
.progress-fill-type[b-dpw4931eyw] {
    height: 100%;
    width: 0;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--progress-color), color-mix(in srgb, var(--progress-color) 70%, white));
    animation: fillBar-b-dpw4931eyw 1.8s ease-out forwards;
}

/* Keep your existing type colors (unchanged) */
.type-pdf        .progress-fill-type[b-dpw4931eyw] { --progress-color: #dc3545; }
.type-word       .progress-fill-type[b-dpw4931eyw] { --progress-color: #0d6efd; }
.type-excel      .progress-fill-type[b-dpw4931eyw] { --progress-color: #198754; }
.type-powerpoint .progress-fill-type[b-dpw4931eyw] { --progress-color: #fd7e14; }
.type-image      .progress-fill-type[b-dpw4931eyw] { --progress-color: #198754; }
.type-video      .progress-fill-type[b-dpw4931eyw] { --progress-color: #0d6efd; }
.type-audio      .progress-fill-type[b-dpw4931eyw] { --progress-color: #0dcaf0; }
.type-zip        .progress-fill-type[b-dpw4931eyw] { --progress-color: #6c757d; }
.type-code       .progress-fill-type[b-dpw4931eyw] { --progress-color: #0dcaf0; }
.type-text       .progress-fill-type[b-dpw4931eyw] { --progress-color: #6c757d; }
.type-link       .progress-fill-type[b-dpw4931eyw] { --progress-color: #800080; }
/* /Components/Pages/Office/MyLessonNote/AddLessonNoteModal.razor.rz.scp.css */
/* wwwroot/css/modal-edusmartx.css */

.edusmartx-modal[b-hc3v4ncvs0] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    padding: 1rem;
}

    .edusmartx-modal.edusmartx-modal-open[b-hc3v4ncvs0] {
        display: flex;
    }

.edusmartx-modal-content[b-hc3v4ncvs0] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    animation: edusmartxModalFadeIn-b-hc3v4ncvs0 0.3s ease-out;
}

.edusmartx-modal-header[b-hc3v4ncvs0] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem 1rem;
    border-bottom: 1px solid #eee;
    border-radius: 12px 12px 0 0;
    background: #f8f9fa;
}

    .edusmartx-modal-header h3[b-hc3v4ncvs0] {
        margin: 0;
        font-size: 1.5rem;
        font-weight: 600;
        color: #2E5AAC;
    }

.edusmartx-close-btn[b-hc3v4ncvs0] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: transparent;
    font-size: 1.4rem;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

    .edusmartx-close-btn:hover[b-hc3v4ncvs0] {
        background: #f0f0f0;
        color: #333;
    }

.edusmartx-form-grid[b-hc3v4ncvs0] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem;
}

@media (min-width: 768px) {
    .edusmartx-form-grid[b-hc3v4ncvs0] {
        grid-template-columns: 1fr 1fr;
    }
}

.edusmartx-form-field[b-hc3v4ncvs0] {
    display: flex;
    flex-direction: column;
}

.edusmartx-label[b-hc3v4ncvs0] {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.edusmartx-required[b-hc3v4ncvs0] {
    color: #ff3860;
}

.edusmartx-error[b-hc3v4ncvs0] {
    color: #ff3860;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.edusmartx-color-preview[b-hc3v4ncvs0] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 2rem;
    font-size: 1rem;
}

.edusmartx-color-box[b-hc3v4ncvs0] {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
    border: 4px solid white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.edusmartx-modal-footer[b-hc3v4ncvs0] {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-top: 1px solid #eee;
    background: #f8f9fa;
    border-radius: 0 0 12px 12px;
}

.edusmartx-btn-cancel[b-hc3v4ncvs0] {
    min-width: 120px;
}

.edusmartx-btn-create[b-hc3v4ncvs0] {
    min-width: 140px;
}

@keyframes edusmartxModalFadeIn-b-hc3v4ncvs0 {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* /Components/Pages/Office/MyLessonNote/Lesson-review.razor.rz.scp.css */
/* /Components/Pages/Office/MyLessonNote/LessonPreviewModal.razor.rz.scp.css */
body[b-e2z14sfktl] {
    font-family: 'Inter', sans-serif;
    background-color: #f7f9fb;
}

.color-accent[b-e2z14sfktl] {
    background-color: var(--week-color);
}

.text-accent[b-e2z14sfktl] {
    color: var(--week-color);
}

#content-wrapper[b-e2z14sfktl] {
    transition: all 0.3s ease;
    max-width: 56rem;
    margin: auto;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 48px);
}

    #content-wrapper.full-screen[b-e2z14sfktl] {
        max-width: 100%;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
        height: 100%;
        overflow-y: auto;
        max-height: none;
    }

.modal-content-area[b-e2z14sfktl] {
    overflow-y: auto;
    flex-grow: 1;
}

#content-wrapper.full-screen .modal-content-area[b-e2z14sfktl] {
    overflow-y: visible;
}

.main-content[b-e2z14sfktl] {
    display: block;
}

.video-container[b-e2z14sfktl] {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    margin-top: 1rem;
    border-radius: 0.5rem;
    overflow: hidden;
}

    .video-container iframe[b-e2z14sfktl], .video-container video[b-e2z14sfktl] {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.audio-player[b-e2z14sfktl] {
    width: 100%;
    margin-top: 1rem;
    border-radius: 0.5rem;
}

.preview-content[b-e2z14sfktl] {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    position: relative;
}

    .preview-content img[b-e2z14sfktl] {
        display: block;
        max-width: 100%;
        max-height: 80vh;
        object-fit: contain;
        margin: auto;
        border-radius: 0.5rem;
    }

    .preview-content video[b-e2z14sfktl], .preview-content audio[b-e2z14sfktl] {
        max-width: 90vw;
        max-height: 90vh;
        display: block;
        margin: auto;
    }

.spinner[b-e2z14sfktl] {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    animation: spin-b-e2z14sfktl 1s linear infinite;
    margin: auto;
}

@keyframes spin-b-e2z14sfktl {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.wait-overlay[b-e2z14sfktl] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6);
    z-index: 90999;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* /Components/Pages/Office/MyLessonNote/MainContentModal.razor.rz.scp.css */
/* /Components/Pages/Office/MyLessonNote/Mylessonnote.razor.rz.scp.css */
/* /Components/Pages/Office/MyLessonNote/SpecificObjectivesModal.razor.rz.scp.css */
/* /Components/Pages/Office/MyNote/MySticky.razor.rz.scp.css */
/* /Components/Pages/Office/Todo/Mytodo.razor.rz.scp.css */
