@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

/*
  Theme layer
  - `default` intentionally has no overrides so the existing style remains unchanged.
  - Non-default themes only apply under body[data-ui-theme="..."].
*/

[data-ui-theme]:not([data-ui-theme="default"]) {
    transition: background-color .2s ease, color .2s ease;
}

[data-ui-theme]:not([data-ui-theme="default"]) .container,
[data-ui-theme]:not([data-ui-theme="default"]) .container-fluid {
    color: var(--dark);
}

[data-ui-theme]:not([data-ui-theme="default"]) .table {
    --bs-table-bg: rgba(255, 255, 255, 0.86);
    --bs-table-color: var(--dark);
    --bs-table-border-color: var(--border);
}

[data-ui-theme]:not([data-ui-theme="default"]) .table thead.table-light th,
[data-ui-theme]:not([data-ui-theme="default"]) .table .table-light th {
    background: rgba(148, 163, 184, 0.12) !important;
    color: var(--dark);
    border-color: var(--border);
}

[data-ui-theme]:not([data-ui-theme="default"]) .table-hover > tbody > tr:hover > * {
    --bs-table-accent-bg: rgba(99, 102, 241, 0.08);
}

[data-ui-theme]:not([data-ui-theme="default"]) .modal-content {
    border: 1px solid var(--border);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
}

[data-ui-theme]:not([data-ui-theme="default"]) .modal-header,
[data-ui-theme]:not([data-ui-theme="default"]) .modal-footer {
    border-color: var(--border);
}

[data-ui-theme]:not([data-ui-theme="default"]) .dropdown-menu {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

[data-ui-theme]:not([data-ui-theme="default"]) .dropdown-item {
    color: var(--dark);
}

[data-ui-theme]:not([data-ui-theme="default"]) .dropdown-item:hover,
[data-ui-theme]:not([data-ui-theme="default"]) .dropdown-item:focus {
    background: rgba(99, 102, 241, 0.12);
    color: var(--dark);
}

[data-ui-theme]:not([data-ui-theme="default"]) .dropdown-item.active,
[data-ui-theme]:not([data-ui-theme="default"]) .dropdown-item:active {
    background: var(--gradient-primary);
    color: #fff;
}

[data-ui-theme]:not([data-ui-theme="default"]) .alert {
    border: 1px solid var(--border);
}

[data-ui-theme]:not([data-ui-theme="default"]) .nav-link.active,
[data-ui-theme]:not([data-ui-theme="default"]) .navbar .nav-link.active {
    color: var(--primary) !important;
}

[data-ui-theme]:not([data-ui-theme="default"]) .pagination .page-link {
    color: var(--dark);
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.9);
}

[data-ui-theme]:not([data-ui-theme="default"]) .pagination .page-item.active .page-link {
    border-color: var(--primary);
    background: var(--gradient-primary);
    color: #fff;
}

[data-ui-theme]:not([data-ui-theme="default"]) .pagination .page-link:focus,
[data-ui-theme]:not([data-ui-theme="default"]) .btn:focus,
[data-ui-theme]:not([data-ui-theme="default"]) .form-control:focus,
[data-ui-theme]:not([data-ui-theme="default"]) .form-select:focus {
    outline: none;
}

body[data-ui-theme="editorial-ink"] {
    --primary: #1d4ed8;
    --primary-light: #2563eb;
    --primary-dark: #1e3a8a;
    --success: #0f766e;
    --warning: #b45309;
    --danger: #b91c1c;
    --info: #0369a1;
    --light: #f5f5f4;
    --light-gray: #fafaf9;
    --dark: #111827;
    --dark-gray: #334155;
    --border: #cbd5e1;
    --border-light: #e2e8f0;
    --gradient-primary: linear-gradient(135deg, #1d4ed8 0%, #0ea5e9 100%);
    --gradient-bg: linear-gradient(135deg, #f8fafc 0%, #f5f5f4 100%);
    font-family: 'Manrope', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background:
        radial-gradient(circle at 8% 10%, rgba(14, 165, 233, 0.08), transparent 35%),
        radial-gradient(circle at 90% 0%, rgba(29, 78, 216, 0.07), transparent 36%),
        var(--light);
}

body[data-ui-theme="editorial-ink"] .navbar {
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.84) !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

body[data-ui-theme="editorial-ink"] .card {
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 10px 34px rgba(15, 23, 42, 0.06);
}

body[data-ui-theme="editorial-ink"] .card-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

body[data-ui-theme="editorial-ink"] .btn {
    border-radius: 14px;
}

body[data-ui-theme="editorial-ink"] .form-control,
body[data-ui-theme="editorial-ink"] .form-select {
    border-radius: 12px;
    border-color: #cbd5e1;
    background: rgba(255, 255, 255, 0.96);
}

body[data-ui-theme="editorial-ink"] .form-control:focus,
body[data-ui-theme="editorial-ink"] .form-select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.15);
}

body[data-ui-theme="aurora-grid"] {
    --primary: #0f766e;
    --primary-light: #06b6d4;
    --primary-dark: #134e4a;
    --success: #16a34a;
    --warning: #ca8a04;
    --danger: #dc2626;
    --info: #0284c7;
    --light: #f8fbff;
    --light-gray: #f0f9ff;
    --dark: #0f172a;
    --dark-gray: #334155;
    --border: #bae6fd;
    --border-light: #e0f2fe;
    --gradient-primary: linear-gradient(120deg, #0f766e 0%, #06b6d4 55%, #38bdf8 100%);
    --gradient-bg: linear-gradient(145deg, #f8fbff 0%, #eefbff 40%, #f0fdfa 100%);
    font-family: 'Plus Jakarta Sans', 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    background:
        linear-gradient(transparent 23px, rgba(14, 165, 233, 0.06) 24px),
        linear-gradient(90deg, transparent 23px, rgba(20, 184, 166, 0.06) 24px),
        var(--light);
    background-size: 24px 24px, 24px 24px, auto;
}

body[data-ui-theme="aurora-grid"] .navbar {
    background: rgba(255, 255, 255, 0.9) !important;
    border-bottom: 1px solid rgba(56, 189, 248, 0.24);
}

body[data-ui-theme="aurora-grid"] .card {
    border: 1px solid rgba(56, 189, 248, 0.24);
    box-shadow: 0 14px 40px rgba(14, 116, 144, 0.08);
}

body[data-ui-theme="aurora-grid"] .card-header {
    background: linear-gradient(120deg, #f0f9ff 0%, #ecfeff 100%);
}

body[data-ui-theme="aurora-grid"] .btn {
    border-radius: 14px;
}

body[data-ui-theme="aurora-grid"] .btn-primary {
    box-shadow: 0 10px 28px rgba(14, 116, 144, 0.24);
}

body[data-ui-theme="aurora-grid"] .form-control,
body[data-ui-theme="aurora-grid"] .form-select {
    border-radius: 12px;
    border-color: #bae6fd;
}

body[data-ui-theme="aurora-grid"] .form-control:focus,
body[data-ui-theme="aurora-grid"] .form-select:focus {
    border-color: #06b6d4;
    box-shadow: 0 0 0 0.2rem rgba(6, 182, 212, 0.16);
}

body[data-ui-theme="slate-atelier"] {
    --primary: #334155;
    --primary-light: #475569;
    --primary-dark: #111827;
    --success: #15803d;
    --warning: #a16207;
    --danger: #b91c1c;
    --info: #1d4ed8;
    --light: #f8fafc;
    --light-gray: #f1f5f9;
    --dark: #0f172a;
    --dark-gray: #374151;
    --border: #d1d5db;
    --border-light: #e5e7eb;
    --gradient-primary: linear-gradient(135deg, #334155 0%, #2563eb 100%);
    --gradient-bg: linear-gradient(150deg, #f8fafc 0%, #eef2f7 45%, #f5f7fb 100%);
    font-family: 'Manrope', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background:
        radial-gradient(circle at 92% 2%, rgba(37, 99, 235, 0.07), transparent 34%),
        radial-gradient(circle at 10% 100%, rgba(51, 65, 85, 0.06), transparent 32%),
        var(--light);
}

body[data-ui-theme="slate-atelier"] .navbar {
    background: rgba(255, 255, 255, 0.9) !important;
    border-bottom: 1px solid rgba(107, 114, 128, 0.2);
    backdrop-filter: blur(8px);
}

body[data-ui-theme="slate-atelier"] .card {
    border: 1px solid rgba(107, 114, 128, 0.18);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

body[data-ui-theme="slate-atelier"] .card-header {
    background: linear-gradient(130deg, #ffffff 0%, #f1f5f9 100%);
}

body[data-ui-theme="slate-atelier"] .btn {
    border-radius: 13px;
}

body[data-ui-theme="slate-atelier"] .btn-primary {
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
}

body[data-ui-theme="slate-atelier"] .form-control,
body[data-ui-theme="slate-atelier"] .form-select {
    border-radius: 12px;
    border-color: #d1d5db;
}

body[data-ui-theme="slate-atelier"] .form-control:focus,
body[data-ui-theme="slate-atelier"] .form-select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.14);
}

body[data-ui-theme="terracotta-ledger"] {
    --primary: #9a3412;
    --primary-light: #c2410c;
    --primary-dark: #7c2d12;
    --success: #3f6212;
    --warning: #b45309;
    --danger: #b91c1c;
    --info: #0c4a6e;
    --light: #fdf8f3;
    --light-gray: #fffaf5;
    --dark: #3f2f24;
    --dark-gray: #6b4f3c;
    --border: #f0d7bf;
    --border-light: #f7e6d6;
    --gradient-primary: linear-gradient(135deg, #9a3412 0%, #c2410c 100%);
    --gradient-bg: linear-gradient(150deg, #fdf8f3 0%, #fffaf5 50%, #fef3e8 100%);
    font-family: 'Manrope', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background:
        radial-gradient(circle at 0% 0%, rgba(180, 83, 9, 0.09), transparent 28%),
        radial-gradient(circle at 100% 100%, rgba(154, 52, 18, 0.08), transparent 34%),
        var(--light);
}

body[data-ui-theme="terracotta-ledger"] .navbar {
    background: rgba(255, 250, 245, 0.9) !important;
    border-bottom: 1px solid rgba(154, 52, 18, 0.2);
    backdrop-filter: blur(8px);
}

body[data-ui-theme="terracotta-ledger"] .card {
    border: 1px solid rgba(180, 83, 9, 0.18);
    box-shadow: 0 14px 34px rgba(124, 45, 18, 0.08);
}

body[data-ui-theme="terracotta-ledger"] .card-header {
    background: linear-gradient(120deg, #fffaf5 0%, #fef3e8 100%);
}

body[data-ui-theme="terracotta-ledger"] .btn {
    border-radius: 13px;
}

body[data-ui-theme="terracotta-ledger"] .btn-primary {
    box-shadow: 0 10px 24px rgba(154, 52, 18, 0.24);
}

body[data-ui-theme="terracotta-ledger"] .form-control,
body[data-ui-theme="terracotta-ledger"] .form-select {
    border-radius: 12px;
    border-color: #f0d7bf;
    background: #fffdfb;
}

body[data-ui-theme="terracotta-ledger"] .form-control:focus,
body[data-ui-theme="terracotta-ledger"] .form-select:focus {
    border-color: #c2410c;
    box-shadow: 0 0 0 0.2rem rgba(194, 65, 12, 0.14);
}

body[data-ui-theme="modern-polished"] {
    --primary: #0b5ed7;
    --primary-light: #3b82f6;
    --primary-dark: #1e3a8a;
    --success: #15803d;
    --warning: #a16207;
    --danger: #b91c1c;
    --info: #0369a1;
    --light: #f7fafc;
    --light-gray: #f1f5f9;
    --dark: #0f172a;
    --dark-gray: #334155;
    --border: #d9e2ec;
    --border-light: #e6edf4;
    --gradient-primary: linear-gradient(135deg, #0b5ed7 0%, #2563eb 60%, #0891b2 100%);
    --gradient-bg: linear-gradient(150deg, #f8fbff 0%, #f3f7fb 45%, #eef4fb 100%);
    font-family: 'Plus Jakarta Sans', 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    background:
        radial-gradient(circle at 5% 0%, rgba(59, 130, 246, 0.12), transparent 30%),
        radial-gradient(circle at 100% 95%, rgba(8, 145, 178, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,0.55), rgba(241,245,249,0.25)),
        var(--light);
}

body[data-ui-theme="modern-polished"] .navbar {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9) !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    z-index: 1200;
}

body[data-ui-theme="modern-polished"] .navbar-toggler {
    border-color: rgba(148, 163, 184, 0.32);
    border-radius: 10px;
}

body[data-ui-theme="modern-polished"] .card {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.09);
    overflow: hidden;
}

body[data-ui-theme="modern-polished"] .card-header {
    background: linear-gradient(120deg, rgba(255,255,255,0.98) 0%, #f6f9fd 48%, #eef6ff 100%);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

body[data-ui-theme="modern-polished"] .btn {
    border-radius: 14px;
    font-weight: 700;
    letter-spacing: 0.015em;
}

body[data-ui-theme="modern-polished"] .btn-primary {
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.26);
    background: linear-gradient(135deg, #0b5ed7 0%, #2563eb 55%, #0891b2 100%);
}

body[data-ui-theme="modern-polished"] .btn-outline-secondary,
body[data-ui-theme="modern-polished"] .btn-light {
    border-color: #cfd8e3;
}

body[data-ui-theme="modern-polished"] .form-control,
body[data-ui-theme="modern-polished"] .form-select {
    border-radius: 14px;
    border-color: #d4dee8;
    min-height: 46px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

body[data-ui-theme="modern-polished"] .form-control:focus,
body[data-ui-theme="modern-polished"] .form-select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.14);
}

body[data-ui-theme="modern-polished"] .table thead th {
    font-weight: 700;
    letter-spacing: 0.02em;
}

body[data-ui-theme="modern-polished"] .badge {
    border-radius: 999px;
    font-weight: 700;
}

body[data-ui-theme="modern-polished"] .alert {
    border-radius: 12px;
}

body[data-ui-theme="modern-polished"] .container-fluid {
    --mp-gap: 1.15rem;
}

body[data-ui-theme="modern-polished"] h1,
body[data-ui-theme="modern-polished"] h2,
body[data-ui-theme="modern-polished"] h3,
body[data-ui-theme="modern-polished"] h4,
body[data-ui-theme="modern-polished"] h5,
body[data-ui-theme="modern-polished"] h6 {
    letter-spacing: -0.01em;
    font-weight: 800;
    color: #0f172a;
}

body[data-ui-theme="modern-polished"] .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.12);
}

body[data-ui-theme="modern-polished"] .card .text-muted {
    color: #64748b !important;
}

body[data-ui-theme="modern-polished"] .navbar .nav-link {
    border-radius: 10px;
    padding-inline: 0.85rem !important;
    font-weight: 700;
}

body[data-ui-theme="modern-polished"] .navbar .nav-link:hover {
    background: rgba(37, 99, 235, 0.09);
}

body[data-ui-theme="modern-polished"] .navbar .dropdown-toggle::after {
    margin-left: 0.45rem;
}

body[data-ui-theme="modern-polished"] .dropdown-menu {
    border-radius: 14px;
    padding: 0.45rem;
    z-index: 1210;
}

body[data-ui-theme="modern-polished"] .dropdown-item {
    border-radius: 10px;
    font-weight: 600;
    padding: 0.6rem 0.85rem;
}

body[data-ui-theme="modern-polished"] .dropdown-item:hover,
body[data-ui-theme="modern-polished"] .dropdown-item:focus {
    background: rgba(37, 99, 235, 0.1);
    color: #0f172a;
}

body[data-ui-theme="modern-polished"] .table {
    border-radius: 14px;
    overflow: hidden;
}

body[data-ui-theme="modern-polished"] .table th {
    background: linear-gradient(120deg, #f8fbff 0%, #edf3fb 55%, #e7f1fb 100%);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
}

body[data-ui-theme="modern-polished"] .table td {
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

body[data-ui-theme="modern-polished"] .table-hover > tbody > tr:hover > * {
    --bs-table-accent-bg: rgba(37, 99, 235, 0.07);
}

body[data-ui-theme="modern-polished"] .table-responsive {
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    -webkit-overflow-scrolling: touch;
}

body[data-ui-theme="modern-polished"] .form-label {
    letter-spacing: 0.06em;
    font-size: 0.77rem;
    font-weight: 700;
    color: #334155;
}

body[data-ui-theme="modern-polished"] .input-group-text {
    border-color: #d4dee8;
    background: #f8fbff;
    color: #334155;
}

body[data-ui-theme="modern-polished"] .btn {
    min-height: 40px;
}

body[data-ui-theme="modern-polished"] .btn-primary,
body[data-ui-theme="modern-polished"] .btn-success,
body[data-ui-theme="modern-polished"] .btn-danger,
body[data-ui-theme="modern-polished"] .btn-warning {
    border: 0;
}

body[data-ui-theme="modern-polished"] .btn-outline-secondary {
    color: #334155;
    background: #fff;
}

body[data-ui-theme="modern-polished"] .btn-outline-secondary:hover {
    background: #eef4ff;
    color: #1e3a8a;
    border-color: #bfdbfe;
}

body[data-ui-theme="modern-polished"] .badge {
    letter-spacing: 0.03em;
    padding: 0.46rem 0.8rem;
}

body[data-ui-theme="modern-polished"] .alert {
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

body[data-ui-theme="modern-polished"] .pagination .page-link {
    border-radius: 10px;
    margin: 0 0.15rem;
}

/* Teacher dashboard visual polish */
body[data-ui-theme="modern-polished"] .action-card {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 14px;
    background: linear-gradient(135deg, #ffffff 0%, #f6faff 100%);
}

body[data-ui-theme="modern-polished"] .action-card:hover {
    border-color: rgba(37, 99, 235, 0.26);
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.14);
}

body[data-ui-theme="modern-polished"] .course-card {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 14px;
    background: linear-gradient(130deg, #ffffff 0%, #f8fbff 100%);
}

/* Student calendar (attendance.php) */
body[data-ui-theme="modern-polished"] .cal-grid {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 14px;
    padding: 0.5rem;
    background: #fff;
}

body[data-ui-theme="modern-polished"] .cal-day {
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.15);
    background: #f9fbff;
}

body[data-ui-theme="modern-polished"] .cal-day:hover {
    border-color: rgba(37, 99, 235, 0.3);
    background: #f3f8ff;
}

/* Dashboard stat cards and bordered variants */
body[data-ui-theme="modern-polished"] .card.border-left-primary,
body[data-ui-theme="modern-polished"] .card.border-left-success,
body[data-ui-theme="modern-polished"] .card.border-left-warning,
body[data-ui-theme="modern-polished"] .card.border-left-info {
    border-left-width: 5px;
}

body[data-ui-theme="modern-polished"] .h5,
body[data-ui-theme="modern-polished"] .h4,
body[data-ui-theme="modern-polished"] .h3 {
    font-weight: 750;
}

/* Modal and toast consistency */
body[data-ui-theme="modern-polished"] .modal-content {
    border-radius: 16px;
}

body[data-ui-theme="modern-polished"] .modal-header {
    background: linear-gradient(120deg, #f8fbff 0%, #eff5ff 100%);
}

body[data-ui-theme="modern-polished"] .toast {
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.18);
}

body[data-ui-theme="modern-polished"] .modal-dialog {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* Shared page-specific components */
body[data-ui-theme="modern-polished"] .sms-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.22);
    background: linear-gradient(120deg, #f8fbff 0%, #eff4fb 100%) !important;
}

body[data-ui-theme="modern-polished"] .breadcrumb {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    padding: 0.55rem 0.85rem;
}

body[data-ui-theme="modern-polished"] .breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: #94a3b8;
}

body[data-ui-theme="modern-polished"] .list-group-item {
    border-color: rgba(148, 163, 184, 0.18);
    background: rgba(255, 255, 255, 0.82);
}

body[data-ui-theme="modern-polished"] .nav-tabs {
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

body[data-ui-theme="modern-polished"] .nav-tabs .nav-link {
    border: 1px solid transparent;
    border-radius: 10px 10px 0 0;
    color: #475569;
    font-weight: 600;
}

body[data-ui-theme="modern-polished"] .nav-tabs .nav-link:hover {
    border-color: rgba(148, 163, 184, 0.22);
    background: rgba(248, 251, 255, 0.9);
}

body[data-ui-theme="modern-polished"] .nav-tabs .nav-link.active {
    color: #0b5ed7;
    border-color: rgba(148, 163, 184, 0.28) rgba(148, 163, 184, 0.28) #fff;
    background: #fff;
}

body[data-ui-theme="modern-polished"] .progress {
    height: 8px;
    border-radius: 999px;
    background-color: #e8eef6;
}

body[data-ui-theme="modern-polished"] .progress .progress-bar {
    border-radius: 999px;
}

body[data-ui-theme="modern-polished"] .student-search-dropdown {
    border: 1px solid rgba(148, 163, 184, 0.24);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    border-radius: 12px;
    background: #fff;
}

body[data-ui-theme="modern-polished"] .student-search-item {
    border-radius: 8px;
    font-weight: 500;
}

body[data-ui-theme="modern-polished"] .student-search-item:hover {
    background: #eff6ff;
}

body[data-ui-theme="modern-polished"] .timeline::before {
    background: linear-gradient(180deg, #dbeafe 0%, #bfdbfe 100%);
}

body[data-ui-theme="modern-polished"] .timeline-marker {
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.14);
}

body[data-ui-theme="modern-polished"] .timeline-content {
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 12px;
    background: linear-gradient(130deg, #ffffff 0%, #f8fbff 100%);
}

body[data-ui-theme="modern-polished"] .metric-card {
    border-color: rgba(148, 163, 184, 0.2) !important;
    border-radius: 12px !important;
    background: linear-gradient(130deg, #ffffff 0%, #f9fbff 100%);
}

body[data-ui-theme="modern-polished"] .summary-stat {
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px !important;
    background: linear-gradient(130deg, #ffffff 0%, #f9fbff 100%) !important;
}

body[data-ui-theme="modern-polished"] .card-clickable:hover {
    background: #eff6ff !important;
}

body[data-ui-theme="modern-polished"] .stat-card {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, #f6faff 52%, #eef6ff 100%);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.09);
}

body[data-ui-theme="modern-polished"] .stat-card:hover {
    border-color: rgba(37, 99, 235, 0.24);
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.14);
}

body[data-ui-theme="modern-polished"] .stat-icon {
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
}

body[data-ui-theme="modern-polished"] .stat-number {
    letter-spacing: -0.02em;
}

body[data-ui-theme="modern-polished"] .batch-metric {
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    background: linear-gradient(130deg, #ffffff 0%, #f9fbff 100%);
}

body[data-ui-theme="modern-polished"] .batch-metric-label {
    color: #64748b;
}

body[data-ui-theme="modern-polished"] .batch-metric-value {
    color: #0f172a;
}

body[data-ui-theme="modern-polished"] .sms-segmented {
    border-radius: 14px;
    border-color: rgba(148, 163, 184, 0.26);
    background: #fff;
}

body[data-ui-theme="modern-polished"] .navbar-brand {
    font-weight: 800;
    letter-spacing: -0.02em;
}

body[data-ui-theme="modern-polished"].auth-page {
    background:
        radial-gradient(circle at 10% 10%, rgba(37, 99, 235, 0.14), transparent 32%),
        radial-gradient(circle at 90% 0%, rgba(8, 145, 178, 0.12), transparent 34%),
        linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
}

body[data-ui-theme="modern-polished"].auth-page .auth-shell,
body[data-ui-theme="modern-polished"].auth-page .login-container {
    position: relative;
}

body[data-ui-theme="modern-polished"].auth-page .auth-card,
body[data-ui-theme="modern-polished"].auth-page .login-container .card {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 24px;
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.14);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    overflow: hidden;
}

body[data-ui-theme="modern-polished"].auth-page .auth-brand-mark {
    width: 88px;
    height: 88px;
    margin-inline: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(11, 94, 215, 0.14), rgba(8, 145, 178, 0.16));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
}

body[data-ui-theme="modern-polished"].auth-page .card-header {
    border-radius: 24px 24px 0 0 !important;
    background: linear-gradient(135deg, #0b5ed7 0%, #2563eb 55%, #0891b2 100%) !important;
    color: #fff;
}

body[data-ui-theme="modern-polished"].auth-page .btn-primary {
    min-height: 48px;
}

body[data-ui-theme="modern-polished"].public-landing {
    background:
        radial-gradient(circle at 8% 12%, rgba(37, 99, 235, 0.16), transparent 34%),
        radial-gradient(circle at 86% 4%, rgba(8, 145, 178, 0.12), transparent 32%),
        linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
}

body[data-ui-theme="modern-polished"].public-landing .public-nav {
    backdrop-filter: blur(16px);
}

body[data-ui-theme="modern-polished"].public-landing .public-browser-frame {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.05), rgba(37, 99, 235, 0.06));
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.14);
}

body[data-ui-theme="modern-polished"].public-landing .public-feature-card {
    background: rgba(255,255,255,0.92);
    border-color: rgba(148, 163, 184, 0.18);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

body[data-ui-theme="modern-polished"].public-landing .public-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 46px rgba(37, 99, 235, 0.14);
}

body[data-ui-theme="modern-polished"]::before,
body[data-ui-theme="modern-polished"]::after {
    content: "";
    position: fixed;
    inset: auto;
    pointer-events: none;
    z-index: 0;
    filter: blur(2px);
}

body[data-ui-theme="modern-polished"]::before {
    top: -8rem;
    right: -4rem;
    width: 22rem;
    height: 22rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.16) 0%, rgba(37, 99, 235, 0) 72%);
}

body[data-ui-theme="modern-polished"]::after {
    left: -7rem;
    bottom: -8rem;
    width: 26rem;
    height: 26rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(8, 145, 178, 0.14) 0%, rgba(8, 145, 178, 0) 74%);
}

body[data-ui-theme="modern-polished"] .navbar {
    position: relative;
    isolation: isolate;
}

body[data-ui-theme="modern-polished"] .navbar::after {
    content: "";
    position: absolute;
    left: 1.1rem;
    right: 1.1rem;
    bottom: -1px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(11, 94, 215, 0.16) 0%, rgba(37, 99, 235, 0.7) 38%, rgba(8, 145, 178, 0.78) 100%);
    opacity: 0.68;
    z-index: -1;
}

body[data-ui-theme="modern-polished"] .navbar-brand {
    background-image: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    text-shadow: none;
}

body[data-ui-theme="modern-polished"] .navbar .nav-link.active {
    background: linear-gradient(135deg, rgba(11, 94, 215, 0.10), rgba(8, 145, 178, 0.10));
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.14);
}

body[data-ui-theme="modern-polished"] .card.shadow,
body[data-ui-theme="modern-polished"] .card.shadow-sm {
    border-color: rgba(203, 213, 225, 0.7);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.08), 0 8px 20px rgba(37, 99, 235, 0.04);
}

body[data-ui-theme="modern-polished"] .card-header h5,
body[data-ui-theme="modern-polished"] .card-header h6,
body[data-ui-theme="modern-polished"] .card-header .m-0,
body[data-ui-theme="modern-polished"] .card-header .card-title {
    font-weight: 800;
    letter-spacing: -0.015em;
}

body[data-ui-theme="modern-polished"] .card-header .text-primary,
body[data-ui-theme="modern-polished"] .card-header .font-weight-bold.text-primary {
    color: #134a9f !important;
}

body[data-ui-theme="modern-polished"] .dashboard-welcome {
    position: relative;
    overflow: hidden;
    padding: 1.7rem 1.8rem;
    border: 1px solid rgba(203, 213, 225, 0.75);
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.97) 0%, rgba(244, 249, 255, 0.98) 60%, rgba(236, 246, 255, 0.94) 100%),
        linear-gradient(120deg, rgba(11, 94, 215, 0.04), rgba(8, 145, 178, 0.05));
    box-shadow: 0 26px 54px rgba(15, 23, 42, 0.08);
}

body[data-ui-theme="modern-polished"] .dashboard-welcome::after {
    content: "";
    position: absolute;
    top: -4rem;
    right: -3rem;
    width: 14rem;
    height: 14rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, rgba(37, 99, 235, 0) 72%);
    pointer-events: none;
}

body[data-ui-theme="modern-polished"] .dashboard-welcome h1,
body[data-ui-theme="modern-polished"] .dashboard-welcome .h2 {
    margin-bottom: 0.35rem !important;
    font-size: clamp(2rem, 3.4vw, 3rem);
    line-height: 1.04;
}

body[data-ui-theme="modern-polished"] .dashboard-welcome p.text-muted {
    max-width: 46rem;
    font-size: 1rem;
    line-height: 1.68;
    color: #475569 !important;
}

body[data-ui-theme="modern-polished"] .admin-context-hero {
    border: 1px solid rgba(203, 213, 225, 0.76) !important;
    border-radius: 28px !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.10), transparent 34%),
        linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(247, 250, 255, 0.98) 56%, rgba(238, 246, 255, 0.96) 100%) !important;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.09) !important;
}

body[data-ui-theme="modern-polished"] .admin-context-kicker {
    color: #0f4bb4 !important;
}

body[data-ui-theme="modern-polished"] .admin-context-title {
    letter-spacing: -0.04em;
}

body[data-ui-theme="modern-polished"] .admin-context-subtitle {
    color: #475569 !important;
}

body[data-ui-theme="modern-polished"] .admin-context-chip {
    background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(242, 247, 255, 0.98)) !important;
    border-color: rgba(191, 219, 254, 0.75) !important;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.08), inset 0 1px 0 rgba(255,255,255,0.92);
}

body[data-ui-theme="modern-polished"] .stat-card,
body[data-ui-theme="modern-polished"] .metric-card,
body[data-ui-theme="modern-polished"] .summary-stat,
body[data-ui-theme="modern-polished"] .batch-metric,
body[data-ui-theme="modern-polished"] .focus-mini-card {
    position: relative;
    overflow: hidden;
}

body[data-ui-theme="modern-polished"] .stat-card::before,
body[data-ui-theme="modern-polished"] .metric-card::before,
body[data-ui-theme="modern-polished"] .summary-stat::before,
body[data-ui-theme="modern-polished"] .batch-metric::before,
body[data-ui-theme="modern-polished"] .focus-mini-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0b5ed7, #2563eb 58%, #0891b2);
    opacity: 0.92;
}

body[data-ui-theme="modern-polished"] .stat-icon {
    background: linear-gradient(135deg, rgba(11, 94, 215, 0.16), rgba(8, 145, 178, 0.18));
    border-radius: 18px;
}

body[data-ui-theme="modern-polished"] .stat-label,
body[data-ui-theme="modern-polished"] .batch-metric-label,
body[data-ui-theme="modern-polished"] .focus-mini-card small {
    letter-spacing: 0.04em;
    color: #64748b !important;
}

body[data-ui-theme="modern-polished"] .focus-mini-card {
    padding: 1rem 1.05rem;
    border: 1px solid rgba(203, 213, 225, 0.72);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(245, 249, 255, 0.98));
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
}

body[data-ui-theme="modern-polished"] .action-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(140deg, rgba(255,255,255,0.98), rgba(244, 249, 255, 1));
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

body[data-ui-theme="modern-polished"] .action-card::after {
    content: "";
    position: absolute;
    top: -1.7rem;
    right: -1.7rem;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.18), rgba(37, 99, 235, 0));
    pointer-events: none;
}

body[data-ui-theme="modern-polished"] .table-responsive {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(10px);
}

body[data-ui-theme="modern-polished"] .table {
    margin-bottom: 0;
}

body[data-ui-theme="modern-polished"].page-project-evaluation .card,
body[data-ui-theme="modern-polished"].page-project-evaluation-migration .card {
    overflow: visible;
}

body[data-ui-theme="modern-polished"].page-project-evaluation .navbar,
body[data-ui-theme="modern-polished"].page-project-evaluation-migration .navbar {
    z-index: 5000 !important;
    isolation: isolate;
}

body[data-ui-theme="modern-polished"].page-project-evaluation .dropdown-menu,
body[data-ui-theme="modern-polished"].page-project-evaluation-migration .dropdown-menu {
    z-index: 5100 !important;
}

body[data-ui-theme="modern-polished"].page-project-evaluation .table-responsive,
body[data-ui-theme="modern-polished"].page-project-evaluation-migration .table-responsive {
    overflow-x: auto;
    overflow-y: visible;
}

body[data-ui-theme="modern-polished"].page-project-evaluation .table td,
body[data-ui-theme="modern-polished"].page-project-evaluation .table th,
body[data-ui-theme="modern-polished"].page-project-evaluation-migration .table td,
body[data-ui-theme="modern-polished"].page-project-evaluation-migration .table th {
    position: relative;
}

body[data-ui-theme="modern-polished"] .table th {
    color: #234062;
    text-transform: uppercase;
}

body[data-ui-theme="modern-polished"] .table tbody tr {
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

body[data-ui-theme="modern-polished"] .table-hover > tbody > tr:hover {
    transform: translateY(-1px);
    box-shadow: inset 0 0 0 999px rgba(37, 99, 235, 0.03);
}

body[data-ui-theme="modern-polished"] .btn-primary,
body[data-ui-theme="modern-polished"] .btn-success,
body[data-ui-theme="modern-polished"] .btn-danger,
body[data-ui-theme="modern-polished"] .btn-warning,
body[data-ui-theme="modern-polished"] .btn-outline-primary,
body[data-ui-theme="modern-polished"] .btn-outline-secondary,
body[data-ui-theme="modern-polished"] .btn-light {
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}

body[data-ui-theme="modern-polished"] .btn-primary:hover,
body[data-ui-theme="modern-polished"] .btn-success:hover,
body[data-ui-theme="modern-polished"] .btn-danger:hover,
body[data-ui-theme="modern-polished"] .btn-warning:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(37, 99, 235, 0.22);
}

body[data-ui-theme="modern-polished"] .btn-outline-primary,
body[data-ui-theme="modern-polished"] .btn-outline-secondary {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
}

body[data-ui-theme="modern-polished"] .btn-outline-primary:hover,
body[data-ui-theme="modern-polished"] .btn-outline-secondary:hover,
body[data-ui-theme="modern-polished"] .btn-light:hover {
    transform: translateY(-1px);
}

body[data-ui-theme="modern-polished"] .alert-info {
    background: linear-gradient(135deg, rgba(224, 242, 254, 0.95), rgba(240, 249, 255, 0.95));
    border-color: rgba(125, 211, 252, 0.5);
}

body[data-ui-theme="modern-polished"] .alert-success {
    background: linear-gradient(135deg, rgba(220, 252, 231, 0.96), rgba(240, 253, 244, 0.96));
    border-color: rgba(134, 239, 172, 0.55);
}

body[data-ui-theme="modern-polished"] .alert-warning {
    background: linear-gradient(135deg, rgba(254, 249, 195, 0.96), rgba(255, 251, 235, 0.96));
    border-color: rgba(253, 224, 71, 0.55);
}

body[data-ui-theme="modern-polished"] .alert-danger {
    background: linear-gradient(135deg, rgba(254, 226, 226, 0.96), rgba(255, 241, 242, 0.96));
    border-color: rgba(252, 165, 165, 0.55);
}

body[data-ui-theme="modern-polished"] .entry-layout-protected .form-control,
body[data-ui-theme="modern-polished"] .entry-layout-protected .form-select,
body[data-ui-theme="modern-polished"] .entry-layout-protected .btn,
body[data-ui-theme="modern-polished"] .entry-layout-protected .table-responsive,
body[data-ui-theme="modern-polished"] .entry-layout-protected .table th,
body[data-ui-theme="modern-polished"] .entry-layout-protected .table td {
    transition: none;
}

body[data-ui-theme="modern-polished"].page-dashboard .card {
    border-color: rgba(203, 213, 225, 0.78);
    box-shadow: 0 22px 46px rgba(15, 23, 42, 0.075), 0 8px 20px rgba(37, 99, 235, 0.035);
}

body[data-ui-theme="modern-polished"].page-dashboard .card-header {
    position: relative;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

body[data-ui-theme="modern-polished"].page-dashboard .card-header::before {
    content: "";
    position: absolute;
    left: 1.1rem;
    right: 1.1rem;
    top: 0;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0b5ed7 0%, #2563eb 58%, #0891b2 100%);
    opacity: 0.9;
}

body[data-ui-theme="modern-polished"].page-dashboard .card-header h5,
body[data-ui-theme="modern-polished"].page-dashboard .card-header h6,
body[data-ui-theme="modern-polished"].page-dashboard .card-header .m-0 {
    color: #12385f !important;
}

body[data-ui-theme="modern-polished"].page-dashboard .table-responsive {
    border-radius: 16px;
}

body[data-ui-theme="modern-polished"].page-dashboard .table th {
    font-size: 0.76rem;
    letter-spacing: 0.085em;
}

body[data-ui-theme="modern-polished"].page-dashboard .table td {
    vertical-align: middle;
}

body[data-ui-theme="modern-polished"].role-admin.page-dashboard .stat-card {
    padding: 2rem 1.5rem;
}

body[data-ui-theme="modern-polished"].role-admin.page-dashboard .avatar-sm {
    border: 2px solid rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.12);
}

body[data-ui-theme="modern-polished"].role-admin.page-dashboard .batch-card {
    border: 1px solid rgba(203, 213, 225, 0.82);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(246, 250, 255, 0.98));
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
}

body[data-ui-theme="modern-polished"].role-admin.page-dashboard .batch-header {
    border-bottom-color: rgba(191, 219, 254, 0.72);
}

body[data-ui-theme="modern-polished"].role-teacher.page-dashboard .action-card {
    min-height: 126px;
}

body[data-ui-theme="modern-polished"].role-teacher.page-dashboard .action-card span {
    font-weight: 700;
    letter-spacing: -0.01em;
}

body[data-ui-theme="modern-polished"].role-teacher.page-dashboard .focus-mini-card strong {
    font-size: 1.35rem;
    letter-spacing: -0.025em;
    color: #0f172a;
}

body[data-ui-theme="modern-polished"].role-teacher.page-dashboard .focus-mini-card strong.text-success {
    color: #15803d !important;
}

body[data-ui-theme="modern-polished"].role-teacher.page-dashboard .focus-mini-card strong.text-warning {
    color: #a16207 !important;
}

body[data-ui-theme="modern-polished"].role-teacher.page-dashboard .modal-content {
    border-radius: 22px;
    box-shadow: 0 26px 58px rgba(15, 23, 42, 0.14);
}

body[data-ui-theme="modern-polished"].role-student.page-dashboard .card-header {
    background: linear-gradient(120deg, rgba(255,255,255,0.98) 0%, rgba(244, 248, 255, 0.98) 50%, rgba(237, 247, 255, 0.96) 100%);
}

body[data-ui-theme="modern-polished"].role-student.page-dashboard .card-body h5 {
    font-weight: 800;
    letter-spacing: -0.015em;
}

body[data-ui-theme="modern-polished"].role-student.page-dashboard .progress {
    height: 12px;
    background: linear-gradient(90deg, #e7eef8, #edf3fb);
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.06);
}

body[data-ui-theme="modern-polished"].role-student.page-dashboard .progress .progress-bar {
    font-size: 0.67rem;
    font-weight: 700;
    line-height: 12px;
}

body[data-ui-theme="modern-polished"].role-student.page-dashboard .btn-sm.btn-primary,
body[data-ui-theme="modern-polished"].role-student.page-dashboard .btn-sm.btn-outline-primary {
    min-height: 36px;
    padding-inline: 0.9rem;
}

/* Mobile refinements */
@media (max-width: 991.98px) {
    body[data-ui-theme="modern-polished"] .container,
    body[data-ui-theme="modern-polished"] .container-fluid {
        padding-left: 0.8rem;
        padding-right: 0.8rem;
    }

    body[data-ui-theme="modern-polished"] .navbar-brand {
        font-size: 1.25rem;
    }

    body[data-ui-theme="modern-polished"] .navbar .nav-link {
        padding: 0.55rem 0.75rem !important;
    }

    body[data-ui-theme="modern-polished"] .card-body {
        padding: 1.25rem;
    }

    body[data-ui-theme="modern-polished"] .card-header {
        padding: 1rem 1.15rem;
    }

    body[data-ui-theme="modern-polished"] .dashboard-welcome {
        padding: 1.35rem 1.15rem;
        border-radius: 20px;
    }

    body[data-ui-theme="modern-polished"] .btn {
        min-height: 42px;
    }

    body[data-ui-theme="modern-polished"] .table th,
    body[data-ui-theme="modern-polished"] .table td {
        padding: 0.8rem 0.65rem;
    }

    body[data-ui-theme="modern-polished"] .nav-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
    }

    body[data-ui-theme="modern-polished"] .nav-tabs .nav-item {
        flex: 0 0 auto;
    }

    body[data-ui-theme="modern-polished"] .stat-card {
        border-radius: 14px;
    }

    body[data-ui-theme="modern-polished"] .action-card,
    body[data-ui-theme="modern-polished"] .course-card {
        border-radius: 12px;
    }

    body[data-ui-theme="modern-polished"] .breadcrumb {
        padding: 0.48rem 0.75rem;
    }

    body[data-ui-theme="modern-polished"] .admin-context-hero {
        border-radius: 22px !important;
    }

    body[data-ui-theme="modern-polished"] .focus-mini-card {
        padding: 0.9rem 0.95rem;
    }

    body[data-ui-theme="modern-polished"].page-dashboard .dashboard-welcome h1,
    body[data-ui-theme="modern-polished"].page-dashboard .dashboard-welcome .h2 {
        font-size: 1.8rem;
    }

    body[data-ui-theme="modern-polished"].page-dashboard .card-header::before {
        left: 0.9rem;
        right: 0.9rem;
    }

    body[data-ui-theme="modern-polished"].role-teacher.page-dashboard .action-card {
        min-height: 108px;
    }

    body[data-ui-theme="modern-polished"].role-student.page-dashboard .table th,
    body[data-ui-theme="modern-polished"].role-student.page-dashboard .table td {
        padding: 0.72rem 0.6rem;
    }

    body[data-ui-theme="modern-polished"] .modal-dialog {
        margin: 0.6rem;
    }
}
