.dxh-shell{display:flex;min-height:70vh;background:#ffffff;color:#182033}.dxh-shell aside{width:235px;background:#101827;color:#fff;padding:22px}.dxh-shell aside a{display:block;color:#dfe8ff;text-decoration:none;padding:11px;border-radius:10px;margin:4px 0}.dxh-shell aside a:hover{background:#22304d}.dxh-shell main{flex:1;padding:26px}.dxh-panel{background:#fff;border:1px solid #e5e9f2;border-radius:18px;padding:20px;margin:16px 0;box-shadow:0 8px 24px rgba(16,24,39,.06)}.dxh-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:16px}.dxh-cards a{background:#fff;border:1px solid #e5e9f2;border-radius:18px;padding:20px;text-decoration:none;color:#182033;box-shadow:0 8px 24px rgba(16,24,39,.06)}.dxh-cards strong{font-size:30px}.dxh-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px}.dxh-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px}.dxh-form label{font-weight:700}.dxh-form input,.dxh-form select,.dxh-form textarea{width:100%;padding:10px;border:1px solid #cfd8e5;border-radius:10px;margin-top:6px}.full{grid-column:1/-1}.dxh-btn{display:inline-block;background:#0b63ce;color:#fff!important;padding:10px 14px;border-radius:10px;text-decoration:none;border:0;cursor:pointer}.dxh-btn.small{padding:6px 10px;font-size:13px}.dxh-alert{background:#eef6ff;border-left:5px solid #0b63ce;padding:13px;margin:12px 0}.dxh-alert.good{border-color:#15803d}.dxh-alert.warn{border-color:#b45309}.dxh-alert.bad{border-color:#b91c1c}table{width:100%;border-collapse:collapse;background:#fff}th,td{border-bottom:1px solid #e5e9f2;padding:10px;text-align:left}.orderbox{background:#f1f5ff;border:1px solid #cad9ff;border-radius:15px;padding:16px}
.dxh-muted{color:#64748b;font-size:13px;margin-top:10px}.dxh-activity li{margin:8px 0;padding:8px 0;border-bottom:1px solid #e5e7eb}.dxh-activity small{display:block;color:#64748b;margin-top:3px}
.dxh-status-box{background:#f8fafc;border:1px solid #dbe3ef;border-radius:14px;padding:14px;margin-top:4px}.dxh-status-box h3{margin:0 0 6px;font-size:16px}.dxh-status-box label{display:block;margin-top:10px}
.dxh-order-toggle-wrap{margin:4px 0 8px}.dxh-order-form{margin-top:16px;background:#f8fbff;border:1px solid #d8e6fb;border-radius:16px;padding:16px}.dxh-course-builder{display:block}.dxh-course-row{background:#fff;border:1px solid #dbe3ef;border-radius:14px;padding:14px;margin:12px 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px}.dxh-course-head{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;background:#eef5ff;border-radius:10px;padding:10px 12px}.dxh-remove-course{background:#fff;border:1px solid #d0d7e2;color:#334155;border-radius:8px;padding:6px 10px;cursor:pointer}.dxh-add-course{margin-top:6px}

/* Address fields */
.dxh-address-block{border:1px solid #e5e7eb;border-radius:14px;padding:14px;background:#fafafa;margin:8px 0 10px}
.dxh-address-block h3{margin:0 0 10px;font-size:16px}

/* Student file order opener - native details so it works without JS */
.dxh-order-details{display:block;margin-top:10px}
.dxh-order-details>summary{list-style:none;display:inline-block;user-select:none}
.dxh-order-details>summary::-webkit-details-marker{display:none}
.dxh-order-details[open]>summary{background:#064fa5}
.dxh-address-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px}
.dxh-address-grid label{font-weight:700}
.dxh-address-grid input{width:100%;padding:10px;border:1px solid #cfd8e5;border-radius:10px;margin-top:6px;background:#fff}
.dxh-order-summary{background:#fff;border:1px solid #cbd5e1;border-radius:14px;padding:14px;margin:12px 0;max-width:520px}.dxh-order-summary h3{margin:0 0 10px}.dxh-summary-row{display:flex;justify-content:space-between;gap:20px;padding:8px 0;border-bottom:1px solid #edf2f7}.dxh-summary-row.total{font-size:1.08em;border-top:2px solid #0f172a;border-bottom:0;margin-top:6px;padding-top:12px}.dxh-auto-last-payment{background:#eef6ff!important;font-weight:700}.dxh-installment-warning{margin-top:8px;color:#166534;font-weight:600}.dxh-installment-warning.bad{color:#b91c1c}.dxh-installment-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;background:#fff;border:1px solid #dbe3ef;border-radius:12px;padding:12px;margin:10px 0}
.dxh-course-card{border:1px solid #e5e7eb;border-radius:12px;margin:10px 0;padding:12px;background:#fff}.dxh-course-card summary{cursor:pointer;display:flex;justify-content:space-between;gap:12px;align-items:center}.dxh-muted{color:#6b7280;font-weight:400}.dxh-course-card table{margin-top:12px}

/* Professional courses module */
.dxh-courses-panel{padding:18px;background:#f8fafc}
.dxh-course-list.pro{display:grid;gap:14px}
.dxh-course-card.pro{border:1px solid #dbe3ef;border-radius:18px;background:#fff;padding:0;overflow:hidden;box-shadow:0 8px 20px rgba(16,24,39,.05)}
.dxh-course-card.pro summary{padding:16px 18px;display:flex;align-items:center;justify-content:space-between;gap:16px;list-style:none;cursor:pointer;background:#fff}
.dxh-course-card.pro summary::-webkit-details-marker{display:none}
.dxh-course-main{display:flex;flex-direction:column;gap:4px;min-width:220px}
.dxh-course-main strong{font-size:16px;color:#111827}
.dxh-course-main small{color:#64748b;font-size:13px}
.dxh-course-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.dxh-inline-form{display:inline-flex;margin:0}
.dxh-status-badge{display:inline-flex;align-items:center;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:700;border:1px solid #dbe3ef;background:#f8fafc;color:#334155}
.dxh-status-badge.published{background:#ecfdf5;border-color:#bbf7d0;color:#166534}
.dxh-status-badge.private{background:#f1f5f9;border-color:#cbd5e1;color:#475569}
.dxh-btn.muted{background:#475569!important}
.dxh-course-students{margin:0 18px 18px;width:calc(100% - 36px)}
.dxh-empty-course{margin:0 18px 18px;padding:14px;border-radius:12px;background:#f8fafc;color:#64748b;border:1px dashed #cbd5e1}
@media(max-width:760px){.dxh-course-card.pro summary{align-items:flex-start;flex-direction:column}.dxh-course-actions{justify-content:flex-start}}

/* v1.7.5 polished courses page */
.dxh-courses-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}.dxh-courses-head h1{margin:0;font-size:32px;line-height:1.15;color:#0f172a}.dxh-courses-head p{margin:8px 0 0;color:#64748b}.dxh-course-toolbar{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #dbe3ef;border-radius:14px;padding:14px;margin:0 0 18px;box-shadow:0 8px 22px rgba(15,23,42,.04)}.dxh-course-toolbar input,.dxh-course-toolbar select{height:44px;border:1px solid #dbe3ef;border-radius:10px;background:#fff;color:#334155;padding:0 14px;min-width:180px}.dxh-course-toolbar input{min-width:300px;flex:1}.dxh-courses-panel{padding:0;background:transparent;border:0;box-shadow:none}.dxh-course-list.pro{display:flex;flex-direction:column;gap:10px}.dxh-course-card.pro{border:1px solid #dbe3ef;border-radius:14px;background:#fff;padding:0;overflow:hidden;box-shadow:0 10px 24px rgba(15,23,42,.045)}.dxh-course-card.pro summary{min-height:74px;padding:14px 16px;display:grid;grid-template-columns:42px minmax(320px,1fr) 140px 110px auto 40px;align-items:center;gap:16px;list-style:none;cursor:pointer}.dxh-course-card.pro summary::-webkit-details-marker{display:none}.dxh-course-card.pro[open]{border-color:#c7d2fe}.dxh-course-icon{width:42px;height:42px;border-radius:12px;background:#eef2ff;display:inline-flex;align-items:center;justify-content:center;font-size:20px}.dxh-course-main{display:flex;flex-direction:column;gap:7px;min-width:0}.dxh-course-main strong{font-size:16px;color:#0f172a;white-space:normal}.dxh-course-main span{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.dxh-course-main small{color:#64748b;font-size:13px}.dxh-course-code{background:#eef2ff;color:#1d4ed8!important;padding:5px 9px;border-radius:7px;font-weight:700}.dxh-status-badge{justify-self:start;display:inline-flex;align-items:center;gap:7px;border-radius:8px;padding:8px 12px;font-size:13px;font-weight:700;border:0}.dxh-status-badge i{width:10px;height:10px;border-radius:999px;background:currentColor}.dxh-status-badge.published{background:#dcfce7;color:#15803d}.dxh-status-badge.private{background:#f1f5f9;color:#64748b}.dxh-course-count{display:flex;flex-direction:column;gap:2px;color:#0f172a}.dxh-course-count strong{font-size:16px}.dxh-course-count small{color:#64748b}.dxh-course-actions{display:flex;align-items:center;gap:8px;justify-content:flex-end;flex-wrap:nowrap}.dxh-inline-form{display:inline-flex;margin:0}.dxh-btn.outline{background:#fff!important;color:#1d4ed8!important;border:1px solid #93c5fd!important;padding:9px 12px;border-radius:9px;box-shadow:none}.dxh-btn.outline:hover{background:#eff6ff!important}.dxh-course-chevron{justify-self:end;width:32px;height:32px;border:1px solid #dbe3ef;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;color:#334155;background:#fff;font-size:18px}.dxh-course-card.pro[open] .dxh-course-chevron{transform:rotate(180deg)}.dxh-course-student-wrap{padding:0 16px 16px}.dxh-course-students{margin:0!important;width:100%!important;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden}.dxh-course-students th{background:#f8fafc;color:#475569;font-size:12px;text-transform:uppercase;letter-spacing:.02em}.dxh-course-students td,.dxh-course-students th{padding:12px;border-bottom:1px solid #e2e8f0}.dxh-empty-course{margin:0 16px 16px!important;padding:14px;border-radius:12px;background:#f8fafc;color:#64748b;border:1px dashed #cbd5e1}.dxh-course-legend{margin-top:18px;background:#fff;border:1px solid #dbe3ef;border-radius:14px;padding:16px;display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;color:#0f172a}.dxh-course-legend span{display:grid;grid-template-columns:20px 1fr;column-gap:10px;align-items:center}.dxh-course-legend strong{font-size:14px}.dxh-course-legend small{grid-column:2;color:#64748b}.dxh-course-legend i{width:12px;height:12px;border-radius:99px;display:inline-block}.dxh-course-legend .pub{background:#22c55e}.dxh-course-legend .priv{background:#94a3b8}@media(max-width:1050px){.dxh-course-card.pro summary{grid-template-columns:42px 1fr;align-items:flex-start}.dxh-status-badge,.dxh-course-count,.dxh-course-actions,.dxh-course-chevron{grid-column:2}.dxh-course-actions{justify-content:flex-start;flex-wrap:wrap}.dxh-course-toolbar{flex-direction:column;align-items:stretch}.dxh-course-toolbar input,.dxh-course-toolbar select{min-width:0;width:100%}}@media(max-width:640px){.dxh-course-card.pro summary{grid-template-columns:1fr}.dxh-course-icon,.dxh-status-badge,.dxh-course-count,.dxh-course-actions,.dxh-course-chevron{grid-column:1}.dxh-course-main span{display:block}.dxh-course-main small{display:inline-block;margin:4px 8px 0 0}}

/* v1.7.7 structured courses table */
.dxh-course-table-wrap{width:100%;overflow-x:auto;background:#fff;border:1px solid #dbe3ef;border-radius:16px;box-shadow:0 10px 24px rgba(15,23,42,.045)}
.dxh-course-table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;margin:0;overflow:hidden}
.dxh-course-table thead th{background:#f8fafc;color:#334155;font-size:12px;text-transform:uppercase;letter-spacing:.04em;font-weight:800;padding:14px 16px;border-bottom:1px solid #dbe3ef;white-space:nowrap}
.dxh-course-table td{padding:15px 16px;border-bottom:1px solid #edf2f7;vertical-align:middle;color:#182033}
.dxh-course-table tbody tr.dxh-course-main-row:hover{background:#f9fbfd}
.dxh-course-id-badge{display:inline-flex;align-items:center;justify-content:center;background:#eef2ff;color:#1d4ed8;border:1px solid #c7d2fe;border-radius:999px;font-weight:800;font-size:12px;padding:7px 11px;white-space:nowrap}
.dxh-course-action-buttons{display:flex;gap:7px;align-items:center;flex-wrap:wrap;justify-content:flex-start}
.dxh-course-action-buttons .dxh-inline-form{display:inline-flex;margin:0}
.dxh-locked-badge{display:inline-flex;align-items:center;background:#f1f5f9;color:#64748b;border:1px solid #cbd5e1;border-radius:999px;font-weight:700;font-size:12px;padding:7px 11px}
.dxh-btn.danger-light{background:#fff!important;color:#b91c1c!important;border:1px solid #fecaca!important}
.dxh-btn.danger-light:hover{background:#fef2f2!important}
.dxh-course-student-row>td{background:#fbfdff;padding:16px!important;border-bottom:1px solid #dbe3ef}
.dxh-course-students.inner{margin:0!important;width:100%!important;border:1px solid #dbe3ef;border-radius:12px;overflow:hidden;background:#fff}
.dxh-course-students.inner th{background:#f8fafc;color:#475569;font-size:12px;text-transform:uppercase;letter-spacing:.03em;font-weight:800;padding:12px;border-bottom:1px solid #e2e8f0}
.dxh-course-students.inner td{padding:12px;border-bottom:1px solid #edf2f7}
.dxh-empty-course{margin:0!important;padding:14px;border-radius:12px;background:#f8fafc;color:#64748b;border:1px dashed #cbd5e1}
@media(max-width:760px){.dxh-course-table thead{display:none}.dxh-course-table,.dxh-course-table tbody,.dxh-course-table tr,.dxh-course-table td{display:block;width:100%}.dxh-course-table tr.dxh-course-main-row{border-bottom:1px solid #dbe3ef}.dxh-course-table td{border-bottom:0;padding:10px 14px}.dxh-course-table td:nth-child(1)::before{content:'Course ID: ';font-weight:800;color:#64748b}.dxh-course-table td:nth-child(3)::before{content:'Course Created On: ';font-weight:800;color:#64748b}.dxh-course-table td:nth-child(4)::before{content:'Number of Students: ';font-weight:800;color:#64748b}.dxh-course-action-buttons{padding-top:6px}.dxh-course-student-row>td{display:block!important}}


/* v1.7.8 split courses tables */
.dxh-course-sections{display:flex;flex-direction:column;gap:24px}
.dxh-course-section{background:#fff;border:1px solid #dbe3ef;border-radius:18px;padding:18px;box-shadow:0 10px 24px rgba(15,23,42,.045)}
.dxh-course-section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px;padding-bottom:14px;border-bottom:1px solid #edf2f7}
.dxh-course-section-title h2{margin:0;color:#0f172a;font-size:20px;line-height:1.2}
.dxh-course-section-title p{margin:6px 0 0;color:#64748b;font-size:13px}
.dxh-course-section-title span{display:inline-flex;align-items:center;white-space:nowrap;background:#eef2ff;color:#1d4ed8;border:1px solid #c7d2fe;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:800}
.dxh-course-section .dxh-course-table-wrap{box-shadow:none;border-radius:14px}
.dxh-course-section-published-empty{border-left:4px solid #0b63ce}
.dxh-course-section-private-active{border-left:4px solid #64748b}

/* v1.7.9 improved course tables + course dates */
.dxh-course-section{padding:20px;border:1px solid #d7e0ea;border-radius:18px;background:#fff;box-shadow:0 8px 22px rgba(15,23,42,.05)}
.dxh-course-table-wrap{border:1px solid #cfd8e3!important;border-radius:14px!important;overflow:hidden!important;background:#fff!important}
.dxh-course-table{width:100%;border-collapse:collapse!important;border-spacing:0!important;table-layout:auto}
.dxh-course-table thead th{background:#f1f5f9!important;color:#1f2937!important;font-size:12px!important;font-weight:800!important;text-transform:uppercase;letter-spacing:.04em;padding:13px 14px!important;border-right:1px solid #dbe3ef!important;border-bottom:1px solid #cfd8e3!important;text-align:left;white-space:nowrap}
.dxh-course-table thead th:last-child{border-right:0!important}
.dxh-course-table td{padding:13px 14px!important;border-right:1px solid #e5eaf1!important;border-bottom:1px solid #e5eaf1!important;vertical-align:middle!important;background:#fff;color:#172033}
.dxh-course-table td:last-child{border-right:0!important}
.dxh-course-table tbody tr.dxh-course-main-row:hover td{background:#f8fbff!important}
.dxh-course-date-form{display:flex;align-items:center;gap:8px;min-width:250px}
.dxh-course-date-form input{height:36px;border:1px solid #cfd8e3;border-radius:8px;padding:0 10px;min-width:145px;width:100%;background:#fff;color:#111827}
.dxh-course-action-buttons{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:260px}
.dxh-course-id-badge{background:#eaf2ff!important;border:1px solid #bdd6ff!important;color:#0b63ce!important;border-radius:999px;font-size:12px;font-weight:800;padding:7px 11px;display:inline-flex;white-space:nowrap}
.dxh-locked-badge{display:inline-flex;align-items:center;border:1px solid #d1d5db;background:#f9fafb;color:#6b7280;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:700}
.dxh-course-student-row>td{background:#fbfdff!important;padding:16px!important}
@media(max-width:900px){.dxh-course-date-form,.dxh-course-action-buttons{min-width:0}.dxh-course-date-form{flex-wrap:wrap}.dxh-course-date-form input{min-width:180px}}


/* v1.8.2 course dates and table polish */
.dxh-course-table { border:1px solid #d9e1ec; border-collapse:separate; border-spacing:0; }
.dxh-course-table th, .dxh-course-table td { border-right:1px solid #e4eaf2; border-bottom:1px solid #e4eaf2; vertical-align:top; }
.dxh-course-table th:last-child, .dxh-course-table td:last-child { border-right:none; }
.dxh-course-table tbody tr:last-child td { border-bottom:none; }
.dxh-course-date-form.multi { display:flex; gap:8px; align-items:flex-start; }
.dxh-course-date-form.multi textarea { min-width:190px; width:100%; max-width:260px; min-height:70px; resize:vertical; border:1px solid #d6deea; border-radius:8px; padding:8px 10px; font-size:13px; background:#fff; }

/* v1.8.3 dynamic course date fields */
.dxh-course-date-form.multi.dxh-dynamic-dates{
    display:flex;
    flex-direction:column;
    gap:8px;
    align-items:stretch;
    min-width:230px;
}
.dxh-date-fields{
    display:flex;
    flex-direction:column;
    gap:7px;
}
.dxh-date-field-row{
    display:flex;
    align-items:center;
    gap:6px;
}
.dxh-date-field-row input[type="date"]{
    height:36px;
    border:1px solid #cfd8e3;
    border-radius:8px;
    padding:0 10px;
    width:100%;
    min-width:160px;
    background:#fff;
    color:#111827;
}
.dxh-remove-date{
    width:30px;
    height:30px;
    border:1px solid #e5e7eb;
    border-radius:8px;
    background:#fff;
    color:#6b7280;
    cursor:pointer;
    font-weight:700;
    line-height:1;
}
.dxh-remove-date:hover{
    background:#fff1f2;
    color:#b91c1c;
    border-color:#fecdd3;
}
.dxh-add-date{
    width:max-content;
}

/* v1.8.4 student course dates */
.dxh-student-course-dates{
    margin-bottom:16px;
    padding:14px;
    border:1px solid #e5e7eb;
    border-radius:12px;
    background:#f9fafb;
}
.dxh-student-course-dates h3{
    margin:0 0 10px;
    font-size:15px;
}
.dxh-course-date-block{
    margin:10px 0;
    padding:10px 12px;
    border:1px solid #e5e7eb;
    border-radius:10px;
    background:#fff;
}
.dxh-course-date-block ul{
    margin:8px 0 0 18px;
}

/* v2.0.0 student appointments, documents, login polish */
.dxh-shell{align-items:flex-start;min-height:auto;background:#ffffff}
.dxh-shell main{background:#ffffff;min-height:auto}
.dxh-shell aside{min-height:100vh;position:sticky;top:0}
.dxh-logout-link{margin-top:18px!important;background:#1e293b!important;color:#fff!important;border:1px solid rgba(255,255,255,.12)}
.dxh-login-wrap{min-height:70vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#eef4ff,#f8fafc);padding:40px 20px}
.dxh-login-card{width:100%;max-width:420px;background:#fff;border:1px solid #dbe3ef;border-radius:22px;padding:30px;box-shadow:0 20px 60px rgba(15,23,42,.12)}
.dxh-login-card h1{margin:0 0 6px;color:#0f172a;font-size:28px}
.dxh-login-card p{margin:0 0 20px;color:#64748b}
.dxh-login-card label{display:block;font-weight:700;color:#334155;margin-top:14px}
.dxh-login-card input[type=text],.dxh-login-card input[type=password]{width:100%;padding:12px;border:1px solid #cfd8e5;border-radius:12px;margin-top:6px;box-sizing:border-box}
.dxh-login-card input[type=submit]{width:100%;background:#0b63ce;color:#fff;border:0;border-radius:12px;padding:12px 16px;font-weight:800;cursor:pointer;margin-top:14px}
.dxh-mini-table{width:100%;border:1px solid #dbe3ef;border-radius:14px;overflow:hidden;border-collapse:separate;border-spacing:0;background:#fff;margin-top:12px}
.dxh-mini-table th{background:#f8fafc;color:#334155;font-size:12px;text-transform:uppercase;letter-spacing:.03em;font-weight:800;border-bottom:1px solid #dbe3ef}
.dxh-mini-table th,.dxh-mini-table td{padding:12px;border-right:1px solid #edf2f7;border-bottom:1px solid #edf2f7;vertical-align:top}
.dxh-mini-table th:last-child,.dxh-mini-table td:last-child{border-right:0}
.dxh-mini-table tr:last-child td{border-bottom:0}
.dxh-appointment-form,.dxh-document-form{margin-bottom:14px}
.dxh-profile-panel{max-width:720px}
@media(max-width:820px){.dxh-shell{display:block}.dxh-shell aside{position:relative;min-height:auto;width:auto}.dxh-shell main{padding:18px}.dxh-login-card{padding:22px}}

/* v2.0.4 student profile + professional phone input */
.dxh-muted{color:#64748b;margin-top:-4px;margin-bottom:16px;font-size:14px;line-height:1.5}
.dxh-student-profile-form input[name="phone"],.dxh-phone-input{letter-spacing:.02em;font-variant-numeric:tabular-nums}

/* v2.1.1 role-based portal login */
.dxh-login-card .login-remember{display:flex;align-items:center;gap:8px;margin-top:12px;color:#475569;font-weight:600}
.dxh-login-card .login-remember label{display:flex;align-items:center;gap:8px;margin:0;font-weight:600}
.dxh-login-card input[type=checkbox]{width:16px;height:16px}
.dxh-login-help{margin-top:16px!important;text-align:center}
.dxh-login-help a{color:#0b63ce;text-decoration:none;font-weight:700}
.dxh-admin-wp{background:#fff7ed!important;color:#9a3412!important;border:1px solid #fed7aa!important;font-weight:800!important}


/* v2.1.4 portal background and page alignment polish */
body .dxh-shell{width:100%;max-width:none;min-height:100vh;background:#ffffff;align-items:stretch;border-radius:0;box-sizing:border-box;overflow:visible}
body .dxh-shell aside{flex:0 0 235px;min-height:100vh;background:#101827;box-sizing:border-box;z-index:2}
body .dxh-shell main{flex:1;min-width:0;width:auto;background:#ffffff;padding:34px 30px;box-sizing:border-box}
body .dxh-shell h1{margin-top:0;color:#0f172a;line-height:1.2}
body .dxh-panel{background:#fff;border:1px solid #e2e8f0;border-radius:18px;box-shadow:0 12px 30px rgba(15,23,42,.06);overflow-x:auto}
body .dxh-panel table{background:#fff}
body .dxh-btn{border-radius:12px;box-shadow:none}
@media(max-width:820px){body .dxh-shell aside{min-height:auto;flex:initial}body .dxh-shell main{padding:22px 16px}}


/* v2.1.7 complete student file summary */
.dxh-student-file .dxh-page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px}
.dxh-student-file-head{background:linear-gradient(135deg,#ffffff,#f8fbff);border:1px solid #e2e8f0;border-radius:22px;padding:22px 24px;box-shadow:0 14px 35px rgba(15,23,42,.06)}
.dxh-kicker{display:inline-flex;text-transform:uppercase;letter-spacing:.08em;font-size:12px;font-weight:900;color:#0b63ce;background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;padding:6px 10px;margin-bottom:8px}
.dxh-head-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.dxh-student-overview{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;margin:18px 0}
.dxh-student-overview a{background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:16px;text-decoration:none;color:#0f172a;box-shadow:0 10px 26px rgba(15,23,42,.055);display:flex;flex-direction:column;gap:8px;min-height:92px;justify-content:center}
.dxh-student-overview a:hover{border-color:#93c5fd;background:#f8fbff}
.dxh-student-overview span{color:#64748b;font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.dxh-student-overview strong{font-size:26px;line-height:1;color:#0f172a}
.dxh-student-finance-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;background:#0f172a!important;color:#fff!important;border:0!important}
.dxh-student-finance-summary div{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:16px;padding:16px}
.dxh-student-finance-summary span{display:block;color:#cbd5e1;font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;margin-bottom:8px}
.dxh-student-finance-summary strong{font-size:28px;color:#fff}
.dxh-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;border-bottom:1px solid #edf2f7;margin:-2px 0 16px;padding-bottom:14px}
.dxh-section-head h2{margin:0;color:#0f172a;font-size:22px}
.dxh-section-head p{margin:6px 0 0;color:#64748b;font-size:14px}
.dxh-section-head>span{background:#eef2ff;color:#1d4ed8;border:1px solid #c7d2fe;border-radius:999px;padding:7px 12px;font-size:13px;font-weight:900;white-space:nowrap}
.dxh-student-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.dxh-student-summary-grid .dxh-panel{margin:0;min-width:0}
.dxh-student-summary-grid .full-width{grid-column:1/-1}
.dxh-student-summary-grid h3{margin:16px 0 10px;color:#0f172a;font-size:16px}
.dxh-student-summary-grid table{font-size:14px}
.dxh-student-summary-grid th{background:#f8fafc;color:#334155;font-size:12px;text-transform:uppercase;letter-spacing:.03em;font-weight:900}
@media(max-width:1100px){.dxh-student-summary-grid{grid-template-columns:1fr}.dxh-student-file .dxh-page-head{display:block}.dxh-head-actions{justify-content:flex-start;margin-top:14px}}


/* v2.1.8 no-overflow layout stabilization */
html, body{max-width:100%;overflow-x:hidden}
body .dxh-shell, body .dxh-shell *, body .dxh-login-wrap, body .dxh-login-wrap *{box-sizing:border-box}
body .dxh-shell{display:flex;width:100%;max-width:100vw;overflow-x:hidden;background:#ffffff}
body .dxh-shell aside{width:235px;max-width:235px;overflow-wrap:anywhere;word-break:normal}
body .dxh-shell main{min-width:0;max-width:calc(100vw - 235px);overflow-x:hidden}
body .dxh-panel{max-width:100%;min-width:0;overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch}
body .dxh-panel > table, body .dxh-panel .dxh-mini-table{width:100%;max-width:100%}
body .dxh-panel table{table-layout:auto}
body .dxh-panel th, body .dxh-panel td{overflow-wrap:anywhere;word-break:normal;max-width:360px}
body .dxh-panel td a, body .dxh-panel p, body .dxh-panel span, body .dxh-panel div{overflow-wrap:anywhere}
body .dxh-form, body .dxh-address-grid, body .dxh-course-row, body .dxh-installment-row{min-width:0;max-width:100%}
body .dxh-form label, body .dxh-address-grid label{min-width:0;max-width:100%}
body .dxh-form input, body .dxh-form select, body .dxh-form textarea, body .dxh-address-grid input, body .dxh-course-toolbar input, body .dxh-course-toolbar select{max-width:100%;min-width:0;box-sizing:border-box}
body .dxh-btn{white-space:normal;text-align:center;line-height:1.25}
body .dxh-head-actions, body .dxh-course-action-buttons, body .dxh-course-actions{max-width:100%;min-width:0;flex-wrap:wrap}
body .dxh-page-head, body .dxh-section-head{min-width:0;max-width:100%;overflow-wrap:anywhere}
body .dxh-student-file-head p{max-width:100%;overflow-wrap:anywhere;line-height:1.55}
body .dxh-student-summary-grid{width:100%;max-width:100%;min-width:0}
body .dxh-student-summary-grid .dxh-panel{width:100%;max-width:100%;min-width:0}
body .dxh-student-overview, body .dxh-student-finance-summary, body .dxh-cards, body .dxh-grid{min-width:0;max-width:100%}
body .dxh-order-summary{max-width:100%;width:100%}
body .dxh-summary-row{min-width:0;flex-wrap:wrap}
body .dxh-course-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
body .dxh-course-table{min-width:760px}
body .dxh-mini-table{display:table;min-width:620px}
body .dxh-add-order-panel details, body .dxh-order-form{max-width:100%;min-width:0;overflow-x:hidden}
body .dxh-course-date-form, body .dxh-course-action-buttons{max-width:100%;min-width:0}
body .dxh-course-date-form textarea{max-width:100%;min-width:0}

@media(max-width:1100px){body .dxh-shell main{max-width:calc(100vw - 235px);padding-left:22px;padding-right:22px}}
@media(max-width:820px){html, body{overflow-x:hidden}body .dxh-shell{display:block;max-width:100vw;overflow-x:hidden}body .dxh-shell aside{position:relative;top:auto;width:100%;max-width:100%;min-height:auto;display:block;padding:16px}body .dxh-shell aside a{display:inline-block;margin:4px;vertical-align:top}body .dxh-shell main{max-width:100vw;width:100%;padding:18px 14px;overflow-x:hidden}body .dxh-panel{border-radius:16px;padding:16px;margin:12px 0}body .dxh-student-file-head{padding:18px;border-radius:18px}body .dxh-section-head{display:block}body .dxh-section-head>span{display:inline-flex;margin-top:10px}body .dxh-student-overview{grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:10px}body .dxh-student-overview a{padding:14px;min-height:82px}body .dxh-student-finance-summary{grid-template-columns:1fr;padding:16px!important}body .dxh-student-finance-summary strong{font-size:24px}body .dxh-form{grid-template-columns:1fr}}
@media(max-width:520px){body .dxh-shell aside a{display:block}body .dxh-shell main{padding:14px 10px}body .dxh-panel{padding:14px;border-radius:14px}body .dxh-head-actions .dxh-btn{display:block;width:100%}body .dxh-student-overview{grid-template-columns:1fr 1fr}body .dxh-student-overview strong{font-size:22px}}

/* v2.1.9 layout/content fix */
body .dxh-shell{width:100vw!important;max-width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;min-height:100vh!important;background:#ffffff!important;align-items:stretch!important;overflow-x:hidden!important}
body .dxh-shell aside{flex:0 0 235px!important;min-height:100vh!important;align-self:stretch!important}
body .dxh-shell main{flex:1 1 auto!important;max-width:none!important;width:auto!important;min-height:100vh!important;background:#ffffff!important;padding-bottom:60px!important}
body .dxh-collapsed-order-panel{padding:18px 20px!important}
body .dxh-collapsed-order-panel .dxh-panel-title-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
body .dxh-collapsed-order-panel .dxh-panel-title-row h2{margin:0!important}
body .dxh-order-details:not([open]){margin-top:0!important}
body .dxh-order-details:not([open]) .dxh-order-form{display:none!important}
body .dxh-order-details>summary{cursor:pointer;border-radius:12px!important;padding:12px 18px!important;font-weight:800!important}
body .dxh-order-details[open]>summary{margin-bottom:16px!important}
body .dxh-student-overview{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(170px,1fr))!important;gap:14px!important;margin:18px 0!important}
body .dxh-student-overview a{display:flex!important;flex-direction:column!important;gap:8px!important;min-height:92px!important;text-decoration:none!important;white-space:normal!important}
body .dxh-student-overview span,body .dxh-student-overview strong{display:block!important}
body .dxh-section-head p,body .dxh-courses-head p,body .dxh-panel-title-row p{display:none!important}
body .dxh-notification-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
body .dxh-notification-list li{background:#f8fbff;border:1px solid #e2e8f0;border-radius:14px;padding:13px 15px;color:#0f172a}
body .dxh-notification-list li strong{color:#0b63ce}body .dxh-notification-list li span{display:block;margin-top:4px;font-weight:800;color:#0f172a}body .dxh-notification-list li small{display:block;margin-top:3px;color:#64748b}
body .dxh-filter-panel form{display:flex;gap:10px;align-items:center;flex-wrap:wrap}body .dxh-filter-panel select,body .dxh-filter-panel input{height:40px;border:1px solid #cfd8e3;border-radius:10px;padding:0 10px;background:#fff}
@media(max-width:820px){body .dxh-shell{display:block!important;margin-left:0!important;margin-right:0!important;width:100%!important;max-width:100%!important}body .dxh-shell aside{min-height:auto!important;width:100%!important;max-width:100%!important;position:relative!important;flex:initial!important}body .dxh-shell main{min-height:auto!important;width:100%!important;max-width:100%!important}}

/* v2.2.2 locked portal layout and overflow guard */
html body.dxh-portal-active,
html body.dxh-portal-active #page,
html body.dxh-portal-active .site,
html body.dxh-portal-active .site-content,
html body.dxh-portal-active .content-area,
html body.dxh-portal-active .entry-content,
html body.dxh-portal-active .elementor,
html body.dxh-portal-active .elementor-section,
html body.dxh-portal-active .elementor-container,
html body.dxh-portal-active .elementor-widget-container{background:#ffffff!important;overflow:visible!important;}
html body.dxh-portal-active .entry-content,
html body.dxh-portal-active .elementor-widget-container{margin:0!important;padding:0!important;max-width:none!important;width:100%!important;}
html body.dxh-portal-active .dxh-shell{display:flex!important;align-items:stretch!important;width:100%!important;max-width:none!important;min-height:100vh!important;height:auto!important;background:#ffffff!important;overflow:visible!important;box-sizing:border-box!important;border-radius:0!important;}
html body.dxh-portal-active .dxh-shell aside{flex:0 0 250px!important;width:250px!important;min-height:100vh!important;height:auto!important;position:sticky!important;top:0!important;align-self:stretch!important;background:#101827!important;overflow-y:auto!important;box-sizing:border-box!important;}
html body.dxh-portal-active .dxh-shell main{flex:1 1 auto!important;min-width:0!important;width:calc(100% - 250px)!important;min-height:100vh!important;height:auto!important;background:#ffffff!important;padding:34px 32px 48px!important;overflow:visible!important;box-sizing:border-box!important;}
html body.dxh-portal-active .dxh-panel,html body.dxh-portal-active .dxh-student-file-head,html body.dxh-portal-active .dxh-student-overview,html body.dxh-portal-active .dxh-student-finance-summary{max-width:100%!important;box-sizing:border-box!important;}
html body.dxh-portal-active .dxh-panel{overflow:visible!important;}
html body.dxh-portal-active table{max-width:100%!important;}
html body.dxh-portal-active .dxh-panel > table,html body.dxh-portal-active .dxh-mini-table,html body.dxh-portal-active .dxh-course-table-wrap,html body.dxh-portal-active .dxh-table-wrap{display:block!important;width:100%!important;max-width:100%!important;overflow-x:auto!important;box-sizing:border-box!important;}
html body.dxh-portal-active .dxh-student-summary-grid,html body.dxh-portal-active .dxh-grid,html body.dxh-portal-active .dxh-cards{max-width:100%!important;min-width:0!important;}
html body.dxh-portal-active .dxh-section-head p,html body.dxh-portal-active .dxh-courses-head p,html body.dxh-portal-active .dxh-course-section-title p{display:none!important;}
.dxh-add-order-actions{margin:20px 0 24px!important;display:flex!important;justify-content:flex-end!important;max-width:100%!important;}
.dxh-add-order-actions .dxh-order-details{width:100%!important;max-width:100%!important;}
.dxh-add-order-actions .dxh-order-details > summary{list-style:none!important;width:max-content!important;margin-left:auto!important;cursor:pointer!important;}
.dxh-add-order-actions .dxh-order-details > summary::-webkit-details-marker{display:none!important;}
.dxh-add-order-actions .dxh-order-form-panel{margin-top:16px!important;width:100%!important;}
.dxh-order-details:not([open]) .dxh-order-form-panel,.dxh-order-details:not([open]) .dxh-order-form{display:none!important;}
@media(max-width:900px){html body.dxh-portal-active .dxh-shell{display:block!important;min-height:100vh!important;}html body.dxh-portal-active .dxh-shell aside{position:relative!important;width:100%!important;min-height:auto!important;display:block!important;}html body.dxh-portal-active .dxh-shell main{width:100%!important;min-height:100vh!important;padding:22px 16px 36px!important;}.dxh-add-order-actions{justify-content:stretch!important;}.dxh-add-order-actions .dxh-order-details > summary{width:100%!important;text-align:center!important;margin-left:0!important;}}


/* v2.2.3 - Force clean white portal background to avoid Elementor/theme boxed-background mismatch */
html body.dxh-portal-active,
html body.dxh-portal-active #page,
html body.dxh-portal-active .site,
html body.dxh-portal-active .site-content,
html body.dxh-portal-active .content-area,
html body.dxh-portal-active .entry-content,
html body.dxh-portal-active .page-content,
html body.dxh-portal-active .elementor,
html body.dxh-portal-active .elementor-section,
html body.dxh-portal-active .elementor-container,
html body.dxh-portal-active .elementor-widget-wrap,
html body.dxh-portal-active .elementor-widget-container,
html body.dxh-portal-active .dxh-shell,
html body.dxh-portal-active .dxh-shell main {
    background: #ffffff !important;
}

html body.dxh-portal-active .dxh-shell {
    min-height: 100vh !important;
    height: auto !important;
    overflow: visible !important;
}

html body.dxh-portal-active .dxh-shell main {
    min-height: 100vh !important;
    height: auto !important;
    overflow: visible !important;
}

html body.dxh-portal-active .dxh-panel,
html body.dxh-portal-active .dxh-course-section,
html body.dxh-portal-active .dxh-course-toolbar,
html body.dxh-portal-active .dxh-course-table-wrap,
html body.dxh-portal-active .dxh-student-file-head,
html body.dxh-portal-active .dxh-card {
    background: #ffffff !important;
    border-color: #e5e7eb !important;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045) !important;
}

html body.dxh-portal-active .dxh-shell aside {
    background: #101827 !important;
}

html body.dxh-portal-active table,
html body.dxh-portal-active td {
    background-color: #ffffff;
}

html body.dxh-portal-active th {
    background-color: #f8fafc !important;
}

html body.dxh-portal-active .dxh-table-wrap,
html body.dxh-portal-active .dxh-course-table-wrap,
html body.dxh-portal-active .dxh-panel {
    max-width: 100% !important;
    overflow-x: auto !important;
}


/* v2.2.4 - Absolute white portal canvas override (works even if body class/cache/theme wrapper fails) */
html body .dxh-shell,
html body .dxh-shell main,
html body .dxh-shell .dxh-panel,
html body .dxh-shell .dxh-course-section,
html body .dxh-shell .dxh-course-toolbar,
html body .dxh-shell .dxh-course-table-wrap,
html body .dxh-shell .dxh-student-file-head,
html body .dxh-shell .dxh-card,
html body .dxh-shell .dxh-courses-panel,
html body .dxh-shell .dxh-empty-course,
html body .dxh-shell .dxh-status-box,
html body .dxh-shell .dxh-order-form,
html body .dxh-shell .orderbox {
    background: #ffffff !important;
    background-color: #ffffff !important;
}
html body .dxh-shell,
html body .dxh-shell main {
    min-height: 100vh !important;
    height: auto !important;
}
html body .dxh-shell aside {
    background: #101827 !important;
    background-color: #101827 !important;
}
html body .dxh-shell th,
html body .dxh-shell .dxh-course-table thead th,
html body .dxh-shell .dxh-mini-table th {
    background: #f8fafc !important;
    background-color: #f8fafc !important;
}
html body .dxh-shell td,
html body .dxh-shell table {
    background: #ffffff !important;
    background-color: #ffffff !important;
}

/* v2.2.6 final white */
html body .dxh-shell,html body .dxh-shell main,html body .dxh-shell > main,html body .dxh-shell .dxh-panel,html body .dxh-shell .dxh-course-section,html body .dxh-shell .dxh-course-toolbar,html body .dxh-shell .dxh-courses-panel,html body .dxh-shell .dxh-order-form,html body .dxh-shell .orderbox,html body .dxh-shell .dxh-student-file-head{background:#ffffff!important;background-color:#ffffff!important;}
html body .dxh-shell aside,html body .dxh-shell > aside{background:#101827!important;background-color:#101827!important;}
html body .dxh-shell,html body .dxh-shell main,html body .dxh-shell > main{min-height:100vh!important;height:auto!important;}


/* v2.2.6 student file improvements */
html body .dxh-shell .dxh-inline-form{display:inline-block;margin:4px 0 0 6px;vertical-align:middle;}
html body .dxh-shell .dxh-btn.danger{background:#dc2626!important;border-color:#dc2626!important;color:#fff!important;}
html body .dxh-shell .dxh-btn.danger:hover{background:#b91c1c!important;border-color:#b91c1c!important;}
html body .dxh-shell .dxh-upload-card{display:flex;gap:14px;align-items:center;padding:16px 18px;border:1px dashed #cbd5e1;border-radius:16px;background:#f8fafc!important;margin-bottom:14px;}
html body .dxh-shell .dxh-upload-card h3{margin:0 0 4px;font-size:17px;color:#0f172a;}
html body .dxh-shell .dxh-upload-card p{margin:0;color:#64748b;font-size:13px;}
html body .dxh-shell .dxh-upload-icon{width:46px;height:46px;border-radius:14px;background:#e0f2fe;display:flex;align-items:center;justify-content:center;font-size:24px;}
html body .dxh-shell .dxh-upload-form{border:1px solid #e5e7eb;border-radius:16px;padding:16px;background:#ffffff!important;}

/* v2.2.7 order pricing and WooCommerce coupon summary */
html body .dxh-shell .dxh-order-summary{border:1px solid #dbe3ef;border-radius:16px;padding:18px;background:#ffffff!important;box-shadow:0 8px 22px rgba(15,23,42,.05);}
html body .dxh-shell .dxh-summary-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 0;border-bottom:1px solid #eef2f7;}
html body .dxh-shell .dxh-summary-row:last-child{border-bottom:0;}
html body .dxh-shell .dxh-summary-row.total{font-size:18px;font-weight:800;color:#0f172a;border-top:2px solid #dbe3ef;margin-top:6px;padding-top:12px;}
html body .dxh-shell .dxh-discount-line strong{color:#047857;}
html body .dxh-shell .dxh-coupon-message{font-size:13px;margin-top:10px;min-height:18px;}
html body .dxh-shell .dxh-coupon-message.good{color:#047857;}
html body .dxh-shell .dxh-coupon-message.bad{color:#b91c1c;}

.dxh-course-price-status{grid-column:1/-1;color:#64748b;font-size:12px;margin-top:-6px}.dxh-course-price-status:empty{display:none}

/* v2.3.5 rebuilt WooCommerce order form */
.dxh-order-course-picker{display:grid;grid-template-columns:1fr;gap:14px;}
.dxh-selected-course-card{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:8px 0 12px 0;}
.dxh-selected-course-card>div{border:1px solid #e5e7eb;border-radius:14px;padding:14px;background:#fff;box-shadow:0 1px 2px rgba(15,23,42,.04);}
.dxh-selected-course-card span{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:#64748b;margin-bottom:6px;}
.dxh-selected-course-card strong{display:block;font-size:15px;color:#0f172a;word-break:break-word;}
.dxh-order-summary{border:1px solid #dbe3ef;border-radius:16px;padding:18px;background:#fff;}
.dxh-summary-row{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid #eef2f7;padding:8px 0;}
.dxh-summary-row.total{font-size:18px;border-bottom:0;padding-top:12px;}
.dxh-help{color:#64748b;margin:6px 0 0;}
.dxh-coupon-message.good{color:#047857}.dxh-coupon-message.bad{color:#b91c1c}
@media(max-width:760px){.dxh-selected-course-card{grid-template-columns:1fr;}}
/* v2.3.5 multi-course order rebuild */
html body .dxh-shell .dxh-table-scroll{width:100%;overflow-x:auto;border:1px solid #e5e7eb;border-radius:16px;background:#fff!important;}
html body .dxh-shell .dxh-course-order-table{width:100%;border-collapse:collapse;min-width:760px;background:#fff!important;}
html body .dxh-shell .dxh-course-order-table th{background:#f8fafc!important;color:#334155;font-size:12px;text-transform:uppercase;letter-spacing:.04em;text-align:left;padding:12px;border-bottom:1px solid #e5e7eb;}
html body .dxh-shell .dxh-course-order-table td{padding:14px 12px;border-bottom:1px solid #eef2f7;vertical-align:top;background:#fff!important;}
html body .dxh-shell .dxh-course-order-table tr:hover td{background:#fbfdff!important;}
html body .dxh-shell .dxh-price-cell{font-weight:800;color:#0f172a;white-space:nowrap;}
html body .dxh-shell .dxh-muted{font-size:12px;color:#64748b;margin-top:4px;line-height:1.45;}
html body .dxh-shell .dxh-installment-popup{border:1px solid #dbeafe;border-radius:16px;background:#f8fbff!important;padding:14px;margin-top:10px;}
html body .dxh-shell .dxh-installment-popup h4{margin:0 0 8px;color:#0f172a;}
html body .dxh-shell .dxh-schedule-row{display:flex;justify-content:space-between;gap:14px;padding:8px 0;border-bottom:1px solid #e5edf7;}
html body .dxh-shell .dxh-schedule-row:last-child{border-bottom:0;}

/* v2.5.6 payment crash guard + cleaner responsive student file */
body .dxh-student-file{max-width:1400px;margin:0 auto}
body .dxh-student-file-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;flex-wrap:wrap}
body .dxh-student-overview{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:14px;margin:18px 0}
body .dxh-student-overview a{background:#fff;border:1px solid #dbe3ef;border-radius:18px;padding:16px;text-decoration:none;color:#0f172a;box-shadow:0 10px 24px rgba(15,23,42,.05)}
body .dxh-student-overview span{display:block;color:#64748b;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
body .dxh-student-overview strong{display:block;margin-top:6px;font-size:24px;line-height:1.1}
body .dxh-student-finance-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;overflow:visible!important}
body .dxh-student-finance-summary div{border:1px solid #e2e8f0;border-radius:16px;padding:14px;background:#f8fafc}
body .dxh-student-finance-summary span{display:block;color:#64748b;font-size:12px;text-transform:uppercase;font-weight:800;letter-spacing:.04em}
body .dxh-student-finance-summary strong{display:block;margin-top:5px;font-size:24px;color:#0f172a}
body .dxh-student-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
body .dxh-student-summary-grid>.full-width{grid-column:1/-1}
body .dxh-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid #edf2f7}
body .dxh-section-head h2{margin:0;color:#0f172a;font-size:20px;line-height:1.2}
body .dxh-section-head span{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;border-radius:999px;background:#eff6ff;color:#0b63ce;font-weight:900;border:1px solid #bfdbfe}
body .dxh-table-wrap{width:100%;overflow-x:auto;border:1px solid #e2e8f0;border-radius:14px;background:#fff}
body .dxh-table-wrap table{border:0;margin:0}
body .dxh-payment-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
body .dxh-edit-payment{display:inline-block;position:relative}
body .dxh-edit-payment>summary{list-style:none;cursor:pointer}
body .dxh-edit-payment>summary::-webkit-details-marker{display:none}
body .dxh-edit-payment-form{margin-top:10px;padding:14px;border:1px solid #dbe3ef;border-radius:14px;background:#f8fafc;min-width:min(680px,78vw);box-shadow:0 16px 40px rgba(15,23,42,.12);position:absolute;right:0;z-index:20}
body .dxh-form button.dxh-btn{width:max-content;align-self:end}
body .dxh-panel{overflow:visible}
@media(max-width:980px){
 body .dxh-student-summary-grid{grid-template-columns:1fr}
 body .dxh-edit-payment-form{position:static;min-width:0;width:100%;box-shadow:none;margin-top:10px}
}
@media(max-width:760px){
 body .dxh-shell{display:block!important}
 body .dxh-shell aside{width:auto!important;position:relative!important;min-height:auto!important;padding:14px!important}
 body .dxh-shell main{padding:16px 12px!important}
 body .dxh-student-file-head{padding:18px!important}
 body .dxh-head-actions{width:100%;justify-content:flex-start}
 body .dxh-head-actions .dxh-btn{flex:1 1 180px;text-align:center}
 body .dxh-panel{padding:16px!important;border-radius:16px!important;overflow:visible!important}
 body .dxh-form{grid-template-columns:1fr!important}
 body .dxh-form label, body .dxh-form .full{grid-column:1/-1!important}
 body .dxh-payment-actions{align-items:stretch}
 body .dxh-payment-actions .dxh-btn, body .dxh-payment-actions form, body .dxh-payment-actions details{width:100%}
 body .dxh-payment-actions button, body .dxh-payment-actions a, body .dxh-edit-payment>summary{width:100%;text-align:center;box-sizing:border-box;justify-content:center}
 body .dxh-table-wrap{border:0;overflow:visible}
 body table.dxh-payment-table, body table.dxh-payment-table tbody, body table.dxh-payment-table tr, body table.dxh-payment-table td{display:block;width:100%;box-sizing:border-box}
 body table.dxh-payment-table tr:first-child{display:none}
 body table.dxh-payment-table tr{border:1px solid #e2e8f0;border-radius:14px;margin:0 0 12px;background:#fff;overflow:hidden}
 body table.dxh-payment-table td{border:0!important;border-bottom:1px solid #edf2f7!important;padding:10px 12px!important}
 body table.dxh-payment-table td:last-child{border-bottom:0!important}
 body table.dxh-payment-table td:before{content:attr(data-label);display:block;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;color:#64748b;margin-bottom:4px}
}


/* v2.5.7 student file stacked layout - tables one after another */
body .dxh-student-file{max-width:1180px!important;margin:0 auto!important;}
body .dxh-student-summary-grid,
html body.dxh-portal-active .dxh-student-summary-grid{display:grid!important;grid-template-columns:1fr!important;gap:20px!important;align-items:stretch!important;width:100%!important;}
body .dxh-student-summary-grid > .dxh-panel,
html body.dxh-portal-active .dxh-student-summary-grid > .dxh-panel{grid-column:1/-1!important;width:100%!important;margin:0!important;}
body .dxh-student-summary-grid > .full-width{grid-column:1/-1!important;}
body .dxh-student-summary-grid .dxh-panel{box-shadow:0 10px 24px rgba(15,23,42,.045)!important;border:1px solid #e2e8f0!important;border-radius:18px!important;}
body .dxh-student-summary-grid .dxh-table-wrap{margin-top:8px!important;}
body .dxh-student-summary-grid table{width:100%!important;}
body .dxh-student-file .dxh-section-head{margin-bottom:16px!important;}
@media(max-width:760px){
 body .dxh-student-file{max-width:100%!important;}
 body .dxh-student-summary-grid{gap:14px!important;}
 body .dxh-student-summary-grid .dxh-panel{border-radius:16px!important;}
}


/* v2.5.8 force student file sections to stack vertically */
html body .dxh-student-file .dxh-student-summary-grid,
html body.dxh-portal-active .dxh-student-file .dxh-student-summary-grid{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
}
html body .dxh-student-file .dxh-student-summary-grid > .dxh-panel,
html body.dxh-portal-active .dxh-student-file .dxh-student-summary-grid > .dxh-panel{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin:0 0 22px 0!important;
  box-sizing:border-box!important;
  clear:both!important;
}
html body .dxh-student-file .dxh-table-wrap{
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
}
html body .dxh-student-file table{
  width:100%!important;
  table-layout:auto!important;
}
html body .dxh-student-file th,
html body .dxh-student-file td{
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
  vertical-align:top!important;
}
html body .dxh-student-file .dxh-section-head h2{
  overflow-wrap:normal!important;
  word-break:normal!important;
}
@media(max-width:760px){
  html body .dxh-student-file .dxh-table-wrap{overflow:visible!important;}
}

/* v2.5.9 courses table column balance: compact Course ID, spacious Course name */
html body .dxh-shell .dxh-course-table-wrap{
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
}
html body .dxh-shell table.dxh-course-table{
  width:100%!important;
  table-layout:fixed!important;
  min-width:980px!important;
}
html body .dxh-shell table.dxh-course-table thead th:nth-child(1),
html body .dxh-shell table.dxh-course-table tbody tr.dxh-course-main-row > td:nth-child(1){
  width:105px!important;
  max-width:105px!important;
  white-space:nowrap!important;
  text-align:center!important;
  padding-left:10px!important;
  padding-right:10px!important;
}
html body .dxh-shell table.dxh-course-table thead th:nth-child(2),
html body .dxh-shell table.dxh-course-table tbody tr.dxh-course-main-row > td:nth-child(2){
  width:34%!important;
  min-width:320px!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
  line-height:1.45!important;
}
html body .dxh-shell table.dxh-course-table thead th:nth-child(3),
html body .dxh-shell table.dxh-course-table tbody tr.dxh-course-main-row > td:nth-child(3){
  width:35%!important;
  min-width:330px!important;
}
html body .dxh-shell table.dxh-course-table thead th:nth-child(4),
html body .dxh-shell table.dxh-course-table tbody tr.dxh-course-main-row > td:nth-child(4){
  width:125px!important;
  max-width:125px!important;
  text-align:center!important;
  white-space:normal!important;
}
html body .dxh-shell table.dxh-course-table thead th:nth-child(5),
html body .dxh-shell table.dxh-course-table tbody tr.dxh-course-main-row > td:nth-child(5){
  width:150px!important;
  max-width:150px!important;
}
html body .dxh-shell .dxh-course-id-badge{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  max-width:92px!important;
  padding:6px 10px!important;
  border-radius:999px!important;
  font-size:12px!important;
  line-height:1.1!important;
  white-space:nowrap!important;
}
html body .dxh-shell .dxh-course-table td:nth-child(2) strong{
  display:block!important;
  max-width:100%!important;
  font-size:16px!important;
  line-height:1.45!important;
}
html body .dxh-shell .dxh-course-date-form.multi,
html body .dxh-shell .dxh-date-fields,
html body .dxh-shell .dxh-date-field-row{
  max-width:100%!important;
}
html body .dxh-shell .dxh-date-field-row input[type="datetime-local"]{
  min-width:0!important;
  width:100%!important;
}
html body .dxh-shell .dxh-course-action-buttons{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:8px!important;
}
html body .dxh-shell .dxh-course-action-buttons .dxh-btn,
html body .dxh-shell .dxh-course-action-buttons .dxh-locked-badge{
  width:max-content!important;
  max-width:130px!important;
  white-space:normal!important;
  text-align:center!important;
}
@media(max-width:760px){
  html body .dxh-shell table.dxh-course-table{min-width:0!important;table-layout:auto!important;}
  html body .dxh-shell .dxh-course-table-wrap{overflow:visible!important;}
}

/* v2.6.0 modern course card UI */
html body .dxh-course-table-wrap,
html body .dxh-course-table { display:none!important; }
html body .dxh-course-card-list{display:grid;grid-template-columns:1fr;gap:16px;width:100%;}
html body .dxh-course-card{display:block!important;border:1px solid #dbe5f2;border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(15,23,42,.05);overflow:hidden;width:100%;box-sizing:border-box;}
html body .dxh-course-card-main{display:grid;grid-template-columns:120px minmax(280px,1.45fr) minmax(280px,1.15fr) 120px 150px;gap:18px;align-items:start;padding:20px;}
html body .dxh-card-label{display:block;margin-bottom:8px;font-size:11px;line-height:1.2;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#64748b;}
html body .dxh-course-card-title{margin:0 0 10px 0!important;font-size:18px!important;line-height:1.35!important;color:#0f172a!important;font-weight:800!important;word-break:normal!important;overflow-wrap:break-word!important;hyphens:none!important;}
html body .dxh-course-card-id{min-width:0;}
html body .dxh-course-card-id .dxh-course-id-badge{display:inline-flex!important;align-items:center;justify-content:center;width:auto!important;max-width:100%!important;padding:8px 12px!important;font-size:13px!important;white-space:nowrap!important;}
html body .dxh-course-card-dates .dxh-dynamic-dates{margin:0!important;}
html body .dxh-course-card-dates .dxh-date-field-row{display:grid;grid-template-columns:minmax(0,1fr) 40px;gap:8px;align-items:center;}
html body .dxh-course-card-dates input[type="datetime-local"]{width:100%!important;max-width:100%!important;}
html body .dxh-course-card-dates .dxh-add-date,
html body .dxh-course-card-dates .dxh-save-dates{width:100%!important;}
html body .dxh-course-card-students strong{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;border-radius:999px;background:#eff6ff;color:#0b5bd3;font-size:18px;}
html body .dxh-course-card-actions .dxh-course-action-buttons{display:flex;flex-direction:column;gap:8px;align-items:stretch;}
html body .dxh-course-card-actions .dxh-btn.small,
html body .dxh-course-card-actions .dxh-inline-form,
html body .dxh-course-card-actions .dxh-inline-form button{width:100%!important;box-sizing:border-box;}
html body .dxh-course-card-actions .dxh-locked-badge{display:inline-flex;align-items:center;justify-content:center;width:100%;box-sizing:border-box;}
html body .dxh-course-card-student-panel{border-top:1px solid #e5edf7;background:#f8fafc;padding:16px 20px;overflow-x:auto;}
html body .dxh-course-card-student-panel .dxh-course-students{width:100%;}
@media(max-width:1200px){html body .dxh-course-card-main{grid-template-columns:110px minmax(260px,1fr) minmax(260px,1fr); } html body .dxh-course-card-students, html body .dxh-course-card-actions{grid-column:auto;}}
@media(max-width:900px){html body .dxh-course-card-main{grid-template-columns:1fr;gap:14px;padding:16px;} html body .dxh-course-card-actions .dxh-course-action-buttons{flex-direction:row;flex-wrap:wrap;} html body .dxh-course-card-actions .dxh-btn.small,html body .dxh-course-card-actions .dxh-inline-form,html body .dxh-course-card-actions .dxh-inline-form button{width:auto!important;}}
@media(max-width:560px){html body .dxh-course-card-actions .dxh-course-action-buttons{flex-direction:column;} html body .dxh-course-card-actions .dxh-btn.small,html body .dxh-course-card-actions .dxh-inline-form,html body .dxh-course-card-actions .dxh-inline-form button{width:100%!important;} html body .dxh-course-card-title{font-size:16px!important;}}


/* v2.6.1 dashboard/student UI refinements */
.dxh-student-list-table{table-layout:fixed;width:100%;}
.dxh-student-list-table th:nth-child(1),.dxh-student-list-table td:nth-child(1){width:95px;min-width:95px;white-space:nowrap;}
.dxh-student-list-table th:nth-child(2),.dxh-student-list-table td:nth-child(2){width:22%;min-width:150px;}
.dxh-student-list-table th:nth-child(3),.dxh-student-list-table td:nth-child(3){width:130px;min-width:120px;}
.dxh-student-list-table th:nth-child(4),.dxh-student-list-table td:nth-child(4){width:28%;min-width:220px;word-break:break-word;overflow-wrap:anywhere;}
.dxh-student-list-table th:nth-child(5),.dxh-student-list-table td:nth-child(5){width:140px;min-width:130px;word-break:normal;overflow-wrap:break-word;}
.dxh-student-list-table th:nth-child(6),.dxh-student-list-table td:nth-child(6){width:230px;min-width:210px;}
.dxh-student-list-table td:last-child{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.dxh-student-list-table td:last-child .dxh-btn,.dxh-student-list-table td:last-child form{margin:0;}
.dxh-student-list-table td:last-child form{display:inline-flex!important;}
.dxh-document-form{grid-template-columns:minmax(220px,1fr) minmax(220px,1fr) auto!important;align-items:end;}
.dxh-document-form .dxh-upload-btn{width:auto!important;min-width:170px;max-width:190px;height:48px;padding:10px 16px;align-self:end;justify-self:start;}
.dxh-upload-card{display:flex;align-items:center;gap:16px;}
@media(max-width:900px){
  .dxh-student-list-table{display:block;overflow-x:auto;white-space:normal;}
  .dxh-document-form{grid-template-columns:1fr!important;}
  .dxh-document-form .dxh-upload-btn{width:100%!important;max-width:none;}
}

/* v2.6.2 stronger student/dashboard UI upgrade */
html body .dxh-shell .dxh-panel{border-radius:20px!important;border:1px solid #e2e8f0!important;box-shadow:0 12px 34px rgba(15,23,42,.06)!important;overflow:hidden;}
html body .dxh-shell .dxh-panel h2{margin-top:0!important;color:#0f172a!important;letter-spacing:-.02em;}
html body .dxh-shell .dxh-student-list-table{width:100%!important;table-layout:fixed!important;border-collapse:separate!important;border-spacing:0!important;border:1px solid #e2e8f0!important;border-radius:16px!important;overflow:hidden!important;background:#fff!important;}
html body .dxh-shell .dxh-student-list-table th{background:#f8fafc!important;color:#0f172a!important;font-size:12px!important;text-transform:uppercase!important;letter-spacing:.04em!important;font-weight:900!important;border-bottom:1px solid #e2e8f0!important;padding:14px 16px!important;}
html body .dxh-shell .dxh-student-list-table td{padding:16px!important;vertical-align:middle!important;border-bottom:1px solid #edf2f7!important;background:#fff!important;word-break:normal!important;overflow-wrap:break-word!important;}
html body .dxh-shell .dxh-student-list-table tr:hover td{background:#fbfdff!important;}
html body .dxh-shell .dxh-student-list-table th:nth-child(1),html body .dxh-shell .dxh-student-list-table td:nth-child(1){width:115px!important;min-width:115px!important;}
html body .dxh-shell .dxh-student-list-table th:nth-child(2),html body .dxh-shell .dxh-student-list-table td:nth-child(2){width:21%!important;min-width:160px!important;}
html body .dxh-shell .dxh-student-list-table th:nth-child(3),html body .dxh-shell .dxh-student-list-table td:nth-child(3){width:135px!important;min-width:135px!important;}
html body .dxh-shell .dxh-student-list-table th:nth-child(4),html body .dxh-shell .dxh-student-list-table td:nth-child(4){width:28%!important;min-width:245px!important;}
html body .dxh-shell .dxh-student-list-table th:nth-child(5),html body .dxh-shell .dxh-student-list-table td:nth-child(5){width:150px!important;min-width:150px!important;}
html body .dxh-shell .dxh-student-list-table th:nth-child(6),html body .dxh-shell .dxh-student-list-table td:nth-child(6){width:260px!important;min-width:260px!important;}
html body .dxh-shell .dxh-id-pill,html body .dxh-shell .dxh-username-pill{display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:999px!important;background:#eff6ff!important;color:#0b63ce!important;border:1px solid #bfdbfe!important;padding:7px 11px!important;font-weight:800!important;white-space:nowrap!important;line-height:1!important;}
html body .dxh-shell .dxh-username-pill{background:#f8fafc!important;color:#334155!important;border-color:#e2e8f0!important;}
html body .dxh-shell .dxh-student-name{color:#0f172a!important;text-decoration:none!important;}
html body .dxh-shell .dxh-student-name:hover{text-decoration:underline!important;}
html body .dxh-shell .dxh-email-text{display:block!important;overflow-wrap:anywhere!important;line-height:1.35!important;}
html body .dxh-shell .dxh-student-actions{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;flex-wrap:nowrap!important;white-space:nowrap!important;}
html body .dxh-shell .dxh-student-actions .dxh-btn,html body .dxh-shell .dxh-student-actions form,html body .dxh-shell .dxh-student-actions button{display:inline-flex!important;width:auto!important;min-width:auto!important;margin:0!important;white-space:nowrap!important;align-items:center!important;justify-content:center!important;}
html body .dxh-shell .dxh-student-actions form{padding:0!important;}
html body .dxh-shell .dxh-student-actions .dxh-btn.small{padding:8px 12px!important;border-radius:999px!important;font-size:12px!important;font-weight:800!important;line-height:1!important;}
html body .dxh-shell .dxh-student-actions .dxh-btn.outline{background:#fff!important;color:#0b63ce!important;border:1px solid #93c5fd!important;}
html body .dxh-shell .dxh-upload-form{display:grid!important;grid-template-columns:minmax(220px,1.2fr) minmax(220px,1fr) auto!important;gap:14px!important;align-items:end!important;padding:16px!important;}
html body .dxh-shell .dxh-upload-form label{margin:0!important;}
html body .dxh-shell .dxh-upload-form .dxh-upload-btn{width:auto!important;min-width:145px!important;max-width:165px!important;height:42px!important;padding:9px 14px!important;border-radius:12px!important;font-size:13px!important;justify-self:end!important;align-self:end!important;}
html body .dxh-shell .dxh-activity{list-style:none!important;padding:0!important;margin:0!important;display:grid!important;gap:10px!important;}
html body .dxh-shell .dxh-activity li{display:flex!important;justify-content:space-between!important;gap:14px!important;align-items:center!important;border:1px solid #e2e8f0!important;background:#f8fafc!important;border-radius:14px!important;padding:12px 14px!important;color:#334155!important;}
html body .dxh-shell .dxh-activity strong{color:#0f172a!important;}
html body .dxh-shell .dxh-activity small{color:#64748b!important;white-space:nowrap!important;}
@media(max-width:900px){
 html body .dxh-shell .dxh-student-list-table{display:block!important;overflow-x:auto!important;min-width:850px!important;}
 html body .dxh-shell .dxh-upload-form{grid-template-columns:1fr!important;}
 html body .dxh-shell .dxh-upload-form .dxh-upload-btn{justify-self:start!important;max-width:none!important;}
}
@media(max-width:620px){
 html body .dxh-shell .dxh-activity li{display:block!important;}
 html body .dxh-shell .dxh-activity small{display:block!important;margin-top:6px!important;}
}

/* v2.6.3 FORCE UI OVERRIDE - card-based student list and non-stacking buttons */
html body .dxh-shell *{box-sizing:border-box!important;}
html body .dxh-shell .dxh-student-list-table{display:none!important;}
html body .dxh-shell .dxh-student-list-panel{padding:22px!important;background:#fff!important;overflow:visible!important;}
html body .dxh-shell .dxh-panel-title-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;margin-bottom:16px!important;border-bottom:1px solid #e5edf7!important;padding-bottom:14px!important;}
html body .dxh-shell .dxh-panel-title-row h2{margin:0!important;}
html body .dxh-shell .dxh-panel-note{display:inline-flex!important;align-items:center!important;border:1px solid #bfdbfe!important;border-radius:999px!important;background:#eff6ff!important;color:#0b63ce!important;font-weight:800!important;font-size:12px!important;padding:7px 11px!important;white-space:nowrap!important;}
html body .dxh-shell .dxh-student-card-list{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;width:100%!important;}
html body .dxh-shell .dxh-student-card{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:18px!important;align-items:center!important;width:100%!important;padding:16px!important;border:1px solid #e2e8f0!important;border-radius:18px!important;background:#fff!important;box-shadow:0 8px 22px rgba(15,23,42,.045)!important;}
html body .dxh-shell .dxh-student-card:hover{border-color:#bfdbfe!important;box-shadow:0 14px 30px rgba(37,99,235,.08)!important;}
html body .dxh-shell .dxh-student-card-main{display:grid!important;grid-template-columns:120px minmax(0,1fr)!important;gap:16px!important;align-items:center!important;min-width:0!important;}
html body .dxh-shell .dxh-student-card-main .dxh-id-pill{justify-self:start!important;min-width:86px!important;}
html body .dxh-shell .dxh-student-meta{display:grid!important;grid-template-columns:140px minmax(220px,1.2fr) 170px!important;gap:10px 14px!important;margin-top:7px!important;color:#475569!important;font-size:13px!important;line-height:1.35!important;min-width:0!important;}
html body .dxh-shell .dxh-student-meta span{min-width:0!important;overflow-wrap:anywhere!important;word-break:normal!important;}
html body .dxh-shell .dxh-student-actions,
html body .dxh-shell td .dxh-student-actions,
html body .dxh-shell td .dxh-actions,
html body .dxh-shell td .action-buttons,
html body .dxh-shell td[data-label="Action"]{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;flex-wrap:nowrap!important;white-space:nowrap!important;min-width:max-content!important;}
html body .dxh-shell .dxh-student-actions a,
html body .dxh-shell .dxh-student-actions form,
html body .dxh-shell .dxh-student-actions button,
html body .dxh-shell td[data-label="Action"] a,
html body .dxh-shell td[data-label="Action"] button{display:inline-flex!important;width:auto!important;max-width:none!important;min-width:0!important;margin:0!important;float:none!important;clear:none!important;white-space:nowrap!important;align-items:center!important;justify-content:center!important;vertical-align:middle!important;}
html body .dxh-shell .dxh-student-actions .dxh-btn.small{height:34px!important;padding:8px 13px!important;border-radius:999px!important;line-height:1!important;}
html body .dxh-shell .dxh-inline-delete{padding:0!important;background:transparent!important;border:0!important;}
html body .dxh-shell .dxh-document-form,
html body .dxh-shell .dxh-upload-form{display:grid!important;grid-template-columns:minmax(220px,1fr) minmax(220px,1fr) 150px!important;gap:14px!important;align-items:end!important;padding:16px!important;}
html body .dxh-shell .dxh-upload-form .dxh-upload-btn,
html body .dxh-shell .dxh-document-form .dxh-upload-btn{width:150px!important;min-width:150px!important;max-width:150px!important;height:42px!important;padding:8px 12px!important;font-size:13px!important;border-radius:12px!important;}
html body .dxh-shell .dxh-mini-table td:last-child,
html body .dxh-shell .dxh-payment-history-table td:last-child{white-space:nowrap!important;}
html body .dxh-shell .dxh-mini-table td:last-child .dxh-btn,
html body .dxh-shell .dxh-payment-history-table td:last-child .dxh-btn{display:inline-flex!important;margin:3px!important;width:auto!important;}
@media(max-width:1100px){
 html body .dxh-shell .dxh-student-card{grid-template-columns:1fr!important;align-items:start!important;}
 html body .dxh-shell .dxh-student-actions{justify-content:flex-start!important;}
 html body .dxh-shell .dxh-student-meta{grid-template-columns:1fr 1fr!important;}
}
@media(max-width:760px){
 html body .dxh-shell .dxh-student-card-main{grid-template-columns:1fr!important;}
 html body .dxh-shell .dxh-student-meta{grid-template-columns:1fr!important;}
 html body .dxh-shell .dxh-student-actions{flex-wrap:wrap!important;min-width:0!important;}
 html body .dxh-shell .dxh-document-form,html body .dxh-shell .dxh-upload-form{grid-template-columns:1fr!important;}
 html body .dxh-shell .dxh-upload-form .dxh-upload-btn,html body .dxh-shell .dxh-document-form .dxh-upload-btn{width:auto!important;max-width:180px!important;}
}

/* v2.6.4 GLOBAL BUTTON ROW FORCE OVERRIDES
   Purpose: keep action buttons side-by-side across the entire plugin, overriding theme/Elementor/Woo styles. */
html body .dxh-shell .dxh-actions,
html body .dxh-shell .dxh-student-actions,
html body .dxh-shell .dxh-payment-actions,
html body .dxh-shell .dxh-course-action-buttons,
html body .dxh-shell .dxh-course-card-actions .dxh-course-action-buttons,
html body .dxh-shell .action-buttons,
html body .dxh-shell td[data-label="Action"],
html body .dxh-shell td[data-label="Actions"],
html body .dxh-shell th:last-child,
html body .dxh-shell td:last-child:has(.dxh-btn),
html body .dxh-shell td:last-child:has(button),
html body .dxh-shell td:last-child:has(a) {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    width: auto !important;
    min-width: 220px !important;
    max-width: none !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    white-space: nowrap !important;
}

html body .dxh-shell .dxh-actions > *,
html body .dxh-shell .dxh-student-actions > *,
html body .dxh-shell .dxh-payment-actions > *,
html body .dxh-shell .dxh-course-action-buttons > *,
html body .dxh-shell .dxh-course-card-actions .dxh-course-action-buttons > *,
html body .dxh-shell .action-buttons > *,
html body .dxh-shell td[data-label="Action"] > *,
html body .dxh-shell td[data-label="Actions"] > *,
html body .dxh-shell td:last-child:has(.dxh-btn) > *,
html body .dxh-shell td:last-child:has(button) > *,
html body .dxh-shell td:last-child:has(a) > * {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

html body .dxh-shell form.dxh-inline-form,
html body .dxh-shell td form,
html body .dxh-shell .dxh-actions form,
html body .dxh-shell .dxh-student-actions form,
html body .dxh-shell .dxh-payment-actions form,
html body .dxh-shell .dxh-course-action-buttons form {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body .dxh-shell .dxh-btn,
html body .dxh-shell button.dxh-btn,
html body .dxh-shell a.dxh-btn,
html body .dxh-shell input[type="submit"].dxh-btn,
html body .dxh-shell td button,
html body .dxh-shell td a.button,
html body .dxh-shell td .button {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    clear: none !important;
    float: none !important;
    white-space: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

/* Payment edit details must not force the other buttons down. */
html body .dxh-shell details.dxh-edit-payment,
html body .dxh-shell td details {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    vertical-align: middle !important;
}
html body .dxh-shell details.dxh-edit-payment > summary,
html body .dxh-shell td details > summary {
    display: inline-flex !important;
    width: auto !important;
    white-space: nowrap !important;
}

/* Keep mobile action buttons horizontal too; allow horizontal scrolling instead of stacking. */
@media (max-width: 760px) {
    html body .dxh-shell .dxh-actions,
    html body .dxh-shell .dxh-student-actions,
    html body .dxh-shell .dxh-payment-actions,
    html body .dxh-shell .dxh-course-action-buttons,
    html body .dxh-shell .dxh-course-card-actions .dxh-course-action-buttons,
    html body .dxh-shell .action-buttons,
    html body .dxh-shell td[data-label="Action"],
    html body .dxh-shell td[data-label="Actions"],
    html body .dxh-shell td:last-child:has(.dxh-btn),
    html body .dxh-shell td:last-child:has(button),
    html body .dxh-shell td:last-child:has(a) {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 7px !important;
        min-width: 100% !important;
    }
    html body .dxh-shell .dxh-btn.small,
    html body .dxh-shell td button,
    html body .dxh-shell td a.button,
    html body .dxh-shell td .button {
        width: auto !important;
        min-width: auto !important;
        padding: 7px 11px !important;
        font-size: 12px !important;
    }
}

/* v2.6.5 REAL ACTION BUTTON FIX
   Cause: large tables with many columns squeeze the Action column. When the column is too narrow,
   even flex buttons appear vertically. This gives tables room to scroll and gives action cells a fixed row area. */
html body .dxh-shell .dxh-table-scroll,
html body .dxh-shell .dxh-table-wrap {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch !important;
}

html body .dxh-shell table.dxh-orders-table {
    width: max-content !important;
    min-width: 1280px !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
}

html body .dxh-shell table.dxh-orders-table th,
html body .dxh-shell table.dxh-orders-table td {
    vertical-align: top !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
}

html body .dxh-shell table.dxh-orders-table th:nth-child(1),
html body .dxh-shell table.dxh-orders-table td:nth-child(1) { width: 130px !important; }
html body .dxh-shell table.dxh-orders-table th:nth-child(2),
html body .dxh-shell table.dxh-orders-table td:nth-child(2) { width: 110px !important; }
html body .dxh-shell table.dxh-orders-table th:nth-child(3),
html body .dxh-shell table.dxh-orders-table td:nth-child(3) { width: 110px !important; }
html body .dxh-shell table.dxh-orders-table th:nth-child(4),
html body .dxh-shell table.dxh-orders-table td:nth-child(4) { width: 150px !important; }
html body .dxh-shell table.dxh-orders-table th:nth-child(5),
html body .dxh-shell table.dxh-orders-table td:nth-child(5) { width: 260px !important; }
html body .dxh-shell table.dxh-orders-table th:nth-child(6),
html body .dxh-shell table.dxh-orders-table td:nth-child(6),
html body .dxh-shell table.dxh-orders-table th:nth-child(7),
html body .dxh-shell table.dxh-orders-table td:nth-child(7),
html body .dxh-shell table.dxh-orders-table th:nth-child(8),
html body .dxh-shell table.dxh-orders-table td:nth-child(8),
html body .dxh-shell table.dxh-orders-table th:nth-child(9),
html body .dxh-shell table.dxh-orders-table td:nth-child(9),
html body .dxh-shell table.dxh-orders-table th:nth-child(10),
html body .dxh-shell table.dxh-orders-table td:nth-child(10) { width: 95px !important; }
html body .dxh-shell table.dxh-orders-table th:nth-child(11),
html body .dxh-shell table.dxh-orders-table td:nth-child(11) { width: 310px !important; min-width:310px !important; }

html body .dxh-shell td.dxh-action-cell,
html body .dxh-shell table.dxh-orders-table td.dxh-action-cell {
    min-width: 310px !important;
    width: 310px !important;
    white-space: nowrap !important;
    overflow: visible !important;
}

html body .dxh-shell .dxh-actions,
html body .dxh-shell .dxh-order-actions,
html body .dxh-shell .dxh-payment-actions,
html body .dxh-shell .dxh-student-actions,
html body .dxh-shell .dxh-course-action-buttons {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    min-width: max-content !important;
}

html body .dxh-shell .dxh-actions > *,
html body .dxh-shell .dxh-order-actions > *,
html body .dxh-shell .dxh-payment-actions > *,
html body .dxh-shell .dxh-student-actions > *,
html body .dxh-shell .dxh-course-action-buttons > *,
html body .dxh-shell .dxh-actions form,
html body .dxh-shell .dxh-order-actions form {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: none !important;
}

html body .dxh-shell .dxh-actions .dxh-btn,
html body .dxh-shell .dxh-order-actions .dxh-btn,
html body .dxh-shell .dxh-payment-actions .dxh-btn,
html body .dxh-shell .dxh-student-actions .dxh-btn,
html body .dxh-shell .dxh-course-action-buttons .dxh-btn {
    display: inline-flex !important;
    width: auto !important;
    min-width: auto !important;
    max-width: none !important;
    height: 38px !important;
    padding: 8px 14px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
}

/* Stop the old global override from making table headers flex. */
html body .dxh-shell table.dxh-orders-table th:last-child {
    display: table-cell !important;
}

/* v2.6.7 Proper layout fix: Orders are cards, not a squeezed 11-column table. */
html body.dxh-portal-active,
html body.dxh-portal-active .site,
html body.dxh-portal-active .site-content,
html body.dxh-portal-active .content-area,
html body.dxh-portal-active .entry-content,
html body.dxh-portal-active .elementor,
html body.dxh-portal-active .elementor-section,
html body.dxh-portal-active .elementor-container,
html body.dxh-portal-active .elementor-column,
html body.dxh-portal-active .elementor-widget-wrap,
html body.dxh-portal-active .elementor-widget-container {
    width: 100% !important;
    max-width: none !important;
}
html body.dxh-portal-active .dxh-shell {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    overflow: visible !important;
}
html body.dxh-portal-active .dxh-shell main {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    overflow: visible !important;
}
html body.dxh-portal-active .dxh-orders-card-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    width: 100% !important;
}
html body.dxh-portal-active .dxh-order-card {
    width: 100% !important;
    max-width: none !important;
    background: #fff !important;
    border: 1px solid #dbe3ef !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 24px rgba(15,23,42,.055) !important;
    padding: 18px !important;
    box-sizing: border-box !important;
}
html body.dxh-portal-active .dxh-order-card-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    border-bottom: 1px solid #eef2f7 !important;
    padding-bottom: 14px !important;
    margin-bottom: 14px !important;
}
html body.dxh-portal-active .dxh-order-card-head strong {
    display: block !important;
    font-size: 16px !important;
    color: #0f172a !important;
    overflow-wrap: anywhere !important;
}
html body.dxh-portal-active .dxh-label,
html body.dxh-portal-active .dxh-order-card-grid span {
    display: block !important;
    color: #64748b !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: .04em !important;
    margin-bottom: 5px !important;
}
html body.dxh-portal-active .dxh-order-card-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1.2fr 2.4fr repeat(5, minmax(95px, .7fr)) !important;
    gap: 12px !important;
    align-items: stretch !important;
}
html body.dxh-portal-active .dxh-order-card-grid > div {
    background: #f8fafc !important;
    border: 1px solid #eef2f7 !important;
    border-radius: 12px !important;
    padding: 12px !important;
    min-width: 0 !important;
}
html body.dxh-portal-active .dxh-order-card-grid strong {
    display: block !important;
    color: #0f172a !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
}
html body.dxh-portal-active .dxh-order-course-name strong {
    font-weight: 700 !important;
}
html body.dxh-portal-active .dxh-actions,
html body.dxh-portal-active .dxh-order-actions,
html body.dxh-portal-active .dxh-payment-actions,
html body.dxh-portal-active .dxh-student-actions,
html body.dxh-portal-active .dxh-course-action-buttons,
html body.dxh-portal-active td .dxh-actions,
html body.dxh-portal-active td .dxh-payment-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    white-space: normal !important;
}
html body.dxh-portal-active .dxh-order-actions {
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
}
html body.dxh-portal-active .dxh-actions > *,
html body.dxh-portal-active .dxh-order-actions > *,
html body.dxh-portal-active .dxh-payment-actions > *,
html body.dxh-portal-active .dxh-student-actions > *,
html body.dxh-portal-active .dxh-course-action-buttons > *,
html body.dxh-portal-active .dxh-inline-form {
    display: inline-flex !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
}
html body.dxh-portal-active .dxh-btn,
html body.dxh-portal-active button.dxh-btn,
html body.dxh-portal-active a.dxh-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    max-width: none !important;
    min-width: auto !important;
    white-space: nowrap !important;
    text-align: center !important;
    line-height: 1.15 !important;
}
html body.dxh-portal-active .dxh-empty-card {
    background:#fff !important;
    border:1px dashed #cbd5e1 !important;
    border-radius:16px !important;
    padding:18px !important;
    color:#64748b !important;
}
@media (max-width: 1250px) {
    html body.dxh-portal-active .dxh-order-card-grid {
        grid-template-columns: repeat(3, minmax(160px, 1fr)) !important;
    }
    html body.dxh-portal-active .dxh-order-course-name {
        grid-column: 1 / -1 !important;
    }
}
@media (max-width: 820px) {
    html body.dxh-portal-active .dxh-shell { width:100% !important; max-width:100% !important; margin-left:0 !important; margin-right:0 !important; }
    html body.dxh-portal-active .dxh-order-card-head { align-items:flex-start !important; flex-direction:column !important; }
    html body.dxh-portal-active .dxh-order-actions { justify-content:flex-start !important; flex-wrap:wrap !important; }
    html body.dxh-portal-active .dxh-order-card-grid { grid-template-columns: 1fr !important; }
}

/* v2.6.8 proper Orders table fix: keep organized table, force enough width and inline actions. */
html body .dxh-shell .dxh-orders-card-list,
html body.dxh-portal-active .dxh-orders-card-list {
    display: none !important;
}

html body .dxh-shell .dxh-orders-table-scroll,
html body .dxh-shell .dxh-table-scroll,
html body.dxh-portal-active .dxh-orders-table-scroll,
html body.dxh-portal-active .dxh-table-scroll {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    display: block !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
}

html body .dxh-shell table.dxh-orders-table,
html body.dxh-portal-active table.dxh-orders-table {
    width: 100% !important;
    min-width: 1380px !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
    background: #fff !important;
}

html body .dxh-shell table.dxh-orders-table th,
html body .dxh-shell table.dxh-orders-table td,
html body.dxh-portal-active table.dxh-orders-table th,
html body.dxh-portal-active table.dxh-orders-table td {
    display: table-cell !important;
    vertical-align: top !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    line-height: 1.35 !important;
    padding: 16px 14px !important;
}

html body .dxh-shell table.dxh-orders-table th:nth-child(1),
html body .dxh-shell table.dxh-orders-table td:nth-child(1) { width: 125px !important; }
html body .dxh-shell table.dxh-orders-table th:nth-child(2),
html body .dxh-shell table.dxh-orders-table td:nth-child(2) { width: 110px !important; }
html body .dxh-shell table.dxh-orders-table th:nth-child(3),
html body .dxh-shell table.dxh-orders-table td:nth-child(3) { width: 105px !important; }
html body .dxh-shell table.dxh-orders-table th:nth-child(4),
html body .dxh-shell table.dxh-orders-table td:nth-child(4) { width: 145px !important; }
html body .dxh-shell table.dxh-orders-table th:nth-child(5),
html body .dxh-shell table.dxh-orders-table td:nth-child(5) { width: 260px !important; }
html body .dxh-shell table.dxh-orders-table th:nth-child(6),
html body .dxh-shell table.dxh-orders-table td:nth-child(6),
html body .dxh-shell table.dxh-orders-table th:nth-child(7),
html body .dxh-shell table.dxh-orders-table td:nth-child(7),
html body .dxh-shell table.dxh-orders-table th:nth-child(8),
html body .dxh-shell table.dxh-orders-table td:nth-child(8),
html body .dxh-shell table.dxh-orders-table th:nth-child(9),
html body .dxh-shell table.dxh-orders-table td:nth-child(9),
html body .dxh-shell table.dxh-orders-table th:nth-child(10),
html body .dxh-shell table.dxh-orders-table td:nth-child(10) { width: 110px !important; }
html body .dxh-shell table.dxh-orders-table th:nth-child(11),
html body .dxh-shell table.dxh-orders-table td:nth-child(11) { width: 300px !important; min-width:300px !important; }

html body .dxh-shell table.dxh-orders-table .dxh-action-cell,
html body.dxh-portal-active table.dxh-orders-table .dxh-action-cell {
    white-space: nowrap !important;
}

html body .dxh-shell table.dxh-orders-table .dxh-order-actions,
html body.dxh-portal-active table.dxh-orders-table .dxh-order-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    min-width: max-content !important;
}

html body .dxh-shell table.dxh-orders-table .dxh-order-actions > *,
html body.dxh-portal-active table.dxh-orders-table .dxh-order-actions > *,
html body .dxh-shell table.dxh-orders-table .dxh-inline-form,
html body.dxh-portal-active table.dxh-orders-table .dxh-inline-form {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body .dxh-shell table.dxh-orders-table .dxh-btn,
html body.dxh-portal-active table.dxh-orders-table .dxh-btn {
    display: inline-flex !important;
    width: auto !important;
    min-width: auto !important;
    max-width: none !important;
    white-space: nowrap !important;
    padding: 8px 13px !important;
    height: auto !important;
    min-height: 36px !important;
    line-height: 1.1 !important;
}

@media (max-width: 900px) {
    html body .dxh-shell table.dxh-orders-table,
    html body.dxh-portal-active table.dxh-orders-table {
        min-width: 1280px !important;
    }
}

/* v2.6.9 Portal Menu layout: remove built-in sidebar and let Elementor/WordPress menu handle navigation */
body .dxh-shell.dxh-no-sidebar,
html body .dxh-shell.dxh-no-sidebar,
body .dxh-fullwidth-shell {
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-height:auto !important;
    background:#ffffff !important;
    overflow:visible !important;
}
body .dxh-shell.dxh-no-sidebar aside,
html body .dxh-shell.dxh-no-sidebar aside {
    display:none !important;
}
body .dxh-shell.dxh-no-sidebar main,
html body .dxh-shell.dxh-no-sidebar main,
body .dxh-portal-main {
    display:block !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    padding:28px 24px !important;
    margin:0 !important;
    box-sizing:border-box !important;
    background:#ffffff !important;
}
body .dxh-portal-active .site-main,
body .dxh-portal-active .entry-content,
body .dxh-portal-active .page-content,
body .dxh-portal-active .elementor-section,
body .dxh-portal-active .elementor-container,
body .dxh-portal-active .elementor-widget-container,
body .dxh-portal-active .elementor-column,
body .dxh-portal-active .elementor-column-wrap,
body .dxh-portal-active .elementor-widget-wrap {
    max-width:100% !important;
}
body .dxh-shell.dxh-no-sidebar .dxh-panel,
body .dxh-shell.dxh-no-sidebar .dxh-table-wrap,
body .dxh-shell.dxh-no-sidebar .dxh-orders-table-wrap,
body .dxh-shell.dxh-no-sidebar .dxh-course-table-wrap {
    width:100% !important;
    max-width:100% !important;
    box-sizing:border-box !important;
}
body .dxh-shell.dxh-no-sidebar table {
    width:100% !important;
}
body .dxh-shell.dxh-no-sidebar .dxh-table-wrap,
body .dxh-shell.dxh-no-sidebar .dxh-orders-table-wrap,
body .dxh-shell.dxh-no-sidebar .dxh-course-table-wrap {
    overflow-x:auto !important;
}
body .dxh-shell.dxh-no-sidebar td:last-child,
body .dxh-shell.dxh-no-sidebar th:last-child {
    min-width:210px !important;
}
body .dxh-shell.dxh-no-sidebar td:last-child .dxh-actions,
body .dxh-shell.dxh-no-sidebar td:last-child .dxh-action-buttons,
body .dxh-shell.dxh-no-sidebar td:last-child .dxh-course-action-buttons {
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    gap:8px !important;
    flex-wrap:nowrap !important;
}
body .dxh-shell.dxh-no-sidebar td:last-child a,
body .dxh-shell.dxh-no-sidebar td:last-child button,
body .dxh-shell.dxh-no-sidebar .dxh-btn {
    white-space:nowrap !important;
}
@media (max-width: 820px){
    body .dxh-shell.dxh-no-sidebar main,
    html body .dxh-shell.dxh-no-sidebar main,
    body .dxh-portal-main { padding:18px 12px !important; }
}

/* v2.7.0 professional table spacing + restored plugin side menu */
html body.dxh-portal-active .dxh-shell{
  display:flex!important;
  width:100vw!important;
  max-width:100vw!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  overflow-x:hidden!important;
  background:#fff!important;
}
html body.dxh-portal-active .dxh-shell aside{
  flex:0 0 235px!important;
  width:235px!important;
  min-width:235px!important;
}
html body.dxh-portal-active .dxh-shell main{
  flex:1 1 auto!important;
  width:calc(100vw - 235px)!important;
  max-width:none!important;
  min-width:0!important;
  overflow:visible!important;
  padding:28px 30px!important;
}
html body.dxh-portal-active .dxh-panel{
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
}
html body.dxh-portal-active .dxh-table-scroll,
html body.dxh-portal-active .dxh-table-wrap,
html body.dxh-portal-active .dxh-orders-table-scroll{
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
  -webkit-overflow-scrolling:touch!important;
  border-radius:14px!important;
}
html body.dxh-portal-active table.dxh-orders-table{
  width:100%!important;
  min-width:1180px!important;
  table-layout:fixed!important;
  border-collapse:collapse!important;
}
html body.dxh-portal-active .dxh-orders-table th,
html body.dxh-portal-active .dxh-orders-table td{
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
  white-space:normal!important;
  vertical-align:top!important;
  padding:13px 14px!important;
  line-height:1.35!important;
}
html body.dxh-portal-active .dxh-orders-table th{
  font-size:12px!important;
  letter-spacing:.03em!important;
  text-transform:uppercase!important;
  color:#1f2937!important;
  background:#f8fafc!important;
}
html body.dxh-portal-active .dxh-orders-table th:nth-child(1),
html body.dxh-portal-active .dxh-orders-table td:nth-child(1){width:120px!important;}
html body.dxh-portal-active .dxh-orders-table th:nth-child(2),
html body.dxh-portal-active .dxh-orders-table td:nth-child(2){width:95px!important;}
html body.dxh-portal-active .dxh-orders-table th:nth-child(3),
html body.dxh-portal-active .dxh-orders-table td:nth-child(3){width:105px!important;}
html body.dxh-portal-active .dxh-orders-table th:nth-child(4),
html body.dxh-portal-active .dxh-orders-table td:nth-child(4){width:125px!important;}
html body.dxh-portal-active .dxh-orders-table th:nth-child(5),
html body.dxh-portal-active .dxh-orders-table td:nth-child(5){width:250px!important;}
html body.dxh-portal-active .dxh-orders-table th:nth-child(6),
html body.dxh-portal-active .dxh-orders-table td:nth-child(6),
html body.dxh-portal-active .dxh-orders-table th:nth-child(7),
html body.dxh-portal-active .dxh-orders-table td:nth-child(7),
html body.dxh-portal-active .dxh-orders-table th:nth-child(8),
html body.dxh-portal-active .dxh-orders-table td:nth-child(8),
html body.dxh-portal-active .dxh-orders-table th:nth-child(9),
html body.dxh-portal-active .dxh-orders-table td:nth-child(9),
html body.dxh-portal-active .dxh-orders-table th:nth-child(10),
html body.dxh-portal-active .dxh-orders-table td:nth-child(10){width:88px!important;white-space:nowrap!important;}
html body.dxh-portal-active .dxh-orders-table th:nth-child(11),
html body.dxh-portal-active .dxh-orders-table td:nth-child(11){width:245px!important;min-width:245px!important;}
html body.dxh-portal-active .dxh-order-actions,
html body.dxh-portal-active .dxh-payment-actions,
html body.dxh-portal-active .dxh-student-actions,
html body.dxh-portal-active td:last-child .dxh-actions{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  flex-wrap:nowrap!important;
  white-space:nowrap!important;
}
html body.dxh-portal-active .dxh-order-actions .dxh-btn,
html body.dxh-portal-active .dxh-payment-actions .dxh-btn,
html body.dxh-portal-active .dxh-student-actions .dxh-btn{
  flex:0 0 auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
  white-space:nowrap!important;
}
@media(max-width:900px){
  html body.dxh-portal-active .dxh-shell{display:block!important;width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;}
  html body.dxh-portal-active .dxh-shell aside{width:100%!important;min-width:0!important;min-height:auto!important;position:relative!important;}
  html body.dxh-portal-active .dxh-shell main{width:100%!important;padding:18px 14px!important;}
  html body.dxh-portal-active table.dxh-orders-table{min-width:1100px!important;}
}


/* v2.7.2 contained table polish + real plugin version
   Reverts the viewport-width expansion from v2.7.1. The plugin stays inside the Elementor/container area,
   while the table gets a clean minimum width and horizontal scroll instead of breaking words. */
html body.dxh-portal-active{
  overflow-x:hidden!important;
}
html body.dxh-portal-active .dxh-shell{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
html body.dxh-portal-active .dxh-shell aside{
  flex:0 0 235px!important;
  width:235px!important;
  min-width:235px!important;
}
html body.dxh-portal-active .dxh-shell main{
  flex:1 1 auto!important;
  width:auto!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
html body.dxh-portal-active .dxh-panel{
  width:100%!important;
  max-width:100%!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  border-radius:18px!important;
}
html body.dxh-portal-active .dxh-table-scroll,
html body.dxh-portal-active .dxh-table-wrap,
html body.dxh-portal-active .dxh-orders-table-scroll{
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
  overflow-y:visible!important;
  -webkit-overflow-scrolling:touch!important;
  box-sizing:border-box!important;
  padding-bottom:6px!important;
}
html body.dxh-portal-active table.dxh-orders-table{
  width:100%!important;
  min-width:1180px!important;
  table-layout:fixed!important;
  border-collapse:separate!important;
  border-spacing:0!important;
}
html body.dxh-portal-active .dxh-orders-table th,
html body.dxh-portal-active .dxh-orders-table td{
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
  vertical-align:middle!important;
  padding:12px 10px!important;
  font-size:13px!important;
  line-height:1.35!important;
}
html body.dxh-portal-active .dxh-orders-table th{
  font-size:11px!important;
  letter-spacing:.04em!important;
  text-transform:uppercase!important;
  color:#64748b!important;
}
html body.dxh-portal-active .dxh-orders-table .dxh-col-order{width:92px!important;}
html body.dxh-portal-active .dxh-orders-table .dxh-col-user{width:105px!important;}
html body.dxh-portal-active .dxh-orders-table .dxh-col-student-id{width:96px!important;}
html body.dxh-portal-active .dxh-orders-table .dxh-col-student{width:135px!important;}
html body.dxh-portal-active .dxh-orders-table .dxh-col-course{width:260px!important;}
html body.dxh-portal-active .dxh-orders-table .dxh-col-money{width:82px!important;}
html body.dxh-portal-active .dxh-orders-table .dxh-col-actions{width:240px!important;}
html body.dxh-portal-active .dxh-course-name-cell{
  white-space:normal!important;
  overflow-wrap:break-word!important;
}
html body.dxh-portal-active .dxh-action-cell{
  min-width:240px!important;
  width:240px!important;
}
html body.dxh-portal-active .dxh-order-actions,
html body.dxh-portal-active .dxh-payment-actions,
html body.dxh-portal-active .dxh-student-actions,
html body.dxh-portal-active .dxh-actions{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:7px!important;
  flex-wrap:nowrap!important;
  white-space:nowrap!important;
}
html body.dxh-portal-active .dxh-inline-form{
  display:inline-flex!important;
  margin:0!important;
}
html body.dxh-portal-active .dxh-btn.small,
html body.dxh-portal-active button.dxh-btn.small,
html body.dxh-portal-active a.dxh-btn.small{
  flex:0 0 auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:30px!important;
  padding:7px 10px!important;
  font-size:12px!important;
  line-height:1.1!important;
  margin:0!important;
  white-space:nowrap!important;
  border-radius:10px!important;
}
@media(max-width:900px){
  html body.dxh-portal-active .dxh-shell{display:block!important;overflow:visible!important;}
  html body.dxh-portal-active .dxh-shell aside{width:100%!important;min-width:0!important;}
  html body.dxh-portal-active .dxh-shell main{width:100%!important;overflow:hidden!important;padding:16px 12px!important;}
  html body.dxh-portal-active table.dxh-orders-table{min-width:1080px!important;}
}

/* DispatchX v2.8.0 stable UI cleanup from v2.7.2 base
   Keep plugin side menu, keep organized tables, prevent text/buttons from overlapping. */
html body .dxh-shell{width:100%!important;max-width:100%!important;box-sizing:border-box!important;background:#fff!important;}
html body .dxh-shell main{min-width:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;padding:24px!important;overflow-x:hidden!important;}
html body .dxh-panel{box-sizing:border-box!important;max-width:100%!important;overflow:visible!important;}

/* Global plugin action buttons: professional inline rows, never vertical unless very small mobile. */
html body .dxh-shell .dxh-actions,
html body .dxh-shell .dxh-order-actions,
html body .dxh-shell .dxh-payment-actions,
html body .dxh-shell .dxh-student-actions,
html body .dxh-shell .dxh-head-actions,
html body .dxh-shell td[data-label="Actions"] > div,
html body .dxh-shell .dxh-course-action-buttons{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;flex-wrap:nowrap!important;white-space:nowrap!important;}
html body .dxh-shell .dxh-actions > *,
html body .dxh-shell .dxh-order-actions > *,
html body .dxh-shell .dxh-payment-actions > *,
html body .dxh-shell .dxh-student-actions > *,
html body .dxh-shell .dxh-head-actions > *,
html body .dxh-shell .dxh-course-action-buttons > *{flex:0 0 auto!important;margin:0!important;width:auto!important;max-width:none!important;}
html body .dxh-shell .dxh-inline-form,
html body .dxh-shell .dxh-inline-delete{display:inline-flex!important;margin:0!important;padding:0!important;}
html body .dxh-shell .dxh-btn.small,
html body .dxh-shell button.dxh-btn.small,
html body .dxh-shell a.dxh-btn.small{display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;width:auto!important;min-width:auto!important;line-height:1.05!important;border-radius:999px!important;padding:8px 13px!important;font-size:12px!important;font-weight:800!important;}

/* Student cards: enough real grid space so username never sits under buttons. */
html body .dxh-shell .dxh-student-list-panel{overflow:visible!important;}
html body .dxh-shell .dxh-student-card-list{display:grid!important;grid-template-columns:1fr!important;gap:14px!important;width:100%!important;}
html body .dxh-shell .dxh-student-card{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(230px,auto)!important;gap:24px!important;align-items:center!important;padding:18px!important;border:1px solid #dbe5f2!important;border-radius:18px!important;background:#fff!important;box-sizing:border-box!important;overflow:hidden!important;}
html body .dxh-shell .dxh-student-card-main{display:grid!important;grid-template-columns:130px minmax(0,1fr)!important;gap:22px!important;align-items:center!important;min-width:0!important;}
html body .dxh-shell .dxh-student-card-main > div{min-width:0!important;}
html body .dxh-shell .dxh-student-name{display:inline-block!important;margin-bottom:8px!important;color:#0f172a!important;text-decoration:none!important;}
html body .dxh-shell .dxh-student-meta{display:grid!important;grid-template-columns:minmax(140px,.85fr) minmax(220px,1.2fr) minmax(135px,.8fr)!important;gap:12px 22px!important;align-items:start!important;min-width:0!important;}
html body .dxh-shell .dxh-student-meta span{min-width:0!important;overflow-wrap:anywhere!important;word-break:normal!important;line-height:1.35!important;}
html body .dxh-shell .dxh-id-pill{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:98px!important;max-width:130px!important;white-space:nowrap!important;}
html body .dxh-shell .dxh-student-actions{justify-content:flex-end!important;min-width:230px!important;align-self:center!important;}

/* Organized Orders table: contained, readable, with horizontal scroll instead of broken words. */
html body .dxh-shell .dxh-table-scroll,
html body .dxh-shell .dxh-table-wrap{width:100%!important;max-width:100%!important;overflow-x:auto!important;overflow-y:visible!important;-webkit-overflow-scrolling:touch!important;border:1px solid #dbe5f2!important;border-radius:16px!important;background:#fff!important;}
html body .dxh-shell table.dxh-orders-table{width:max-content!important;min-width:1320px!important;table-layout:fixed!important;border-collapse:collapse!important;margin:0!important;background:#fff!important;}
html body .dxh-shell table.dxh-orders-table th,
html body .dxh-shell table.dxh-orders-table td{padding:14px 16px!important;vertical-align:top!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;border-right:1px solid #e2e8f0!important;border-bottom:1px solid #e2e8f0!important;}
html body .dxh-shell table.dxh-orders-table th{background:#f8fafc!important;color:#0f172a!important;font-size:12px!important;text-transform:uppercase!important;letter-spacing:.04em!important;font-weight:900!important;}
html body .dxh-shell table.dxh-orders-table .dxh-col-order{width:145px!important;}
html body .dxh-shell table.dxh-orders-table .dxh-col-user{width:115px!important;}
html body .dxh-shell table.dxh-orders-table .dxh-col-student-id{width:115px!important;}
html body .dxh-shell table.dxh-orders-table .dxh-col-student{width:165px!important;}
html body .dxh-shell table.dxh-orders-table .dxh-col-course{width:300px!important;}
html body .dxh-shell table.dxh-orders-table .dxh-col-money{width:95px!important;}
html body .dxh-shell table.dxh-orders-table .dxh-col-actions{width:300px!important;}
html body .dxh-shell table.dxh-orders-table td.dxh-action-cell{min-width:300px!important;white-space:nowrap!important;}
html body .dxh-shell table.dxh-orders-table .dxh-course-name-cell{font-weight:600!important;line-height:1.35!important;}

/* Payment table action column */
html body .dxh-shell table.dxh-payment-table{min-width:1050px!important;table-layout:auto!important;}
html body .dxh-shell table.dxh-payment-table th:last-child,
html body .dxh-shell table.dxh-payment-table td:last-child{min-width:330px!important;width:330px!important;}
html body .dxh-shell .dxh-edit-payment{position:relative!important;}
html body .dxh-shell .dxh-edit-payment[open] .dxh-edit-payment-form{position:absolute!important;right:0!important;top:42px!important;z-index:50!important;min-width:420px!important;max-width:520px!important;background:#fff!important;border:1px solid #cbd5e1!important;border-radius:14px!important;padding:16px!important;box-shadow:0 18px 45px rgba(15,23,42,.18)!important;white-space:normal!important;}

/* Upload document button should not be oversized. */
html body .dxh-shell button[name="upload_student_document"],
html body .dxh-shell .dxh-upload-document button,
html body .dxh-shell form .dxh-btn[type="submit"]{max-width:max-content!important;}
html body .dxh-shell .dxh-document-upload .dxh-btn,
html body .dxh-shell .dxh-upload-btn{width:auto!important;min-width:180px!important;max-width:240px!important;padding:12px 18px!important;}

@media(max-width:1100px){
  html body .dxh-shell .dxh-student-card{grid-template-columns:1fr!important;align-items:start!important;}
  html body .dxh-shell .dxh-student-actions{justify-content:flex-start!important;min-width:0!important;}
}
@media(max-width:760px){
  html body .dxh-shell{display:block!important;}
  html body .dxh-shell aside{width:auto!important;}
  html body .dxh-shell main{padding:16px!important;}
  html body .dxh-shell .dxh-student-card-main{grid-template-columns:1fr!important;gap:12px!important;}
  html body .dxh-shell .dxh-student-meta{grid-template-columns:1fr!important;gap:8px!important;}
  html body .dxh-shell .dxh-student-actions,
  html body .dxh-shell .dxh-actions,
  html body .dxh-shell .dxh-order-actions,
  html body .dxh-shell .dxh-payment-actions{flex-wrap:wrap!important;}
}

/* v2.8.1 Student list action alignment fix: keep actions higher and prevent overlap with username/details */
html body.dxh-portal-active .dxh-shell .dxh-student-card,
html body .dxh-shell .dxh-student-card{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 240px!important;
  gap:28px!important;
  align-items:start!important;
  overflow:visible!important;
  position:relative!important;
}
html body.dxh-portal-active .dxh-shell .dxh-student-card-main,
html body .dxh-shell .dxh-student-card-main{
  display:grid!important;
  grid-template-columns:130px minmax(0,1fr)!important;
  gap:22px!important;
  align-items:start!important;
  min-width:0!important;
  width:100%!important;
}
html body.dxh-portal-active .dxh-shell .dxh-student-meta,
html body .dxh-shell .dxh-student-meta{
  display:grid!important;
  grid-template-columns:minmax(140px,.8fr) minmax(220px,1.2fr) minmax(170px,.85fr)!important;
  gap:10px 22px!important;
  align-items:start!important;
  padding-right:0!important;
  min-width:0!important;
}
html body.dxh-portal-active .dxh-shell .dxh-student-actions,
html body .dxh-shell .dxh-student-actions{
  grid-column:2!important;
  align-self:start!important;
  justify-self:end!important;
  margin-top:18px!important;
  transform:none!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
  flex-wrap:nowrap!important;
  min-width:230px!important;
  position:relative!important;
  z-index:3!important;
}
html body.dxh-portal-active .dxh-shell .dxh-student-actions .dxh-btn,
html body .dxh-shell .dxh-student-actions .dxh-btn{
  flex:0 0 auto!important;
  height:36px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  white-space:nowrap!important;
  margin:0!important;
}
@media(max-width:1100px){
  html body.dxh-portal-active .dxh-shell .dxh-student-card,
  html body .dxh-shell .dxh-student-card{grid-template-columns:1fr!important;gap:14px!important;}
  html body.dxh-portal-active .dxh-shell .dxh-student-actions,
  html body .dxh-shell .dxh-student-actions{grid-column:1!important;justify-self:start!important;margin-top:0!important;min-width:0!important;}
  html body.dxh-portal-active .dxh-shell .dxh-student-meta,
  html body .dxh-shell .dxh-student-meta{grid-template-columns:1fr 1fr!important;}
}
@media(max-width:640px){
  html body.dxh-portal-active .dxh-shell .dxh-student-card-main,
  html body .dxh-shell .dxh-student-card-main{grid-template-columns:1fr!important;gap:10px!important;}
  html body.dxh-portal-active .dxh-shell .dxh-student-meta,
  html body .dxh-shell .dxh-student-meta{grid-template-columns:1fr!important;}
  html body.dxh-portal-active .dxh-shell .dxh-student-actions,
  html body .dxh-shell .dxh-student-actions{flex-wrap:wrap!important;}
}


/* v2.8.2 ONLY FIX: Student List button placement + remove Clean card view badge.
   Keep card UI, but prevent the Username/details from going under the action buttons. */
html body .dxh-shell .dxh-student-list-panel .dxh-panel-note{
  display:none!important;
}
html body .dxh-shell .dxh-student-list-panel .dxh-panel-title-row{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  margin-bottom:18px!important;
}
html body .dxh-shell .dxh-student-card{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  column-gap:32px!important;
  row-gap:12px!important;
  align-items:start!important;
  padding:20px 20px!important;
  overflow:visible!important;
}
html body .dxh-shell .dxh-student-card-main{
  display:grid!important;
  grid-template-columns:132px minmax(0,1fr)!important;
  gap:22px!important;
  align-items:start!important;
  min-width:0!important;
}
html body .dxh-shell .dxh-student-meta{
  display:grid!important;
  grid-template-columns:minmax(150px,.75fr) minmax(240px,1fr)!important;
  gap:8px 26px!important;
  align-items:start!important;
  min-width:0!important;
  padding-right:0!important;
}
html body .dxh-shell .dxh-student-meta > span:nth-child(3){
  grid-column:1 / -1!important;
  padding-top:2px!important;
}
html body .dxh-shell .dxh-student-actions{
  grid-column:2!important;
  grid-row:1!important;
  align-self:start!important;
  justify-self:end!important;
  margin:0!important;
  padding-top:16px!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
  flex-wrap:nowrap!important;
  min-width:230px!important;
  position:relative!important;
  z-index:5!important;
}
html body .dxh-shell .dxh-student-actions .dxh-btn{
  flex:0 0 auto!important;
  margin:0!important;
  white-space:nowrap!important;
}
@media(max-width:1100px){
  html body .dxh-shell .dxh-student-card{
    grid-template-columns:1fr!important;
  }
  html body .dxh-shell .dxh-student-actions{
    grid-column:1!important;
    grid-row:auto!important;
    justify-self:start!important;
    padding-top:0!important;
    min-width:0!important;
  }
}
@media(max-width:700px){
  html body .dxh-shell .dxh-student-card-main,
  html body .dxh-shell .dxh-student-meta{
    grid-template-columns:1fr!important;
  }
  html body .dxh-shell .dxh-student-meta > span:nth-child(3){
    grid-column:auto!important;
  }
  html body .dxh-shell .dxh-student-actions{
    flex-wrap:wrap!important;
  }
}

/* v2.8.3 FINAL FIX: Student list actions are inside the top row, not floating over details. */
html body .dxh-shell .dxh-student-list-panel .dxh-panel-note,
html body .dxh-shell .dxh-student-list-panel .dxh-clean-card-view,
html body .dxh-shell .dxh-student-list-panel [class*="clean-card"]{
  display:none!important;
}
html body .dxh-shell .dxh-student-list-panel{
  overflow:visible!important;
}
html body .dxh-shell .dxh-student-card-list{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:14px!important;
  width:100%!important;
}
html body .dxh-shell .dxh-student-card{
  display:grid!important;
  grid-template-columns:132px minmax(0,1fr)!important;
  gap:22px!important;
  align-items:start!important;
  width:100%!important;
  padding:20px!important;
  border:1px solid #dbe5f2!important;
  border-radius:18px!important;
  background:#fff!important;
  box-sizing:border-box!important;
  overflow:visible!important;
  position:relative!important;
}
html body .dxh-shell .dxh-student-card > .dxh-id-pill{
  grid-column:1!important;
  grid-row:1!important;
  align-self:center!important;
  justify-self:start!important;
  margin:0!important;
  white-space:nowrap!important;
}
html body .dxh-shell .dxh-student-card .dxh-student-info{
  grid-column:2!important;
  grid-row:1!important;
  min-width:0!important;
  width:100%!important;
}
html body .dxh-shell .dxh-student-card .dxh-student-top{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:18px!important;
  width:100%!important;
  margin:0 0 12px 0!important;
}
html body .dxh-shell .dxh-student-card .dxh-student-name{
  display:block!important;
  margin:0!important;
  min-width:0!important;
  color:#0f172a!important;
  text-decoration:none!important;
  line-height:1.25!important;
}
html body .dxh-shell .dxh-student-card .dxh-student-actions{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
  flex-wrap:nowrap!important;
  flex:0 0 auto!important;
  min-width:230px!important;
  width:auto!important;
  margin:0!important;
  padding:0!important;
  position:static!important;
  transform:none!important;
  z-index:auto!important;
}
html body .dxh-shell .dxh-student-card .dxh-student-actions .dxh-btn,
html body .dxh-shell .dxh-student-card .dxh-student-actions form,
html body .dxh-shell .dxh-student-card .dxh-student-actions button{
  flex:0 0 auto!important;
  width:auto!important;
  max-width:none!important;
  margin:0!important;
  white-space:nowrap!important;
}
html body .dxh-shell .dxh-student-card .dxh-student-meta{
  display:grid!important;
  grid-template-columns:minmax(150px,.75fr) minmax(240px,1.2fr) minmax(150px,.7fr)!important;
  gap:8px 24px!important;
  align-items:start!important;
  min-width:0!important;
  width:100%!important;
  padding:0!important;
}
html body .dxh-shell .dxh-student-card .dxh-student-meta > span{
  min-width:0!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  line-height:1.35!important;
}
@media(max-width:1050px){
  html body .dxh-shell .dxh-student-card .dxh-student-top{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
  }
  html body .dxh-shell .dxh-student-card .dxh-student-actions{
    justify-content:flex-start!important;
    min-width:0!important;
  }
  html body .dxh-shell .dxh-student-card .dxh-student-meta{
    grid-template-columns:1fr 1fr!important;
  }
}
@media(max-width:700px){
  html body .dxh-shell .dxh-student-card{
    grid-template-columns:1fr!important;
    gap:12px!important;
    padding:16px!important;
  }
  html body .dxh-shell .dxh-student-card > .dxh-id-pill,
  html body .dxh-shell .dxh-student-card .dxh-student-info{
    grid-column:1!important;
    grid-row:auto!important;
  }
  html body .dxh-shell .dxh-student-card .dxh-student-meta{
    grid-template-columns:1fr!important;
  }
  html body .dxh-shell .dxh-student-card .dxh-student-actions{
    flex-wrap:wrap!important;
  }
}


/* v2.8.6 FINAL: stable student cards, certificate visibility, and professional document UI overrides */
html body .dxh-shell .dxh-panel-title-row .dxh-clean-card-view,
html body .dxh-shell .dxh-clean-card-view { display:none!important; }

html body .dxh-shell .dxh-student-card-list{
  display:grid!important; grid-template-columns:1fr!important; gap:14px!important; width:100%!important;
}
html body .dxh-shell article.dxh-student-card.dxh-student-card-fixed{
  display:grid!important;
  grid-template-columns:190px minmax(360px,1fr) minmax(260px,auto)!important;
  gap:24px!important;
  align-items:start!important;
  padding:20px 22px!important;
  min-height:120px!important;
  overflow:visible!important;
  border:1px solid #dbe5f2!important;
  border-radius:20px!important;
  background:#fff!important;
  box-shadow:0 10px 28px rgba(15,23,42,.04)!important;
}
html body .dxh-shell .dxh-student-id-col{display:flex!important;align-items:center!important;justify-content:flex-start!important;height:100%!important;min-width:0!important;}
html body .dxh-shell .dxh-student-card-fixed > .dxh-id-pill{position:static!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:130px!important;max-width:170px!important;margin:12px 0 0!important;white-space:nowrap!important;}
html body .dxh-shell .dxh-student-card-fixed .dxh-student-info{display:block!important;min-width:0!important;padding:0!important;margin:0!important;}
html body .dxh-shell .dxh-student-card-fixed .dxh-student-name{display:block!important;margin:0 0 12px!important;font-size:16px!important;line-height:1.25!important;color:#0f172a!important;text-decoration:none!important;}
html body .dxh-shell .dxh-student-card-fixed .dxh-student-meta{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;align-items:start!important;margin:0!important;}
html body .dxh-shell .dxh-student-card-fixed .dxh-student-meta > span{display:block!important;min-width:0!important;line-height:1.35!important;color:#334155!important;word-break:normal!important;overflow-wrap:anywhere!important;}
html body .dxh-shell .dxh-student-card-fixed .dxh-student-actions{position:static!important;display:flex!important;flex-direction:row!important;align-items:flex-start!important;justify-content:flex-end!important;gap:10px!important;flex-wrap:nowrap!important;margin:6px 0 0!important;padding:0!important;min-width:260px!important;z-index:1!important;}
html body .dxh-shell .dxh-student-card-fixed .dxh-student-actions .dxh-btn,
html body .dxh-shell .dxh-student-card-fixed .dxh-student-actions a,
html body .dxh-shell .dxh-student-card-fixed .dxh-student-actions button{position:static!important;display:inline-flex!important;width:auto!important;min-width:max-content!important;white-space:nowrap!important;margin:0!important;transform:none!important;}
html body .dxh-shell .dxh-student-card-fixed .dxh-student-actions form{display:inline-flex!important;margin:0!important;width:auto!important;}

html body .dxh-shell .dxh-certificate-quick-panel{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important;border-left:5px solid #1d4ed8!important;background:linear-gradient(135deg,#ffffff 0%,#f8fbff 100%)!important;}
html body .dxh-shell .dxh-certificate-quick-panel h2{margin:4px 0 6px!important;}
html body .dxh-shell .dxh-certificate-quick-panel p{margin:0!important;color:#475569!important;}
html body .dxh-shell .dxh-certificate-quick-actions .dxh-cert-panel{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;flex-wrap:wrap!important;margin:0!important;}
html body .dxh-shell .dxh-certificate-quick-actions .dxh-muted{display:none!important;}

@media(max-width:1100px){
  html body .dxh-shell article.dxh-student-card.dxh-student-card-fixed{grid-template-columns:150px minmax(0,1fr)!important;}
  html body .dxh-shell .dxh-student-card-fixed .dxh-student-actions{grid-column:2!important;justify-content:flex-start!important;margin-top:8px!important;}
  html body .dxh-shell .dxh-student-card-fixed .dxh-student-meta{grid-template-columns:1fr 1fr!important;}
}
@media(max-width:760px){
  html body .dxh-shell article.dxh-student-card.dxh-student-card-fixed{grid-template-columns:1fr!important;padding:16px!important;gap:12px!important;}
  html body .dxh-shell .dxh-student-card-fixed > .dxh-id-pill{margin:0!important;}
  html body .dxh-shell .dxh-student-card-fixed .dxh-student-actions{grid-column:auto!important;justify-content:flex-start!important;flex-wrap:wrap!important;min-width:0!important;}
  html body .dxh-shell .dxh-student-card-fixed .dxh-student-meta{grid-template-columns:1fr!important;gap:8px!important;}
  html body .dxh-shell .dxh-certificate-quick-panel{display:block!important;}
  html body .dxh-shell .dxh-certificate-quick-actions{margin-top:14px!important;}
}

/* v2.8.7 Certificates page */
html body .dxh-shell .dxh-certificates-admin .dxh-table-wrap{width:100%!important;overflow-x:auto!important;}
html body .dxh-shell table.dxh-cert-table{width:100%!important;min-width:980px!important;border-collapse:collapse!important;table-layout:auto!important;}
html body .dxh-shell table.dxh-cert-table th,
html body .dxh-shell table.dxh-cert-table td{vertical-align:middle!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;}
html body .dxh-shell .dxh-cert-qr{display:flex!important;align-items:center!important;gap:10px!important;min-width:190px!important;}
html body .dxh-shell .dxh-cert-qr img{width:54px!important;height:54px!important;border:1px solid #dbe5f2!important;border-radius:8px!important;background:#fff!important;padding:4px!important;}
html body .dxh-shell .dxh-status-pill{display:inline-flex!important;align-items:center!important;padding:6px 10px!important;border-radius:999px!important;background:#eef6ff!important;color:#0b63ce!important;font-weight:800!important;font-size:12px!important;}
html body .dxh-shell .dxh-cert-actions{display:flex!important;gap:8px!important;align-items:center!important;flex-wrap:nowrap!important;min-width:230px!important;}
html body .dxh-shell .dxh-cert-actions .dxh-btn{white-space:nowrap!important;}

/* v2.11.2 Courses tab polish: published/private sections and status actions */
html body .dxh-course-section-published{border-left:4px solid #16a34a!important;}
html body .dxh-course-section-private{border-left:4px solid #64748b!important;}
html body .dxh-course-section-published .dxh-course-section-title span{background:#dcfce7!important;color:#166534!important;border-color:#bbf7d0!important;}
html body .dxh-course-section-private .dxh-course-section-title span{background:#f1f5f9!important;color:#475569!important;border-color:#cbd5e1!important;}
html body .dxh-course-card-actions .dxh-course-action-buttons{display:flex!important;flex-direction:column!important;gap:8px!important;align-items:stretch!important;}
html body .dxh-course-card-actions .dxh-course-action-buttons .dxh-btn,
html body .dxh-course-card-actions .dxh-course-action-buttons .dxh-inline-form button{width:100%!important;white-space:nowrap!important;}

/* v2.11.3 Courses tab final layout: balanced columns + status controls */
html body .dxh-shell .dxh-courses-panel,
html body .dxh-shell .dxh-course-section{max-width:100%!important;overflow:hidden!important;}
html body .dxh-shell .dxh-course-card{padding:18px 20px!important;overflow:visible!important;}
html body .dxh-shell .dxh-course-card-main{
  display:grid!important;
  grid-template-columns:150px minmax(260px,1.3fr) minmax(340px,1.4fr) 105px minmax(210px,.8fr)!important;
  gap:18px!important;
  align-items:center!important;
  width:100%!important;
  box-sizing:border-box!important;
}
html body .dxh-shell .dxh-course-card-id,
html body .dxh-shell .dxh-course-card-info,
html body .dxh-shell .dxh-course-card-dates,
html body .dxh-shell .dxh-course-card-students,
html body .dxh-shell .dxh-course-card-actions{min-width:0!important;}
html body .dxh-shell .dxh-course-card-students{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;min-width:90px!important;}
html body .dxh-shell .dxh-course-card-students .dxh-card-label{white-space:nowrap!important;font-size:11px!important;letter-spacing:.05em!important;}
html body .dxh-shell .dxh-course-card-students strong{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:42px!important;height:42px!important;border-radius:999px!important;background:#eef6ff!important;color:#0b63ce!important;font-size:18px!important;line-height:1!important;}
html body .dxh-shell .dxh-course-card-actions{display:block!important;min-width:210px!important;}
html body .dxh-shell .dxh-course-card-actions .dxh-course-action-buttons{display:flex!important;flex-direction:column!important;gap:8px!important;align-items:stretch!important;width:100%!important;}
html body .dxh-shell .dxh-course-card-actions .dxh-btn,
html body .dxh-shell .dxh-course-card-actions button{width:100%!important;max-width:100%!important;white-space:nowrap!important;}
html body .dxh-shell .dxh-course-status-controls{margin-top:8px!important;border-top:1px solid #edf2f7!important;padding-top:8px!important;}
html body .dxh-shell .dxh-status-buttons{display:grid!important;grid-template-columns:1fr!important;gap:7px!important;width:100%!important;}
html body .dxh-shell .dxh-status-buttons form{display:block!important;margin:0!important;width:100%!important;}
html body .dxh-shell .dxh-status-badge.draft{background:#fff7ed!important;color:#c2410c!important;border-color:#fed7aa!important;}
html body .dxh-shell .dxh-course-section-draft{border-left:4px solid #f59e0b!important;}
html body .dxh-shell .dxh-course-section-draft .dxh-course-section-title span{background:#fff7ed!important;color:#c2410c!important;border-color:#fed7aa!important;}
@media(max-width:1250px){
  html body .dxh-shell .dxh-course-card-main{grid-template-columns:130px minmax(220px,1fr) minmax(300px,1.2fr) 90px minmax(190px,.8fr)!important;gap:14px!important;}
}
@media(max-width:980px){
  html body .dxh-shell .dxh-course-card-main{grid-template-columns:1fr!important;align-items:stretch!important;}
  html body .dxh-shell .dxh-course-card-students{align-items:flex-start!important;text-align:left!important;}
  html body .dxh-shell .dxh-status-buttons{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
}
