.edupro-class-page {
    color: #061733;
}

.edupro-class-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 34px;
}

.edupro-class-header h1 {
    margin: 0 0 8px;
    font-size: 32px;
    line-height: 1.2;
    color: #071a3d;
    font-weight: 800;
}

.edupro-class-header p {
    margin: 0;
    color: #526783;
    font-size: 16px;
}

.edupro-btn-primary {
    border: 0;
    min-height: 44px;
	display: flex;
    align-items: center;
    padding: 0 22px;
    border-radius: 12px;
    background: #ec0044;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(236, 0, 68, 0.18);
    transition: all 0.2s ease;
}

.edupro-btn-primary:hover {
    background: #d7003e;
    transform: translateY(-1px);
}

.edupro-btn-primary span {
    margin-right: 7px;
    font-size: 18px;
}

.edupro-btn-outline {
    min-height: 44px;
    padding: 0 22px;
    border-radius: 8px;
    border: 1px solid #bfd0e4;
    background: #fff;
    color: #193455;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.edupro-btn-outline:hover {
    border-color: #ec0044;
    color: #ec0044;
}

.edupro-class-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 390px));
    gap: 24px;
}

.edupro-class-card {
    background: #fff;
    border: 1px solid #d8e1ec;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.07);
    transition: all 0.25s ease;
}

.edupro-class-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.1);
}

.edupro-class-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.edupro-class-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: #fff0bd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f97316;
}

.edupro-class-icon svg {
    width: 25px;
    height: 25px;
    stroke: currentColor;
}

.edupro-student-badge {
    background: #f2f5f9;
    border-radius: 999px;
    padding: 6px 14px;
    color: #12345a;
    font-size: 13px;
    font-weight: 800;
}

.edupro-class-card h3 {
    margin: 0 0 12px;
    font-size: 21px;
    color: #061733;
}

.edupro-class-teacher {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #273d59;
    font-size: 15px;
    margin-bottom: 20px;
}

.edupro-mini-icon {
    display: inline-flex;
    color: #273d59;
}

.edupro-mini-icon svg {
    width: 17px;
    height: 17px;
}

.edupro-class-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    border-top: 1px solid #e8eef5;
    padding-top: 16px;
}

.edupro-btn-edit,
.edupro-btn-delete {
    min-height: 38px;
    border-radius: 7px;
    background: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.edupro-btn-edit {
    border: 1px solid #bfd0e4;
    color: #193455;
}

.edupro-btn-edit:hover {
    background: #eef6ff;
    border-color: #77a9df;
}

.edupro-btn-delete {
    border: 1px solid #ffb4c2;
    color: #ec0044;
}

.edupro-btn-delete:hover {
    background: #fff1f4;
    border-color: #ec0044;
}

.edupro-class-form-card {
    width: 100%;
	max-width: 85%;
    background: #fff;
    border: 1px solid #d8e1ec;
    border-radius: 16px;
    padding: 34px;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08);
}

.edupro-class-form-card h2 {
    margin: 0 0 28px;
    font-size: 24px;
    color: #061733;
}

.edupro-form-group {
    margin-bottom: 24px;
}

.edupro-form-group label,
.edupro-student-filter label {
    display: block;
    margin-bottom: 10px;
    color: #142846;
    font-weight: 800;
    font-size: 15px;
}

.edupro-form-group label span {
    color: #ec0044;
}

.edupro-form-group input[type="text"],
.edupro-form-group select,
.edupro-filter-row input {
    width: 100%;
    height: 52px;
    border: 1px solid #bfd0e4;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 16px;
    color: #061733;
    outline: none;
    background: #fff;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.edupro-form-group input[type="text"]:focus,
.edupro-form-group select:focus,
.edupro-filter-row input:focus {
    border-color: #6aa4e8;
    box-shadow: 0 0 0 3px rgba(106, 164, 232, 0.15);
}

.edupro-student-filter {
    margin-bottom: 22px;
}

.edupro-filter-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto auto;
    gap: 10px;
}

.edupro-btn-filter,
.edupro-btn-clear {
    height: 52px;
    padding: 0 16px;
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
}

.edupro-btn-filter {
    border: 1px solid #ec0044;
    background: #ec0044;
    color: #fff;
}

.edupro-btn-filter:hover {
    background: #d7003e;
}

.edupro-btn-clear {
    border: 1px solid #bfd0e4;
    background: #fff;
    color: #193455;
}

.edupro-btn-clear:hover {
    color: #ec0044;
    border-color: #ec0044;
}

.edupro-student-list {
    border: 1px solid #bfd0e4;
    border-radius: 10px;
    padding: 14px 22px;
    min-height: 130px;
    max-height: 310px;
    overflow-y: auto;
}

.edupro-student-item {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    cursor: pointer;
    color: #061733;
}

#edupro-student-list .edupro-student-item {
	min-height: unset !important;
	display: flex;
    align-items: center;
}

#edupro-student-list .edupro-form-group label {
	min-height: unset;
    display: flex;
    align-items: center;
}
.edupro-student-left {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.page-id-72 #eduproNotifyBell,
.page-id-59 #eduproNotifyBell,
.page-id-71 #eduproNotifyBell,
.page-id-66 #eduproNotifyBell{
	display: none !important;
}
#edupro-student-list .edupro-student-left input {
    width: 16px !important;
    height: 16px !important;
	min-height: unset !important;
    accent-color: #0a84d6;
}

.edupro-student-right {
    color: #46617f;
    font-size: 13px;
}

.edupro-form-footer {
    border-top: 1px solid #e8eef5;
    padding-top: 18px;
    display: flex;
    justify-content: flex-end;
}

.edupro-btn-submit {
    min-width: 150px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: #f5749c;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
}

.edupro-btn-submit:hover {
    background: #ec0044;
    transform: translateY(-1px);
}

.edupro-btn-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.edupro-loading-box,
.edupro-loading-small,
.edupro-empty-class,
.edupro-empty-student {
    background: #fff;
    border: 1px solid #d8e1ec;
    color: #526783;
    border-radius: 14px;
    padding: 24px;
    font-weight: 700;
}

.edupro-loading-small,
.edupro-empty-student {
    border: 0;
    padding: 12px 0;
}

/* hiệu ứng nổi lên */
.edupro-animate-item {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.55s ease;
}

.edupro-animate-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {
    .edupro-class-list {
        grid-template-columns: 1fr;
    }

    .edupro-filter-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {

    .edupro-class-header {
        flex-direction: column;
    }

    .edupro-class-form-card {
        padding: 24px 18px;
		max-width: 90%;
    }

    .edupro-student-item {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =========================================================
   EDUPRO UI FIX V26 - Sidebar/menu/table responsive chuẩn
   Ghi đè các đoạn CSS cũ bị trùng gây hở sidebar / mất chữ.
========================================================= */
:root {
    --edupro-smart-sidebar: 270px;
    --edupro-smart-sidebar-mini: 86px;
    --edupro-smart-bg: #f4f7fb;
    --edupro-smart-dark: #0f172a;
    --edupro-smart-primary: #6d5df6;
}

html, body { overflow-x: hidden !important; }

body.edupro-has-smart-sidebar .edupro-role-sidebar-toggle {
    position: fixed;
    top: 18px;
    left: 218px;
    z-index: 100100;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(148, 163, 184, .25);
    border-radius: 14px;
    background: #ffffff;
    color: #0f172a;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    box-shadow: 0 14px 32px rgba(15, 23, 42, .12);
    transition: .22s ease;
}

body.edupro-has-smart-sidebar .edupro-role-sidebar-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    display: block;
}

body.edupro-sidebar-collapsed .edupro-role-sidebar-toggle { left: 21px; }

body.edupro-smart-sidebar-admin .edupro-role-sidebar-toggle {
    left: 212px;
}

body.edupro-smart-sidebar-admin.edupro-sidebar-collapsed .edupro-role-sidebar-toggle {
    left: 20px;
}

body.edupro-has-smart-sidebar .edupro-sidebar-mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 100050;
    background: rgba(15, 23, 42, .48);
    opacity: 0;
    visibility: hidden;
    transition: .22s ease;
}

body.edupro-sidebar-open .edupro-sidebar-mobile-overlay {
    opacity: 1;
    visibility: visible;
}

@media (min-width: 1025px) {
    body.edupro-smart-sidebar-teacher .edupro-teacher-sidebar,
    body.edupro-smart-sidebar-student .edupro-student-sidebar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        width: var(--edupro-smart-sidebar) !important;
        min-width: var(--edupro-smart-sidebar) !important;
        max-width: var(--edupro-smart-sidebar) !important;
        height: 100vh !important;
        min-height: 100vh !important;
        max-height: 100vh !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
        background: var(--edupro-smart-dark) !important;
        color: #e5eefc !important;
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 100000 !important;
        box-shadow: 10px 0 34px rgba(15,23,42,.08) !important;
        transition: width .24s ease, min-width .24s ease, max-width .24s ease;
    }

    body.edupro-smart-sidebar-admin .edupro-sidebar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        width: 260px !important;
        min-width: 260px !important;
        max-width: 260px !important;
        height: 100vh !important;
        min-height: 100vh !important;
        max-height: 100vh !important;
        background: #ffffff !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
        z-index: 100000 !important;
        box-shadow: 10px 0 34px rgba(15,23,42,.06) !important;
        transition: width .24s ease, min-width .24s ease, max-width .24s ease;
    }

    body.edupro-smart-sidebar-teacher .edupro-teacher-dashboard-main,
    body.edupro-smart-sidebar-teacher .edupro-schedule-pro-main,
    body.edupro-smart-sidebar-teacher .edupro-teacher-reviews-main,
    body.edupro-smart-sidebar-teacher .edupro-teacher-material-main,
    body.edupro-smart-sidebar-student .edupro-student-main {
        width: calc(100% - var(--edupro-smart-sidebar)) !important;
        margin-left: var(--edupro-smart-sidebar) !important;
        padding-left: 34px !important;
        padding-right: 34px !important;
        box-sizing: border-box !important;
        transition: margin-left .24s ease, width .24s ease;
    }

    body.edupro-smart-sidebar-admin .edupro-main {
        width: calc(100% - 260px) !important;
        margin-left: 260px !important;
        margin-right: 0 !important;
        max-width: none !important;
        box-sizing: border-box !important;
        transition: margin-left .24s ease, width .24s ease;
    }

    body.edupro-sidebar-collapsed.edupro-smart-sidebar-teacher .edupro-teacher-sidebar,
    body.edupro-sidebar-collapsed.edupro-smart-sidebar-student .edupro-student-sidebar,
    body.edupro-sidebar-collapsed.edupro-smart-sidebar-admin .edupro-sidebar {
        width: var(--edupro-smart-sidebar-mini) !important;
        min-width: var(--edupro-smart-sidebar-mini) !important;
        max-width: var(--edupro-smart-sidebar-mini) !important;
    }

    body.edupro-sidebar-collapsed.edupro-smart-sidebar-admin .edupro-sidebar-logo strong,
    body.edupro-sidebar-collapsed.edupro-smart-sidebar-admin .edupro-sidebar-menu a > span:not(.edupro-menu-icon),
    body.edupro-sidebar-collapsed.edupro-smart-sidebar-admin .edupro-sidebar-footer a > span:not(.edupro-menu-icon),
    body.edupro-sidebar-collapsed.edupro-smart-sidebar-teacher .edupro-teacher-brand strong,
    body.edupro-sidebar-collapsed.edupro-smart-sidebar-teacher .edupro-teacher-menu a span,
    body.edupro-sidebar-collapsed.edupro-smart-sidebar-teacher .edupro-teacher-menu-label > span,
    body.edupro-sidebar-collapsed.edupro-smart-sidebar-teacher .edupro-teacher-menu-arrow,
    body.edupro-sidebar-collapsed.edupro-smart-sidebar-teacher .edupro-teacher-submenu,
    body.edupro-sidebar-collapsed.edupro-smart-sidebar-teacher .edupro-teacher-user div:not(.edupro-teacher-user-avatar),
    body.edupro-sidebar-collapsed.edupro-smart-sidebar-teacher .edupro-teacher-logout span,
    body.edupro-sidebar-collapsed.edupro-smart-sidebar-student .edupro-student-brand strong,
    body.edupro-sidebar-collapsed.edupro-smart-sidebar-student .edupro-student-menu a span,
    body.edupro-sidebar-collapsed.edupro-smart-sidebar-student .edupro-student-menu-label > span,
    body.edupro-sidebar-collapsed.edupro-smart-sidebar-student .edupro-student-menu-arrow,
    body.edupro-sidebar-collapsed.edupro-smart-sidebar-student .edupro-student-submenu,
    body.edupro-sidebar-collapsed.edupro-smart-sidebar-student .edupro-student-user div:not(.edupro-student-avatar),
    body.edupro-sidebar-collapsed.edupro-smart-sidebar-student .edupro-student-logout span {
        display: none !important;
    }

    body.edupro-sidebar-collapsed.edupro-smart-sidebar-teacher .edupro-teacher-menu,
    body.edupro-sidebar-collapsed.edupro-smart-sidebar-student .edupro-student-menu,
    body.edupro-sidebar-collapsed.edupro-smart-sidebar-admin .edupro-sidebar-menu {
        padding-left: 12px !important;
        padding-right: 12px !important;
        align-items: center !important;
    }

    body.edupro-sidebar-collapsed.edupro-smart-sidebar-teacher .edupro-teacher-menu a,
    body.edupro-sidebar-collapsed.edupro-smart-sidebar-teacher .edupro-teacher-menu-parent,
    body.edupro-sidebar-collapsed.edupro-smart-sidebar-student .edupro-student-menu a,
    body.edupro-sidebar-collapsed.edupro-smart-sidebar-student .edupro-student-menu-parent,
    body.edupro-sidebar-collapsed.edupro-smart-sidebar-admin .edupro-sidebar-menu a,
    body.edupro-sidebar-collapsed.edupro-smart-sidebar-admin .edupro-sidebar-footer a {
        width: 56px !important;
        min-width: 56px !important;
        padding: 0 !important;
        justify-content: center !important;
        gap: 0 !important;
    }

    body.edupro-sidebar-collapsed.edupro-smart-sidebar-teacher .edupro-teacher-dashboard-main,
    body.edupro-sidebar-collapsed.edupro-smart-sidebar-teacher .edupro-schedule-pro-main,
    body.edupro-sidebar-collapsed.edupro-smart-sidebar-teacher .edupro-teacher-reviews-main,
    body.edupro-sidebar-collapsed.edupro-smart-sidebar-teacher .edupro-teacher-material-main,
    body.edupro-sidebar-collapsed.edupro-smart-sidebar-student .edupro-student-main {
        width: calc(100% - var(--edupro-smart-sidebar-mini)) !important;
        margin-left: var(--edupro-smart-sidebar-mini) !important;
    }

    body.edupro-sidebar-collapsed.edupro-smart-sidebar-admin .edupro-main {
        width: calc(100% - var(--edupro-smart-sidebar-mini)) !important;
        margin-left: var(--edupro-smart-sidebar-mini) !important;
    }
}

@media (max-width: 1024px) {
    body.edupro-has-smart-sidebar .edupro-role-sidebar-toggle {
        top: 16px;
        left: 16px !important;
        width: 48px;
        height: 48px;
        border-radius: 16px;
        background: var(--edupro-smart-primary);
        color: #fff;
    }

    body.edupro-smart-sidebar-admin .edupro-sidebar,
    body.edupro-smart-sidebar-teacher .edupro-teacher-sidebar,
    body.edupro-smart-sidebar-student .edupro-student-sidebar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        width: 292px !important;
        min-width: 292px !important;
        max-width: 292px !important;
        height: 100vh !important;
        max-height: 100vh !important;
        overflow-y: auto !important;
        transform: translateX(-110%) !important;
        transition: transform .24s ease !important;
        z-index: 100090 !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: 20px 0 60px rgba(15,23,42,.24) !important;
    }

    body.edupro-sidebar-open.edupro-smart-sidebar-admin .edupro-sidebar,
    body.edupro-sidebar-open.edupro-smart-sidebar-teacher .edupro-teacher-sidebar,
    body.edupro-sidebar-open.edupro-smart-sidebar-student .edupro-student-sidebar {
        transform: translateX(0) !important;
    }

    body.edupro-smart-sidebar-admin .edupro-main,
    body.edupro-smart-sidebar-teacher .edupro-teacher-dashboard-main,
    body.edupro-smart-sidebar-teacher .edupro-schedule-pro-main,
    body.edupro-smart-sidebar-teacher .edupro-teacher-reviews-main,
    body.edupro-smart-sidebar-teacher .edupro-teacher-material-main,
    body.edupro-smart-sidebar-student .edupro-student-main {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 82px 18px 28px !important;
        box-sizing: border-box !important;
    }
}

/* Table/Card responsive đẹp hơn */
.edupro-table, .edupro-student-table, .edupro-teacher-table { border-collapse: separate !important; border-spacing: 0 !important; }
.edupro-table th, .edupro-student-table th, .edupro-teacher-table th { background: #f8fbff !important; color: #334155 !important; font-weight: 900 !important; }
.edupro-table td, .edupro-student-table td, .edupro-teacher-table td { vertical-align: middle !important; }

@media (max-width: 768px) {
    .edupro-table thead, .edupro-student-table thead, .edupro-teacher-table thead { display: none !important; }
    .edupro-table, .edupro-table tbody, .edupro-table tr, .edupro-table td,
    .edupro-student-table, .edupro-student-table tbody, .edupro-student-table tr, .edupro-student-table td,
    .edupro-teacher-table, .edupro-teacher-table tbody, .edupro-teacher-table tr, .edupro-teacher-table td { display: block !important; width: 100% !important; }
    .edupro-table tr, .edupro-student-table tr, .edupro-teacher-table tr { margin-bottom: 14px !important; border: 1px solid #dfe7f3 !important; border-radius: 18px !important; background: #fff !important; overflow: hidden !important; box-shadow: 0 12px 28px rgba(15,23,42,.05) !important; }
    .edupro-table td, .edupro-student-table td, .edupro-teacher-table td { border-bottom: 1px solid #eef2f7 !important; padding: 14px 16px !important; }
    .edupro-table td:last-child, .edupro-student-table td:last-child, .edupro-teacher-table td:last-child { border-bottom: 0 !important; }
}

/* EduPro: bộ lọc + phân trang danh sách admin */
.edupro-admin-list-tools{display:grid;grid-template-columns:minmax(240px,1fr) minmax(180px,.45fr) minmax(160px,.35fr) auto;gap:12px;align-items:end;padding:16px;margin:0 0 16px;border:1px solid #dbe4ef;border-radius:20px;background:#fff;box-shadow:0 14px 36px rgba(15,23,42,.05)}
.edupro-admin-list-tools[data-admin-filter="teacher"],.edupro-admin-list-tools[data-admin-filter="student"]{grid-template-columns:minmax(240px,1fr) minmax(180px,.45fr) auto}.edupro-admin-list-tools label{display:block;margin:0 0 7px;color:#475569;font-size:13px;font-weight:800}.edupro-admin-list-tools input,.edupro-admin-list-tools select{width:100%;min-height:44px;border:1px solid #cbd5e1;border-radius:13px;background:#fff;padding:0 14px;color:#0f172a;font:inherit;box-sizing:border-box}.edupro-admin-list-reset{min-height:44px;padding:0 18px;border-radius:13px;border:1px solid #dbe4ef;background:#f8fafc;color:#334155;font-weight:900;cursor:pointer}.edupro-admin-list-count{margin:0 0 12px;color:#64748b;font-size:14px;font-weight:700}.edupro-admin-list-pagination{display:flex;align-items:center;justify-content:center;gap:8px;margin:18px 0 24px;flex-wrap:wrap}.edupro-admin-list-pagination button{min-width:38px;min-height:38px;border-radius:12px;border:1px solid #dbe4ef;background:#fff;color:#334155;font-weight:800;cursor:pointer}.edupro-admin-list-pagination button.active{background:#6d5dfc;border-color:#6d5dfc;color:#fff}.edupro-admin-list-pagination button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:900px){.edupro-admin-list-tools,.edupro-admin-list-tools[data-admin-filter="teacher"],.edupro-admin-list-tools[data-admin-filter="student"]{grid-template-columns:1fr}}

/* Admin class improvements */
.edupro-filter-row-wide{display:grid;grid-template-columns:minmax(220px,1fr) 170px 170px auto auto;gap:12px;align-items:end}.edupro-filter-row-wide input[type=search]{min-width:0}.edupro-student-left{display:flex;gap:10px;align-items:center}.edupro-student-left em{display:block;font-size:12px;color:#718096;font-style:normal;margin-top:3px}.edupro-class-material-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px;max-height:280px;overflow:auto;padding:10px;border:1px solid #dbe5f3;border-radius:16px;background:#f8fafc}.edupro-class-material-item{display:flex;gap:10px;align-items:flex-start;padding:10px;border:1px solid #e3ebf7;border-radius:12px;background:#fff;cursor:pointer}.edupro-class-material-item span{display:block}.edupro-class-material-item strong{display:block;color:#0f172a}.edupro-class-material-item em{display:block;font-style:normal;font-size:12px;color:#64748b;margin-top:3px}@media(max-width:1100px){.edupro-filter-row-wide{grid-template-columns:1fr 1fr}.edupro-filter-row-wide input[type=search]{grid-column:1/-1}}

.edupro-class-material-filter{grid-template-columns:1.35fr 1fr 1fr 1fr auto!important}
@media(max-width:900px){.edupro-class-material-filter{grid-template-columns:1fr!important}}

/* Admin class form: material folder accordion */
.edupro-class-material-folder-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    max-height: 360px !important;
    overflow: auto !important;
    padding: 12px !important;
    border: 1px solid #dbe5f3 !important;
    border-radius: 18px !important;
    background: #f8fafc !important;
}

.edupro-class-material-folder {
    border: 1px solid #dbe7fb;
    border-radius: 18px;
    background: #ffffff;
    overflow: hidden;
}

.edupro-class-material-folder-head {
    width: 100%;
    border: 0;
    background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-align: left;
    color: #0f1f3d;
}

.edupro-class-material-folder-head:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f2f0ff 100%);
}

.edupro-class-material-folder .edupro-folder-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 13px;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(91, 75, 255, .10);
}

.edupro-class-material-folder .edupro-folder-title {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 15px;
    font-weight: 800;
    color: #071735;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.edupro-class-material-folder .edupro-folder-count,
.edupro-class-material-folder .edupro-folder-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.edupro-class-material-folder .edupro-folder-count {
    background: #edeaff;
    color: #5b4bff;
}

.edupro-class-material-folder .edupro-folder-toggle {
    background: #ffffff;
    color: #5b4bff;
    border: 1px solid #d9d5ff;
}

.edupro-class-material-folder-body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
    border-top: 1px solid #e6edf8;
    background: #ffffff;
}

.edupro-class-material-folder-body[hidden] {
    display: none !important;
}

.edupro-class-material-folder-body .edupro-class-material-item {
    margin: 0;
}

@media (max-width: 760px) {
    .edupro-class-material-folder-head {
        flex-wrap: wrap;
    }
    .edupro-class-material-folder-body {
        grid-template-columns: 1fr;
    }
}

/* EduPro v27: khối dạng khối text */
.edupro-fixed-class-block-field .edupro-fixed-class-pill-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
    gap:10px;
    padding:12px;
    border:1px solid #dbe7fb;
    border-radius:18px;
    background:#f8fbff;
}
.edupro-fixed-class-pill{
    width:100%;
    min-height:48px;
    border:1px solid #d8e3f5;
    border-radius:15px;
    background:#fff;
    color:#0f172a;
    text-align:left;
    padding:12px 14px;
    cursor:pointer;
    transition:.18s ease;
}
.edupro-fixed-class-pill span{
    display:block;
    font-weight:600;
    white-space:normal;
    line-height:1.35;
}
.edupro-fixed-class-pill:hover,
.edupro-fixed-class-pill.active{
    border-color:#6457f4;
    background:#f1efff;
    color:#4f46e5;
    box-shadow:0 10px 24px rgba(91,75,255,.10);
}
.edupro-fixed-class-help{display:block;margin-top:7px;color:#64748b;font-size:12px}

/* EduPro 28/05 patch: kho tài liệu admin không để nút che dung lượng */
.edupro-material-card,
.edupro-admin-material-card,
.edupro-material-folder-row{
    overflow:hidden!important;
}
.edupro-material-card,
.edupro-admin-material-card{
    display:grid!important;
    grid-template-columns:46px minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:14px!important;
}
.edupro-material-card-info,
.edupro-admin-material-card-info,
.edupro-material-folder-meta{
    min-width:0!important;
    overflow:hidden!important;
}
.edupro-material-card-info h3,
.edupro-admin-material-card-info h3,
.edupro-material-card-info p,
.edupro-admin-material-card-info p,
.edupro-material-folder-meta strong,
.edupro-material-folder-meta span{
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
}
.edupro-material-card-actions,
.edupro-material-actions,
.edupro-material-card button,
.edupro-admin-material-card button,
.edupro-material-card .edupro-btn,
.edupro-admin-material-card .edupro-btn{
    position:static!important;
    z-index:1!important;
    flex:0 0 auto!important;
    white-space:nowrap!important;
}

/* EduPro CSS cleanup: các patch 01/06 bị trùng class đã được chuyển sang edupro-clean-responsive.css */
