@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

html, body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: #020913;
}

/* =====================================================================
   DARK MODE — overrides aplicados quando <html> tem a classe "dark"
   ===================================================================== */

html.dark body {
    background-color: #0f172a !important;
    background-image: none !important;
    color: #e2e8f0 !important;
}

/* --- Superfícies brancas (todas as variantes de opacidade) --- */
html.dark [class*="bg-white"] {
    background-color: #1e293b !important;
    background-image: none !important;
}

/* --- Superfícies slate --- */
html.dark [class*="bg-slate-50"]  { background-color: #0f172a !important; background-image: none !important; }
html.dark [class*="bg-slate-100"] { background-color: #1e293b !important; background-image: none !important; }
html.dark [class*="bg-slate-200"] { background-color: #334155 !important; background-image: none !important; }

/* --- Cores sky, emerald, amber, cyan — cards coloridos do dashboard --- */
html.dark [class*="bg-sky-50"]     { background-color: #1e293b !important; background-image: none !important; }
html.dark [class*="bg-sky-100"]    { background-color: #1e3a5f !important; background-image: none !important; }
html.dark [class*="bg-emerald-50"] { background-color: #1e293b !important; background-image: none !important; }
html.dark [class*="bg-amber-50"]   { background-color: #1e293b !important; background-image: none !important; }
html.dark [class*="bg-cyan-50"]    { background-color: #1e293b !important; background-image: none !important; }
html.dark [class*="bg-rose-50"]    { background-color: #2d1a1a !important; background-image: none !important; }

/* --- Bordas --- */
html.dark [class*="border-slate-100"], html.dark [class*="border-slate-200"] { border-color: #334155 !important; }
html.dark [class*="border-sky-100"],   html.dark [class*="border-sky-200"]   { border-color: #1e3a5f !important; }
html.dark [class*="border-emerald-100"], html.dark [class*="border-emerald-200"] { border-color: #166534 !important; }
html.dark [class*="border-amber-100"],   html.dark [class*="border-amber-200"]   { border-color: #78350f !important; }
html.dark [class*="border-cyan-200"]  { border-color: #155e75 !important; }
html.dark [class*="border-rose-200"]  { border-color: #991b1b !important; }

/* --- Textos --- */
html.dark [class*="text-slate-900"] { color: #f1f5f9 !important; }
html.dark [class*="text-slate-800"] { color: #e2e8f0 !important; }
html.dark [class*="text-slate-700"] { color: #cbd5e1 !important; }
html.dark [class*="text-slate-600"] { color: #94a3b8 !important; }
html.dark [class*="text-slate-500"] { color: #64748b !important; }
html.dark [class*="text-sky-700"],
html.dark [class*="text-sky-900"]   { color: #7dd3fc !important; }
html.dark [class*="text-emerald-700"] { color: #6ee7b7 !important; }
html.dark [class*="text-amber-700"]   { color: #fcd34d !important; }
html.dark [class*="text-cyan-700"],
html.dark [class*="text-cyan-800"]    { color: #67e8f9 !important; }

/* --- Nav links inativos (portal aluno) --- */
html.dark nav a:not([class*="bg-sky-600"]) {
    background-color: rgba(30,41,59,0.85) !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

/* --- Histórico Escolar — mantém aspecto de papel branco (documento formal) --- */
html.dark #academic-history-paper {
    background-color: #ffffff !important;
    background-image: none !important;
    color: #111827 !important;
    border-color: #111827 !important;
}
html.dark #academic-history-paper * {
    color: #111827 !important;
    border-color: #111827 !important;
}
html.dark #academic-history-paper .transcript-table th,
html.dark #academic-history-paper .transcript-subtitle {
    background-color: #f3f4f6 !important;
}
html.dark #academic-history-paper .transcript-table td {
    background-color: #ffffff !important;
}

/* --- Inputs, selects, textareas --- */
html.dark input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
html.dark textarea,
html.dark select {
    background-color: #0f172a !important;
    color: #e2e8f0 !important;
    border-color: #334155 !important;
}
html.dark input::placeholder,
html.dark textarea::placeholder { color: #475569 !important; }

/* Botão de dark mode */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: transparent;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    flex-shrink: 0;
}
.theme-toggle:hover { background: #f1f5f9; }
html.dark .theme-toggle { border-color: #334155; }
html.dark .theme-toggle:hover { background: #1e293b; }
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
html.dark .theme-toggle .icon-sun  { display: block; }
html.dark .theme-toggle .icon-moon { display: none; }

/* Logos por tema (admin + portais) */
.aneo-theme-logo-frame {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    vertical-align: middle;
    padding: 0.12rem 0.28rem;
    border-radius: 0.6rem;
    border: 1px solid rgba(111, 157, 194, 0.32);
    background: linear-gradient(145deg, rgba(16, 44, 70, 0.92), rgba(8, 26, 43, 0.96));
    box-shadow:
        inset 0 1px 0 rgba(221, 241, 255, 0.18),
        inset 0 -1px 0 rgba(4, 15, 27, 0.42),
        0 6px 16px rgba(1, 8, 19, 0.32);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.aneo-theme-logo-frame:hover {
    transform: translateY(-1px);
    border-color: rgba(132, 191, 238, 0.52);
    box-shadow:
        inset 0 1px 0 rgba(233, 247, 255, 0.22),
        inset 0 -1px 0 rgba(3, 13, 24, 0.46),
        0 8px 18px rgba(1, 10, 22, 0.34);
}

.aneo-theme-logo {
    display: none;
    width: auto;
    height: 1.95rem;
    max-width: none;
}

.aneo-logo-mobile {
    display: none;
}

.aneo-logo-scope-admin .aneo-theme-logo {
    height: 1.75rem;
}

.aneo-logo-scope-student .aneo-theme-logo,
.aneo-logo-scope-support .aneo-theme-logo {
    height: 1.9rem;
}

/* Administrativo: tema escuro padrao / claro com admin-theme-light */
html:not(.admin-theme-light) .aneo-logo-scope-admin .aneo-logo-dark.aneo-logo-desktop {
    display: block;
}

html.admin-theme-light .aneo-logo-scope-admin .aneo-logo-light.aneo-logo-desktop {
    display: block;
}

/* Portal do aluno + suporte: claro padrao / escuro com html.dark */
html:not(.dark) .aneo-logo-scope-student .aneo-logo-light.aneo-logo-desktop,
html:not(.dark) .aneo-logo-scope-support .aneo-logo-light.aneo-logo-desktop {
    display: block;
}

html.dark .aneo-logo-scope-student .aneo-logo-dark.aneo-logo-desktop,
html.dark .aneo-logo-scope-support .aneo-logo-dark.aneo-logo-desktop {
    display: block;
}

@media (max-width: 768px) {
    .aneo-theme-logo-frame {
        padding: 0.1rem 0.24rem;
        border-radius: 0.52rem;
    }

    .aneo-logo-scope-admin .aneo-theme-logo {
        height: 1.5rem;
    }

    .aneo-logo-scope-student .aneo-theme-logo,
    .aneo-logo-scope-support .aneo-theme-logo {
        height: 1.6rem;
    }

    html:not(.admin-theme-light) .aneo-logo-scope-admin .aneo-logo-dark.aneo-logo-desktop,
    html.admin-theme-light .aneo-logo-scope-admin .aneo-logo-light.aneo-logo-desktop,
    html:not(.dark) .aneo-logo-scope-student .aneo-logo-light.aneo-logo-desktop,
    html:not(.dark) .aneo-logo-scope-support .aneo-logo-light.aneo-logo-desktop,
    html.dark .aneo-logo-scope-student .aneo-logo-dark.aneo-logo-desktop,
    html.dark .aneo-logo-scope-support .aneo-logo-dark.aneo-logo-desktop {
        display: none;
    }

    html:not(.admin-theme-light) .aneo-logo-scope-admin .aneo-logo-dark.aneo-logo-mobile,
    html.admin-theme-light .aneo-logo-scope-admin .aneo-logo-light.aneo-logo-mobile,
    html:not(.dark) .aneo-logo-scope-student .aneo-logo-light.aneo-logo-mobile,
    html:not(.dark) .aneo-logo-scope-support .aneo-logo-light.aneo-logo-mobile,
    html.dark .aneo-logo-scope-student .aneo-logo-dark.aneo-logo-mobile,
    html.dark .aneo-logo-scope-support .aneo-logo-dark.aneo-logo-mobile {
        display: block;
    }
}

/* Admin: padrao escuro + variacao clara */
html.admin-theme-light .admin-modern-header .aneo-theme-logo-frame {
    padding: 0.24rem 0.42rem;
    border-color: rgba(133, 176, 214, 0.55);
    background: linear-gradient(145deg, rgba(235, 246, 255, 0.98), rgba(211, 230, 247, 0.98));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(148, 182, 210, 0.72),
        0 8px 20px rgba(98, 143, 182, 0.3);
}

/* Portais (aluno/suporte): tema claro/escuro via classe html.dark */
.portal-modern-theme .aneo-theme-logo-frame {
    border-color: rgba(154, 188, 217, 0.58);
    background: linear-gradient(145deg, rgba(245, 250, 255, 0.98), rgba(226, 239, 251, 0.98));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.94),
        inset 0 -1px 0 rgba(173, 197, 219, 0.58),
        0 6px 16px rgba(117, 156, 190, 0.2);
}

html.dark .portal-modern-theme .aneo-theme-logo-frame {
    border-color: rgba(103, 159, 204, 0.46);
    background: linear-gradient(145deg, rgba(16, 44, 70, 0.92), rgba(7, 25, 42, 0.96));
    box-shadow:
        inset 0 1px 0 rgba(212, 236, 255, 0.2),
        inset 0 -1px 0 rgba(4, 15, 26, 0.45),
        0 8px 18px rgba(2, 10, 22, 0.34);
}

.kanban-column {
    min-height: 240px;
}

.kanban-card[draggable="true"] {
    cursor: grab;
}

.kanban-card.dragging {
    opacity: 0.5;
    transform: rotate(1deg);
}

[data-dropzone].drag-over {
    border-color: #0ea5e9 !important;
    background: #f0f9ff;
}

/* =====================================================================
   USERS PREVIEW THEME (fase 1 da migracao visual)
   ===================================================================== */

.users-preview-main {
    background:
        radial-gradient(920px 420px at 55% 8%, rgba(57, 133, 198, 0.28), transparent 62%),
        radial-gradient(760px 360px at 40% 82%, rgba(40, 111, 172, 0.18), transparent 72%),
        linear-gradient(116deg, #071d34 0%, #020913 28%, #03182b 70%, #020913 100%);
}

.users-preview-shell {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    border: 1px solid rgba(124, 165, 200, 0.24);
    background: linear-gradient(180deg, rgba(11, 35, 56, 0.58), rgba(7, 24, 40, 0.72));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 48px rgba(0, 6, 14, 0.42);
    padding: 1.25rem;
}

.users-preview-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.52;
    background-image:
        radial-gradient(2px 2px at 9% 15%, rgba(233, 247, 255, 0.5), transparent 60%),
        radial-gradient(2px 2px at 27% 63%, rgba(203, 237, 255, 0.38), transparent 60%),
        radial-gradient(2px 2px at 43% 22%, rgba(233, 247, 255, 0.34), transparent 60%),
        radial-gradient(2px 2px at 75% 31%, rgba(220, 244, 255, 0.34), transparent 60%),
        radial-gradient(2px 2px at 91% 77%, rgba(233, 247, 255, 0.3), transparent 60%);
}

.users-preview-content {
    position: relative;
    z-index: 1;
}

.users-preview-title {
    color: #f0f7ff;
    letter-spacing: -0.02em;
}

.users-preview-subtitle {
    color: #a7bfd4;
}

.users-preview-btn-primary {
    border: 1px solid rgba(126, 189, 241, 0.36);
    background: linear-gradient(120deg, rgba(62, 153, 232, 0.94), rgba(40, 118, 181, 0.94));
    color: #fff;
    box-shadow: 0 14px 28px rgba(13, 75, 126, 0.34);
    transition: transform 0.18s ease, filter 0.18s ease;
}

.users-preview-btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
}

.users-preview-kpi {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid rgba(129, 168, 200, 0.24);
    background: rgba(9, 33, 53, 0.72);
    box-shadow: 0 20px 42px rgba(0, 7, 16, 0.35);
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.users-preview-kpi:hover {
    transform: translateY(-4px);
    border-color: rgba(134, 189, 233, 0.52);
    background: rgba(16, 49, 77, 0.82);
}

/* =====================================================================
   ALERT MODALS — portal do aluno + administrativo
   ===================================================================== */

.portal-alert-modal-panel {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,250,252,0.98));
    box-shadow:
        0 28px 60px rgba(15, 23, 42, 0.18),
        0 10px 24px rgba(14, 116, 144, 0.08);
}

.portal-alert-modal-head {
    background:
        linear-gradient(135deg, rgba(240,249,255,0.96), rgba(236,253,245,0.96));
}

.portal-alert-modal-body {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.92), rgba(248,250,252,0.96));
}

.portal-alert-modal-foot {
    background:
        linear-gradient(180deg, rgba(248,250,252,0.98), rgba(241,245,249,0.98));
}

.portal-alert-card {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.65);
}

.portal-alert-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 2.75rem;
    border-radius: 0.8rem;
    border: 1px solid transparent;
    text-decoration: none;
    transition: all 0.16s ease;
    letter-spacing: -0.01em;
}

.portal-alert-btn-card {
    min-height: 2.1rem;
    background: #18283d;
    border-color: #18283d;
    color: #7df0c8;
    box-shadow: 0 10px 18px rgba(24, 40, 61, 0.16);
}

.portal-alert-btn-card:hover {
    background: #21324c;
    border-color: #21324c;
    color: #a0f7da;
}

.portal-alert-btn-close {
    background: #24324a;
    border-color: #24324a;
    color: #f8fbff;
}

.portal-alert-btn-close:hover {
    background: #31415d;
    border-color: #31415d;
}

.portal-alert-btn-schedule {
    background: linear-gradient(135deg, #effcf6, #ddf5e9);
    border-color: #67b997;
    color: #146c51;
    box-shadow: 0 8px 16px rgba(103, 185, 151, 0.14);
}

.portal-alert-btn-schedule:hover {
    background: linear-gradient(135deg, #e5f8ee, #d2ecdf);
    border-color: #4ea780;
    color: #0f5b44;
}

.portal-alert-btn-live {
    background: linear-gradient(135deg, #f0f9fd, #dceef7);
    border-color: #6daecc;
    color: #176b95;
    box-shadow: 0 8px 16px rgba(109, 174, 204, 0.14);
}

.portal-alert-btn-live:hover {
    background: linear-gradient(135deg, #e4f2f9, #cfe6f1);
    border-color: #5598b8;
    color: #125878;
}

.portal-alert-btn-primary {
    background: linear-gradient(135deg, #1ea2ef, #1283cf);
    border-color: #1283cf;
    color: #ffffff;
    box-shadow: 0 12px 20px rgba(18, 131, 207, 0.18);
}

.portal-alert-btn-primary:hover {
    background: linear-gradient(135deg, #1997e1, #0f75bc);
    border-color: #0f75bc;
}

.portal-alert-title {
    font-size: 1.9rem;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.portal-alert-subtitle {
    margin-top: 0.35rem;
    font-size: 0.95rem;
    line-height: 1.45;
}

.portal-alert-section {
    letter-spacing: 0.12em;
}

.portal-alert-card-title {
    font-size: 1.05rem;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.portal-alert-card-copy {
    font-size: 0.96rem;
    line-height: 1.55;
}

.portal-alert-card-meta {
    font-size: 0.76rem;
    letter-spacing: 0.08em;
}

html:not(.dark) #student-avatar-menu {
    border-color: rgba(184, 206, 227, 0.9) !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(246,250,253,0.99)) !important;
    box-shadow:
        0 24px 50px rgba(64, 94, 124, 0.16),
        0 10px 22px rgba(125, 159, 192, 0.12) !important;
}

html:not(.dark) #student-avatar-menu > div:first-child {
    background:
        linear-gradient(135deg, rgba(241,248,255,0.98), rgba(233,248,246,0.98)) !important;
    border-bottom-color: rgba(195, 214, 232, 0.9) !important;
}

html:not(.dark) #student-avatar-menu .bg-slate-50\/70 {
    background: linear-gradient(180deg, rgba(246,249,252,0.96), rgba(239,244,248,0.98)) !important;
}

html:not(.dark) #student-avatar-menu .text-slate-900 { color: #1e2f43 !important; }
html:not(.dark) #student-avatar-menu .text-slate-700 { color: #334a62 !important; }
html:not(.dark) #student-avatar-menu .text-slate-500,
html:not(.dark) #student-avatar-menu .text-slate-400 { color: #6f859c !important; }
html:not(.dark) #student-avatar-menu .border-slate-200 { border-color: rgba(195, 214, 232, 0.92) !important; }
html:not(.dark) #student-avatar-menu a:hover {
    background: linear-gradient(135deg, rgba(241, 248, 254, 0.99), rgba(234, 244, 251, 0.99)) !important;
    color: #2a4762 !important;
    box-shadow: inset 0 0 0 1px rgba(198, 220, 236, 0.88);
}
html:not(.dark) #student-avatar-menu a:hover p,
html:not(.dark) #student-avatar-menu a:hover .font-medium {
    color: #2a4762 !important;
}
html:not(.dark) #student-avatar-menu a:hover .text-slate-500,
html:not(.dark) #student-avatar-menu a:hover .text-slate-400 {
    color: #64809a !important;
}
html:not(.dark) #student-avatar-menu a:hover .bg-sky-100,
html:not(.dark) #student-avatar-menu a:hover .bg-indigo-100,
html:not(.dark) #student-avatar-menu a:hover .bg-emerald-100,
html:not(.dark) #student-avatar-menu a:hover .bg-rose-100 {
    filter: brightness(0.96) saturate(1.04);
}
html:not(.dark) #student-avatar-menu a[href*="logout"]:hover {
    background: linear-gradient(135deg, rgba(255, 241, 244, 0.98), rgba(255, 247, 248, 0.98)) !important;
    color: #d25572 !important;
    box-shadow: inset 0 0 0 1px rgba(245, 197, 207, 0.9);
}

html:not(.dark) #student-avatar-btn:hover,
html:not(.dark) #student-avatar-btn:focus-visible {
    background: linear-gradient(135deg, rgba(241, 248, 254, 0.98), rgba(233, 244, 251, 0.98)) !important;
    box-shadow:
        0 10px 22px rgba(106, 145, 179, 0.18),
        inset 0 0 0 1px rgba(194, 216, 234, 0.92) !important;
}

html:not(.dark) .portal-alert-modal-panel {
    border-color: rgba(181, 214, 223, 0.95) !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.99), rgba(248,251,252,0.99)) !important;
    box-shadow:
        0 28px 64px rgba(54, 84, 116, 0.18),
        0 10px 24px rgba(73, 153, 173, 0.1) !important;
}

html:not(.dark) .portal-alert-modal-head {
    background:
        linear-gradient(135deg, rgba(237,250,255,0.98), rgba(237,252,245,0.98)) !important;
}

html:not(.dark) .portal-alert-modal-body {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,251,0.98)) !important;
}

html:not(.dark) .portal-alert-modal-foot {
    background:
        linear-gradient(180deg, rgba(248,250,252,0.99), rgba(241,245,249,0.99)) !important;
}

html:not(.dark) .portal-alert-card {
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.72),
        0 8px 16px rgba(148, 163, 184, 0.08) !important;
}
html:not(.dark) .portal-alert-modal-panel .text-slate-800 { color: #23405b !important; }
html:not(.dark) .portal-alert-modal-panel .text-slate-700 { color: #31506d !important; }
html:not(.dark) .portal-alert-modal-panel .text-slate-600 { color: #5c7691 !important; }
html:not(.dark) .portal-alert-modal-panel .text-slate-500 { color: #7890a7 !important; }
html:not(.dark) .portal-alert-modal-panel .text-sky-700 { color: #53c8ef !important; }
html:not(.dark) .portal-alert-modal-panel .text-emerald-700 { color: #2dbd89 !important; }
html:not(.dark) .portal-alert-modal-panel .text-cyan-700 { color: #1fa7df !important; }
html:not(.dark) .portal-alert-modal-panel .text-indigo-700 { color: #6374f1 !important; }
html:not(.dark) .portal-alert-modal-panel .border-slate-200 { border-color: rgba(205, 221, 233, 0.95) !important; }
html:not(.dark) .portal-alert-modal-panel .bg-slate-200 { background-color: #e8eef5 !important; }
html:not(.dark) .portal-alert-modal-panel [data-portal-alert-status].text-slate-600 { color: #64748b !important; }
html:not(.dark) .portal-alert-modal-panel [data-portal-alert-status].bg-slate-200 {
    background: #e7edf4 !important;
}

html:not(.dark) .portal-alert-card.bg-emerald-50\/70 {
    background:
        linear-gradient(135deg, rgba(236,253,245,0.9), rgba(241,248,247,0.96)) !important;
    border-color: rgba(110, 231, 183, 0.5) !important;
}

html:not(.dark) .portal-alert-card.bg-cyan-50\/60 {
    background:
        linear-gradient(135deg, rgba(236,254,255,0.9), rgba(241,248,250,0.96)) !important;
    border-color: rgba(103, 232, 249, 0.45) !important;
}

html:not(.dark) .portal-alert-card.bg-sky-50\/50 {
    background:
        linear-gradient(135deg, rgba(240,249,255,0.92), rgba(245,248,252,0.96)) !important;
    border-color: rgba(125, 211, 252, 0.45) !important;
}
html:not(.dark) .portal-alert-modal-foot {
    gap: 0.75rem !important;
}
html:not(.dark) .portal-alert-modal-foot .portal-alert-btn {
    min-width: 8.5rem;
    box-shadow: 0 10px 18px rgba(148, 163, 184, 0.12);
}
html:not(.dark) .portal-alert-modal-foot .portal-alert-btn-close {
    min-width: 5.8rem;
}
html:not(.dark) .portal-alert-btn-primary {
    box-shadow: 0 12px 22px rgba(18, 131, 207, 0.22);
}
html.dark .portal-alert-modal-panel {
    border-color: rgba(51, 65, 85, 0.92) !important;
    background:
        linear-gradient(180deg, rgba(15,23,42,0.98), rgba(2,6,23,0.98));
    box-shadow:
        0 28px 70px rgba(2, 6, 23, 0.62),
        0 10px 24px rgba(8, 145, 178, 0.08);
}

html.dark .portal-alert-modal-head {
    background:
        linear-gradient(135deg, rgba(8,47,73,0.58), rgba(15,23,42,0.95));
}

html.dark .portal-alert-modal-body {
    background:
        linear-gradient(180deg, rgba(15,23,42,0.98), rgba(3,7,18,0.98));
}

html.dark .portal-alert-modal-foot {
    background:
        linear-gradient(180deg, rgba(9,15,28,0.98), rgba(2,6,23,0.98));
}

html.dark .portal-alert-card {
    box-shadow:
        inset 0 1px 0 rgba(148, 163, 184, 0.06),
        0 10px 18px rgba(2, 6, 23, 0.18);
}

html.dark .portal-alert-btn-card {
    background: #0f172a;
    border-color: #334155;
    color: #86efcf;
    box-shadow: 0 10px 18px rgba(2, 6, 23, 0.28);
}

html.dark .portal-alert-btn-card:hover {
    background: #162033;
    border-color: #3d4d66;
    color: #b1f6df;
}

html.dark .portal-alert-btn-close {
    background: #1e293b;
    border-color: #334155;
    color: #e2e8f0;
}

html.dark .portal-alert-btn-close:hover {
    background: #293548;
}

html.dark .portal-alert-btn-schedule {
    background: rgba(6, 78, 59, 0.28);
    border-color: rgba(52, 211, 153, 0.34);
    color: #6ee7b7;
}

html.dark .portal-alert-btn-schedule:hover {
    background: rgba(6, 95, 70, 0.38);
    color: #a7f3d0;
}

html.dark .portal-alert-btn-live {
    background: rgba(8, 47, 73, 0.32);
    border-color: rgba(34, 211, 238, 0.28);
    color: #67e8f9;
}

html.dark .portal-alert-btn-live:hover {
    background: rgba(8, 65, 96, 0.4);
    color: #a5f3fc;
}

html.dark .portal-alert-btn-primary {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    border-color: #0284c7;
    color: #fff;
}

html.dark .portal-alert-btn-primary:hover {
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    border-color: #0ea5e9;
}

html.dark .portal-alert-title {
    color: #dff7ff;
}

html.dark .portal-alert-subtitle {
    color: #9db7cc;
}

.admin-alert-modal-panel {
    background:
        linear-gradient(180deg, rgba(11,27,45,0.985), rgba(4,13,24,0.99));
    border-color: rgba(99, 102, 241, 0.28) !important;
    box-shadow:
        0 30px 70px rgba(2, 6, 23, 0.6),
        0 12px 26px rgba(79, 70, 229, 0.12);
}

.admin-alert-modal-head {
    background:
        linear-gradient(135deg, rgba(30,41,59,0.92), rgba(30,27,75,0.88));
}

.admin-alert-modal-body {
    background:
        linear-gradient(180deg, rgba(9,19,34,0.96), rgba(3,9,20,0.99));
}

.admin-alert-modal-foot {
    background:
        linear-gradient(180deg, rgba(10,18,31,0.98), rgba(4,11,22,0.99));
}

.admin-alert-card {
    box-shadow:
        inset 0 1px 0 rgba(148, 163, 184, 0.06),
        0 10px 18px rgba(2, 6, 23, 0.18);
}

.admin-alert-card-exchange {
    border-color: rgba(251, 191, 36, 0.42) !important;
    background:
        linear-gradient(135deg, rgba(76, 52, 16, 0.42), rgba(42, 30, 12, 0.68)) !important;
    box-shadow:
        inset 0 1px 0 rgba(254, 240, 138, 0.12),
        0 10px 22px rgba(15, 23, 42, 0.22);
}

.admin-alert-card-exchange .admin-alert-card-title {
    color: #fff4d6 !important;
}

.admin-alert-card-exchange .admin-alert-card-copy {
    color: #f6d98d !important;
}

.admin-alert-card-exchange .admin-alert-card-meta {
    color: #d8b86b !important;
}

.admin-alert-card-reenrollment {
    border-color: rgba(52, 211, 153, 0.44) !important;
    background:
        linear-gradient(135deg, rgba(6, 78, 59, 0.42), rgba(15, 46, 38, 0.7)) !important;
    box-shadow:
        inset 0 1px 0 rgba(167, 243, 208, 0.12),
        0 10px 22px rgba(15, 23, 42, 0.22);
}

.admin-alert-card-reenrollment .admin-alert-card-title {
    color: #d1fae5 !important;
}

.admin-alert-card-reenrollment .admin-alert-card-copy {
    color: #a7f3d0 !important;
}

.admin-alert-card-reenrollment .admin-alert-card-meta {
    color: #6ee7b7 !important;
}

.admin-alert-reenrollment-badge {
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
}

.admin-alert-reenrollment-badge-sent {
    background: rgba(52, 211, 153, 0.16);
    color: #bbf7d0;
}

.admin-alert-reenrollment-badge-pending {
    background: rgba(251, 191, 36, 0.16);
    color: #fde68a;
}

.admin-alert-card-payable {
    background:
        linear-gradient(135deg, rgba(30, 41, 59, 0.56), rgba(15, 23, 42, 0.82)) !important;
}

.admin-alert-card-payable-overdue {
    border-color: rgba(251, 113, 133, 0.5) !important;
}

.admin-alert-card-payable-today {
    border-color: rgba(251, 191, 36, 0.5) !important;
}

.admin-alert-card-payable-upcoming {
    border-color: rgba(56, 189, 248, 0.42) !important;
}

.admin-alert-card-payable .admin-alert-card-title {
    color: #f8fafc !important;
}

.admin-alert-card-payable .admin-alert-card-copy {
    color: #cbd5e1 !important;
}

.admin-alert-card-payable .admin-alert-card-meta {
    color: #94a3b8 !important;
}

.admin-alert-payable-badge {
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
}

.admin-alert-card-payable-overdue .admin-alert-payable-badge {
    background: rgba(251, 113, 133, 0.16);
    color: #fecdd3;
}

.admin-alert-card-payable-today .admin-alert-payable-badge {
    background: rgba(251, 191, 36, 0.16);
    color: #fde68a;
}

.admin-alert-card-payable-upcoming .admin-alert-payable-badge {
    background: rgba(56, 189, 248, 0.14);
    color: #bae6fd;
}

.admin-alert-modal-panel .text-slate-800,
.admin-alert-modal-panel .text-slate-700 {
    color: #e2e8f0 !important;
}

.admin-alert-modal-panel .text-slate-600,
.admin-alert-modal-panel .text-slate-500 {
    color: #94a3b8 !important;
}

.admin-alert-modal-panel .border-slate-200,
.admin-alert-modal-panel .border-slate-300 {
    border-color: #334155 !important;
}

.admin-alert-modal-panel .bg-white,
.admin-alert-modal-panel .bg-indigo-50\/50 {
    background-color: transparent !important;
    background-image: none !important;
}

.admin-alert-modal-panel .bg-indigo-50\/50 {
    background:
        linear-gradient(135deg, rgba(49,46,129,0.22), rgba(30,41,59,0.36)) !important;
}

.admin-alert-modal-panel .border-indigo-100 {
    border-color: rgba(99, 102, 241, 0.32) !important;
}

html.admin-theme-light .admin-alert-overlay {
    background: rgba(113, 136, 161, 0.28) !important;
}

html.admin-theme-light .admin-alert-modal-panel {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.99), rgba(247,250,252,0.99)) !important;
    border-color: rgba(188, 205, 223, 0.94) !important;
    box-shadow:
        0 28px 60px rgba(75, 102, 130, 0.18),
        0 10px 24px rgba(118, 154, 188, 0.12) !important;
}

html.admin-theme-light .admin-alert-modal-head {
    background:
        linear-gradient(135deg, rgba(241,246,252,0.98), rgba(233,241,250,0.98)) !important;
}

html.admin-theme-light .admin-alert-modal-body {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.99), rgba(248,250,252,0.99)) !important;
}

html.admin-theme-light .admin-alert-modal-foot {
    background:
        linear-gradient(180deg, rgba(248,250,252,0.99), rgba(241,245,249,0.99)) !important;
}

html.admin-theme-light .admin-alert-card {
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.72),
        0 8px 16px rgba(148, 163, 184, 0.08) !important;
}

html.admin-theme-light .admin-alert-modal-panel .text-slate-800,
html.admin-theme-light .admin-alert-modal-panel .text-slate-700 {
    color: #243b53 !important;
}

html.admin-theme-light .admin-alert-modal-panel .text-slate-600,
html.admin-theme-light .admin-alert-modal-panel .text-slate-500 {
    color: #6b7f93 !important;
}

html.admin-theme-light .admin-alert-modal-panel .text-indigo-700 {
    color: #4267b2 !important;
}

html.admin-theme-light .admin-alert-modal-panel .border-slate-200,
html.admin-theme-light .admin-alert-modal-panel .border-slate-300 {
    border-color: rgba(203, 213, 225, 0.96) !important;
}

html.admin-theme-light .admin-alert-modal-panel .bg-white {
    background: #ffffff !important;
}

html.admin-theme-light .admin-alert-modal-panel .bg-indigo-50\/50 {
    background:
        linear-gradient(135deg, rgba(238, 242, 255, 0.96), rgba(229, 238, 250, 0.96)) !important;
}

html.admin-theme-light .admin-alert-modal-panel .border-indigo-100 {
    border-color: rgba(165, 180, 252, 0.72) !important;
}

html.admin-theme-light .admin-alert-modal-panel .bg-amber-50\/60 {
    background:
        linear-gradient(135deg, rgba(255, 251, 235, 0.98), rgba(255, 245, 214, 0.98)) !important;
}

html.admin-theme-light .admin-alert-modal-panel .border-amber-100 {
    border-color: rgba(253, 230, 138, 0.9) !important;
}

html.admin-theme-light .admin-alert-card-exchange {
    border-color: rgba(230, 184, 80, 0.52) !important;
    background:
        linear-gradient(135deg, rgba(255, 248, 226, 0.98), rgba(250, 235, 190, 0.98)) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        0 10px 22px rgba(180, 138, 47, 0.12) !important;
}

html.admin-theme-light .admin-alert-card-exchange .admin-alert-card-title {
    color: #6f4e12 !important;
}

html.admin-theme-light .admin-alert-card-exchange .admin-alert-card-copy {
    color: #8a6419 !important;
}

html.admin-theme-light .admin-alert-card-exchange .admin-alert-card-meta {
    color: #a07a31 !important;
}

html.admin-theme-light .admin-alert-card-reenrollment {
    border-color: rgba(16, 185, 129, 0.36) !important;
    background:
        linear-gradient(135deg, rgba(236, 253, 245, 0.98), rgba(209, 250, 229, 0.94)) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        0 10px 22px rgba(16, 185, 129, 0.1) !important;
}

html.admin-theme-light .admin-alert-card-reenrollment .admin-alert-card-title {
    color: #065f46 !important;
}

html.admin-theme-light .admin-alert-card-reenrollment .admin-alert-card-copy {
    color: #047857 !important;
}

html.admin-theme-light .admin-alert-card-reenrollment .admin-alert-card-meta {
    color: #059669 !important;
}

html.admin-theme-light .admin-alert-reenrollment-badge-sent {
    background: #d1fae5;
    color: #047857;
}

html.admin-theme-light .admin-alert-reenrollment-badge-pending {
    background: #fef3c7;
    color: #b45309;
}

html.admin-theme-light .admin-alert-card-payable {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.98)) !important;
}

html.admin-theme-light .admin-alert-card-payable-overdue {
    border-color: rgba(244, 63, 94, 0.34) !important;
}

html.admin-theme-light .admin-alert-card-payable-today {
    border-color: rgba(217, 119, 6, 0.34) !important;
}

html.admin-theme-light .admin-alert-card-payable-upcoming {
    border-color: rgba(14, 116, 144, 0.3) !important;
}

html.admin-theme-light .admin-alert-card-payable .admin-alert-card-title {
    color: #243b53 !important;
}

html.admin-theme-light .admin-alert-card-payable .admin-alert-card-copy {
    color: #52677b !important;
}

html.admin-theme-light .admin-alert-card-payable .admin-alert-card-meta {
    color: #75889b !important;
}

html.admin-theme-light .admin-alert-card-payable-overdue .admin-alert-payable-badge {
    background: #ffe4e6;
    color: #be123c;
}

html.admin-theme-light .admin-alert-card-payable-today .admin-alert-payable-badge {
    background: #fef3c7;
    color: #b45309;
}

html.admin-theme-light .admin-alert-card-payable-upcoming .admin-alert-payable-badge {
    background: #e0f2fe;
    color: #0369a1;
}

.users-preview-kpi-label {
    color: #a8c8e4;
}

.users-preview-kpi-value {
    color: #f3f9ff;
}

.users-preview-kpi-pill {
    border: 1px solid rgba(121, 175, 220, 0.32);
    background: rgba(57, 141, 212, 0.2);
    color: #c5e6ff;
}

.users-preview-panel {
    border-radius: 1.25rem;
    border: 1px solid rgba(124, 165, 200, 0.24);
    background: rgba(11, 35, 56, 0.6);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.users-preview-filter-input,
.users-preview-filter-select {
    border: 1px solid rgba(123, 164, 197, 0.34);
    background: rgba(12, 35, 55, 0.8);
    color: #dceeff;
}

.users-preview-filter-input::placeholder {
    color: #8ea9c0;
}

.users-preview-seg-btn {
    border: 1px solid rgba(118, 162, 194, 0.36);
    background: rgba(16, 43, 67, 0.84);
    color: #bfdcf7;
    transition: all 0.14s ease;
}

.users-preview-seg-btn:hover {
    border-color: rgba(134, 189, 233, 0.52);
    color: #e4f3ff;
}

.users-preview-seg-btn.active {
    border-color: rgba(131, 191, 241, 0.7);
    background: linear-gradient(120deg, rgba(71, 157, 230, 0.92), rgba(44, 121, 184, 0.9));
    color: #fff;
    box-shadow: 0 10px 20px rgba(17, 83, 138, 0.34);
}

.users-preview-table-wrap {
    border-radius: 1.25rem;
    border: 1px solid rgba(124, 165, 200, 0.24);
    background: rgba(8, 30, 49, 0.62);
    overflow: hidden;
}

.users-preview-table-head th {
    color: #b7d1e7;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
}

.users-preview-row {
    border-top: 1px solid rgba(124, 165, 200, 0.2);
    color: #deefff;
    transition: background 0.16s ease, transform 0.16s ease;
}

.users-preview-row:hover {
    background: rgba(18, 49, 76, 0.54);
    transform: translateX(2px);
}

.users-preview-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(140deg, rgba(93, 200, 255, 0.86), rgba(56, 116, 194, 0.9));
    border: 1px solid rgba(197, 229, 255, 0.25);
}

.users-preview-role-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(124, 177, 219, 0.34);
    background: rgba(48, 136, 209, 0.2);
    color: #cce9ff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
}

.users-preview-status-active {
    border: 1px solid rgba(69, 201, 137, 0.35);
    background: rgba(31, 120, 83, 0.36);
    color: #9fefc7;
}

.users-preview-status-inactive {
    border: 1px solid rgba(255, 124, 124, 0.36);
    background: rgba(125, 41, 41, 0.34);
    color: #ffb7b7;
}

.users-preview-action {
    border: 1px solid rgba(120, 164, 197, 0.32);
    background: rgba(14, 41, 64, 0.72);
    color: #c8e4fb;
    transition: all 0.15s ease;
}

.users-preview-action:hover {
    border-color: rgba(137, 192, 236, 0.56);
    color: #f0f8ff;
}

.users-preview-action-danger {
    border-color: rgba(255, 134, 134, 0.33);
    background: rgba(104, 28, 28, 0.34);
    color: #ffb8b8;
}

.users-preview-action-danger:hover {
    border-color: rgba(255, 150, 150, 0.52);
    color: #ffe0e0;
}

.users-preview-pagination-link {
    border: 1px solid rgba(121, 164, 196, 0.36);
    background: rgba(12, 36, 57, 0.86);
    color: #bfdcf7;
}

.users-preview-pagination-link:hover {
    border-color: rgba(135, 191, 236, 0.54);
    color: #e8f5ff;
}

.users-preview-pagination-link.active {
    border-color: rgba(130, 191, 242, 0.72);
    background: linear-gradient(120deg, rgba(73, 158, 230, 0.92), rgba(44, 121, 183, 0.9));
    color: #fff;
}

/* =====================================================================
   DASHBOARD PREVIEW THEME (fase 1 da migracao visual)
   ===================================================================== */

.dashboard-preview-main {
    background:
        radial-gradient(960px 460px at 56% 7%, rgba(57, 133, 198, 0.3), transparent 62%),
        radial-gradient(780px 360px at 44% 84%, rgba(41, 111, 171, 0.2), transparent 72%),
        linear-gradient(116deg, #071d34 0%, #020913 29%, #03182b 71%, #020913 100%);
}

.dashboard-preview-shell {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    border: 1px solid rgba(124, 165, 200, 0.24);
    background: linear-gradient(180deg, rgba(11, 35, 56, 0.58), rgba(7, 24, 40, 0.72));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 48px rgba(0, 6, 14, 0.42);
    padding: 1.25rem;
}

.dashboard-preview-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.45;
    background-image:
        radial-gradient(2px 2px at 8% 16%, rgba(233, 247, 255, 0.5), transparent 60%),
        radial-gradient(2px 2px at 26% 64%, rgba(203, 237, 255, 0.38), transparent 60%),
        radial-gradient(2px 2px at 45% 23%, rgba(233, 247, 255, 0.34), transparent 60%),
        radial-gradient(2px 2px at 77% 30%, rgba(220, 244, 255, 0.34), transparent 60%),
        radial-gradient(2px 2px at 91% 79%, rgba(233, 247, 255, 0.3), transparent 60%);
}

.dashboard-preview-content {
    position: relative;
    z-index: 1;
}

.dashboard-preview-title {
    color: #f0f7ff;
    letter-spacing: -0.02em;
}

.dashboard-preview-subtitle {
    color: #a7bfd4;
}

.dashboard-preview-kpi {
    border-radius: 1rem;
    border: 1px solid rgba(129, 168, 200, 0.24);
    background: rgba(9, 33, 53, 0.72);
    box-shadow: 0 20px 42px rgba(0, 7, 16, 0.35);
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.dashboard-preview-kpi:hover {
    transform: translateY(-4px);
    border-color: rgba(134, 189, 233, 0.52);
    background: rgba(16, 49, 77, 0.82);
}

.dashboard-preview-kpi-title {
    color: #a8c8e4;
}

.dashboard-preview-kpi-value {
    color: #f3f9ff;
}

.dashboard-preview-bi {
    border-radius: 1.25rem;
    border: 1px solid rgba(124, 165, 200, 0.24);
    background: rgba(10, 34, 54, 0.66);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.dashboard-preview-bi-card {
    border: 1px solid rgba(122, 165, 199, 0.24);
    border-radius: 0.85rem;
    background: rgba(13, 38, 59, 0.82);
}

.dashboard-preview-bi-title {
    color: #b6d3ea;
}

.dashboard-preview-bi-muted {
    color: #8faec8;
}

.dashboard-preview-btn-link {
    border: 1px solid rgba(121, 175, 220, 0.32);
    background: rgba(22, 61, 93, 0.66);
    color: #cde9ff;
}

.dashboard-preview-btn-link:hover {
    border-color: rgba(137, 191, 236, 0.56);
    color: #eff9ff;
}

.dashboard-preview-section {
    border-radius: 1rem;
    border: 1px solid rgba(122, 165, 199, 0.24);
    background: rgba(10, 34, 54, 0.82);
}

.dashboard-preview-table th {
    color: #b6d3ea;
}

.dashboard-preview-table td {
    color: #dceeff;
}

.dashboard-preview-table-row {
    border-top: 1px solid rgba(124, 165, 200, 0.2);
    transition: background 0.15s ease;
}

.dashboard-preview-table-row:hover {
    background: rgba(18, 49, 76, 0.54);
}

.dashboard-preview-track {
    background: rgba(60, 95, 123, 0.38);
}

.course-live-global-option {
    border-color: rgba(69, 183, 224, 0.48);
    background: rgba(13, 74, 105, 0.42);
    color: #dff6ff;
}

.course-live-global-help {
    color: #8ec6df;
}

.course-question-message {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.course-question-message-student {
    border-color: rgba(126, 169, 202, 0.34);
    background: rgba(11, 42, 65, 0.82);
}

.course-question-message-professor {
    border-color: rgba(54, 170, 222, 0.52);
    background: linear-gradient(135deg, rgba(13, 78, 111, 0.88), rgba(9, 52, 79, 0.92));
}

.course-question-message-author {
    color: #e5f5ff;
}

.course-question-message-date {
    color: #8fc7e3;
}

.course-question-message-body {
    color: #d9effc;
}

/* =====================================================================
   ADMIN MODERN BASE THEME (aplica em todo administrativo)
   ===================================================================== */

.admin-modern-theme {
    color: #dceeff;
    background: #020913 !important;
}

.admin-modern-shell {
    position: relative;
    overflow: visible;
    background:
        radial-gradient(1100px 520px at 56% 8%, rgba(49, 129, 198, 0.25), transparent 64%),
        radial-gradient(820px 420px at 40% 85%, rgba(35, 102, 161, 0.18), transparent 72%),
        linear-gradient(116deg, #071d34 0%, #020913 31%, #03192d 69%, #020913 100%);
}

.admin-modern-shell::before {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 0;
    opacity: 0.45;
    background-image:
        radial-gradient(2px 2px at 9% 14%, rgba(221, 244, 255, 0.48), transparent 60%),
        radial-gradient(2px 2px at 26% 61%, rgba(203, 237, 255, 0.36), transparent 60%),
        radial-gradient(2px 2px at 43% 22%, rgba(233, 247, 255, 0.32), transparent 60%),
        radial-gradient(2px 2px at 74% 31%, rgba(220, 244, 255, 0.3), transparent 60%),
        radial-gradient(2px 2px at 91% 77%, rgba(233, 247, 255, 0.28), transparent 60%);
}

.admin-modern-shell > * {
    position: relative;
    z-index: 1;
}

.admin-modern-sidebar {
    border-right: 1px solid rgba(122, 164, 197, 0.28);
    background: linear-gradient(180deg, rgba(5, 23, 39, 0.96), rgba(6, 29, 48, 0.98));
    box-shadow: 0 20px 56px rgba(0, 5, 12, 0.52);
}

.admin-modern-sidebar [data-cadastro-panel],
.admin-modern-sidebar [data-api-panel] {
    min-width: 220px;
    max-width: 320px;
    background: rgba(6, 26, 44, 0.98) !important;
    border-color: rgba(126, 171, 205, 0.44) !important;
    box-shadow: 0 24px 52px rgba(0, 6, 14, 0.62) !important;
}

.admin-sidebar-footer {
    display: grid;
    gap: 0.7rem;
}

.admin-sidebar-company-card,
.admin-sidebar-user-card {
    border-radius: 0.85rem;
    border: 1px solid rgba(120, 164, 199, 0.22);
    background: linear-gradient(180deg, rgba(7, 30, 49, 0.72), rgba(5, 24, 40, 0.74));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    padding: 0.72rem 0.8rem;
}

.admin-sidebar-company-name,
.admin-sidebar-user-name {
    color: #e5f1fc;
}

.admin-sidebar-company-doc,
.admin-sidebar-user-role {
    color: #88a8c3;
}

.admin-sidebar-company-switch {
    color: #76d8ff;
}

.admin-sidebar-company-switch:hover {
    color: #a9ebff;
}

.admin-sidebar-logout {
    color: #ffb5b5;
}

.admin-sidebar-logout:hover {
    color: #ffd0d0;
}

.admin-modern-header {
    border-color: rgba(122, 164, 197, 0.24) !important;
    background: rgba(7, 26, 44, 0.78) !important;
}

.admin-modern-main {
    color: #dceeff;
}

.admin-modern-main h1,
.admin-modern-main h2,
.admin-modern-main h3,
.admin-modern-main h4 {
    color: #f2f8ff;
}

.admin-modern-main [class*="text-slate-900"],
.admin-modern-main [class*="text-slate-800"] {
    color: #f2f8ff !important;
}

.admin-modern-main [class*="text-slate-700"] {
    color: #dbeeff !important;
}

.admin-modern-main [class*="text-slate-600"],
.admin-modern-main [class*="text-slate-500"] {
    color: #9cb8d1 !important;
}

.admin-modern-main [class*="bg-white"] {
    background-color: rgba(10, 34, 54, 0.72) !important;
    background-image: none !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.admin-modern-main [class*="bg-slate-50"],
.admin-modern-main [class*="bg-slate-100"] {
    background-color: rgba(11, 36, 58, 0.68) !important;
    background-image: none !important;
}

.admin-modern-main [class*="bg-indigo-50"],
.admin-modern-main [class*="bg-cyan-50"] {
    background: rgba(16, 44, 69, 0.72) !important;
}

.admin-modern-main [class*="border-slate-100"],
.admin-modern-main [class*="border-slate-200"],
.admin-modern-main [class*="border-indigo-200"] {
    border-color: rgba(122, 164, 197, 0.3) !important;
}

.admin-modern-main [class*="shadow-sm"],
.admin-modern-main [class*="shadow-lg"] {
    box-shadow: 0 18px 38px rgba(0, 7, 15, 0.34) !important;
}

.admin-modern-theme input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]),
.admin-modern-theme textarea,
.admin-modern-theme select {
    border-color: rgba(122, 164, 197, 0.34) !important;
    background: rgba(11, 34, 54, 0.82) !important;
    color: #dceeff !important;
}

.admin-modern-theme input::placeholder,
.admin-modern-theme textarea::placeholder {
    color: #8ea9c0 !important;
}

.admin-modern-theme input:focus,
.admin-modern-theme textarea:focus,
.admin-modern-theme select:focus {
    border-color: rgba(126, 191, 241, 0.76) !important;
    box-shadow: 0 0 0 1px rgba(126, 191, 241, 0.3) inset;
}

.admin-modern-theme header a[class*="border-rose-200"] {
    border-color: rgba(248, 125, 125, 0.36) !important;
    background: rgba(112, 32, 32, 0.35) !important;
    color: #ffc9c9 !important;
}

.admin-modern-theme header a[class*="border-rose-200"]:hover {
    background: rgba(132, 36, 36, 0.48) !important;
}

.admin-modern-theme #fab-toggle {
    border: 1px solid rgba(126, 191, 241, 0.42);
    background: linear-gradient(120deg, rgba(68, 155, 230, 0.95), rgba(42, 121, 185, 0.92));
}

.admin-modern-theme #fab-menu {
    border-color: rgba(122, 164, 197, 0.34) !important;
    background: rgba(9, 32, 51, 0.94) !important;
}

.admin-modern-theme #fab-menu a {
    color: #dceeff;
}

.admin-modern-theme #fab-menu a:hover {
    background: rgba(21, 55, 84, 0.54);
}

.admin-modern-main table thead tr {
    border-color: rgba(122, 164, 197, 0.34) !important;
}

.admin-modern-main table tbody tr {
    border-color: rgba(122, 164, 197, 0.2) !important;
    transition: background 0.16s ease, transform 0.16s ease;
}

.admin-modern-main table tbody tr:hover {
    background: rgba(17, 48, 76, 0.52) !important;
}

.admin-modern-main [class*="bg-emerald-50"] {
    background: rgba(25, 97, 70, 0.44) !important;
    border-color: rgba(74, 190, 138, 0.3) !important;
    color: #b2f2cf !important;
}

.admin-modern-main [class*="bg-rose-50"] {
    background: rgba(124, 40, 40, 0.38) !important;
    border-color: rgba(255, 126, 126, 0.32) !important;
    color: #ffc4c4 !important;
}

/* Ajuste fino de contraste para cards KPI da tela de Solicitacoes */
.admin-modern-main .requests-card-open {
    border-color: rgba(106, 198, 255, 0.46) !important;
    background: linear-gradient(135deg, rgba(16, 53, 82, 0.84), rgba(11, 37, 58, 0.78)) !important;
}

.admin-modern-main .requests-card-open p[class*="text-cyan-700"],
.admin-modern-main .requests-card-open p[class*="text-cyan-900"] {
    color: #69e2ff !important;
}

.admin-modern-main .requests-card-resolved {
    border-color: rgba(84, 198, 144, 0.38) !important;
    background: linear-gradient(135deg, rgba(27, 97, 71, 0.56), rgba(17, 63, 48, 0.52)) !important;
}

.admin-modern-main .requests-card-resolved p[class*="text-emerald-700"] {
    color: #89f0c2 !important;
}

.admin-modern-main .requests-card-mobile {
    border-color: rgba(147, 158, 255, 0.44) !important;
    background: linear-gradient(135deg, rgba(30, 51, 96, 0.78), rgba(22, 35, 74, 0.74)) !important;
}

.admin-modern-main .requests-card-mobile p[class*="text-indigo-700"],
.admin-modern-main .requests-card-mobile p[class*="text-indigo-900"] {
    color: #b7c5ff !important;
}

.admin-modern-main .requests-card-additives {
    border-color: rgba(95, 203, 194, 0.42) !important;
    background: linear-gradient(135deg, rgba(17, 67, 78, 0.78), rgba(11, 48, 62, 0.74)) !important;
}

.admin-modern-main .requests-card-additives p[class*="text-cyan-700"],
.admin-modern-main .requests-card-additives p[class*="text-cyan-900"] {
    color: #7deee6 !important;
}

.admin-modern-main a.requests-card-mobile:hover,
.admin-modern-main a.requests-card-additives:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

/* Ajuste de contraste para cards KPI da tela de Financeiro */
.admin-modern-main .finance-card-open {
    border-color: rgba(106, 198, 255, 0.4) !important;
    background: linear-gradient(135deg, rgba(15, 51, 79, 0.82), rgba(9, 34, 54, 0.78)) !important;
}

.admin-modern-main .finance-card-open > p:first-child {
    color: #7adfff !important;
}

.admin-modern-main .finance-card-open > p:last-child {
    color: #daf2ff !important;
}

.admin-modern-main .finance-card-paid {
    border-color: rgba(96, 202, 152, 0.38) !important;
    background: linear-gradient(135deg, rgba(26, 93, 70, 0.58), rgba(17, 63, 48, 0.54)) !important;
}

.admin-modern-main .finance-card-paid > p:first-child {
    color: #8ef0c6 !important;
}

.admin-modern-main .finance-card-paid > p:last-child {
    color: #d7fbe9 !important;
}

.admin-modern-main .finance-card-partial {
    border-color: rgba(245, 194, 120, 0.4) !important;
    background: linear-gradient(135deg, rgba(107, 71, 24, 0.56), rgba(82, 54, 20, 0.5)) !important;
}

.admin-modern-main .finance-card-partial > p:first-child {
    color: #ffd89c !important;
}

.admin-modern-main .finance-card-partial > p:last-child {
    color: #ffeecf !important;
}

.admin-modern-main .finance-card-overdue {
    border-color: rgba(240, 122, 122, 0.42) !important;
    background: linear-gradient(135deg, rgba(112, 36, 50, 0.6), rgba(78, 24, 36, 0.56)) !important;
}

.admin-modern-main .finance-card-overdue > p:first-child {
    color: #ffb1b1 !important;
}

.admin-modern-main .finance-card-overdue > p:last-child {
    color: #ffe0e0 !important;
}

.admin-modern-main .finance-card-draft {
    border-color: rgba(148, 162, 192, 0.34) !important;
    background: linear-gradient(135deg, rgba(45, 58, 84, 0.62), rgba(31, 42, 63, 0.58)) !important;
}

.admin-modern-main .finance-card-draft > p:first-child {
    color: #b4c3de !important;
}

.admin-modern-main .finance-card-draft > p:last-child {
    color: #e3ecff !important;
}

.admin-modern-main .finance-card-paid-value {
    border-color: rgba(84, 198, 144, 0.38) !important;
    background: linear-gradient(135deg, rgba(23, 96, 72, 0.58), rgba(16, 69, 52, 0.54)) !important;
}

.admin-modern-main .finance-card-paid-value p[class*="text-emerald-700"] {
    color: #87f0c1 !important;
}

.admin-modern-main .finance-card-overdue-value {
    border-color: rgba(255, 118, 141, 0.38) !important;
    background: linear-gradient(135deg, rgba(108, 36, 55, 0.62), rgba(84, 28, 46, 0.58)) !important;
}

.admin-modern-main .finance-card-overdue-value p[class*="text-rose-700"] {
    color: #ff9fb1 !important;
}

.admin-modern-main .finance-card-pending-value {
    border-color: rgba(245, 202, 130, 0.4) !important;
    background: linear-gradient(135deg, rgba(84, 67, 34, 0.62), rgba(69, 54, 27, 0.58)) !important;
}

.admin-modern-main .finance-card-pending-value p[class*="text-amber-700"] {
    color: #ffd28e !important;
}

.admin-modern-main .finance-card-settled {
    border-color: rgba(99, 201, 232, 0.42) !important;
    background: linear-gradient(135deg, rgba(18, 68, 86, 0.66), rgba(12, 51, 70, 0.62)) !important;
}

.admin-modern-main .finance-card-settled p[class*="text-cyan-700"] {
    color: #7feaff !important;
}

.admin-modern-main .finance-card-nfe {
    border-color: rgba(146, 150, 255, 0.42) !important;
    background: linear-gradient(135deg, rgba(38, 45, 94, 0.7), rgba(28, 34, 74, 0.64)) !important;
}

.admin-modern-main .finance-card-nfe p[class*="text-indigo-700"] {
    color: #b8beff !important;
}

/* Acabamento visual da tabela inferior de Financeiro */
.admin-modern-main .finance-table-wrap {
    border-color: rgba(121, 168, 206, 0.36) !important;
    background: linear-gradient(180deg, rgba(10, 36, 58, 0.9), rgba(7, 28, 47, 0.9)) !important;
    box-shadow: inset 0 1px 0 rgba(166, 213, 246, 0.08);
}

.admin-modern-main .finance-scroll-proxy-wrap {
    border: 1px solid rgba(121, 168, 206, 0.24);
    border-radius: 0.85rem;
    background: rgba(9, 30, 49, 0.72);
    padding: 0.35rem 0.5rem;
}

.admin-modern-main .finance-scroll-proxy {
    overflow-x: auto;
    overflow-y: hidden;
    height: 12px;
}

.admin-modern-main .finance-scroll-proxy > div {
    height: 1px;
}

.admin-modern-main .finance-table thead tr {
    border-color: rgba(118, 164, 199, 0.34) !important;
    background: rgba(9, 30, 49, 0.68) !important;
}

.admin-modern-main .finance-table thead th {
    color: #8eb2d0 !important;
    font-weight: 700;
    letter-spacing: 0.025em;
}

.admin-modern-main .finance-table tbody .finance-row {
    border-color: rgba(101, 149, 185, 0.26) !important;
}

.admin-modern-main .finance-table tbody .finance-row:hover {
    background: rgba(18, 56, 86, 0.45) !important;
}

.admin-modern-main .finance-table tbody td {
    color: #d2e7fa !important;
}

.admin-modern-main .finance-helper-text,
.admin-modern-main .finance-table tbody p[class*="text-slate-500"],
.admin-modern-main .finance-table tbody p[class*="text-slate-600"],
.admin-modern-main .finance-table tbody p[class*="text-slate-400"] {
    color: #97b9d7 !important;
}

.admin-modern-main .finance-status-pill,
.admin-modern-main .finance-boleto-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 74px;
    border: 1px solid transparent;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.admin-modern-main .finance-status-open {
    border-color: rgba(111, 179, 236, 0.45) !important;
    background: rgba(25, 74, 112, 0.7) !important;
    color: #8fd9ff !important;
}

.admin-modern-main .finance-status-paid {
    border-color: rgba(101, 199, 151, 0.44) !important;
    background: rgba(22, 90, 67, 0.68) !important;
    color: #99f0cb !important;
}

.admin-modern-main .finance-status-partial {
    border-color: rgba(233, 188, 115, 0.44) !important;
    background: rgba(96, 65, 24, 0.66) !important;
    color: #ffd692 !important;
}

.admin-modern-main .finance-status-overdue {
    border-color: rgba(236, 130, 145, 0.46) !important;
    background: rgba(104, 35, 50, 0.68) !important;
    color: #ffb1bf !important;
}

.admin-modern-main .finance-status-draft {
    border-color: rgba(142, 159, 188, 0.44) !important;
    background: rgba(43, 57, 80, 0.68) !important;
    color: #c8d7ec !important;
}

.admin-modern-main .finance-boleto-issued {
    border-color: rgba(101, 199, 151, 0.44) !important;
    background: rgba(22, 90, 67, 0.68) !important;
    color: #99f0cb !important;
}

.admin-modern-main .finance-boleto-pending {
    border-color: rgba(233, 188, 115, 0.44) !important;
    background: rgba(96, 65, 24, 0.66) !important;
    color: #ffd692 !important;
}

.admin-modern-main .finance-boleto-paid {
    border-color: rgba(103, 197, 228, 0.44) !important;
    background: rgba(18, 73, 91, 0.7) !important;
    color: #8de9ff !important;
}

.admin-modern-main .finance-boleto-overdue {
    border-color: rgba(236, 130, 145, 0.46) !important;
    background: rgba(104, 35, 50, 0.68) !important;
    color: #ffb1bf !important;
}

.admin-modern-main .finance-boleto-default {
    border-color: rgba(142, 159, 188, 0.44) !important;
    background: rgba(43, 57, 80, 0.68) !important;
    color: #c8d7ec !important;
}

.admin-modern-main .finance-paid-box {
    border-color: rgba(93, 194, 146, 0.44) !important;
    background: linear-gradient(135deg, rgba(20, 91, 67, 0.7), rgba(13, 68, 50, 0.66)) !important;
}

.admin-modern-main .finance-paid-box p {
    color: #93f0c6 !important;
}

.admin-modern-main .finance-nfe-issued {
    border-color: rgba(138, 155, 233, 0.48) !important;
    background: linear-gradient(135deg, rgba(31, 46, 104, 0.72), rgba(25, 39, 88, 0.68)) !important;
}

.admin-modern-main .finance-nfe-issued p {
    color: #c7d4ff !important;
}

.admin-modern-main .finance-link {
    color: #a1c8ff !important;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.admin-modern-main .finance-link:hover {
    color: #d4e6ff !important;
}

.admin-modern-main .finance-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.6rem;
    border: 1px solid transparent;
    padding: 0.34rem 0.64rem;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.25;
    transition: transform 0.14s ease, filter 0.14s ease, background 0.14s ease;
}

.admin-modern-main .finance-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
}

.admin-modern-main .finance-btn-settle {
    border-color: rgba(101, 198, 228, 0.48) !important;
    background: rgba(19, 70, 92, 0.68) !important;
    color: #8de9ff !important;
}

.admin-modern-main .finance-btn-boleto {
    border-color: rgba(131, 159, 243, 0.48) !important;
    background: rgba(36, 50, 101, 0.72) !important;
    color: #bbccff !important;
}

.admin-modern-main .finance-btn-sync {
    border-color: rgba(124, 165, 202, 0.46) !important;
    background: rgba(22, 53, 80, 0.68) !important;
    color: #b7d7f3 !important;
}

.admin-modern-main .finance-btn-nfe {
    border-color: rgba(145, 160, 242, 0.5) !important;
    background: rgba(36, 50, 101, 0.72) !important;
    color: #c2d1ff !important;
}

.admin-modern-main .finance-btn-whatsapp {
    border-color: rgba(96, 198, 149, 0.5) !important;
    background: rgba(20, 92, 68, 0.7) !important;
    color: #97efcb !important;
}

.admin-modern-main .finance-btn-chatwoot {
    border-color: rgba(96, 200, 228, 0.5) !important;
    background: rgba(18, 73, 95, 0.68) !important;
    color: #9de6ff !important;
}

.admin-modern-main .finance-btn-danger {
    border-color: rgba(233, 132, 146, 0.5) !important;
    background: rgba(103, 34, 49, 0.68) !important;
    color: #ffb4c1 !important;
}

/* Acabamento visual da tela de Relatorios Financeiros */
.admin-modern-main .finance-reports-nav-btn {
    border-color: rgba(126, 171, 205, 0.4) !important;
    background: rgba(17, 48, 74, 0.72) !important;
    color: #c3ddf3 !important;
}

.admin-modern-main .finance-reports-nav-btn:hover {
    background: rgba(23, 62, 95, 0.78) !important;
    color: #e3f2ff !important;
}

.admin-modern-main .finance-reports-export-btn {
    border-color: rgba(106, 205, 235, 0.5) !important;
    background: linear-gradient(135deg, rgba(21, 142, 176, 0.86), rgba(14, 112, 151, 0.84)) !important;
    box-shadow: inset 0 1px 0 rgba(197, 243, 255, 0.22);
}

.admin-modern-main .finance-reports-filter {
    border-color: rgba(121, 167, 202, 0.34) !important;
    background: linear-gradient(180deg, rgba(10, 37, 58, 0.88), rgba(7, 29, 47, 0.86)) !important;
}

.admin-modern-main .finance-reports-tabs {
    border-color: rgba(121, 167, 202, 0.34) !important;
    background: linear-gradient(180deg, rgba(10, 36, 58, 0.85), rgba(7, 29, 48, 0.83)) !important;
}

.admin-modern-main .finance-reports-tab-btn {
    transition: transform 0.14s ease, filter 0.14s ease;
}

.admin-modern-main .finance-reports-tab-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
}

.admin-modern-main .finance-reports-tab-inactive {
    border-color: rgba(126, 171, 205, 0.4) !important;
    background: rgba(17, 48, 74, 0.72) !important;
    color: #bdd8ef !important;
}

.admin-modern-main .finance-reports-tab-active {
    border: 1px solid rgba(111, 179, 236, 0.5) !important;
    background: linear-gradient(135deg, rgba(20, 67, 102, 0.84), rgba(14, 53, 86, 0.82)) !important;
    color: #e5f4ff !important;
    box-shadow: inset 0 1px 0 rgba(185, 230, 255, 0.2);
}

.admin-modern-main .finance-reports-kpi,
.admin-modern-main .finance-reports-nfe,
.admin-modern-main .finance-reports-aging {
    transition: transform 0.14s ease, filter 0.14s ease;
}

.admin-modern-main .finance-reports-kpi:hover,
.admin-modern-main .finance-reports-nfe:hover,
.admin-modern-main .finance-reports-aging:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.admin-modern-main .finance-reports-kpi > p:first-child {
    color: #a6c7e1 !important;
}

.admin-modern-main .finance-reports-kpi > p:last-child {
    color: #e8f6ff !important;
}

.admin-modern-main .finance-reports-kpi-invoiced {
    border-color: rgba(110, 188, 236, 0.4) !important;
    background: linear-gradient(135deg, rgba(16, 55, 86, 0.82), rgba(11, 38, 62, 0.78)) !important;
}

.admin-modern-main .finance-reports-kpi-received {
    border-color: rgba(95, 195, 148, 0.4) !important;
    background: linear-gradient(135deg, rgba(23, 90, 66, 0.6), rgba(16, 65, 48, 0.56)) !important;
}

.admin-modern-main .finance-reports-kpi-pending {
    border-color: rgba(234, 191, 118, 0.42) !important;
    background: linear-gradient(135deg, rgba(99, 68, 27, 0.62), rgba(76, 53, 23, 0.56)) !important;
}

.admin-modern-main .finance-reports-kpi-overdue {
    border-color: rgba(235, 128, 142, 0.42) !important;
    background: linear-gradient(135deg, rgba(109, 37, 52, 0.62), rgba(84, 27, 41, 0.56)) !important;
}

.admin-modern-main .finance-reports-kpi-settled {
    border-color: rgba(101, 198, 228, 0.42) !important;
    background: linear-gradient(135deg, rgba(18, 71, 89, 0.66), rgba(12, 53, 72, 0.62)) !important;
}

.admin-modern-main .finance-reports-kpi-default {
    border-color: rgba(145, 153, 236, 0.42) !important;
    background: linear-gradient(135deg, rgba(40, 47, 95, 0.7), rgba(29, 36, 78, 0.66)) !important;
}

.admin-modern-main .finance-reports-nfe-issued {
    border-color: rgba(145, 153, 236, 0.42) !important;
    background: linear-gradient(135deg, rgba(40, 47, 95, 0.7), rgba(29, 36, 78, 0.66)) !important;
}

.admin-modern-main .finance-reports-nfe-issued p[class*="text-indigo-700"] {
    color: #b5c2ff !important;
}

.admin-modern-main .finance-reports-nfe-pending {
    border-color: rgba(234, 191, 118, 0.42) !important;
    background: linear-gradient(135deg, rgba(99, 68, 27, 0.62), rgba(76, 53, 23, 0.56)) !important;
}

.admin-modern-main .finance-reports-nfe-pending p[class*="text-amber-700"] {
    color: #ffd693 !important;
}

.admin-modern-main .finance-reports-nfe-failed {
    border-color: rgba(235, 128, 142, 0.42) !important;
    background: linear-gradient(135deg, rgba(109, 37, 52, 0.62), rgba(84, 27, 41, 0.56)) !important;
}

.admin-modern-main .finance-reports-nfe-failed p[class*="text-rose-700"] {
    color: #ffacbc !important;
}

.admin-modern-main .finance-reports-chart,
.admin-modern-main .finance-reports-debtors {
    border-color: rgba(121, 167, 202, 0.34) !important;
    background: linear-gradient(180deg, rgba(10, 37, 58, 0.88), rgba(7, 29, 47, 0.86)) !important;
}

.admin-modern-main .finance-reports-chart-row {
    border-color: rgba(106, 151, 186, 0.3) !important;
    background: rgba(10, 34, 54, 0.52) !important;
}

.admin-modern-main .finance-reports-chart-row > div:first-child {
    color: #9dc0dd !important;
}

.admin-modern-main .finance-reports-bar-track {
    background: rgba(30, 63, 91, 0.6) !important;
}

.admin-modern-main .finance-reports-bar-invoiced {
    background: linear-gradient(90deg, #15a9dd, #0f8bc0) !important;
}

.admin-modern-main .finance-reports-bar-received {
    background: linear-gradient(90deg, #33c99c, #25a77f) !important;
}

.admin-modern-main .finance-reports-table-wrap {
    border-color: rgba(121, 167, 202, 0.34) !important;
    background: linear-gradient(180deg, rgba(10, 37, 58, 0.88), rgba(7, 29, 47, 0.86)) !important;
}

.admin-modern-main .finance-reports-table thead tr {
    border-color: rgba(116, 161, 196, 0.32) !important;
    background: rgba(9, 31, 50, 0.64) !important;
}

.admin-modern-main .finance-reports-table thead th {
    color: #8db1ce !important;
}

.admin-modern-main .finance-reports-row {
    border-color: rgba(101, 146, 181, 0.24) !important;
}

.admin-modern-main .finance-reports-row:hover {
    background: rgba(17, 52, 80, 0.46) !important;
}

.admin-modern-main .finance-reports-table tbody td {
    color: #d3e7fa !important;
}

.admin-modern-main .finance-reports-pagination {
    color: #a7c7e2 !important;
}

.admin-modern-main .finance-reports-page-link {
    border-color: rgba(126, 171, 205, 0.4) !important;
    background: rgba(17, 48, 74, 0.72) !important;
    color: #c3ddf3 !important;
}

.admin-modern-main .finance-reports-page-link:hover {
    background: rgba(23, 62, 95, 0.78) !important;
    color: #e3f2ff !important;
}

.admin-modern-main .finance-reports-page-link-active {
    border: 1px solid rgba(111, 179, 236, 0.5) !important;
    background: linear-gradient(135deg, rgba(20, 67, 102, 0.84), rgba(14, 53, 86, 0.82)) !important;
    color: #e5f4ff !important;
}

.admin-modern-main .finance-reports-aging > p:first-child {
    color: #a6c7e1 !important;
}

.admin-modern-main .finance-reports-aging > p:nth-child(2) {
    color: #e8f6ff !important;
}

.admin-modern-main .finance-reports-aging > p:last-child {
    color: #9dc0dd !important;
}

.admin-modern-main .finance-reports-aging-current {
    border-color: rgba(110, 188, 236, 0.4) !important;
    background: linear-gradient(135deg, rgba(16, 55, 86, 0.82), rgba(11, 38, 62, 0.78)) !important;
}

.admin-modern-main .finance-reports-aging-1-30 {
    border-color: rgba(234, 191, 118, 0.42) !important;
    background: linear-gradient(135deg, rgba(99, 68, 27, 0.62), rgba(76, 53, 23, 0.56)) !important;
}

.admin-modern-main .finance-reports-aging-1-30 p[class*="text-amber-700"] {
    color: #ffd693 !important;
}

.admin-modern-main .finance-reports-aging-31-60 {
    border-color: rgba(237, 167, 107, 0.42) !important;
    background: linear-gradient(135deg, rgba(103, 60, 24, 0.64), rgba(78, 47, 19, 0.58)) !important;
}

.admin-modern-main .finance-reports-aging-31-60 p[class*="text-orange-700"] {
    color: #ffc686 !important;
}

.admin-modern-main .finance-reports-aging-61-90 {
    border-color: rgba(235, 142, 156, 0.42) !important;
    background: linear-gradient(135deg, rgba(108, 41, 55, 0.62), rgba(86, 29, 43, 0.56)) !important;
}

.admin-modern-main .finance-reports-aging-61-90 p[class*="text-rose-700"] {
    color: #ffb1bf !important;
}

.admin-modern-main .finance-reports-aging-90-plus {
    border-color: rgba(240, 121, 121, 0.44) !important;
    background: linear-gradient(135deg, rgba(116, 35, 35, 0.64), rgba(90, 26, 26, 0.58)) !important;
}

.admin-modern-main .finance-reports-aging-90-plus p[class*="text-red-700"] {
    color: #ffaaaa !important;
}

/* Acabamento visual da tela Agenda Academica (EAD) */
.admin-modern-main .courses-calendar-back-btn {
    border-color: rgba(126, 171, 205, 0.4) !important;
    background: rgba(17, 48, 74, 0.72) !important;
    color: #c3ddf3 !important;
}

.admin-modern-main .courses-calendar-back-btn:hover {
    background: rgba(23, 62, 95, 0.78) !important;
    color: #e3f2ff !important;
}

.admin-modern-main .courses-calendar-alert {
    border-color: rgba(234, 191, 118, 0.42) !important;
    background: linear-gradient(135deg, rgba(99, 68, 27, 0.62), rgba(76, 53, 23, 0.56)) !important;
    color: #ffd693 !important;
}

.admin-modern-main .courses-calendar-alert code {
    color: #ffe8b8 !important;
    background: rgba(73, 50, 17, 0.64);
    border-radius: 0.35rem;
    padding: 0.08rem 0.3rem;
}

.admin-modern-main .courses-calendar-kpi {
    transition: transform 0.14s ease, filter 0.14s ease;
}

.admin-modern-main .courses-calendar-kpi:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.admin-modern-main .courses-calendar-kpi-events {
    border-color: rgba(145, 153, 236, 0.42) !important;
    background: linear-gradient(135deg, rgba(40, 47, 95, 0.7), rgba(29, 36, 78, 0.66)) !important;
}

.admin-modern-main .courses-calendar-kpi-events p[class*="text-indigo-700"] {
    color: #b6c2ff !important;
}

.admin-modern-main .courses-calendar-kpi-queued {
    border-color: rgba(101, 198, 228, 0.42) !important;
    background: linear-gradient(135deg, rgba(18, 71, 89, 0.66), rgba(12, 53, 72, 0.62)) !important;
}

.admin-modern-main .courses-calendar-kpi-queued p[class*="text-cyan-700"] {
    color: #8de9ff !important;
}

.admin-modern-main .courses-calendar-kpi-sent {
    border-color: rgba(95, 195, 148, 0.4) !important;
    background: linear-gradient(135deg, rgba(23, 90, 66, 0.6), rgba(16, 65, 48, 0.56)) !important;
}

.admin-modern-main .courses-calendar-kpi-sent p[class*="text-emerald-700"] {
    color: #92efc8 !important;
}

.admin-modern-main .courses-calendar-filter,
.admin-modern-main .courses-calendar-create,
.admin-modern-main .courses-calendar-table-panel,
.admin-modern-main .courses-calendar-activities,
.admin-modern-main .courses-calendar-reminders {
    border-color: rgba(121, 167, 202, 0.34) !important;
    background: linear-gradient(180deg, rgba(10, 37, 58, 0.88), rgba(7, 29, 47, 0.86)) !important;
}

.admin-modern-main .courses-calendar-apply-btn {
    border: 1px solid rgba(111, 179, 236, 0.5) !important;
    background: linear-gradient(135deg, rgba(20, 67, 102, 0.84), rgba(14, 53, 86, 0.82)) !important;
    color: #e5f4ff !important;
}

.admin-modern-main .courses-calendar-clear-btn {
    border-color: rgba(126, 171, 205, 0.4) !important;
    background: rgba(17, 48, 74, 0.72) !important;
    color: #c3ddf3 !important;
}

.admin-modern-main .courses-calendar-save-btn {
    border: 1px solid rgba(140, 153, 241, 0.54) !important;
    background: linear-gradient(135deg, rgba(88, 88, 232, 0.86), rgba(72, 70, 207, 0.84)) !important;
    color: #f3f2ff !important;
    box-shadow: inset 0 1px 0 rgba(220, 219, 255, 0.24);
}

.admin-modern-main .courses-calendar-save-btn:hover {
    filter: brightness(1.07);
}

.admin-modern-main .courses-calendar-table-wrap {
    border-top: 1px solid rgba(111, 156, 191, 0.24);
}

.admin-modern-main .courses-calendar-table thead tr {
    border-color: rgba(116, 161, 196, 0.32) !important;
    background: rgba(9, 31, 50, 0.64) !important;
}

.admin-modern-main .courses-calendar-table thead th {
    color: #8db1ce !important;
}

.admin-modern-main .courses-calendar-row {
    border-color: rgba(101, 146, 181, 0.24) !important;
}

.admin-modern-main .courses-calendar-row:hover {
    background: rgba(17, 52, 80, 0.46) !important;
}

.admin-modern-main .courses-calendar-table tbody td {
    color: #d3e7fa !important;
}

.admin-modern-main .courses-calendar-table tbody p[class*="text-slate-500"],
.admin-modern-main .courses-calendar-table tbody p[class*="text-slate-600"] {
    color: #9fc0db !important;
}

.admin-modern-main .courses-calendar-type-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid transparent;
}

.admin-modern-main .courses-calendar-type-exam {
    border-color: rgba(234, 191, 118, 0.44) !important;
    background: rgba(96, 65, 24, 0.66) !important;
    color: #ffd692 !important;
}

.admin-modern-main .courses-calendar-type-live {
    border-color: rgba(103, 197, 228, 0.44) !important;
    background: rgba(18, 73, 91, 0.7) !important;
    color: #8de9ff !important;
}

.admin-modern-main .courses-calendar-type-activity {
    border-color: rgba(145, 153, 236, 0.46) !important;
    background: rgba(40, 47, 95, 0.68) !important;
    color: #b6c2ff !important;
}

.admin-modern-main .courses-calendar-type-default {
    border-color: rgba(142, 159, 188, 0.44) !important;
    background: rgba(43, 57, 80, 0.68) !important;
    color: #c8d7ec !important;
}

.admin-modern-main .courses-calendar-activity-card,
.admin-modern-main .courses-calendar-reminder-card {
    border-color: rgba(106, 151, 186, 0.3) !important;
    background: rgba(10, 34, 54, 0.52) !important;
}

.admin-modern-main .courses-calendar-delete-btn {
    border-color: rgba(233, 132, 146, 0.5) !important;
    background: rgba(103, 34, 49, 0.68) !important;
    color: #ffb4c1 !important;
}

.admin-modern-main .courses-calendar-delete-btn:hover {
    filter: brightness(1.06);
}

.admin-modern-main .courses-calendar-activities p[class*="text-slate-500"],
.admin-modern-main .courses-calendar-activities p[class*="text-slate-600"],
.admin-modern-main .courses-calendar-reminders p[class*="text-slate-500"] {
    color: #9fc0db !important;
}

/* Acabamento visual da tela Assinaturas */
.admin-modern-main .signatures-kpi {
    transition: transform 0.14s ease, filter 0.14s ease;
}

.admin-modern-main .signatures-kpi:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.admin-modern-main .signatures-kpi > p:first-child {
    color: #a6c7e1 !important;
}

.admin-modern-main .signatures-kpi > p:last-child {
    color: #e8f6ff !important;
}

.admin-modern-main .signatures-kpi-integration {
    border-color: rgba(103, 197, 228, 0.42) !important;
    background: linear-gradient(135deg, rgba(19, 71, 90, 0.66), rgba(12, 53, 72, 0.62)) !important;
}

.admin-modern-main .signatures-kpi-total {
    border-color: rgba(110, 188, 236, 0.4) !important;
    background: linear-gradient(135deg, rgba(16, 55, 86, 0.82), rgba(11, 38, 62, 0.78)) !important;
}

.admin-modern-main .signatures-kpi-draft {
    border-color: rgba(142, 159, 188, 0.44) !important;
    background: linear-gradient(135deg, rgba(43, 57, 80, 0.68), rgba(31, 44, 66, 0.64)) !important;
}

.admin-modern-main .signatures-kpi-sent {
    border-color: rgba(101, 198, 228, 0.42) !important;
    background: linear-gradient(135deg, rgba(18, 71, 89, 0.66), rgba(12, 53, 72, 0.62)) !important;
}

.admin-modern-main .signatures-kpi-signed {
    border-color: rgba(95, 195, 148, 0.4) !important;
    background: linear-gradient(135deg, rgba(23, 90, 66, 0.6), rgba(16, 65, 48, 0.56)) !important;
}

.admin-modern-main .signatures-kpi-integration p[class*="text-rose-700"] {
    color: #ffadb6 !important;
}

.admin-modern-main .signatures-kpi-integration p[class*="text-amber-700"] {
    color: #ffd693 !important;
}

.admin-modern-main .signatures-kpi-integration p[class*="text-emerald-700"],
.admin-modern-main .signatures-kpi-signed p[class*="text-emerald-700"] {
    color: #92efc8 !important;
}

.admin-modern-main .signatures-alert {
    border-color: rgba(234, 191, 118, 0.42) !important;
    background: linear-gradient(135deg, rgba(99, 68, 27, 0.62), rgba(76, 53, 23, 0.56)) !important;
    color: #ffd693 !important;
}

.admin-modern-main .signatures-webhook,
.admin-modern-main .signatures-config,
.admin-modern-main .signatures-config-form,
.admin-modern-main .signatures-create-form,
.admin-modern-main .signatures-filter-form,
.admin-modern-main .signatures-events,
.admin-modern-main .signatures-table-wrap {
    border-color: rgba(121, 167, 202, 0.34) !important;
    background: linear-gradient(180deg, rgba(10, 37, 58, 0.88), rgba(7, 29, 47, 0.86)) !important;
}

.admin-modern-main .signatures-webhook p[class*="text-slate-500"],
.admin-modern-main .signatures-config p[class*="text-slate-500"],
.admin-modern-main .signatures-create-form p[class*="text-slate-500"],
.admin-modern-main .signatures-create-form p[class*="text-slate-600"],
.admin-modern-main .signatures-events p[class*="text-slate-500"],
.admin-modern-main .signatures-events p[class*="text-slate-600"] {
    color: #9fc0db !important;
}

.admin-modern-main .signatures-config-form input[type="text"],
.admin-modern-main .signatures-config-form input[type="password"] {
    border-color: rgba(111, 157, 191, 0.38) !important;
    background: rgba(9, 33, 53, 0.68) !important;
    color: #d2e7fa !important;
}

.admin-modern-main .signatures-webhook-input {
    border-color: rgba(111, 157, 191, 0.38) !important;
    background: rgba(9, 33, 53, 0.68) !important;
    color: #d2e7fa !important;
}

.admin-modern-main .signatures-webhook-copy {
    border-color: rgba(126, 171, 205, 0.4) !important;
    background: rgba(17, 48, 74, 0.72) !important;
    color: #c3ddf3 !important;
}

.admin-modern-main .signatures-webhook-copy:hover {
    background: rgba(23, 62, 95, 0.78) !important;
    color: #e3f2ff !important;
}

.admin-modern-main .signatures-file-input {
    color: #d2e7fa !important;
}

.admin-modern-main .signatures-create-btn {
    border: 1px solid rgba(106, 205, 235, 0.5) !important;
    background: linear-gradient(135deg, rgba(21, 142, 176, 0.86), rgba(14, 112, 151, 0.84)) !important;
    color: #f7fdff !important;
    box-shadow: inset 0 1px 0 rgba(197, 243, 255, 0.22);
}

.admin-modern-main .signatures-filter-btn {
    border: 1px solid rgba(111, 179, 236, 0.5) !important;
    background: linear-gradient(135deg, rgba(20, 67, 102, 0.84), rgba(14, 53, 86, 0.82)) !important;
    color: #e5f4ff !important;
}

.admin-modern-main .signatures-config-save {
    border: 1px solid rgba(103, 197, 228, 0.44) !important;
    background: rgba(17, 48, 74, 0.72) !important;
    color: #d9ecfb !important;
}

.admin-modern-main .signatures-config-save:hover {
    background: rgba(23, 62, 95, 0.78) !important;
    color: #f0f9ff !important;
}

.admin-modern-main .signatures-table thead tr {
    border-color: rgba(116, 161, 196, 0.32) !important;
    background: rgba(9, 31, 50, 0.64) !important;
}

.admin-modern-main .signatures-table thead th {
    color: #8db1ce !important;
}

.admin-modern-main .signatures-row {
    border-color: rgba(101, 146, 181, 0.24) !important;
}

.admin-modern-main .signatures-row:hover {
    background: rgba(17, 52, 80, 0.46) !important;
}

.admin-modern-main .signatures-table tbody td {
    color: #d3e7fa !important;
}

.admin-modern-main .signatures-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 78px;
    border: 1px solid transparent;
}

.admin-modern-main .signatures-status-signed {
    border-color: rgba(95, 195, 148, 0.44) !important;
    background: rgba(22, 90, 67, 0.68) !important;
    color: #99f0cb !important;
}

.admin-modern-main .signatures-status-sent {
    border-color: rgba(103, 197, 228, 0.44) !important;
    background: rgba(18, 73, 91, 0.7) !important;
    color: #8de9ff !important;
}

.admin-modern-main .signatures-status-cancelled {
    border-color: rgba(233, 188, 115, 0.44) !important;
    background: rgba(96, 65, 24, 0.66) !important;
    color: #ffd692 !important;
}

.admin-modern-main .signatures-status-error {
    border-color: rgba(236, 130, 145, 0.46) !important;
    background: rgba(104, 35, 50, 0.68) !important;
    color: #ffb1bf !important;
}

.admin-modern-main .signatures-status-draft {
    border-color: rgba(142, 159, 188, 0.44) !important;
    background: rgba(43, 57, 80, 0.68) !important;
    color: #c8d7ec !important;
}

.admin-modern-main .signatures-link-original {
    color: #8fe4ff !important;
}

.admin-modern-main .signatures-link-signed {
    color: #97efcb !important;
}

.admin-modern-main .signatures-btn {
    border-radius: 0.6rem;
    border: 1px solid transparent;
    padding: 0.34rem 0.64rem;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.25;
    transition: transform 0.14s ease, filter 0.14s ease;
}

.admin-modern-main .signatures-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
}

.admin-modern-main .signatures-btn-send {
    border-color: rgba(103, 197, 228, 0.44) !important;
    background: rgba(18, 73, 91, 0.7) !important;
    color: #8de9ff !important;
}

.admin-modern-main .signatures-btn-sync {
    border-color: rgba(124, 165, 202, 0.46) !important;
    background: rgba(22, 53, 80, 0.68) !important;
    color: #b7d7f3 !important;
}

.admin-modern-main .signatures-btn-delete {
    border-color: rgba(233, 132, 146, 0.5) !important;
    background: rgba(103, 34, 49, 0.68) !important;
    color: #ffb4c1 !important;
}

.admin-modern-main .signatures-pagination {
    color: #a7c7e2 !important;
}

.admin-modern-main .signatures-page-link {
    border-color: rgba(126, 171, 205, 0.4) !important;
    background: rgba(17, 48, 74, 0.72) !important;
    color: #c3ddf3 !important;
}

.admin-modern-main .signatures-page-link:hover {
    background: rgba(23, 62, 95, 0.78) !important;
    color: #e3f2ff !important;
}

.admin-modern-main .signatures-page-link-active {
    border: 1px solid rgba(111, 179, 236, 0.5) !important;
    background: linear-gradient(135deg, rgba(20, 67, 102, 0.84), rgba(14, 53, 86, 0.82)) !important;
    color: #e5f4ff !important;
}

.admin-modern-main .signatures-event-card {
    border-color: rgba(106, 151, 186, 0.3) !important;
    background: rgba(10, 34, 54, 0.52) !important;
}

/* Acabamento visual das telas de Cadastro */
.admin-modern-main .companies-form,
.admin-modern-main .companies-filter,
.admin-modern-main .companies-table-wrap,
.admin-modern-main .companies-smtp-selector,
.admin-modern-main .companies-smtp-form,
.admin-modern-main .companies-smtp-empty,
.admin-modern-main .banks-empty,
.admin-modern-main .cron-admin-guide,
.admin-modern-main .cron-admin-table-wrap,
.admin-modern-main .cron-logs-panel {
    border-color: rgba(121, 167, 202, 0.34) !important;
    background: linear-gradient(180deg, rgba(10, 37, 58, 0.88), rgba(7, 29, 47, 0.86)) !important;
}

.admin-modern-main .companies-save-btn,
.admin-modern-main .companies-filter-btn,
.admin-modern-main .companies-smtp-load-btn,
.admin-modern-main .companies-smtp-save-btn {
    border: 1px solid rgba(111, 179, 236, 0.5) !important;
    background: linear-gradient(135deg, rgba(20, 67, 102, 0.84), rgba(14, 53, 86, 0.82)) !important;
    color: #e5f4ff !important;
}

.admin-modern-main .companies-cancel-btn,
.admin-modern-main .companies-smtp-back-btn,
.admin-modern-main .companies-page-link {
    border-color: rgba(126, 171, 205, 0.4) !important;
    background: rgba(17, 48, 74, 0.72) !important;
    color: #c3ddf3 !important;
}

.admin-modern-main .companies-cancel-btn:hover,
.admin-modern-main .companies-smtp-back-btn:hover,
.admin-modern-main .companies-page-link:hover {
    background: rgba(23, 62, 95, 0.78) !important;
    color: #e3f2ff !important;
}

.admin-modern-main .companies-table thead tr {
    border-color: rgba(116, 161, 196, 0.32) !important;
    background: rgba(9, 31, 50, 0.64) !important;
}

.admin-modern-main .companies-table thead th {
    color: #8db1ce !important;
}

.admin-modern-main .companies-row {
    border-color: rgba(101, 146, 181, 0.24) !important;
}

.admin-modern-main .companies-row:hover {
    background: rgba(17, 52, 80, 0.46) !important;
}

.admin-modern-main .companies-table tbody td {
    color: #d3e7fa !important;
}

.admin-modern-main .companies-status-pill {
    border: 1px solid transparent;
}

.admin-modern-main .companies-status-active {
    border-color: rgba(95, 195, 148, 0.44) !important;
    background: rgba(22, 90, 67, 0.68) !important;
    color: #99f0cb !important;
}

.admin-modern-main .companies-status-inactive {
    border-color: rgba(236, 130, 145, 0.46) !important;
    background: rgba(104, 35, 50, 0.68) !important;
    color: #ffb1bf !important;
}

.admin-modern-main .companies-btn {
    border-radius: 0.6rem;
    border: 1px solid transparent;
    padding: 0.34rem 0.64rem;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.25;
    transition: transform 0.14s ease, filter 0.14s ease;
}

.admin-modern-main .companies-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
}

.admin-modern-main .companies-btn-edit {
    border-color: rgba(124, 165, 202, 0.46) !important;
    background: rgba(22, 53, 80, 0.68) !important;
    color: #b7d7f3 !important;
}

.admin-modern-main .companies-btn-toggle {
    border-color: rgba(233, 188, 115, 0.44) !important;
    background: rgba(96, 65, 24, 0.66) !important;
    color: #ffd692 !important;
}

.admin-modern-main .companies-pagination {
    color: #a7c7e2 !important;
}

.admin-modern-main .companies-page-link-active {
    border: 1px solid rgba(111, 179, 236, 0.5) !important;
    background: linear-gradient(135deg, rgba(20, 67, 102, 0.84), rgba(14, 53, 86, 0.82)) !important;
    color: #e5f4ff !important;
}

.admin-modern-main .companies-smtp-alert {
    border-color: rgba(234, 191, 118, 0.42) !important;
    background: linear-gradient(135deg, rgba(99, 68, 27, 0.62), rgba(76, 53, 23, 0.56)) !important;
    color: #ffd693 !important;
}

.admin-modern-main .companies-smtp-selected {
    border-color: rgba(111, 157, 191, 0.38) !important;
    background: rgba(9, 33, 53, 0.68) !important;
    color: #c5e0f6 !important;
}

.admin-modern-main .companies-smtp-selected .font-semibold {
    color: #e6f4ff !important;
}

.admin-modern-main .companies-smtp-tip {
    border-color: rgba(103, 197, 228, 0.42) !important;
    background: rgba(18, 71, 89, 0.66) !important;
    color: #8de9ff !important;
}

.admin-modern-main .companies-smtp-test-btn {
    border-color: rgba(103, 197, 228, 0.44) !important;
    background: rgba(18, 73, 91, 0.7) !important;
    color: #8de9ff !important;
}

.admin-modern-main .banks-card {
    border-color: rgba(121, 167, 202, 0.34) !important;
    background: linear-gradient(180deg, rgba(10, 37, 58, 0.88), rgba(7, 29, 47, 0.86)) !important;
    box-shadow: inset 0 1px 0 rgba(166, 213, 246, 0.08);
}

.admin-modern-main .banks-icon {
    border-color: rgba(111, 157, 191, 0.38);
    background: rgba(12, 47, 73, 0.7) !important;
    color: #8edfff !important;
}

.admin-modern-main .banks-card p[class*="text-slate-800"] {
    color: #e8f6ff !important;
}

.admin-modern-main .banks-env-badge {
    border: 1px solid transparent;
}

.admin-modern-main .banks-env-production {
    border-color: rgba(95, 195, 148, 0.44) !important;
    background: rgba(22, 90, 67, 0.68) !important;
    color: #99f0cb !important;
}

.admin-modern-main .banks-env-sandbox {
    border-color: rgba(233, 188, 115, 0.44) !important;
    background: rgba(96, 65, 24, 0.66) !important;
    color: #ffd692 !important;
}

.admin-modern-main .banks-status-pill {
    border: 1px solid transparent;
}

.admin-modern-main .banks-status-active {
    border-color: rgba(95, 195, 148, 0.44) !important;
    background: rgba(22, 90, 67, 0.68) !important;
    color: #99f0cb !important;
}

.admin-modern-main .banks-status-inactive {
    border-color: rgba(142, 159, 188, 0.44) !important;
    background: rgba(43, 57, 80, 0.68) !important;
    color: #c8d7ec !important;
}

.admin-modern-main .banks-config-btn {
    border-color: rgba(124, 165, 202, 0.46) !important;
    background: rgba(22, 53, 80, 0.68) !important;
    color: #b7d7f3 !important;
}

.admin-modern-main .cron-admin-guide {
    color: #cde6fb !important;
}

.admin-modern-main .cron-admin-guide p {
    color: #cde6fb !important;
}

.admin-modern-main .cron-admin-cmd-box {
    border: 1px solid rgba(111, 157, 191, 0.38);
    background: rgba(9, 33, 53, 0.68) !important;
    color: #97efcb !important;
}

.admin-modern-main .cron-admin-copy-btn {
    border: 1px solid rgba(124, 165, 202, 0.46);
    background: rgba(22, 53, 80, 0.68) !important;
    color: #b7d7f3 !important;
}

.admin-modern-main .cron-admin-guide-warning {
    color: #ffd693 !important;
}

.admin-modern-main .cron-admin-table thead tr {
    border-color: rgba(116, 161, 196, 0.32) !important;
    background: rgba(9, 31, 50, 0.64) !important;
}

.admin-modern-main .cron-admin-table thead th {
    color: #8db1ce !important;
}

.admin-modern-main .cron-admin-row {
    border-color: rgba(101, 146, 181, 0.24) !important;
}

.admin-modern-main .cron-admin-row:hover {
    background: rgba(17, 52, 80, 0.46) !important;
}

.admin-modern-main .cron-admin-table tbody td {
    color: #d3e7fa !important;
}

.admin-modern-main .cron-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    border-radius: 999px;
    border: 1px solid transparent;
    padding: 0.16rem 0.52rem;
    font-size: 0.72rem;
    font-weight: 700;
}

.admin-modern-main .cron-status-ok {
    border-color: rgba(95, 195, 148, 0.44) !important;
    background: rgba(22, 90, 67, 0.68) !important;
    color: #99f0cb !important;
}

.admin-modern-main .cron-status-error {
    border-color: rgba(236, 130, 145, 0.46) !important;
    background: rgba(104, 35, 50, 0.68) !important;
    color: #ffb1bf !important;
}

.admin-modern-main .cron-status-running {
    border-color: rgba(233, 188, 115, 0.44) !important;
    background: rgba(96, 65, 24, 0.66) !important;
    color: #ffd692 !important;
}

.admin-modern-main .cron-status-never {
    border-color: rgba(142, 159, 188, 0.44) !important;
    background: rgba(43, 57, 80, 0.68) !important;
    color: #c8d7ec !important;
}

.admin-modern-main .cron-toggle-btn,
.admin-modern-main .cron-run-btn,
.admin-modern-main .cron-logs-btn {
    border-radius: 0.6rem;
    border: 1px solid transparent;
    padding: 0.34rem 0.64rem;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.25;
    transition: transform 0.14s ease, filter 0.14s ease;
}

.admin-modern-main .cron-toggle-btn:hover,
.admin-modern-main .cron-run-btn:hover,
.admin-modern-main .cron-logs-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
}

.admin-modern-main .cron-toggle-on {
    border-color: rgba(95, 195, 148, 0.44) !important;
    background: rgba(22, 90, 67, 0.68) !important;
    color: #99f0cb !important;
}

.admin-modern-main .cron-toggle-off {
    border-color: rgba(142, 159, 188, 0.44) !important;
    background: rgba(43, 57, 80, 0.68) !important;
    color: #c8d7ec !important;
}

.admin-modern-main .cron-run-btn {
    border-color: rgba(103, 197, 228, 0.44) !important;
    background: rgba(18, 73, 91, 0.7) !important;
    color: #8de9ff !important;
}

.admin-modern-main .cron-logs-btn {
    border-color: rgba(124, 165, 202, 0.46) !important;
    background: rgba(22, 53, 80, 0.68) !important;
    color: #b7d7f3 !important;
}

.admin-modern-main .cron-logs-panel {
    border-color: rgba(121, 167, 202, 0.34) !important;
}

.admin-modern-main .cron-logs-header {
    border-color: rgba(116, 161, 196, 0.32) !important;
    background: rgba(9, 31, 50, 0.64) !important;
}

.admin-modern-main .cron-logs-header h3 {
    color: #d3e7fa !important;
}

.admin-modern-main .cron-logs-close {
    color: #9ec2de !important;
}

.admin-modern-main .cron-logs-table thead tr {
    border-bottom: 1px solid rgba(116, 161, 196, 0.32);
    background: rgba(9, 31, 50, 0.64);
}

.admin-modern-main .cron-logs-table th {
    color: #8db1ce !important;
}

.admin-modern-main .cron-logs-row {
    border-bottom: 1px solid rgba(101, 146, 181, 0.24);
    color: #d3e7fa;
}

.admin-modern-main .cron-logs-row:hover {
    background: rgba(17, 52, 80, 0.46);
}

/* Acabamento visual da tela de Logs de Sistema */
.admin-modern-main .system-logs-kpi {
    transition: transform 0.16s ease, filter 0.16s ease;
}

.admin-modern-main .system-logs-kpi:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.admin-modern-main .system-logs-kpi-total {
    border-color: rgba(116, 179, 226, 0.36) !important;
    background: linear-gradient(135deg, rgba(20, 58, 88, 0.8), rgba(12, 39, 62, 0.74)) !important;
}

.admin-modern-main .system-logs-kpi-create {
    border-color: rgba(90, 198, 143, 0.36) !important;
    background: linear-gradient(135deg, rgba(27, 98, 72, 0.56), rgba(17, 67, 49, 0.52)) !important;
}

.admin-modern-main .system-logs-kpi-update {
    border-color: rgba(103, 201, 235, 0.38) !important;
    background: linear-gradient(135deg, rgba(19, 71, 90, 0.62), rgba(13, 52, 71, 0.58)) !important;
}

.admin-modern-main .system-logs-kpi-delete {
    border-color: rgba(245, 126, 126, 0.38) !important;
    background: linear-gradient(135deg, rgba(117, 39, 51, 0.6), rgba(84, 28, 40, 0.56)) !important;
}

.admin-modern-main .system-logs-kpi-settle {
    border-color: rgba(235, 188, 113, 0.38) !important;
    background: linear-gradient(135deg, rgba(99, 70, 28, 0.58), rgba(74, 53, 23, 0.54)) !important;
}

.admin-modern-main .system-logs-kpi p[class*="text-slate-500"] {
    color: #9ec2de !important;
}

.admin-modern-main .system-logs-kpi p[class*="text-2xl"] {
    color: #ecf7ff !important;
}

.admin-modern-main .system-logs-table-wrap {
    border-color: rgba(124, 168, 203, 0.34) !important;
}

.admin-modern-main .system-logs-row {
    transition: background 0.16s ease;
}

.admin-modern-main .system-logs-row:hover {
    background: rgba(18, 51, 80, 0.5) !important;
}

.admin-modern-main .logs-role-badge,
.admin-modern-main .logs-action-badge,
.admin-modern-main .logs-module-tag {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid transparent;
    padding: 0.18rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.admin-modern-main .logs-module-tag {
    border-color: rgba(133, 173, 208, 0.36);
    background: rgba(20, 52, 80, 0.64);
    color: #bee2ff;
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.68rem;
}

.admin-modern-main .logs-role-admin {
    border-color: rgba(101, 171, 225, 0.4);
    background: rgba(20, 63, 95, 0.66);
    color: #a8ddff;
}

.admin-modern-main .logs-role-teacher {
    border-color: rgba(102, 190, 162, 0.42);
    background: rgba(19, 74, 63, 0.62);
    color: #98f1d3;
}

.admin-modern-main .logs-role-support {
    border-color: rgba(233, 187, 115, 0.42);
    background: rgba(86, 62, 26, 0.58);
    color: #ffd89d;
}

.admin-modern-main .logs-role-default {
    border-color: rgba(139, 160, 190, 0.4);
    background: rgba(39, 54, 76, 0.62);
    color: #cfdef2;
}

.admin-modern-main .logs-action-create {
    border-color: rgba(90, 198, 143, 0.44);
    background: rgba(22, 95, 69, 0.62);
    color: #92f1cb;
}

.admin-modern-main .logs-action-update {
    border-color: rgba(103, 201, 235, 0.44);
    background: rgba(18, 74, 95, 0.64);
    color: #97eaff;
}

.admin-modern-main .logs-action-delete {
    border-color: rgba(245, 126, 126, 0.44);
    background: rgba(115, 34, 48, 0.64);
    color: #ffb6bf;
}

.admin-modern-main .logs-action-settle {
    border-color: rgba(235, 188, 113, 0.44);
    background: rgba(92, 65, 26, 0.62);
    color: #ffd59a;
}

.admin-modern-main .logs-action-default {
    border-color: rgba(134, 168, 203, 0.4);
    background: rgba(32, 56, 82, 0.62);
    color: #c4ddf6;
}

.admin-modern-main .logs-details-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    border: 1px solid rgba(101, 183, 224, 0.4);
    background: rgba(14, 58, 79, 0.56);
    color: #7fdfff !important;
    padding: 0.18rem 0.56rem;
}

.admin-modern-main .logs-details-trigger:hover {
    filter: brightness(1.08);
}

.admin-modern-main .logs-json {
    border-color: rgba(127, 171, 204, 0.34) !important;
    background: rgba(10, 38, 61, 0.72) !important;
    color: #c8e7ff !important;
}

/* Acabamento visual do modulo Intercambio Aluno */
.admin-modern-main .exchange-kpi {
    transition: transform 0.16s ease, filter 0.16s ease;
}

.admin-modern-main .exchange-kpi:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.admin-modern-main .exchange-kpi-pending {
    border-color: rgba(241, 198, 121, 0.4) !important;
    background: linear-gradient(135deg, rgba(95, 73, 34, 0.62), rgba(73, 56, 26, 0.56)) !important;
}

.admin-modern-main .exchange-kpi-pending p[class*="text-amber-600"],
.admin-modern-main .exchange-kpi-pending p[class*="text-amber-700"] {
    color: #ffd490 !important;
}

.admin-modern-main .exchange-kpi-viewed {
    border-color: rgba(114, 188, 226, 0.42) !important;
    background: linear-gradient(135deg, rgba(21, 69, 90, 0.68), rgba(14, 52, 72, 0.62)) !important;
}

.admin-modern-main .exchange-kpi-viewed p[class*="text-sky-600"],
.admin-modern-main .exchange-kpi-viewed p[class*="text-sky-700"] {
    color: #9ce8ff !important;
}

.admin-modern-main .exchange-kpi-approved {
    border-color: rgba(90, 198, 143, 0.4) !important;
    background: linear-gradient(135deg, rgba(27, 98, 72, 0.58), rgba(17, 67, 49, 0.54)) !important;
}

.admin-modern-main .exchange-kpi-approved p[class*="text-emerald-600"],
.admin-modern-main .exchange-kpi-approved p[class*="text-emerald-700"] {
    color: #90f2ca !important;
}

.admin-modern-main .exchange-kpi-rejected {
    border-color: rgba(245, 126, 126, 0.4) !important;
    background: linear-gradient(135deg, rgba(117, 39, 51, 0.62), rgba(84, 28, 40, 0.58)) !important;
}

.admin-modern-main .exchange-kpi-rejected p[class*="text-rose-600"],
.admin-modern-main .exchange-kpi-rejected p[class*="text-rose-700"] {
    color: #ffb0ba !important;
}

.admin-modern-main .exchange-filter-wrap,
.admin-modern-main .exchange-filter-form {
    gap: 0.6rem;
}

.admin-modern-main .exchange-filter-clear {
    color: #97b6d1 !important;
}

.admin-modern-main .exchange-filter-clear:hover {
    color: #e6f4ff !important;
}

.admin-modern-main .exchange-table-wrap {
    border-color: rgba(124, 168, 203, 0.34) !important;
}

.admin-modern-main .exchange-row:hover {
    background: rgba(18, 51, 80, 0.5) !important;
}

.admin-modern-main .exchange-status-pill {
    border: 1px solid rgba(130, 172, 204, 0.4);
}

.admin-modern-main .exchange-open-btn {
    border-color: rgba(104, 187, 226, 0.46) !important;
    background: rgba(13, 60, 83, 0.58) !important;
    color: #8de8ff !important;
}

.admin-modern-main .exchange-open-btn:hover {
    filter: brightness(1.08);
}

.admin-modern-main .exchange-page-btn {
    border-color: rgba(122, 164, 197, 0.4) !important;
    background: rgba(13, 39, 61, 0.78) !important;
    color: #cde7ff !important;
}

.admin-modern-main .exchange-page-btn:hover {
    border-color: rgba(136, 194, 241, 0.58) !important;
    color: #eff9ff !important;
}

.admin-modern-main .exchange-panel {
    border-color: rgba(124, 168, 203, 0.34) !important;
}

.admin-modern-main .exchange-save-btn {
    box-shadow: 0 12px 24px rgba(10, 58, 84, 0.34);
}

/* Acabamento visual do modulo Arsenal Digital */
.admin-modern-main .arsenal-shell .arsenal-kpi {
    transition: transform 0.16s ease, filter 0.16s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 24px rgba(3, 13, 26, 0.28);
}

.admin-modern-main .arsenal-shell .arsenal-kpi:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.admin-modern-main .arsenal-shell .arsenal-kpi-total {
    border-color: rgba(106, 198, 255, 0.58) !important;
    background: linear-gradient(135deg, rgba(24, 78, 118, 0.9), rgba(13, 46, 73, 0.86)) !important;
}

.admin-modern-main .arsenal-shell .arsenal-kpi-published {
    border-color: rgba(90, 198, 143, 0.58) !important;
    background: linear-gradient(135deg, rgba(36, 118, 84, 0.88), rgba(20, 76, 56, 0.82)) !important;
}

.admin-modern-main .arsenal-shell .arsenal-kpi-categories {
    border-color: rgba(161, 153, 255, 0.58) !important;
    background: linear-gradient(135deg, rgba(56, 64, 132, 0.86), rgba(34, 40, 90, 0.8)) !important;
}

.admin-modern-main .arsenal-shell .arsenal-kpi-files {
    border-color: rgba(99, 201, 232, 0.58) !important;
    background: linear-gradient(135deg, rgba(23, 95, 118, 0.88), rgba(14, 64, 86, 0.82)) !important;
}

.admin-modern-main .arsenal-shell .arsenal-kpi-links {
    border-color: rgba(235, 188, 113, 0.58) !important;
    background: linear-gradient(135deg, rgba(121, 89, 36, 0.88), rgba(83, 61, 26, 0.82)) !important;
}

.admin-modern-main .arsenal-shell .arsenal-kpi p[class*="text-slate-500"] {
    color: #d2e9fb !important;
}

.admin-modern-main .arsenal-shell .arsenal-kpi p[class*="text-2xl"] {
    color: #f7fcff !important;
}

.admin-modern-main .arsenal-shell .arsenal-kpi-published p[class*="text-emerald-700"] {
    color: #90f2ca !important;
}

.admin-modern-main .arsenal-shell .arsenal-kpi-total p[class*="text-slate-500"] {
    color: #9be3ff !important;
}

.admin-modern-main .arsenal-shell .arsenal-kpi-categories p[class*="text-slate-500"] {
    color: #cdc9ff !important;
}

.admin-modern-main .arsenal-shell .arsenal-kpi-files p[class*="text-slate-500"] {
    color: #98ecff !important;
}

.admin-modern-main .arsenal-shell .arsenal-kpi-links p[class*="text-slate-500"] {
    color: #ffd89c !important;
}

.admin-modern-main .arsenal-shell .arsenal-tab-btn {
    border-color: rgba(124, 168, 203, 0.34) !important;
    background: rgba(13, 39, 61, 0.76) !important;
    color: #cde7ff !important;
    transition: all 0.14s ease;
}

.admin-modern-main .arsenal-shell .arsenal-tab-btn:hover {
    border-color: rgba(136, 194, 241, 0.58) !important;
    color: #eff9ff !important;
}

.admin-modern-main .arsenal-shell .arsenal-tab-active {
    border-color: rgba(115, 196, 241, 0.68) !important;
    background: linear-gradient(120deg, rgba(56, 148, 224, 0.96), rgba(37, 114, 177, 0.94)) !important;
    color: #ffffff !important;
}

.admin-modern-main .arsenal-shell form.rounded-xl.border.border-slate-200.bg-white,
.admin-modern-main .arsenal-shell article.rounded-xl.border.border-slate-200.bg-white,
.admin-modern-main .arsenal-shell .overflow-x-auto.rounded-xl.border.border-slate-200.bg-white {
    border-color: rgba(124, 168, 203, 0.34) !important;
    background: rgba(10, 37, 58, 0.74) !important;
}

.admin-modern-main .arsenal-shell .overflow-x-auto.rounded-xl.border.border-slate-200.bg-white tbody tr:hover {
    background: rgba(17, 48, 76, 0.52) !important;
}

.admin-modern-main .arsenal-shell a[class*="border-cyan-200"][class*="bg-cyan-50"] {
    border-color: rgba(103, 196, 236, 0.48) !important;
    background: rgba(14, 62, 86, 0.6) !important;
    color: #8de8ff !important;
}

.admin-modern-main .arsenal-shell a[class*="border-cyan-200"][class*="bg-cyan-50"]:hover {
    filter: brightness(1.08);
}

.admin-modern-main a[class*="border-slate-200"],
.admin-modern-main button[class*="border-slate-200"] {
    border-color: rgba(122, 164, 197, 0.34) !important;
    background: rgba(13, 39, 61, 0.72) !important;
    color: #d0e8fd !important;
}

.admin-modern-main a[class*="border-slate-200"]:hover,
.admin-modern-main button[class*="border-slate-200"]:hover {
    border-color: rgba(136, 194, 241, 0.56) !important;
    color: #eff9ff !important;
}

.admin-modern-theme,
.admin-modern-theme * {
    scrollbar-width: thin;
    scrollbar-color: rgba(119, 170, 211, 0.72) rgba(6, 24, 40, 0.72);
}

.admin-modern-theme ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.admin-modern-theme ::-webkit-scrollbar-track {
    background: rgba(6, 24, 40, 0.72);
}

.admin-modern-theme ::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(116, 173, 219, 0.78), rgba(77, 132, 177, 0.8));
    border-radius: 999px;
    border: 2px solid rgba(6, 24, 40, 0.72);
}

.admin-modern-theme ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(140, 197, 241, 0.85), rgba(92, 147, 192, 0.86));
}

.admin-modern-theme #sidebar nav {
    scrollbar-gutter: stable;
}

/* =====================================================================
   ADMIN MODERN LIGHT THEME (alternancia no administrativo)
   ===================================================================== */

.admin-theme-toggle {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    border: 1px solid rgba(136, 170, 205, 0.48);
    background: rgba(162, 190, 220, 0.34);
    color: #5d7898;
    transition: all 0.18s ease;
}

.admin-theme-toggle:hover {
    background: rgba(176, 203, 230, 0.56);
    border-color: rgba(124, 160, 196, 0.72);
    color: #2e4a68;
}

html.admin-theme-light body {
    background: #d9e6f2 !important;
    color: #23384d !important;
}

html.admin-theme-light .admin-modern-theme {
    color: #23384d;
    background: #d9e6f2 !important;
}

html.admin-theme-light .admin-modern-shell {
    background:
        radial-gradient(1160px 540px at 55% 9%, rgba(151, 188, 223, 0.46), transparent 64%),
        radial-gradient(900px 430px at 40% 84%, rgba(172, 203, 232, 0.42), transparent 72%),
        linear-gradient(118deg, #d5e3f1 0%, #cddff0 30%, #d8e6f3 72%, #d3e2f0 100%);
}

html.admin-theme-light .admin-modern-shell::before {
    opacity: 0.6;
    background-image:
        radial-gradient(2px 2px at 9% 14%, rgba(74, 100, 127, 0.35), transparent 60%),
        radial-gradient(2px 2px at 26% 61%, rgba(95, 118, 141, 0.3), transparent 60%),
        radial-gradient(2px 2px at 43% 22%, rgba(80, 106, 132, 0.28), transparent 60%),
        radial-gradient(2px 2px at 74% 31%, rgba(90, 114, 137, 0.28), transparent 60%),
        radial-gradient(2px 2px at 91% 77%, rgba(73, 98, 123, 0.28), transparent 60%);
}

html.admin-theme-light .admin-modern-sidebar {
    border-right: 1px solid rgba(136, 168, 199, 0.48);
    background: linear-gradient(180deg, rgba(198, 215, 232, 0.92), rgba(183, 204, 225, 0.95));
    box-shadow: 0 18px 46px rgba(79, 113, 149, 0.2);
}

html.admin-theme-light .admin-modern-sidebar .border-slate-800 {
    border-color: rgba(133, 166, 197, 0.34) !important;
}

html.admin-theme-light .admin-modern-sidebar h1,
html.admin-theme-light .admin-modern-sidebar p[class*="text-sm"] {
    color: #22364a !important;
}

html.admin-theme-light .admin-modern-sidebar p[class*="text-cyan-400"] {
    color: #0ea5e9 !important;
}

html.admin-theme-light .admin-modern-sidebar nav a,
html.admin-theme-light .admin-modern-sidebar nav button {
    color: #1f3448 !important;
    background: transparent !important;
}

html.admin-theme-light .admin-modern-sidebar nav a:hover,
html.admin-theme-light .admin-modern-sidebar nav button:hover {
    background: rgba(156, 190, 224, 0.42) !important;
    color: #184b80 !important;
}

html.admin-theme-light .admin-modern-sidebar nav a[class*="bg-slate-800"],
html.admin-theme-light .admin-modern-sidebar nav button[class*="bg-slate-800"] {
    background: linear-gradient(90deg, rgba(141, 183, 223, 0.56), rgba(176, 208, 240, 0.64)) !important;
    color: #1c67c2 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

html.admin-theme-light .admin-modern-sidebar .text-slate-400 {
    color: #5b7490 !important;
}

html.admin-theme-light .admin-modern-sidebar .text-slate-300 {
    color: #2b4055 !important;
}

html.admin-theme-light .admin-modern-sidebar .text-slate-100 {
    color: #20364b !important;
}

html.admin-theme-light .admin-modern-sidebar .text-rose-300 {
    color: #c24141 !important;
}

html.admin-theme-light .admin-modern-sidebar .hover\:text-rose-200:hover {
    color: #a61f1f !important;
}

html.admin-theme-light .admin-modern-sidebar .bg-cyan-400\/80,
html.admin-theme-light .admin-modern-sidebar .bg-cyan-400 {
    background-color: #2aa7f6 !important;
}

html.admin-theme-light .admin-modern-sidebar [data-cadastro-panel],
html.admin-theme-light .admin-modern-sidebar [data-api-panel] {
    background: rgba(236, 245, 253, 0.98) !important;
    border-color: rgba(132, 168, 201, 0.55) !important;
    box-shadow: 0 22px 46px rgba(70, 104, 138, 0.28) !important;
}

html.admin-theme-light .admin-modern-sidebar [data-cadastro-panel] a,
html.admin-theme-light .admin-modern-sidebar [data-api-panel] a {
    color: #233a51 !important;
}

html.admin-theme-light .admin-modern-sidebar [data-cadastro-panel] a:hover,
html.admin-theme-light .admin-modern-sidebar [data-api-panel] a:hover {
    background: rgba(166, 197, 228, 0.46) !important;
    color: #134376 !important;
}

html.admin-theme-light .admin-modern-sidebar [data-cadastro-panel] a[class*="bg-slate-800"],
html.admin-theme-light .admin-modern-sidebar [data-api-panel] a[class*="bg-slate-800"] {
    background: linear-gradient(90deg, rgba(143, 184, 223, 0.58), rgba(181, 212, 241, 0.66)) !important;
    color: #1e68c1 !important;
}

html.admin-theme-light .admin-sidebar-footer {
    border-top-color: rgba(134, 169, 200, 0.46) !important;
}

html.admin-theme-light .admin-sidebar-company-card,
html.admin-theme-light .admin-sidebar-user-card {
    border: 1px solid rgba(121, 160, 194, 0.58);
    background: linear-gradient(180deg, rgba(233, 244, 253, 0.92), rgba(222, 237, 250, 0.92));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 10px 20px rgba(86, 123, 160, 0.12);
}

html.admin-theme-light .admin-sidebar-kicker {
    color: #1198e3 !important;
}

html.admin-theme-light .admin-sidebar-company-name,
html.admin-theme-light .admin-sidebar-user-name {
    color: #1c344a !important;
}

html.admin-theme-light .admin-sidebar-company-doc,
html.admin-theme-light .admin-sidebar-user-role {
    color: #5f7993 !important;
}

html.admin-theme-light .admin-sidebar-company-switch {
    color: #1485ce !important;
    font-weight: 600;
}

html.admin-theme-light .admin-sidebar-company-switch:hover {
    color: #0f6fae !important;
}

html.admin-theme-light .admin-sidebar-logout {
    color: #c24646 !important;
    font-weight: 600;
}

html.admin-theme-light .admin-sidebar-logout:hover {
    color: #a32b2b !important;
}

html.admin-theme-light .admin-modern-header {
    border-color: rgba(136, 168, 199, 0.45) !important;
    background: rgba(208, 223, 238, 0.84) !important;
}

html.admin-theme-light .admin-modern-header .theme-toggle {
    border-color: rgba(130, 164, 198, 0.52);
    background: rgba(164, 192, 220, 0.42);
    color: #4f6e8f;
}

html.admin-theme-light .admin-modern-header .theme-toggle:hover {
    background: rgba(178, 205, 231, 0.66);
    color: #2c4966;
}

html.admin-theme-light .admin-modern-main {
    color: #22374b;
}

html.admin-theme-light .admin-modern-main h1,
html.admin-theme-light .admin-modern-main h2,
html.admin-theme-light .admin-modern-main h3,
html.admin-theme-light .admin-modern-main h4 {
    color: #0f1f30;
}

html.admin-theme-light .admin-modern-main [class*="text-slate-900"],
html.admin-theme-light .admin-modern-main [class*="text-slate-800"] {
    color: #122537 !important;
}

html.admin-theme-light .admin-modern-main [class*="text-slate-700"] {
    color: #2e4861 !important;
}

html.admin-theme-light .admin-modern-main [class*="text-slate-600"],
html.admin-theme-light .admin-modern-main [class*="text-slate-500"] {
    color: #5b748e !important;
}

html.admin-theme-light .admin-modern-main [class*="text-slate-400"] {
    color: #607a94 !important;
}

html.admin-theme-light .admin-modern-main [class*="text-slate-300"] {
    color: #4b6580 !important;
}

html.admin-theme-light .admin-modern-main [class*="text-slate-200"] {
    color: #35506b !important;
}

html.admin-theme-light .admin-modern-main [class*="text-slate-100"] {
    color: #1f3a54 !important;
}

html.admin-theme-light .admin-modern-main [class*="text-cyan-300"] {
    color: #1f74cf !important;
}

html.admin-theme-light .admin-modern-main [class*="bg-white"] {
    background: rgba(247, 251, 255, 0.92) !important;
    box-shadow: 0 16px 34px rgba(76, 111, 147, 0.14) !important;
}

html.admin-theme-light .admin-modern-main [class*="bg-slate-50"],
html.admin-theme-light .admin-modern-main [class*="bg-slate-100"] {
    background: rgba(239, 247, 253, 0.9) !important;
}

html.admin-theme-light .admin-modern-main [class*="bg-indigo-50"],
html.admin-theme-light .admin-modern-main [class*="bg-cyan-50"] {
    background: rgba(232, 242, 251, 0.92) !important;
}

html.admin-theme-light .admin-modern-main [class*="border-slate-100"],
html.admin-theme-light .admin-modern-main [class*="border-slate-200"],
html.admin-theme-light .admin-modern-main [class*="border-indigo-200"] {
    border-color: rgba(142, 174, 204, 0.54) !important;
}

html.admin-theme-light .admin-modern-theme input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]),
html.admin-theme-light .admin-modern-theme textarea,
html.admin-theme-light .admin-modern-theme select {
    border-color: rgba(132, 168, 201, 0.62) !important;
    background: rgba(245, 250, 255, 0.95) !important;
    color: #20374e !important;
}

html.admin-theme-light .admin-modern-theme input::placeholder,
html.admin-theme-light .admin-modern-theme textarea::placeholder {
    color: #718aa4 !important;
}

html.admin-theme-light .admin-modern-theme input:focus,
html.admin-theme-light .admin-modern-theme textarea:focus,
html.admin-theme-light .admin-modern-theme select:focus {
    border-color: rgba(102, 157, 210, 0.86) !important;
    box-shadow: 0 0 0 1px rgba(95, 151, 205, 0.28) inset !important;
}

html.admin-theme-light .admin-modern-theme header a[class*="border-rose-200"] {
    border-color: rgba(190, 122, 122, 0.42) !important;
    background: rgba(255, 238, 238, 0.68) !important;
    color: #8f2a2a !important;
}

html.admin-theme-light .admin-modern-theme header a[class*="border-rose-200"]:hover {
    background: rgba(255, 229, 229, 0.88) !important;
}

html.admin-theme-light .admin-modern-theme #fab-toggle {
    border: 1px solid rgba(111, 159, 208, 0.52);
    background: linear-gradient(120deg, rgba(86, 157, 224, 0.96), rgba(63, 128, 191, 0.94));
    color: #eff7ff !important;
}

html.admin-theme-light .admin-modern-theme #fab-menu {
    border-color: rgba(132, 168, 201, 0.54) !important;
    background: rgba(245, 251, 255, 0.96) !important;
}

html.admin-theme-light .admin-modern-theme #fab-menu a {
    color: #1f3348;
}

html.admin-theme-light .admin-modern-theme #fab-menu a:hover {
    background: rgba(197, 220, 241, 0.46);
}

html.admin-theme-light .admin-modern-main table thead tr {
    border-color: rgba(140, 172, 202, 0.55) !important;
}

html.admin-theme-light .admin-modern-main table tbody tr {
    border-color: rgba(145, 178, 207, 0.38) !important;
}

html.admin-theme-light .admin-modern-main table tbody tr:hover {
    background: rgba(200, 223, 243, 0.44) !important;
}

html.admin-theme-light .admin-modern-main [class*="bg-emerald-50"] {
    background: rgba(224, 247, 237, 0.92) !important;
    border-color: rgba(116, 192, 155, 0.45) !important;
    color: #0f6a48 !important;
}

html.admin-theme-light .admin-modern-main [class*="bg-rose-50"] {
    background: rgba(255, 237, 237, 0.92) !important;
    border-color: rgba(218, 138, 138, 0.46) !important;
    color: #9c2e2e !important;
}

html.admin-theme-light .admin-modern-main .requests-card-open {
    background: rgba(225, 242, 255, 0.93) !important;
    border-color: rgba(105, 172, 224, 0.48) !important;
}

html.admin-theme-light .admin-modern-main .requests-card-open p[class*="text-cyan-700"],
html.admin-theme-light .admin-modern-main .requests-card-open p[class*="text-cyan-900"] {
    color: #126aa0 !important;
}

html.admin-theme-light .admin-modern-main .requests-card-resolved {
    background: rgba(224, 247, 237, 0.94) !important;
    border-color: rgba(116, 192, 155, 0.5) !important;
}

html.admin-theme-light .admin-modern-main .requests-card-resolved p[class*="text-emerald-700"] {
    color: #126743 !important;
}

html.admin-theme-light .admin-modern-main .requests-card-mobile {
    background: rgba(237, 239, 255, 0.94) !important;
    border-color: rgba(136, 151, 228, 0.5) !important;
}

html.admin-theme-light .admin-modern-main .requests-card-mobile p[class*="text-indigo-700"],
html.admin-theme-light .admin-modern-main .requests-card-mobile p[class*="text-indigo-900"] {
    color: #3440a8 !important;
}

html.admin-theme-light .admin-modern-main .requests-card-additives {
    background: rgba(224, 248, 246, 0.94) !important;
    border-color: rgba(105, 199, 188, 0.5) !important;
}

html.admin-theme-light .admin-modern-main .requests-card-additives p[class*="text-cyan-700"],
html.admin-theme-light .admin-modern-main .requests-card-additives p[class*="text-cyan-900"] {
    color: #0d6371 !important;
}

html.admin-theme-light .admin-modern-main .finance-card-open {
    background: rgba(226, 243, 255, 0.94) !important;
    border-color: rgba(108, 173, 224, 0.5) !important;
}

html.admin-theme-light .admin-modern-main .finance-card-open > p:first-child {
    color: #19689d !important;
}

html.admin-theme-light .admin-modern-main .finance-card-open > p:last-child {
    color: #114162 !important;
}

html.admin-theme-light .admin-modern-main .finance-card-paid {
    background: rgba(225, 246, 236, 0.95) !important;
    border-color: rgba(112, 191, 153, 0.5) !important;
}

html.admin-theme-light .admin-modern-main .finance-card-paid > p:first-child {
    color: #176745 !important;
}

html.admin-theme-light .admin-modern-main .finance-card-paid > p:last-child {
    color: #12462f !important;
}

html.admin-theme-light .admin-modern-main .finance-card-partial {
    background: rgba(255, 244, 222, 0.95) !important;
    border-color: rgba(218, 183, 117, 0.54) !important;
}

html.admin-theme-light .admin-modern-main .finance-card-partial > p:first-child {
    color: #8c5714 !important;
}

html.admin-theme-light .admin-modern-main .finance-card-partial > p:last-child {
    color: #6a410f !important;
}

html.admin-theme-light .admin-modern-main .finance-card-overdue {
    background: rgba(255, 229, 235, 0.95) !important;
    border-color: rgba(221, 130, 148, 0.56) !important;
}

html.admin-theme-light .admin-modern-main .finance-card-overdue > p:first-child {
    color: #a43655 !important;
}

html.admin-theme-light .admin-modern-main .finance-card-overdue > p:last-child {
    color: #7b2940 !important;
}

html.admin-theme-light .admin-modern-main .finance-card-draft {
    background: rgba(234, 239, 249, 0.95) !important;
    border-color: rgba(152, 168, 196, 0.52) !important;
}

html.admin-theme-light .admin-modern-main .finance-card-draft > p:first-child {
    color: #4c5f80 !important;
}

html.admin-theme-light .admin-modern-main .finance-card-draft > p:last-child {
    color: #35455f !important;
}

html.admin-theme-light .admin-modern-main .finance-card-paid-value {
    background: rgba(224, 247, 237, 0.94) !important;
    border-color: rgba(116, 192, 155, 0.5) !important;
}

html.admin-theme-light .admin-modern-main .finance-card-paid-value p[class*="text-emerald-700"] {
    color: #126743 !important;
}

html.admin-theme-light .admin-modern-main .finance-card-overdue-value {
    background: rgba(255, 236, 241, 0.94) !important;
    border-color: rgba(223, 142, 160, 0.52) !important;
}

html.admin-theme-light .admin-modern-main .finance-card-overdue-value p[class*="text-rose-700"] {
    color: #a03654 !important;
}

html.admin-theme-light .admin-modern-main .finance-card-pending-value {
    background: rgba(255, 245, 225, 0.94) !important;
    border-color: rgba(220, 191, 135, 0.56) !important;
}

html.admin-theme-light .admin-modern-main .finance-card-pending-value p[class*="text-amber-700"] {
    color: #9a5d12 !important;
}

html.admin-theme-light .admin-modern-main .finance-card-settled {
    background: rgba(225, 244, 249, 0.94) !important;
    border-color: rgba(121, 190, 210, 0.52) !important;
}

html.admin-theme-light .admin-modern-main .finance-card-settled p[class*="text-cyan-700"] {
    color: #0d6371 !important;
}

html.admin-theme-light .admin-modern-main .finance-card-nfe {
    background: rgba(236, 239, 255, 0.95) !important;
    border-color: rgba(145, 156, 224, 0.54) !important;
}

html.admin-theme-light .admin-modern-main .finance-card-nfe p[class*="text-indigo-700"] {
    color: #3642aa !important;
}

html.admin-theme-light .admin-modern-main .finance-table-wrap {
    border-color: rgba(125, 166, 202, 0.5) !important;
    background: rgba(238, 246, 254, 0.96) !important;
}

html.admin-theme-light .admin-modern-main .finance-scroll-proxy-wrap {
    border-color: rgba(125, 166, 202, 0.44);
    background: rgba(231, 241, 250, 0.92);
}

html.admin-theme-light .admin-modern-main .finance-table thead tr {
    border-color: rgba(144, 176, 207, 0.48) !important;
    background: rgba(220, 235, 247, 0.94) !important;
}

html.admin-theme-light .admin-modern-main .finance-table thead th {
    color: #456886 !important;
}

html.admin-theme-light .admin-modern-main .finance-table tbody .finance-row {
    border-color: rgba(150, 181, 210, 0.42) !important;
}

html.admin-theme-light .admin-modern-main .finance-table tbody .finance-row:hover {
    background: rgba(222, 238, 250, 0.82) !important;
}

html.admin-theme-light .admin-modern-main .finance-table tbody td {
    color: #22374c !important;
}

html.admin-theme-light .admin-modern-main .finance-helper-text,
html.admin-theme-light .admin-modern-main .finance-table tbody p[class*="text-slate-500"],
html.admin-theme-light .admin-modern-main .finance-table tbody p[class*="text-slate-600"],
html.admin-theme-light .admin-modern-main .finance-table tbody p[class*="text-slate-400"] {
    color: #4f6b84 !important;
}

html.admin-theme-light .admin-modern-main .finance-status-open {
    border-color: rgba(113, 173, 219, 0.58) !important;
    background: rgba(220, 239, 252, 0.94) !important;
    color: #1d5f8e !important;
}

html.admin-theme-light .admin-modern-main .finance-status-paid {
    border-color: rgba(121, 193, 157, 0.58) !important;
    background: rgba(220, 246, 235, 0.94) !important;
    color: #1a6a50 !important;
}

html.admin-theme-light .admin-modern-main .finance-status-partial {
    border-color: rgba(215, 182, 120, 0.6) !important;
    background: rgba(255, 244, 224, 0.95) !important;
    color: #915a0f !important;
}

html.admin-theme-light .admin-modern-main .finance-status-overdue {
    border-color: rgba(220, 141, 156, 0.6) !important;
    background: rgba(255, 236, 241, 0.95) !important;
    color: #9b3450 !important;
}

html.admin-theme-light .admin-modern-main .finance-status-draft {
    border-color: rgba(154, 171, 197, 0.58) !important;
    background: rgba(234, 240, 248, 0.95) !important;
    color: #4c5f7b !important;
}

html.admin-theme-light .admin-modern-main .finance-boleto-issued {
    border-color: rgba(122, 194, 158, 0.58) !important;
    background: rgba(222, 247, 236, 0.94) !important;
    color: #1a6a50 !important;
}

html.admin-theme-light .admin-modern-main .finance-boleto-pending {
    border-color: rgba(215, 182, 120, 0.6) !important;
    background: rgba(255, 244, 224, 0.95) !important;
    color: #915a0f !important;
}

html.admin-theme-light .admin-modern-main .finance-boleto-paid {
    border-color: rgba(127, 191, 212, 0.58) !important;
    background: rgba(224, 244, 250, 0.94) !important;
    color: #0f6575 !important;
}

html.admin-theme-light .admin-modern-main .finance-boleto-overdue {
    border-color: rgba(220, 141, 156, 0.6) !important;
    background: rgba(255, 236, 241, 0.95) !important;
    color: #9b3450 !important;
}

html.admin-theme-light .admin-modern-main .finance-boleto-default {
    border-color: rgba(154, 171, 197, 0.58) !important;
    background: rgba(234, 240, 248, 0.95) !important;
    color: #4c5f7b !important;
}

html.admin-theme-light .admin-modern-main .finance-paid-box {
    border-color: rgba(117, 193, 154, 0.58) !important;
    background: rgba(223, 247, 236, 0.95) !important;
}

html.admin-theme-light .admin-modern-main .finance-paid-box p {
    color: #176546 !important;
}

html.admin-theme-light .admin-modern-main .finance-nfe-issued {
    border-color: rgba(145, 159, 226, 0.58) !important;
    background: rgba(233, 239, 255, 0.95) !important;
}

html.admin-theme-light .admin-modern-main .finance-nfe-issued p {
    color: #35439c !important;
}

html.admin-theme-light .admin-modern-main .finance-link {
    color: #2e58a2 !important;
}

html.admin-theme-light .admin-modern-main .finance-link:hover {
    color: #1f3f79 !important;
}

html.admin-theme-light .admin-modern-main .finance-btn-settle {
    border-color: rgba(127, 191, 212, 0.58) !important;
    background: rgba(223, 244, 250, 0.95) !important;
    color: #0f6575 !important;
}

html.admin-theme-light .admin-modern-main .finance-btn-boleto {
    border-color: rgba(145, 158, 226, 0.58) !important;
    background: rgba(233, 239, 255, 0.95) !important;
    color: #35439c !important;
}

html.admin-theme-light .admin-modern-main .finance-btn-sync {
    border-color: rgba(140, 171, 203, 0.56) !important;
    background: rgba(229, 240, 250, 0.95) !important;
    color: #345f85 !important;
}

html.admin-theme-light .admin-modern-main .finance-btn-nfe {
    border-color: rgba(145, 158, 226, 0.58) !important;
    background: rgba(233, 239, 255, 0.95) !important;
    color: #35439c !important;
}

html.admin-theme-light .admin-modern-main .finance-btn-whatsapp {
    border-color: rgba(122, 194, 158, 0.58) !important;
    background: rgba(223, 247, 236, 0.95) !important;
    color: #1a6a50 !important;
}

html.admin-theme-light .admin-modern-main .finance-btn-chatwoot {
    border-color: rgba(126, 191, 212, 0.58) !important;
    background: rgba(223, 244, 250, 0.95) !important;
    color: #0f6575 !important;
}

html.admin-theme-light .admin-modern-main .finance-btn-danger {
    border-color: rgba(220, 141, 156, 0.58) !important;
    background: rgba(255, 236, 241, 0.95) !important;
    color: #9b3450 !important;
}

html.admin-theme-light .admin-modern-main .finance-reports-nav-btn {
    border-color: rgba(137, 173, 204, 0.56) !important;
    background: rgba(227, 239, 250, 0.95) !important;
    color: #2f5f86 !important;
}

html.admin-theme-light .admin-modern-main .finance-reports-nav-btn:hover {
    background: rgba(215, 232, 246, 0.95) !important;
    color: #204968 !important;
}

html.admin-theme-light .admin-modern-main .finance-reports-export-btn {
    border-color: rgba(114, 193, 220, 0.62) !important;
    background: linear-gradient(135deg, #2eb5dc, #1f99c4) !important;
    color: #f7fdff !important;
}

html.admin-theme-light .admin-modern-main .finance-reports-filter,
html.admin-theme-light .admin-modern-main .finance-reports-tabs,
html.admin-theme-light .admin-modern-main .finance-reports-chart,
html.admin-theme-light .admin-modern-main .finance-reports-debtors,
html.admin-theme-light .admin-modern-main .finance-reports-table-wrap {
    border-color: rgba(124, 164, 198, 0.52) !important;
    background: rgba(237, 246, 254, 0.96) !important;
}

html.admin-theme-light .admin-modern-main .finance-reports-tab-inactive {
    border-color: rgba(137, 173, 204, 0.56) !important;
    background: rgba(227, 239, 250, 0.95) !important;
    color: #2f5f86 !important;
}

html.admin-theme-light .admin-modern-main .finance-reports-tab-active {
    border: 1px solid rgba(118, 183, 224, 0.58) !important;
    background: linear-gradient(135deg, rgba(214, 235, 251, 0.98), rgba(203, 227, 246, 0.97)) !important;
    color: #1f4e73 !important;
}

html.admin-theme-light .admin-modern-main .finance-reports-kpi > p:first-child,
html.admin-theme-light .admin-modern-main .finance-reports-aging > p:first-child {
    color: #4e6f8c !important;
}

html.admin-theme-light .admin-modern-main .finance-reports-kpi > p:last-child,
html.admin-theme-light .admin-modern-main .finance-reports-aging > p:nth-child(2) {
    color: #1d3f5d !important;
}

html.admin-theme-light .admin-modern-main .finance-reports-aging > p:last-child {
    color: #4f6c85 !important;
}

html.admin-theme-light .admin-modern-main .finance-reports-kpi-invoiced,
html.admin-theme-light .admin-modern-main .finance-reports-aging-current {
    background: rgba(225, 242, 255, 0.95) !important;
    border-color: rgba(119, 182, 226, 0.56) !important;
}

html.admin-theme-light .admin-modern-main .finance-reports-kpi-received {
    background: rgba(224, 247, 236, 0.95) !important;
    border-color: rgba(116, 193, 154, 0.56) !important;
}

html.admin-theme-light .admin-modern-main .finance-reports-kpi-pending,
html.admin-theme-light .admin-modern-main .finance-reports-aging-1-30 {
    background: rgba(255, 244, 222, 0.95) !important;
    border-color: rgba(217, 186, 127, 0.58) !important;
}

html.admin-theme-light .admin-modern-main .finance-reports-kpi-overdue,
html.admin-theme-light .admin-modern-main .finance-reports-aging-61-90 {
    background: rgba(255, 235, 240, 0.95) !important;
    border-color: rgba(223, 141, 158, 0.58) !important;
}

html.admin-theme-light .admin-modern-main .finance-reports-kpi-settled {
    background: rgba(224, 244, 250, 0.95) !important;
    border-color: rgba(126, 190, 211, 0.58) !important;
}

html.admin-theme-light .admin-modern-main .finance-reports-kpi-default,
html.admin-theme-light .admin-modern-main .finance-reports-nfe-issued {
    background: rgba(234, 239, 255, 0.95) !important;
    border-color: rgba(146, 157, 224, 0.58) !important;
}

html.admin-theme-light .admin-modern-main .finance-reports-nfe-issued p[class*="text-indigo-700"] {
    color: #3543a1 !important;
}

html.admin-theme-light .admin-modern-main .finance-reports-nfe-pending {
    background: rgba(255, 244, 222, 0.95) !important;
    border-color: rgba(217, 186, 127, 0.58) !important;
}

html.admin-theme-light .admin-modern-main .finance-reports-nfe-pending p[class*="text-amber-700"] {
    color: #915910 !important;
}

html.admin-theme-light .admin-modern-main .finance-reports-nfe-failed {
    background: rgba(255, 235, 240, 0.95) !important;
    border-color: rgba(223, 141, 158, 0.58) !important;
}

html.admin-theme-light .admin-modern-main .finance-reports-nfe-failed p[class*="text-rose-700"] {
    color: #9b3450 !important;
}

html.admin-theme-light .admin-modern-main .finance-reports-chart-row {
    border-color: rgba(146, 177, 207, 0.46) !important;
    background: rgba(223, 238, 250, 0.82) !important;
}

html.admin-theme-light .admin-modern-main .finance-reports-chart-row > div:first-child {
    color: #4f6c85 !important;
}

html.admin-theme-light .admin-modern-main .finance-reports-bar-track {
    background: rgba(190, 215, 233, 0.72) !important;
}

html.admin-theme-light .admin-modern-main .finance-reports-bar-invoiced {
    background: linear-gradient(90deg, #2eb5dc, #1f99c4) !important;
}

html.admin-theme-light .admin-modern-main .finance-reports-bar-received {
    background: linear-gradient(90deg, #35c59a, #24a87f) !important;
}

html.admin-theme-light .admin-modern-main .finance-reports-table thead tr {
    border-color: rgba(145, 176, 206, 0.5) !important;
    background: rgba(218, 234, 246, 0.95) !important;
}

html.admin-theme-light .admin-modern-main .finance-reports-table thead th {
    color: #4a6a86 !important;
}

html.admin-theme-light .admin-modern-main .finance-reports-row {
    border-color: rgba(152, 182, 210, 0.42) !important;
}

html.admin-theme-light .admin-modern-main .finance-reports-row:hover {
    background: rgba(218, 236, 250, 0.86) !important;
}

html.admin-theme-light .admin-modern-main .finance-reports-table tbody td {
    color: #23384d !important;
}

html.admin-theme-light .admin-modern-main .finance-reports-pagination {
    color: #4f6c85 !important;
}

html.admin-theme-light .admin-modern-main .finance-reports-page-link {
    border-color: rgba(137, 173, 204, 0.56) !important;
    background: rgba(227, 239, 250, 0.95) !important;
    color: #2f5f86 !important;
}

html.admin-theme-light .admin-modern-main .finance-reports-page-link:hover {
    background: rgba(215, 232, 246, 0.95) !important;
    color: #204968 !important;
}

html.admin-theme-light .admin-modern-main .finance-reports-page-link-active {
    border: 1px solid rgba(118, 183, 224, 0.58) !important;
    background: linear-gradient(135deg, rgba(214, 235, 251, 0.98), rgba(203, 227, 246, 0.97)) !important;
    color: #1f4e73 !important;
}

html.admin-theme-light .admin-modern-main .finance-reports-aging-1-30 p[class*="text-amber-700"] {
    color: #915910 !important;
}

html.admin-theme-light .admin-modern-main .finance-reports-aging-31-60 {
    background: rgba(255, 241, 227, 0.95) !important;
    border-color: rgba(228, 176, 122, 0.58) !important;
}

html.admin-theme-light .admin-modern-main .finance-reports-aging-31-60 p[class*="text-orange-700"] {
    color: #9a5616 !important;
}

html.admin-theme-light .admin-modern-main .finance-reports-aging-61-90 p[class*="text-rose-700"] {
    color: #9b3450 !important;
}

html.admin-theme-light .admin-modern-main .finance-reports-aging-90-plus {
    background: rgba(255, 233, 233, 0.95) !important;
    border-color: rgba(226, 139, 139, 0.58) !important;
}

html.admin-theme-light .admin-modern-main .finance-reports-aging-90-plus p[class*="text-red-700"] {
    color: #9b2f2f !important;
}

html.admin-theme-light .admin-modern-main .courses-calendar-back-btn {
    border-color: rgba(137, 173, 204, 0.56) !important;
    background: rgba(227, 239, 250, 0.95) !important;
    color: #2f5f86 !important;
}

html.admin-theme-light .admin-modern-main .courses-calendar-back-btn:hover {
    background: rgba(215, 232, 246, 0.95) !important;
    color: #204968 !important;
}

html.admin-theme-light .admin-modern-main .courses-calendar-alert {
    border-color: rgba(217, 186, 127, 0.58) !important;
    background: rgba(255, 244, 222, 0.95) !important;
    color: #8e5911 !important;
}

html.admin-theme-light .admin-modern-main .courses-calendar-alert code {
    color: #6f430b !important;
    background: rgba(247, 230, 192, 0.95);
}

html.admin-theme-light .admin-modern-main .courses-calendar-kpi-events {
    background: rgba(234, 239, 255, 0.95) !important;
    border-color: rgba(146, 157, 224, 0.58) !important;
}

html.admin-theme-light .admin-modern-main .courses-calendar-kpi-events p[class*="text-indigo-700"] {
    color: #3543a1 !important;
}

html.admin-theme-light .admin-modern-main .courses-calendar-kpi-queued {
    background: rgba(224, 244, 250, 0.95) !important;
    border-color: rgba(126, 190, 211, 0.58) !important;
}

html.admin-theme-light .admin-modern-main .courses-calendar-kpi-queued p[class*="text-cyan-700"] {
    color: #0f6575 !important;
}

html.admin-theme-light .admin-modern-main .courses-calendar-kpi-sent {
    background: rgba(224, 247, 236, 0.95) !important;
    border-color: rgba(116, 193, 154, 0.56) !important;
}

html.admin-theme-light .admin-modern-main .courses-calendar-kpi-sent p[class*="text-emerald-700"] {
    color: #1a6a50 !important;
}

html.admin-theme-light .admin-modern-main .courses-calendar-filter,
html.admin-theme-light .admin-modern-main .courses-calendar-create,
html.admin-theme-light .admin-modern-main .courses-calendar-table-panel,
html.admin-theme-light .admin-modern-main .courses-calendar-activities,
html.admin-theme-light .admin-modern-main .courses-calendar-reminders {
    border-color: rgba(124, 164, 198, 0.52) !important;
    background: rgba(237, 246, 254, 0.96) !important;
}

html.admin-theme-light .admin-modern-main .courses-calendar-apply-btn {
    border: 1px solid rgba(118, 183, 224, 0.58) !important;
    background: linear-gradient(135deg, rgba(214, 235, 251, 0.98), rgba(203, 227, 246, 0.97)) !important;
    color: #1f4e73 !important;
}

html.admin-theme-light .admin-modern-main .courses-calendar-clear-btn {
    border-color: rgba(137, 173, 204, 0.56) !important;
    background: rgba(227, 239, 250, 0.95) !important;
    color: #2f5f86 !important;
}

html.admin-theme-light .admin-modern-main .courses-calendar-save-btn {
    border-color: rgba(139, 150, 234, 0.62) !important;
    background: linear-gradient(135deg, rgba(119, 118, 240, 0.98), rgba(98, 96, 222, 0.97)) !important;
    color: #f8f7ff !important;
}

html.admin-theme-light .admin-modern-main .courses-calendar-table-wrap {
    border-top: 1px solid rgba(148, 178, 206, 0.52);
}

html.admin-theme-light .admin-modern-main .courses-calendar-table thead tr {
    border-color: rgba(145, 176, 206, 0.5) !important;
    background: rgba(218, 234, 246, 0.95) !important;
}

html.admin-theme-light .admin-modern-main .courses-calendar-table thead th {
    color: #4a6a86 !important;
}

html.admin-theme-light .admin-modern-main .courses-calendar-row {
    border-color: rgba(152, 182, 210, 0.42) !important;
}

html.admin-theme-light .admin-modern-main .courses-calendar-row:hover {
    background: rgba(218, 236, 250, 0.86) !important;
}

html.admin-theme-light .admin-modern-main .courses-calendar-table tbody td {
    color: #23384d !important;
}

html.admin-theme-light .admin-modern-main .courses-calendar-table tbody p[class*="text-slate-500"],
html.admin-theme-light .admin-modern-main .courses-calendar-table tbody p[class*="text-slate-600"] {
    color: #4f6c85 !important;
}

html.admin-theme-light .admin-modern-main .courses-calendar-type-exam {
    border-color: rgba(217, 186, 127, 0.58) !important;
    background: rgba(255, 244, 222, 0.95) !important;
    color: #915910 !important;
}

html.admin-theme-light .admin-modern-main .courses-calendar-type-live {
    border-color: rgba(127, 191, 212, 0.58) !important;
    background: rgba(223, 244, 250, 0.95) !important;
    color: #0f6575 !important;
}

html.admin-theme-light .admin-modern-main .courses-calendar-type-activity {
    border-color: rgba(145, 158, 226, 0.58) !important;
    background: rgba(233, 239, 255, 0.95) !important;
    color: #35439c !important;
}

html.admin-theme-light .admin-modern-main .courses-calendar-type-default {
    border-color: rgba(154, 171, 197, 0.58) !important;
    background: rgba(234, 240, 248, 0.95) !important;
    color: #4c5f7b !important;
}

html.admin-theme-light .admin-modern-main .courses-calendar-activity-card,
html.admin-theme-light .admin-modern-main .courses-calendar-reminder-card {
    border-color: rgba(146, 177, 207, 0.46) !important;
    background: rgba(223, 238, 250, 0.82) !important;
}

html.admin-theme-light .admin-modern-main .courses-calendar-delete-btn {
    border-color: rgba(220, 141, 156, 0.58) !important;
    background: rgba(255, 236, 241, 0.95) !important;
    color: #9b3450 !important;
}

html.admin-theme-light .admin-modern-main .courses-calendar-activities p[class*="text-slate-500"],
html.admin-theme-light .admin-modern-main .courses-calendar-activities p[class*="text-slate-600"],
html.admin-theme-light .admin-modern-main .courses-calendar-reminders p[class*="text-slate-500"] {
    color: #4f6c85 !important;
}

html.admin-theme-light .admin-modern-main .signatures-kpi > p:first-child {
    color: #4e6f8c !important;
}

html.admin-theme-light .admin-modern-main .signatures-kpi > p:last-child {
    color: #1d3f5d !important;
}

html.admin-theme-light .admin-modern-main .signatures-kpi-integration {
    background: rgba(224, 244, 250, 0.95) !important;
    border-color: rgba(126, 190, 211, 0.58) !important;
}

html.admin-theme-light .admin-modern-main .signatures-kpi-total {
    background: rgba(225, 242, 255, 0.95) !important;
    border-color: rgba(119, 182, 226, 0.56) !important;
}

html.admin-theme-light .admin-modern-main .signatures-kpi-draft {
    background: rgba(234, 240, 248, 0.95) !important;
    border-color: rgba(154, 171, 197, 0.58) !important;
}

html.admin-theme-light .admin-modern-main .signatures-kpi-sent {
    background: rgba(224, 244, 250, 0.95) !important;
    border-color: rgba(126, 190, 211, 0.58) !important;
}

html.admin-theme-light .admin-modern-main .signatures-kpi-signed {
    background: rgba(224, 247, 236, 0.95) !important;
    border-color: rgba(116, 193, 154, 0.56) !important;
}

html.admin-theme-light .admin-modern-main .signatures-kpi-integration p[class*="text-rose-700"] {
    color: #9b3450 !important;
}

html.admin-theme-light .admin-modern-main .signatures-kpi-integration p[class*="text-amber-700"] {
    color: #915910 !important;
}

html.admin-theme-light .admin-modern-main .signatures-kpi-integration p[class*="text-emerald-700"],
html.admin-theme-light .admin-modern-main .signatures-kpi-signed p[class*="text-emerald-700"] {
    color: #1a6a50 !important;
}

html.admin-theme-light .admin-modern-main .signatures-alert {
    border-color: rgba(217, 186, 127, 0.58) !important;
    background: rgba(255, 244, 222, 0.95) !important;
    color: #8e5911 !important;
}

html.admin-theme-light .admin-modern-main .signatures-webhook,
html.admin-theme-light .admin-modern-main .signatures-create-form,
html.admin-theme-light .admin-modern-main .signatures-filter-form,
html.admin-theme-light .admin-modern-main .signatures-events,
html.admin-theme-light .admin-modern-main .signatures-table-wrap {
    border-color: rgba(124, 164, 198, 0.52) !important;
    background: rgba(237, 246, 254, 0.96) !important;
}

html.admin-theme-light .admin-modern-main .signatures-webhook p[class*="text-slate-500"],
html.admin-theme-light .admin-modern-main .signatures-create-form p[class*="text-slate-500"],
html.admin-theme-light .admin-modern-main .signatures-create-form p[class*="text-slate-600"],
html.admin-theme-light .admin-modern-main .signatures-events p[class*="text-slate-500"],
html.admin-theme-light .admin-modern-main .signatures-events p[class*="text-slate-600"] {
    color: #4f6c85 !important;
}

html.admin-theme-light .admin-modern-main .signatures-webhook-input {
    border-color: rgba(145, 176, 206, 0.5) !important;
    background: rgba(223, 238, 250, 0.92) !important;
    color: #23384d !important;
}

html.admin-theme-light .admin-modern-main .signatures-webhook-copy {
    border-color: rgba(137, 173, 204, 0.56) !important;
    background: rgba(227, 239, 250, 0.95) !important;
    color: #2f5f86 !important;
}

html.admin-theme-light .admin-modern-main .signatures-webhook-copy:hover {
    background: rgba(215, 232, 246, 0.95) !important;
    color: #204968 !important;
}

html.admin-theme-light .admin-modern-main .signatures-file-input {
    color: #23384d !important;
}

html.admin-theme-light .admin-modern-main .signatures-create-btn {
    border-color: rgba(114, 193, 220, 0.62) !important;
    background: linear-gradient(135deg, #2eb5dc, #1f99c4) !important;
    color: #f7fdff !important;
}

html.admin-theme-light .admin-modern-main .signatures-filter-btn {
    border: 1px solid rgba(118, 183, 224, 0.58) !important;
    background: linear-gradient(135deg, rgba(214, 235, 251, 0.98), rgba(203, 227, 246, 0.97)) !important;
    color: #1f4e73 !important;
}

html.admin-theme-light .admin-modern-main .signatures-table thead tr {
    border-color: rgba(145, 176, 206, 0.5) !important;
    background: rgba(218, 234, 246, 0.95) !important;
}

html.admin-theme-light .admin-modern-main .signatures-table thead th {
    color: #4a6a86 !important;
}

html.admin-theme-light .admin-modern-main .signatures-row {
    border-color: rgba(152, 182, 210, 0.42) !important;
}

html.admin-theme-light .admin-modern-main .signatures-row:hover {
    background: rgba(218, 236, 250, 0.86) !important;
}

html.admin-theme-light .admin-modern-main .signatures-table tbody td {
    color: #23384d !important;
}

html.admin-theme-light .admin-modern-main .signatures-status-signed {
    border-color: rgba(122, 194, 158, 0.58) !important;
    background: rgba(222, 247, 236, 0.94) !important;
    color: #1a6a50 !important;
}

html.admin-theme-light .admin-modern-main .signatures-status-sent {
    border-color: rgba(127, 191, 212, 0.58) !important;
    background: rgba(223, 244, 250, 0.95) !important;
    color: #0f6575 !important;
}

html.admin-theme-light .admin-modern-main .signatures-status-cancelled {
    border-color: rgba(217, 186, 127, 0.58) !important;
    background: rgba(255, 244, 222, 0.95) !important;
    color: #915910 !important;
}

html.admin-theme-light .admin-modern-main .signatures-status-error {
    border-color: rgba(220, 141, 156, 0.6) !important;
    background: rgba(255, 236, 241, 0.95) !important;
    color: #9b3450 !important;
}

html.admin-theme-light .admin-modern-main .signatures-status-draft {
    border-color: rgba(154, 171, 197, 0.58) !important;
    background: rgba(234, 240, 248, 0.95) !important;
    color: #4c5f7b !important;
}

html.admin-theme-light .admin-modern-main .signatures-link-original {
    color: #115f80 !important;
}

html.admin-theme-light .admin-modern-main .signatures-link-signed {
    color: #1c6a4c !important;
}

html.admin-theme-light .admin-modern-main .signatures-btn-send {
    border-color: rgba(127, 191, 212, 0.58) !important;
    background: rgba(223, 244, 250, 0.95) !important;
    color: #0f6575 !important;
}

html.admin-theme-light .admin-modern-main .signatures-btn-sync {
    border-color: rgba(140, 171, 203, 0.56) !important;
    background: rgba(229, 240, 250, 0.95) !important;
    color: #345f85 !important;
}

html.admin-theme-light .admin-modern-main .signatures-btn-delete {
    border-color: rgba(220, 141, 156, 0.58) !important;
    background: rgba(255, 236, 241, 0.95) !important;
    color: #9b3450 !important;
}

html.admin-theme-light .admin-modern-main .signatures-pagination {
    color: #4f6c85 !important;
}

html.admin-theme-light .admin-modern-main .signatures-page-link {
    border-color: rgba(137, 173, 204, 0.56) !important;
    background: rgba(227, 239, 250, 0.95) !important;
    color: #2f5f86 !important;
}

html.admin-theme-light .admin-modern-main .signatures-page-link:hover {
    background: rgba(215, 232, 246, 0.95) !important;
    color: #204968 !important;
}

html.admin-theme-light .admin-modern-main .signatures-page-link-active {
    border: 1px solid rgba(118, 183, 224, 0.58) !important;
    background: linear-gradient(135deg, rgba(214, 235, 251, 0.98), rgba(203, 227, 246, 0.97)) !important;
    color: #1f4e73 !important;
}

html.admin-theme-light .admin-modern-main .signatures-event-card {
    border-color: rgba(146, 177, 207, 0.46) !important;
    background: rgba(223, 238, 250, 0.82) !important;
}

html.admin-theme-light .admin-modern-main .companies-form,
html.admin-theme-light .admin-modern-main .companies-filter,
html.admin-theme-light .admin-modern-main .companies-table-wrap,
html.admin-theme-light .admin-modern-main .companies-smtp-selector,
html.admin-theme-light .admin-modern-main .companies-smtp-form,
html.admin-theme-light .admin-modern-main .companies-smtp-empty,
html.admin-theme-light .admin-modern-main .banks-empty,
html.admin-theme-light .admin-modern-main .cron-admin-guide,
html.admin-theme-light .admin-modern-main .cron-admin-table-wrap,
html.admin-theme-light .admin-modern-main .cron-logs-panel {
    border-color: rgba(124, 164, 198, 0.52) !important;
    background: rgba(237, 246, 254, 0.96) !important;
}

html.admin-theme-light .admin-modern-main .companies-save-btn,
html.admin-theme-light .admin-modern-main .companies-filter-btn,
html.admin-theme-light .admin-modern-main .companies-smtp-load-btn,
html.admin-theme-light .admin-modern-main .companies-smtp-save-btn {
    border: 1px solid rgba(118, 183, 224, 0.58) !important;
    background: linear-gradient(135deg, rgba(214, 235, 251, 0.98), rgba(203, 227, 246, 0.97)) !important;
    color: #1f4e73 !important;
}

html.admin-theme-light .admin-modern-main .companies-cancel-btn,
html.admin-theme-light .admin-modern-main .companies-smtp-back-btn,
html.admin-theme-light .admin-modern-main .companies-page-link {
    border-color: rgba(137, 173, 204, 0.56) !important;
    background: rgba(227, 239, 250, 0.95) !important;
    color: #2f5f86 !important;
}

html.admin-theme-light .admin-modern-main .companies-cancel-btn:hover,
html.admin-theme-light .admin-modern-main .companies-smtp-back-btn:hover,
html.admin-theme-light .admin-modern-main .companies-page-link:hover {
    background: rgba(215, 232, 246, 0.95) !important;
    color: #204968 !important;
}

html.admin-theme-light .admin-modern-main .companies-table thead tr {
    border-color: rgba(145, 176, 206, 0.5) !important;
    background: rgba(218, 234, 246, 0.95) !important;
}

html.admin-theme-light .admin-modern-main .companies-table thead th {
    color: #4a6a86 !important;
}

html.admin-theme-light .admin-modern-main .companies-row {
    border-color: rgba(152, 182, 210, 0.42) !important;
}

html.admin-theme-light .admin-modern-main .companies-row:hover {
    background: rgba(218, 236, 250, 0.86) !important;
}

html.admin-theme-light .admin-modern-main .companies-table tbody td {
    color: #23384d !important;
}

html.admin-theme-light .admin-modern-main .companies-status-active {
    border-color: rgba(122, 194, 158, 0.58) !important;
    background: rgba(222, 247, 236, 0.94) !important;
    color: #1a6a50 !important;
}

html.admin-theme-light .admin-modern-main .companies-status-inactive {
    border-color: rgba(220, 141, 156, 0.6) !important;
    background: rgba(255, 236, 241, 0.95) !important;
    color: #9b3450 !important;
}

html.admin-theme-light .admin-modern-main .companies-btn-edit {
    border-color: rgba(140, 171, 203, 0.56) !important;
    background: rgba(229, 240, 250, 0.95) !important;
    color: #345f85 !important;
}

html.admin-theme-light .admin-modern-main .companies-btn-toggle {
    border-color: rgba(217, 186, 127, 0.58) !important;
    background: rgba(255, 244, 222, 0.95) !important;
    color: #915910 !important;
}

html.admin-theme-light .admin-modern-main .companies-pagination {
    color: #4f6c85 !important;
}

html.admin-theme-light .admin-modern-main .companies-page-link-active {
    border: 1px solid rgba(118, 183, 224, 0.58) !important;
    background: linear-gradient(135deg, rgba(214, 235, 251, 0.98), rgba(203, 227, 246, 0.97)) !important;
    color: #1f4e73 !important;
}

html.admin-theme-light .admin-modern-main .companies-smtp-alert {
    border-color: rgba(217, 186, 127, 0.58) !important;
    background: rgba(255, 244, 222, 0.95) !important;
    color: #8e5911 !important;
}

html.admin-theme-light .admin-modern-main .companies-smtp-selected {
    border-color: rgba(145, 176, 206, 0.5) !important;
    background: rgba(223, 238, 250, 0.92) !important;
    color: #4f6c85 !important;
}

html.admin-theme-light .admin-modern-main .companies-smtp-selected .font-semibold {
    color: #23384d !important;
}

html.admin-theme-light .admin-modern-main .companies-smtp-tip {
    border-color: rgba(127, 191, 212, 0.58) !important;
    background: rgba(223, 244, 250, 0.95) !important;
    color: #0f6575 !important;
}

html.admin-theme-light .admin-modern-main .companies-smtp-test-btn {
    border-color: rgba(127, 191, 212, 0.58) !important;
    background: rgba(223, 244, 250, 0.95) !important;
    color: #0f6575 !important;
}

html.admin-theme-light .admin-modern-main .banks-card {
    border-color: rgba(124, 164, 198, 0.52) !important;
    background: rgba(237, 246, 254, 0.96) !important;
}

html.admin-theme-light .admin-modern-main .banks-icon {
    border-color: rgba(145, 176, 206, 0.5);
    background: rgba(223, 238, 250, 0.92) !important;
    color: #115f80 !important;
}

html.admin-theme-light .admin-modern-main .banks-card p[class*="text-slate-800"] {
    color: #23384d !important;
}

html.admin-theme-light .admin-modern-main .banks-env-production,
html.admin-theme-light .admin-modern-main .banks-status-active {
    border-color: rgba(122, 194, 158, 0.58) !important;
    background: rgba(222, 247, 236, 0.94) !important;
    color: #1a6a50 !important;
}

html.admin-theme-light .admin-modern-main .banks-env-sandbox {
    border-color: rgba(217, 186, 127, 0.58) !important;
    background: rgba(255, 244, 222, 0.95) !important;
    color: #915910 !important;
}

html.admin-theme-light .admin-modern-main .banks-status-inactive {
    border-color: rgba(154, 171, 197, 0.58) !important;
    background: rgba(234, 240, 248, 0.95) !important;
    color: #4c5f7b !important;
}

html.admin-theme-light .admin-modern-main .banks-config-btn {
    border-color: rgba(140, 171, 203, 0.56) !important;
    background: rgba(229, 240, 250, 0.95) !important;
    color: #345f85 !important;
}

html.admin-theme-light .admin-modern-main .cron-admin-guide {
    color: #4f6c85 !important;
}

html.admin-theme-light .admin-modern-main .cron-admin-guide p {
    color: #4f6c85 !important;
}

html.admin-theme-light .admin-modern-main .cron-admin-cmd-box {
    border: 1px solid rgba(145, 176, 206, 0.5);
    background: rgba(223, 238, 250, 0.92) !important;
    color: #1c6a4c !important;
}

html.admin-theme-light .admin-modern-main .cron-admin-copy-btn {
    border: 1px solid rgba(140, 171, 203, 0.56);
    background: rgba(229, 240, 250, 0.95) !important;
    color: #345f85 !important;
}

html.admin-theme-light .admin-modern-main .cron-admin-guide-warning {
    color: #915910 !important;
}

html.admin-theme-light .admin-modern-main .cron-admin-table thead tr {
    border-color: rgba(145, 176, 206, 0.5) !important;
    background: rgba(218, 234, 246, 0.95) !important;
}

html.admin-theme-light .admin-modern-main .cron-admin-table thead th {
    color: #4a6a86 !important;
}

html.admin-theme-light .admin-modern-main .cron-admin-row {
    border-color: rgba(152, 182, 210, 0.42) !important;
}

html.admin-theme-light .admin-modern-main .cron-admin-row:hover {
    background: rgba(218, 236, 250, 0.86) !important;
}

html.admin-theme-light .admin-modern-main .cron-admin-table tbody td {
    color: #23384d !important;
}

html.admin-theme-light .admin-modern-main .cron-status-ok {
    border-color: rgba(122, 194, 158, 0.58) !important;
    background: rgba(222, 247, 236, 0.94) !important;
    color: #1a6a50 !important;
}

html.admin-theme-light .admin-modern-main .cron-status-error {
    border-color: rgba(220, 141, 156, 0.6) !important;
    background: rgba(255, 236, 241, 0.95) !important;
    color: #9b3450 !important;
}

html.admin-theme-light .admin-modern-main .cron-status-running {
    border-color: rgba(217, 186, 127, 0.58) !important;
    background: rgba(255, 244, 222, 0.95) !important;
    color: #915910 !important;
}

html.admin-theme-light .admin-modern-main .cron-status-never {
    border-color: rgba(154, 171, 197, 0.58) !important;
    background: rgba(234, 240, 248, 0.95) !important;
    color: #4c5f7b !important;
}

html.admin-theme-light .admin-modern-main .cron-toggle-on {
    border-color: rgba(122, 194, 158, 0.58) !important;
    background: rgba(222, 247, 236, 0.94) !important;
    color: #1a6a50 !important;
}

html.admin-theme-light .admin-modern-main .cron-toggle-off {
    border-color: rgba(154, 171, 197, 0.58) !important;
    background: rgba(234, 240, 248, 0.95) !important;
    color: #4c5f7b !important;
}

html.admin-theme-light .admin-modern-main .cron-run-btn {
    border-color: rgba(127, 191, 212, 0.58) !important;
    background: rgba(223, 244, 250, 0.95) !important;
    color: #0f6575 !important;
}

html.admin-theme-light .admin-modern-main .cron-logs-btn {
    border-color: rgba(140, 171, 203, 0.56) !important;
    background: rgba(229, 240, 250, 0.95) !important;
    color: #345f85 !important;
}

html.admin-theme-light .admin-modern-main .cron-logs-header {
    border-color: rgba(145, 176, 206, 0.5) !important;
    background: rgba(218, 234, 246, 0.95) !important;
}

html.admin-theme-light .admin-modern-main .cron-logs-header h3 {
    color: #23384d !important;
}

html.admin-theme-light .admin-modern-main .cron-logs-close {
    color: #4f6c85 !important;
}

html.admin-theme-light .admin-modern-main .cron-logs-table thead tr {
    border-bottom: 1px solid rgba(145, 176, 206, 0.5);
    background: rgba(218, 234, 246, 0.95);
}

html.admin-theme-light .admin-modern-main .cron-logs-table th {
    color: #4a6a86 !important;
}

html.admin-theme-light .admin-modern-main .cron-logs-row {
    border-bottom: 1px solid rgba(152, 182, 210, 0.42);
    color: #23384d;
}

html.admin-theme-light .admin-modern-main .cron-logs-row:hover {
    background: rgba(218, 236, 250, 0.86);
}

html.admin-theme-light .admin-modern-main .system-logs-kpi-total {
    background: rgba(225, 241, 255, 0.95) !important;
    border-color: rgba(106, 173, 224, 0.5) !important;
}

html.admin-theme-light .admin-modern-main .system-logs-kpi-create {
    background: rgba(224, 247, 236, 0.95) !important;
    border-color: rgba(113, 193, 154, 0.52) !important;
}

html.admin-theme-light .admin-modern-main .system-logs-kpi-update {
    background: rgba(224, 245, 251, 0.95) !important;
    border-color: rgba(117, 187, 211, 0.52) !important;
}

html.admin-theme-light .admin-modern-main .system-logs-kpi-delete {
    background: rgba(255, 233, 239, 0.95) !important;
    border-color: rgba(223, 137, 157, 0.54) !important;
}

html.admin-theme-light .admin-modern-main .system-logs-kpi-settle {
    background: rgba(255, 244, 222, 0.95) !important;
    border-color: rgba(217, 185, 126, 0.54) !important;
}

html.admin-theme-light .admin-modern-main .system-logs-kpi p[class*="text-slate-500"] {
    color: #456d92 !important;
}

html.admin-theme-light .admin-modern-main .system-logs-kpi p[class*="text-2xl"] {
    color: #1b3f60 !important;
}

html.admin-theme-light .admin-modern-main .logs-module-tag {
    border-color: rgba(129, 166, 198, 0.48);
    background: rgba(225, 238, 250, 0.94);
    color: #295d89;
}

html.admin-theme-light .admin-modern-main .logs-role-admin {
    border-color: rgba(109, 166, 210, 0.5);
    background: rgba(220, 238, 252, 0.95);
    color: #1a5a8d;
}

html.admin-theme-light .admin-modern-main .logs-role-teacher {
    border-color: rgba(117, 184, 161, 0.52);
    background: rgba(220, 246, 237, 0.95);
    color: #1b6d55;
}

html.admin-theme-light .admin-modern-main .logs-role-support {
    border-color: rgba(216, 182, 120, 0.54);
    background: rgba(255, 245, 222, 0.95);
    color: #915910;
}

html.admin-theme-light .admin-modern-main .logs-role-default {
    border-color: rgba(147, 167, 191, 0.5);
    background: rgba(232, 238, 247, 0.95);
    color: #445872;
}

html.admin-theme-light .admin-modern-main .logs-action-create {
    border-color: rgba(117, 193, 154, 0.52);
    background: rgba(223, 247, 236, 0.95);
    color: #1c6a4c;
}

html.admin-theme-light .admin-modern-main .logs-action-update {
    border-color: rgba(117, 187, 211, 0.52);
    background: rgba(223, 245, 252, 0.95);
    color: #115f80;
}

html.admin-theme-light .admin-modern-main .logs-action-delete {
    border-color: rgba(223, 137, 157, 0.54);
    background: rgba(255, 232, 239, 0.95);
    color: #9f3450;
}

html.admin-theme-light .admin-modern-main .logs-action-settle {
    border-color: rgba(217, 185, 126, 0.54);
    background: rgba(255, 245, 222, 0.95);
    color: #9a5d12;
}

html.admin-theme-light .admin-modern-main .logs-action-default {
    border-color: rgba(130, 166, 197, 0.5);
    background: rgba(228, 240, 250, 0.95);
    color: #315f86;
}

html.admin-theme-light .admin-modern-main .logs-details-trigger {
    border-color: rgba(113, 182, 220, 0.54);
    background: rgba(224, 242, 252, 0.95);
    color: #166596 !important;
}

html.admin-theme-light .admin-modern-main .logs-json {
    border-color: rgba(132, 170, 200, 0.5) !important;
    background: rgba(233, 244, 253, 0.95) !important;
    color: #214b73 !important;
}

html.admin-theme-light .admin-modern-main .exchange-kpi-pending {
    background: rgba(255, 244, 222, 0.95) !important;
    border-color: rgba(217, 185, 126, 0.54) !important;
}

html.admin-theme-light .admin-modern-main .exchange-kpi-pending p[class*="text-amber-600"],
html.admin-theme-light .admin-modern-main .exchange-kpi-pending p[class*="text-amber-700"] {
    color: #9a5d12 !important;
}

html.admin-theme-light .admin-modern-main .exchange-kpi-viewed {
    background: rgba(224, 245, 251, 0.95) !important;
    border-color: rgba(117, 187, 211, 0.52) !important;
}

html.admin-theme-light .admin-modern-main .exchange-kpi-viewed p[class*="text-sky-600"],
html.admin-theme-light .admin-modern-main .exchange-kpi-viewed p[class*="text-sky-700"] {
    color: #115f80 !important;
}

html.admin-theme-light .admin-modern-main .exchange-kpi-approved {
    background: rgba(224, 247, 236, 0.95) !important;
    border-color: rgba(113, 193, 154, 0.52) !important;
}

html.admin-theme-light .admin-modern-main .exchange-kpi-approved p[class*="text-emerald-600"],
html.admin-theme-light .admin-modern-main .exchange-kpi-approved p[class*="text-emerald-700"] {
    color: #1c6a4c !important;
}

html.admin-theme-light .admin-modern-main .exchange-kpi-rejected {
    background: rgba(255, 233, 239, 0.95) !important;
    border-color: rgba(223, 137, 157, 0.54) !important;
}

html.admin-theme-light .admin-modern-main .exchange-kpi-rejected p[class*="text-rose-600"],
html.admin-theme-light .admin-modern-main .exchange-kpi-rejected p[class*="text-rose-700"] {
    color: #9f3450 !important;
}

html.admin-theme-light .admin-modern-main .exchange-filter-clear {
    color: #466f94 !important;
}

html.admin-theme-light .admin-modern-main .exchange-filter-clear:hover {
    color: #1d4c74 !important;
}

html.admin-theme-light .admin-modern-main .exchange-open-btn {
    border-color: rgba(113, 182, 220, 0.54) !important;
    background: rgba(224, 242, 252, 0.95) !important;
    color: #166596 !important;
}

html.admin-theme-light .admin-modern-main .exchange-page-btn {
    border-color: rgba(136, 168, 199, 0.56) !important;
    background: rgba(233, 244, 253, 0.9) !important;
    color: #214d7b !important;
}

html.admin-theme-light .admin-modern-main .exchange-page-btn:hover {
    border-color: rgba(111, 157, 201, 0.72) !important;
    color: #133f6e !important;
}

html.admin-theme-light .admin-modern-main .arsenal-shell .arsenal-kpi-total {
    background: linear-gradient(135deg, rgba(221, 240, 255, 0.98), rgba(205, 231, 250, 0.94)) !important;
    border-color: rgba(106, 173, 224, 0.62) !important;
}

html.admin-theme-light .admin-modern-main .arsenal-shell .arsenal-kpi-published {
    background: linear-gradient(135deg, rgba(223, 247, 236, 0.98), rgba(207, 239, 224, 0.94)) !important;
    border-color: rgba(113, 193, 154, 0.62) !important;
}

html.admin-theme-light .admin-modern-main .arsenal-shell .arsenal-kpi-categories {
    background: linear-gradient(135deg, rgba(236, 239, 255, 0.98), rgba(223, 228, 251, 0.94)) !important;
    border-color: rgba(145, 156, 224, 0.64) !important;
}

html.admin-theme-light .admin-modern-main .arsenal-shell .arsenal-kpi-files {
    background: linear-gradient(135deg, rgba(223, 245, 252, 0.98), rgba(206, 236, 246, 0.94)) !important;
    border-color: rgba(117, 187, 211, 0.62) !important;
}

html.admin-theme-light .admin-modern-main .arsenal-shell .arsenal-kpi-links {
    background: linear-gradient(135deg, rgba(255, 244, 222, 0.98), rgba(248, 234, 204, 0.94)) !important;
    border-color: rgba(217, 185, 126, 0.64) !important;
}

html.admin-theme-light .admin-modern-main .arsenal-shell .arsenal-kpi p[class*="text-slate-500"] {
    color: #466f94 !important;
}

html.admin-theme-light .admin-modern-main .arsenal-shell .arsenal-kpi p[class*="text-2xl"] {
    color: #1b3f60 !important;
}

html.admin-theme-light .admin-modern-main .arsenal-shell .arsenal-kpi-published p[class*="text-emerald-700"] {
    color: #1c6a4c !important;
}

html.admin-theme-light .admin-modern-main .arsenal-shell .arsenal-tab-btn {
    border-color: rgba(136, 168, 199, 0.56) !important;
    background: rgba(233, 244, 253, 0.9) !important;
    color: #214d7b !important;
}

html.admin-theme-light .admin-modern-main .arsenal-shell .arsenal-tab-btn:hover {
    border-color: rgba(111, 157, 201, 0.72) !important;
    color: #133f6e !important;
}

html.admin-theme-light .admin-modern-main .arsenal-shell .arsenal-tab-active {
    border-color: rgba(111, 157, 201, 0.72) !important;
    background: linear-gradient(120deg, rgba(126, 184, 234, 0.96), rgba(97, 156, 210, 0.94)) !important;
    color: #ffffff !important;
}

html.admin-theme-light .admin-modern-main .arsenal-shell form.rounded-xl.border.border-slate-200.bg-white,
html.admin-theme-light .admin-modern-main .arsenal-shell article.rounded-xl.border.border-slate-200.bg-white,
html.admin-theme-light .admin-modern-main .arsenal-shell .overflow-x-auto.rounded-xl.border.border-slate-200.bg-white {
    border-color: rgba(136, 168, 199, 0.56) !important;
    background: rgba(235, 245, 253, 0.92) !important;
}

html.admin-theme-light .admin-modern-main .arsenal-shell .overflow-x-auto.rounded-xl.border.border-slate-200.bg-white tbody tr:hover {
    background: rgba(200, 223, 243, 0.44) !important;
}

html.admin-theme-light .admin-modern-main .arsenal-shell a[class*="border-cyan-200"][class*="bg-cyan-50"] {
    border-color: rgba(113, 182, 220, 0.54) !important;
    background: rgba(224, 242, 252, 0.95) !important;
    color: #166596 !important;
}

html.admin-theme-light .admin-modern-main a[class*="border-slate-200"],
html.admin-theme-light .admin-modern-main button[class*="border-slate-200"] {
    border-color: rgba(136, 168, 199, 0.56) !important;
    background: rgba(233, 244, 253, 0.9) !important;
    color: #214d7b !important;
}

html.admin-theme-light .admin-modern-main a[class*="border-slate-200"]:hover,
html.admin-theme-light .admin-modern-main button[class*="border-slate-200"]:hover {
    border-color: rgba(111, 157, 201, 0.72) !important;
    color: #133f6e !important;
}

html.admin-theme-light .users-preview-main,
html.admin-theme-light .dashboard-preview-main {
    background:
        radial-gradient(1040px 460px at 56% 8%, rgba(152, 189, 224, 0.46), transparent 64%),
        radial-gradient(860px 390px at 42% 84%, rgba(179, 210, 237, 0.42), transparent 72%),
        linear-gradient(116deg, #d6e4f1 0%, #cddff0 30%, #d9e7f3 72%, #d3e2f1 100%);
}

html.admin-theme-light .users-preview-shell,
html.admin-theme-light .dashboard-preview-shell {
    border: 1px solid rgba(136, 168, 199, 0.56);
    background: linear-gradient(180deg, rgba(241, 248, 255, 0.92), rgba(227, 239, 250, 0.9));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 18px 36px rgba(81, 117, 152, 0.18);
}

html.admin-theme-light .users-preview-shell::before,
html.admin-theme-light .dashboard-preview-shell::before {
    opacity: 0.45;
    background-image:
        radial-gradient(2px 2px at 8% 15%, rgba(86, 111, 136, 0.36), transparent 60%),
        radial-gradient(2px 2px at 27% 63%, rgba(102, 126, 150, 0.34), transparent 60%),
        radial-gradient(2px 2px at 45% 22%, rgba(91, 116, 140, 0.3), transparent 60%),
        radial-gradient(2px 2px at 75% 31%, rgba(97, 122, 146, 0.28), transparent 60%),
        radial-gradient(2px 2px at 91% 77%, rgba(90, 113, 137, 0.28), transparent 60%);
}

html.admin-theme-light .users-preview-title,
html.admin-theme-light .dashboard-preview-title {
    color: #0f2031;
}

html.admin-theme-light .users-preview-subtitle,
html.admin-theme-light .dashboard-preview-subtitle,
html.admin-theme-light .dashboard-preview-bi-muted {
    color: #5f758d;
}

html.admin-theme-light .users-preview-btn-primary {
    border: 1px solid rgba(102, 154, 205, 0.58);
    background: linear-gradient(120deg, rgba(63, 138, 212, 0.95), rgba(47, 108, 173, 0.94));
    box-shadow: 0 12px 24px rgba(66, 112, 156, 0.26);
}

html.admin-theme-light .users-preview-kpi,
html.admin-theme-light .dashboard-preview-kpi,
html.admin-theme-light .dashboard-preview-bi,
html.admin-theme-light .dashboard-preview-bi-card,
html.admin-theme-light .dashboard-preview-section,
html.admin-theme-light .users-preview-panel,
html.admin-theme-light .users-preview-table-wrap {
    border-color: rgba(136, 168, 199, 0.56);
    background: rgba(246, 251, 255, 0.9);
    box-shadow: 0 14px 30px rgba(87, 121, 155, 0.14);
}

html.admin-theme-light .users-preview-kpi:hover,
html.admin-theme-light .dashboard-preview-kpi:hover {
    border-color: rgba(106, 157, 206, 0.72);
    background: rgba(237, 247, 255, 0.96);
}

html.admin-theme-light .users-preview-kpi-label,
html.admin-theme-light .dashboard-preview-kpi-title,
html.admin-theme-light .dashboard-preview-bi-title,
html.admin-theme-light .users-preview-table-head th {
    color: #365270;
}

html.admin-theme-light .users-preview-kpi-value,
html.admin-theme-light .dashboard-preview-kpi-value {
    color: #13273a;
}

html.admin-theme-light .users-preview-kpi-pill,
html.admin-theme-light .users-preview-role-badge {
    border-color: rgba(119, 161, 201, 0.56);
    background: rgba(181, 214, 243, 0.48);
    color: #1d5f9a;
}

html.admin-theme-light .users-preview-filter-input,
html.admin-theme-light .users-preview-filter-select {
    border-color: rgba(129, 163, 196, 0.6);
    background: rgba(245, 250, 255, 0.95);
    color: #1f3448;
}

html.admin-theme-light .users-preview-filter-input::placeholder {
    color: #768fa8;
}

html.admin-theme-light .users-preview-seg-btn {
    border-color: rgba(130, 165, 198, 0.55);
    background: rgba(232, 243, 252, 0.92);
    color: #315577;
}

html.admin-theme-light .users-preview-seg-btn:hover {
    border-color: rgba(107, 156, 203, 0.7);
    color: #1d4a76;
}

html.admin-theme-light .users-preview-seg-btn.active {
    border-color: rgba(98, 152, 204, 0.82);
    background: linear-gradient(120deg, rgba(86, 157, 223, 0.94), rgba(64, 125, 187, 0.92));
    color: #f7fbff;
}

html.admin-theme-light .users-preview-row,
html.admin-theme-light .dashboard-preview-table-row {
    border-color: rgba(145, 178, 207, 0.46);
    color: #1d3348;
}

html.admin-theme-light .users-preview-row:hover,
html.admin-theme-light .dashboard-preview-table-row:hover {
    background: rgba(202, 224, 243, 0.42);
}

html.admin-theme-light .users-preview-avatar {
    border-color: rgba(123, 164, 202, 0.52);
    background: linear-gradient(140deg, rgba(104, 183, 240, 0.92), rgba(75, 132, 201, 0.94));
}

html.admin-theme-light .users-preview-status-active {
    border-color: rgba(112, 194, 158, 0.5);
    background: rgba(218, 247, 235, 0.94);
    color: #0f6a48;
}

html.admin-theme-light .users-preview-status-inactive {
    border-color: rgba(224, 142, 142, 0.56);
    background: rgba(255, 236, 236, 0.94);
    color: #a32f2f;
}

html.admin-theme-light .users-preview-action {
    border-color: rgba(132, 168, 199, 0.58);
    background: rgba(234, 244, 253, 0.94);
    color: #245181;
}

html.admin-theme-light .users-preview-action:hover {
    border-color: rgba(109, 158, 205, 0.75);
    color: #133f6f;
}

html.admin-theme-light .users-preview-action-danger {
    border-color: rgba(220, 141, 141, 0.58);
    background: rgba(255, 236, 236, 0.94);
    color: #aa3131;
}

html.admin-theme-light .users-preview-action-danger:hover {
    border-color: rgba(207, 110, 110, 0.74);
    color: #8f2222;
}

html.admin-theme-light .users-preview-pagination-link {
    border-color: rgba(133, 168, 200, 0.58);
    background: rgba(233, 244, 253, 0.92);
    color: #2d5477;
}

html.admin-theme-light .users-preview-pagination-link:hover {
    border-color: rgba(111, 158, 202, 0.74);
    color: #184773;
}

html.admin-theme-light .users-preview-pagination-link.active {
    border-color: rgba(98, 152, 203, 0.84);
    background: linear-gradient(120deg, rgba(85, 156, 223, 0.94), rgba(63, 125, 188, 0.92));
    color: #f7fbff;
}

html.admin-theme-light .dashboard-preview-btn-link {
    border-color: rgba(126, 164, 198, 0.6);
    background: rgba(232, 243, 252, 0.9);
    color: #245180;
}

html.admin-theme-light .dashboard-preview-btn-link:hover {
    border-color: rgba(104, 152, 198, 0.78);
    color: #143f6f;
}

html.admin-theme-light .dashboard-preview-track {
    background: rgba(163, 191, 218, 0.45);
}

html.admin-theme-light .course-live-global-option {
    border-color: rgba(14, 165, 233, 0.35);
    background: rgba(240, 249, 255, 0.96);
    color: #0c4a6e;
}

html.admin-theme-light .course-live-global-help {
    color: #0369a1;
}

html.admin-theme-light .course-question-message-student {
    border-color: #d5e3ee;
    background: #f8fafc;
}

html.admin-theme-light .course-question-message-professor {
    border-color: #a9d8ef;
    background: #e9f7ff;
}

html.admin-theme-light .course-question-message-author,
html.admin-theme-light .course-question-message-body {
    color: #16324a;
}

html.admin-theme-light .course-question-message-date {
    color: #54748d;
}

html.admin-theme-light .dashboard-preview-table th {
    color: #587491;
}

html.admin-theme-light .dashboard-preview-table td {
    color: #29445f;
}

html.admin-theme-light .dashboard-preview-bi-card .text-indigo-300 {
    color: #4f46e5 !important;
}

html.admin-theme-light .dashboard-preview-bi-card .text-emerald-300 {
    color: #047857 !important;
}

html.admin-theme-light .dashboard-preview-bi-card .text-cyan-300 {
    color: #0369a1 !important;
}

html.admin-theme-light .dashboard-preview-bi-card .text-rose-300 {
    color: #be123c !important;
}

html.admin-theme-light .dashboard-preview-bi-card .text-amber-300 {
    color: #b45309 !important;
}

html.admin-theme-light .admin-modern-theme,
html.admin-theme-light .admin-modern-theme * {
    scrollbar-color: rgba(115, 155, 191, 0.68) rgba(196, 214, 232, 0.7);
}

html.admin-theme-light .admin-modern-theme ::-webkit-scrollbar-track {
    background: rgba(196, 214, 232, 0.72);
}

html.admin-theme-light .admin-modern-theme ::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(125, 166, 201, 0.84), rgba(103, 145, 183, 0.86));
    border-color: rgba(196, 214, 232, 0.72);
}

html.admin-theme-light .admin-modern-theme ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(110, 157, 199, 0.9), rgba(87, 132, 173, 0.92));
}

/* Mantem contraste do modal de alerta que continua em fundo escuro. */
html.admin-theme-light #due-today-modal [class*="text-slate-100"] {
    color: #f1f5f9 !important;
}

html.admin-theme-light #due-today-modal [class*="text-slate-200"] {
    color: #e2e8f0 !important;
}

html.admin-theme-light #due-today-modal [class*="text-slate-300"] {
    color: #cbd5e1 !important;
}

html.admin-theme-light #due-today-modal [class*="text-slate-400"] {
    color: #94a3b8 !important;
}

/* =====================================================================
   STUDENT + SUPPORT PORTALS (dark/light modelos alinhados)
   ===================================================================== */

.portal-modern-shell {
    position: relative;
    overflow: visible;
    min-height: 100vh;
}

.portal-modern-ambient {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 0;
}

.portal-modern-content {
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

.portal-theme-toggle {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 999px;
    border: 1px solid rgba(136, 170, 205, 0.48);
    background: rgba(162, 190, 220, 0.34);
    color: #5d7898;
}

.portal-theme-toggle:hover {
    background: rgba(176, 203, 230, 0.56);
    border-color: rgba(124, 160, 196, 0.72);
    color: #2e4a68;
}

html.dark .portal-modern-theme {
    background: #020913 !important;
    color: #dceeff !important;
}

html.dark .portal-modern-shell {
    background:
        radial-gradient(1100px 520px at 56% 8%, rgba(49, 129, 198, 0.25), transparent 64%),
        radial-gradient(820px 420px at 40% 85%, rgba(35, 102, 161, 0.18), transparent 72%),
        linear-gradient(116deg, #071d34 0%, #020913 31%, #03192d 69%, #020913 100%);
}

html.dark .portal-modern-ambient {
    opacity: 0.42;
    background-image:
        radial-gradient(2px 2px at 9% 14%, rgba(221, 244, 255, 0.48), transparent 60%),
        radial-gradient(2px 2px at 26% 61%, rgba(203, 237, 255, 0.36), transparent 60%),
        radial-gradient(2px 2px at 43% 22%, rgba(233, 247, 255, 0.32), transparent 60%),
        radial-gradient(2px 2px at 74% 31%, rgba(220, 244, 255, 0.3), transparent 60%),
        radial-gradient(2px 2px at 91% 77%, rgba(233, 247, 255, 0.28), transparent 60%);
}

html.dark .student-modern-header,
html.dark .support-modern-header {
    border-color: rgba(122, 164, 197, 0.24) !important;
    background: rgba(7, 26, 44, 0.78) !important;
    box-shadow: none !important;
}

html.dark .student-modern-main,
html.dark .support-modern-main {
    color: #dceeff;
}

html.dark .student-modern-nav a:not([class*="bg-sky-600"]) {
    border-color: rgba(122, 164, 197, 0.34) !important;
    background: rgba(12, 38, 59, 0.74) !important;
    color: #d0e8fd !important;
}

html.dark .student-modern-nav a:not([class*="bg-sky-600"]):hover {
    border-color: rgba(136, 194, 241, 0.56) !important;
    color: #eff9ff !important;
}

html.dark .student-modern-nav a[class*="bg-sky-600"] {
    border-color: rgba(130, 191, 242, 0.72) !important;
    background: linear-gradient(120deg, rgba(73, 158, 230, 0.92), rgba(44, 121, 183, 0.9)) !important;
    color: #fff !important;
}

html.dark .portal-theme-toggle {
    border-color: rgba(126, 171, 205, 0.56);
    background: rgba(20, 52, 81, 0.7);
    color: #a8cae9;
}

html.dark .portal-theme-toggle:hover {
    background: rgba(29, 66, 100, 0.8);
    color: #d8eeff;
}

html.dark .student-modern-header h1,
html.dark .support-modern-header h1,
html.dark .student-modern-header p[class*="text-slate-900"],
html.dark .support-modern-header p[class*="text-slate-800"] {
    color: #eaf5ff !important;
}

html.dark .student-modern-header p[class*="text-slate-500"],
html.dark .support-modern-header p[class*="text-slate-500"] {
    color: #97b5cf !important;
}

html.dark .student-modern-header [class*="border-sky-100"],
html.dark .support-modern-header [class*="border-rose-200"] {
    border-color: rgba(122, 164, 197, 0.36) !important;
}

html.dark .student-modern-header [class*="bg-white"],
html.dark .support-modern-header [class*="bg-white"] {
    background-color: rgba(10, 34, 54, 0.72) !important;
}

html:not(.dark) .portal-modern-theme {
    background: #d9e6f2 !important;
    color: #23384d !important;
}

html:not(.dark) .portal-modern-shell {
    background:
        radial-gradient(1160px 540px at 55% 9%, rgba(151, 188, 223, 0.46), transparent 64%),
        radial-gradient(900px 430px at 40% 84%, rgba(172, 203, 232, 0.42), transparent 72%),
        linear-gradient(118deg, #d5e3f1 0%, #cddff0 30%, #d8e6f3 72%, #d3e2f0 100%);
}

html:not(.dark) .portal-modern-ambient {
    opacity: 0.56;
    background-image:
        radial-gradient(2px 2px at 9% 14%, rgba(74, 100, 127, 0.35), transparent 60%),
        radial-gradient(2px 2px at 26% 61%, rgba(95, 118, 141, 0.3), transparent 60%),
        radial-gradient(2px 2px at 43% 22%, rgba(80, 106, 132, 0.28), transparent 60%),
        radial-gradient(2px 2px at 74% 31%, rgba(90, 114, 137, 0.28), transparent 60%),
        radial-gradient(2px 2px at 91% 77%, rgba(73, 98, 123, 0.28), transparent 60%);
}

html:not(.dark) .student-modern-header,
html:not(.dark) .support-modern-header {
    border-color: rgba(136, 168, 199, 0.45) !important;
    background: rgba(208, 223, 238, 0.84) !important;
}

html:not(.dark) .student-modern-main,
html:not(.dark) .support-modern-main {
    color: #22374b;
}

/* =====================================================================
   SUPPORT DESK (ornamentacao alinhada ao administrativo)
   ===================================================================== */

html.dark .support-modern-main .support-desk-shell h2 {
    color: #eaf5ff;
}

html.dark .support-modern-main .support-desk-shell > div > div > p {
    color: #97b5cf !important;
}

html.dark .support-modern-main .support-kpi {
    border-color: rgba(124, 165, 200, 0.34) !important;
    background: linear-gradient(135deg, rgba(15, 45, 72, 0.74), rgba(10, 33, 54, 0.76)) !important;
    box-shadow: inset 0 1px 0 rgba(210, 235, 255, 0.06);
}

html.dark .support-modern-main .support-kpi-total p[class*="text-slate-500"] { color: #8eb2d0 !important; }
html.dark .support-modern-main .support-kpi-total p[class*="text-slate-900"] { color: #dceeff !important; }

html.dark .support-modern-main .support-kpi-open {
    border-color: rgba(106, 198, 255, 0.46) !important;
    background: linear-gradient(135deg, rgba(16, 53, 82, 0.84), rgba(11, 37, 58, 0.78)) !important;
}
html.dark .support-modern-main .support-kpi-open p[class*="text-cyan-700"] { color: #69e2ff !important; }

html.dark .support-modern-main .support-kpi-email {
    border-color: rgba(236, 189, 118, 0.44) !important;
    background: linear-gradient(135deg, rgba(92, 66, 28, 0.7), rgba(72, 50, 18, 0.66)) !important;
}
html.dark .support-modern-main .support-kpi-email p[class*="text-amber-700"] { color: #ffd899 !important; }

html.dark .support-modern-main .support-kpi-webhook {
    border-color: rgba(235, 129, 141, 0.46) !important;
    background: linear-gradient(135deg, rgba(106, 36, 50, 0.72), rgba(79, 24, 36, 0.68)) !important;
}
html.dark .support-modern-main .support-kpi-webhook p[class*="text-rose-700"] { color: #ffadc0 !important; }

html.dark .support-modern-main .support-kpi-origin {
    border-color: rgba(97, 199, 155, 0.42) !important;
    background: linear-gradient(135deg, rgba(25, 92, 69, 0.66), rgba(18, 63, 48, 0.62)) !important;
}
html.dark .support-modern-main .support-kpi-origin p[class*="text-emerald-700"] { color: #8bf0c7 !important; }

html.dark .support-modern-main .support-filter-form,
html.dark .support-modern-main .support-ticket-card,
html.dark .support-modern-main .support-empty-state {
    border-color: rgba(124, 165, 200, 0.34) !important;
    background: rgba(12, 37, 59, 0.72) !important;
    box-shadow: inset 0 1px 0 rgba(210, 235, 255, 0.06);
}

html.dark .support-modern-main .support-field,
html.dark .support-modern-main .support-select {
    border-color: rgba(123, 164, 197, 0.42) !important;
    background: rgba(9, 31, 50, 0.78) !important;
    color: #dceeff !important;
}

html.dark .support-modern-main .support-field::placeholder {
    color: #7f9db8 !important;
}

html.dark .support-modern-main .support-btn-primary {
    border: 1px solid rgba(100, 174, 232, 0.56);
    background: linear-gradient(120deg, rgba(55, 152, 231, 0.94), rgba(39, 112, 174, 0.94)) !important;
    color: #fff !important;
}

html.dark .support-modern-main .support-btn-ghost {
    border-color: rgba(123, 164, 197, 0.42) !important;
    background: rgba(11, 34, 54, 0.76) !important;
    color: #cbe6fb !important;
}

html.dark .support-modern-main .support-ticket-card h3,
html.dark .support-modern-main .support-ticket-meta p[class*="text-slate-800"] {
    color: #e9f5ff !important;
}

html.dark .support-modern-main .support-ticket-card p[class*="text-slate-500"] {
    color: #8fb0cd !important;
}

html.dark .support-modern-main .support-ticket-description {
    color: #d3e8fb !important;
}

html.dark .support-modern-main .support-ticket-meta {
    border-color: rgba(123, 164, 197, 0.38) !important;
    background: rgba(10, 32, 51, 0.7) !important;
}

html.dark .support-modern-main .support-attachment-link {
    border-color: rgba(121, 165, 201, 0.4) !important;
    background: rgba(11, 36, 56, 0.74) !important;
    color: #c9e5fb !important;
}

html.dark .support-modern-main .support-comments-box {
    border-color: rgba(122, 164, 197, 0.36) !important;
    background: rgba(8, 30, 49, 0.74) !important;
}

html.dark .support-modern-main .support-comment-item {
    background: rgba(12, 37, 59, 0.84) !important;
    border: 1px solid rgba(124, 165, 200, 0.2);
}

html.dark .support-modern-main .support-comment-item p[class*="text-slate-700"] {
    color: #dceeff !important;
}

html.dark .support-modern-main .support-comment-item p[class*="text-slate-500"] {
    color: #8fb0cd !important;
}

html.dark .support-modern-main .support-ticket-pill {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.support-ticket-pill-status-open,
.support-ticket-pill-status-progress,
.support-ticket-pill-status-resolved,
.support-ticket-pill-status-closed,
.support-ticket-pill-priority-low,
.support-ticket-pill-priority-medium,
.support-ticket-pill-priority-high,
.support-ticket-pill-priority-urgent,
.support-ticket-pill-source-internal,
.support-ticket-pill-source-api,
.support-ticket-pill-source-webhook,
.support-ticket-pill-source-student {
    border: 1px solid transparent;
}

.support-ticket-pill-status-open {
    background: linear-gradient(135deg, rgba(16, 185, 242, 0.18), rgba(14, 116, 144, 0.3)) !important;
    border-color: rgba(34, 211, 238, 0.24) !important;
    color: #9be7ff !important;
}

.support-ticket-pill-status-progress {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(180, 83, 9, 0.3)) !important;
    border-color: rgba(251, 191, 36, 0.24) !important;
    color: #ffd899 !important;
}

.support-ticket-pill-status-resolved {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.16), rgba(21, 128, 61, 0.28)) !important;
    border-color: rgba(74, 222, 128, 0.22) !important;
    color: #a9f3cf !important;
}

.support-ticket-pill-status-closed {
    background: linear-gradient(135deg, rgba(100, 116, 139, 0.18), rgba(51, 65, 85, 0.32)) !important;
    border-color: rgba(148, 163, 184, 0.2) !important;
    color: #d4deea !important;
}

.support-ticket-pill-priority-low {
    background: linear-gradient(135deg, rgba(94, 115, 143, 0.16), rgba(51, 65, 85, 0.28)) !important;
    border-color: rgba(148, 163, 184, 0.2) !important;
    color: #d5e1ec !important;
}

.support-ticket-pill-priority-medium {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(37, 99, 235, 0.28)) !important;
    border-color: rgba(96, 165, 250, 0.22) !important;
    color: #bfdbfe !important;
}

.support-ticket-pill-priority-high {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.18), rgba(194, 65, 12, 0.3)) !important;
    border-color: rgba(251, 146, 60, 0.22) !important;
    color: #fed7aa !important;
}

.support-ticket-pill-priority-urgent {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.18), rgba(190, 24, 93, 0.3)) !important;
    border-color: rgba(251, 113, 133, 0.24) !important;
    color: #fecdd3 !important;
}

.support-ticket-pill-source-internal {
    background: linear-gradient(135deg, rgba(94, 115, 143, 0.16), rgba(51, 65, 85, 0.28)) !important;
    border-color: rgba(148, 163, 184, 0.2) !important;
    color: #d5e1ec !important;
}

.support-ticket-pill-source-api {
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.18), rgba(14, 116, 144, 0.3)) !important;
    border-color: rgba(103, 232, 249, 0.22) !important;
    color: #bdf3ff !important;
}

.support-ticket-pill-source-webhook {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(109, 40, 217, 0.3)) !important;
    border-color: rgba(167, 139, 250, 0.22) !important;
    color: #ddd6fe !important;
}

.support-ticket-pill-source-student {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(67, 56, 202, 0.3)) !important;
    border-color: rgba(129, 140, 248, 0.22) !important;
    color: #e0e7ff !important;
}

.support-whatsapp-link {
    border: 1px solid rgba(74, 222, 128, 0.24);
    background: linear-gradient(135deg, rgba(18, 140, 94, 0.9), rgba(22, 163, 74, 0.92));
    color: #effff7;
    box-shadow: 0 10px 20px rgba(22, 101, 52, 0.18);
}

.support-whatsapp-link:hover {
    background: linear-gradient(135deg, rgba(20, 153, 102, 0.96), rgba(21, 176, 78, 0.96));
    color: #ffffff;
}

html.dark .support-modern-main .support-footer {
    color: #9ab8d2 !important;
}

html.dark .support-modern-main .support-page-link {
    border-color: rgba(123, 164, 197, 0.42) !important;
    background: rgba(11, 34, 54, 0.76) !important;
    color: #cbe6fb !important;
}

html.dark .support-modern-main .support-page-link.support-page-link-active {
    border-color: rgba(100, 174, 232, 0.56) !important;
    background: linear-gradient(120deg, rgba(55, 152, 231, 0.94), rgba(39, 112, 174, 0.94)) !important;
    color: #fff !important;
}

html:not(.dark) .support-modern-main .support-kpi,
html:not(.dark) .support-modern-main .support-filter-form,
html:not(.dark) .support-modern-main .support-ticket-card,
html:not(.dark) .support-modern-main .support-empty-state {
    border-color: rgba(136, 168, 199, 0.56) !important;
    background: rgba(235, 245, 253, 0.92) !important;
}

html:not(.dark) .support-modern-main .support-kpi-open {
    border-color: rgba(113, 182, 220, 0.54) !important;
    background: rgba(224, 242, 252, 0.95) !important;
}
html:not(.dark) .support-modern-main .support-kpi-email {
    border-color: rgba(217, 185, 126, 0.54) !important;
    background: rgba(255, 244, 222, 0.95) !important;
}
html:not(.dark) .support-modern-main .support-kpi-webhook {
    border-color: rgba(223, 137, 157, 0.54) !important;
    background: rgba(255, 233, 239, 0.95) !important;
}
html:not(.dark) .support-modern-main .support-kpi-origin {
    border-color: rgba(113, 193, 154, 0.52) !important;
    background: rgba(224, 247, 236, 0.95) !important;
}

html:not(.dark) .support-modern-main .support-field,
html:not(.dark) .support-modern-main .support-select {
    border-color: rgba(129, 163, 196, 0.6) !important;
    background: rgba(245, 250, 255, 0.95) !important;
    color: #1f3448 !important;
}

html:not(.dark) .support-modern-main .support-ticket-meta {
    border-color: rgba(136, 168, 199, 0.5) !important;
    background: rgba(241, 249, 255, 0.9) !important;
}

html:not(.dark) .support-modern-main .support-attachment-link {
    border-color: rgba(136, 168, 199, 0.56) !important;
    background: rgba(233, 244, 253, 0.9) !important;
    color: #214d7b !important;
}

html:not(.dark) .support-modern-main .support-comments-box {
    border-color: rgba(136, 168, 199, 0.5) !important;
    background: rgba(233, 244, 253, 0.9) !important;
}

html:not(.dark) .support-modern-main .support-comment-item {
    background: rgba(249, 252, 255, 0.96) !important;
    border: 1px solid rgba(136, 168, 199, 0.3);
}

html:not(.dark) .support-modern-main .support-btn-ghost {
    border-color: rgba(140, 171, 203, 0.56) !important;
    background: rgba(229, 240, 250, 0.95) !important;
    color: #345f85 !important;
}

html:not(.dark) .support-modern-main .support-page-link {
    border-color: rgba(136, 168, 199, 0.56) !important;
    background: rgba(233, 244, 253, 0.9) !important;
    color: #214d7b !important;
}

html:not(.dark) .support-ticket-pill-status-open,
html:not(.dark) .support-ticket-pill-status-progress,
html:not(.dark) .support-ticket-pill-status-resolved,
html:not(.dark) .support-ticket-pill-status-closed,
html:not(.dark) .support-ticket-pill-priority-low,
html:not(.dark) .support-ticket-pill-priority-medium,
html:not(.dark) .support-ticket-pill-priority-high,
html:not(.dark) .support-ticket-pill-priority-urgent,
html:not(.dark) .support-ticket-pill-source-internal,
html:not(.dark) .support-ticket-pill-source-api,
html:not(.dark) .support-ticket-pill-source-webhook,
html:not(.dark) .support-ticket-pill-source-student {
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.72),
        0 8px 16px rgba(148, 163, 184, 0.08) !important;
}

html:not(.dark) .support-ticket-pill-status-open {
    background: linear-gradient(135deg, rgba(224, 247, 255, 0.98), rgba(202, 238, 248, 0.98)) !important;
    border-color: rgba(105, 196, 222, 0.34) !important;
    color: #156d89 !important;
}

html:not(.dark) .support-ticket-pill-status-progress {
    background: linear-gradient(135deg, rgba(255, 245, 214, 0.98), rgba(252, 230, 166, 0.98)) !important;
    border-color: rgba(214, 155, 47, 0.34) !important;
    color: #9d6618 !important;
}

html:not(.dark) .support-ticket-pill-status-resolved {
    background: linear-gradient(135deg, rgba(216, 255, 235, 0.98), rgba(184, 247, 220, 0.98)) !important;
    border-color: rgba(74, 185, 133, 0.34) !important;
    color: #248a63 !important;
}

html:not(.dark) .support-ticket-pill-status-closed {
    background: linear-gradient(135deg, rgba(236, 241, 247, 0.98), rgba(220, 228, 238, 0.98)) !important;
    border-color: rgba(147, 167, 191, 0.34) !important;
    color: #53657d !important;
}

html:not(.dark) .support-ticket-pill-priority-low,
html:not(.dark) .support-ticket-pill-source-internal {
    background: linear-gradient(135deg, rgba(236, 241, 247, 0.98), rgba(220, 228, 238, 0.98)) !important;
    border-color: rgba(147, 167, 191, 0.34) !important;
    color: #53657d !important;
}

html:not(.dark) .support-ticket-pill-priority-medium {
    background: linear-gradient(135deg, rgba(224, 243, 255, 0.98), rgba(193, 229, 249, 0.98)) !important;
    border-color: rgba(88, 155, 198, 0.34) !important;
    color: #2e77a8 !important;
}

html:not(.dark) .support-ticket-pill-priority-high {
    background: linear-gradient(135deg, rgba(255, 236, 215, 0.98), rgba(252, 214, 171, 0.98)) !important;
    border-color: rgba(230, 138, 63, 0.34) !important;
    color: #b45e19 !important;
}

html:not(.dark) .support-ticket-pill-priority-urgent {
    background: linear-gradient(135deg, rgba(255, 231, 235, 0.98), rgba(251, 205, 213, 0.98)) !important;
    border-color: rgba(211, 95, 120, 0.34) !important;
    color: #b4455d !important;
}

html:not(.dark) .support-ticket-pill-source-webhook {
    background: linear-gradient(135deg, rgba(239, 232, 255, 0.98), rgba(224, 211, 252, 0.98)) !important;
    border-color: rgba(153, 119, 245, 0.34) !important;
    color: #6d4bc2 !important;
}

html:not(.dark) .support-ticket-pill-source-api {
    background: linear-gradient(135deg, rgba(224, 250, 255, 0.98), rgba(197, 240, 248, 0.98)) !important;
    border-color: rgba(86, 189, 209, 0.34) !important;
    color: #1d7f95 !important;
}

html:not(.dark) .support-ticket-pill-source-student {
    background: linear-gradient(135deg, rgba(234, 236, 255, 0.98), rgba(216, 221, 252, 0.98)) !important;
    border-color: rgba(129, 140, 248, 0.34) !important;
    color: #5b57c8 !important;
}

html:not(.dark) .support-whatsapp-link {
    border-color: rgba(68, 196, 129, 0.34);
    background: linear-gradient(135deg, rgba(224, 251, 238, 0.98), rgba(201, 245, 223, 0.98));
    color: #1b7b53;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.76),
        0 8px 16px rgba(88, 165, 124, 0.12);
}

html:not(.dark) .support-whatsapp-link:hover {
    background: linear-gradient(135deg, rgba(214, 247, 230, 0.98), rgba(190, 239, 214, 0.98));
    color: #146845;
}

/* =====================================================================
   STUDENT REENROLLMENT (ajuste leve alinhado a admin/suporte)
   ===================================================================== */

html.dark .student-modern-main .student-reenroll-title {
    color: #eaf5ff !important;
}

html.dark .student-modern-main .student-reenroll-subtitle {
    color: #93b2ce !important;
}

html.dark .student-modern-main .student-reenroll-icon-wrap {
    border: 1px solid rgba(106, 170, 218, 0.4);
    background: linear-gradient(135deg, rgba(32, 73, 111, 0.8), rgba(20, 52, 83, 0.84)) !important;
    box-shadow: inset 0 1px 0 rgba(222, 242, 255, 0.1);
}

html.dark .student-modern-main .student-reenroll-card {
    border-color: rgba(124, 165, 200, 0.34) !important;
    background: rgba(12, 37, 59, 0.72) !important;
    box-shadow: inset 0 1px 0 rgba(210, 235, 255, 0.06);
}

html.dark .student-modern-main .student-reenroll-card h3,
html.dark .student-modern-main .student-reenroll-row dd[class*="text-slate-800"] {
    color: #e9f5ff !important;
}

html.dark .student-modern-main .student-reenroll-row dt,
html.dark .student-modern-main .student-reenroll-row dd[class*="text-slate-700"] {
    color: #94b3ce !important;
}

html.dark .student-modern-main .student-reenroll-dl,
html.dark .student-modern-main .student-reenroll-row {
    border-color: rgba(124, 165, 200, 0.26) !important;
}

html.dark .student-modern-main .student-reenroll-success {
    border-color: rgba(98, 193, 151, 0.42) !important;
    background: linear-gradient(135deg, rgba(24, 91, 69, 0.64), rgba(17, 63, 48, 0.62)) !important;
}

html.dark .student-modern-main .student-reenroll-success p {
    color: #8ef1c7 !important;
}

html.dark .student-modern-main .student-reenroll-warning {
    border-color: rgba(235, 129, 141, 0.46) !important;
    background: linear-gradient(135deg, rgba(106, 36, 50, 0.72), rgba(79, 24, 36, 0.68)) !important;
}

html.dark .student-modern-main .student-reenroll-table-wrap {
    border-color: rgba(232, 120, 138, 0.56) !important;
    background: rgba(14, 40, 63, 0.82) !important;
}

html.dark .student-modern-main .student-reenroll-table-head {
    border-color: rgba(232, 120, 138, 0.48) !important;
    background: rgba(100, 30, 43, 0.54) !important;
}

html.dark .student-modern-main .student-reenroll-table-head th {
    color: #ff9fb4 !important;
}

html.dark .student-modern-main .student-reenroll-table-body {
    border-color: rgba(124, 165, 200, 0.24) !important;
}

html.dark .student-modern-main .student-reenroll-table tbody td {
    color: #dceeff !important;
}

html.dark .student-modern-main .student-reenroll-help {
    border-color: rgba(236, 189, 118, 0.44) !important;
    background: linear-gradient(135deg, rgba(92, 66, 28, 0.7), rgba(72, 50, 18, 0.66)) !important;
}

html.dark .student-modern-main .student-reenroll-help p {
    color: #ffd899 !important;
}

html.dark .student-modern-main .student-reenroll-status {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

html.dark .student-modern-main .student-finance-status {
    border: 1px solid transparent;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

html.dark .student-modern-main .student-finance-status-open {
    border-color: rgba(92, 163, 255, 0.34);
    background: linear-gradient(135deg, rgba(18, 62, 116, 0.88), rgba(14, 45, 87, 0.86)) !important;
    color: #9fd1ff !important;
}

html.dark .student-modern-main .student-finance-status-partial {
    border-color: rgba(245, 187, 94, 0.34);
    background: linear-gradient(135deg, rgba(104, 69, 17, 0.86), rgba(82, 53, 11, 0.84)) !important;
    color: #ffd48a !important;
}

html.dark .student-modern-main .student-finance-status-overdue {
    border-color: rgba(243, 110, 132, 0.36);
    background: linear-gradient(135deg, rgba(109, 27, 45, 0.9), rgba(83, 18, 33, 0.88)) !important;
    color: #ffadc0 !important;
}

html.dark .student-modern-main .student-finance-status-paid {
    border-color: rgba(82, 201, 145, 0.34);
    background: linear-gradient(135deg, rgba(20, 94, 63, 0.88), rgba(14, 72, 48, 0.86)) !important;
    color: #97efc5 !important;
}

html.dark .student-modern-main .student-finance-status-renegotiated {
    border-color: rgba(161, 128, 255, 0.34);
    background: linear-gradient(135deg, rgba(74, 45, 131, 0.9), rgba(56, 32, 104, 0.88)) !important;
    color: #d0bcff !important;
}

html.dark .student-modern-main .student-finance-status-draft {
    border-color: rgba(126, 160, 189, 0.28);
    background: rgba(34, 53, 73, 0.84) !important;
    color: #a9bfd4 !important;
}

html.dark .student-modern-main .student-finance-overdue-chip {
    border: 1px solid rgba(243, 110, 132, 0.34);
    background: rgba(126, 31, 51, 0.88) !important;
    color: #ffb5c4 !important;
}

html.dark .student-modern-main .student-reenroll-btn-confirm {
    border: 1px solid rgba(97, 195, 153, 0.5);
    background: linear-gradient(120deg, rgba(42, 167, 119, 0.96), rgba(24, 129, 90, 0.94)) !important;
}

html.dark .student-modern-main .student-reenroll-btn-disabled {
    border: 1px solid rgba(123, 164, 197, 0.34);
    background: rgba(32, 59, 83, 0.72) !important;
    color: #87a8c2 !important;
}

html.dark .student-modern-main .student-reenroll-note {
    color: #86a7c2 !important;
}

html:not(.dark) .student-modern-main .student-reenroll-card {
    border-color: rgba(136, 168, 199, 0.56) !important;
    background: rgba(235, 245, 253, 0.92) !important;
}

html:not(.dark) .student-modern-main .student-reenroll-icon-wrap {
    border: 1px solid rgba(132, 170, 202, 0.52);
    background: linear-gradient(135deg, rgba(225, 240, 252, 0.95), rgba(206, 227, 244, 0.92)) !important;
}

html:not(.dark) .student-modern-main .student-reenroll-warning {
    border-color: rgba(223, 137, 157, 0.54) !important;
    background: rgba(255, 233, 239, 0.95) !important;
}

html:not(.dark) .student-modern-main .student-reenroll-table-wrap {
    border-color: rgba(223, 137, 157, 0.5) !important;
    background: rgba(249, 252, 255, 0.97) !important;
}

html:not(.dark) .student-modern-main .student-reenroll-help {
    border-color: rgba(217, 185, 126, 0.54) !important;
    background: rgba(255, 244, 222, 0.95) !important;
}

/* =====================================================================
   STUDENT COURSES / PLAYER (ornamentacao Meus Cursos)
   ===================================================================== */

.student-courses-card,
.student-courses-empty,
.student-course-player-progress,
.student-module-card,
.student-course-player-stage,
.student-module-no-data {
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.student-module-badge {
    letter-spacing: 0.01em;
    border: 1px solid transparent;
}

.student-module-collapsible {
    overflow: hidden;
}

.student-module-summary {
    user-select: none;
}

.student-module-summary::-webkit-details-marker {
    display: none;
}

.student-module-summary::marker {
    content: "";
}

.student-module-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 999px;
    font-weight: 800;
    transform: rotate(0deg);
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.student-module-collapsible[open] .student-module-chevron {
    transform: rotate(90deg);
}

.student-module-collapsible[open] .student-module-open-hint {
    opacity: 0.82;
}

.student-module-lessons {
    border-top: 1px solid rgba(128, 170, 204, 0.22);
}

.student-module-count,
.student-module-open-hint {
    letter-spacing: 0.045em;
}

html.dark .student-modern-main .student-courses-title,
html.dark .student-modern-main .student-course-player-title,
html.dark .student-modern-main .student-stage-title,
html.dark .student-modern-main .student-module-title {
    color: #eaf5ff !important;
}

html.dark .student-modern-main .student-courses-subtitle,
html.dark .student-modern-main .student-course-player-subtitle,
html.dark .student-modern-main .student-courses-card-meta,
html.dark .student-modern-main .student-courses-card-description,
html.dark .student-modern-main .student-courses-workload,
html.dark .student-modern-main .student-courses-live-label,
html.dark .student-modern-main .student-course-player-progress-meta,
html.dark .student-modern-main .student-course-player-progress-note,
html.dark .student-modern-main .student-module-description,
html.dark .student-modern-main .student-lesson-meta,
html.dark .student-modern-main .student-stage-description,
html.dark .student-modern-main .student-stage-help,
html.dark .student-modern-main .student-module-empty,
html.dark .student-modern-main .student-stage-empty,
html.dark .student-modern-main .student-module-count,
html.dark .student-modern-main .student-module-open-hint {
    color: #93b2ce !important;
}

html.dark .student-modern-main .student-courses-card,
html.dark .student-modern-main .student-courses-empty,
html.dark .student-modern-main .student-course-player-progress,
html.dark .student-modern-main .student-module-card-open,
html.dark .student-modern-main .student-course-player-stage,
html.dark .student-modern-main .student-module-no-data {
    border-color: rgba(124, 165, 200, 0.34) !important;
    background: rgba(12, 37, 59, 0.72) !important;
    box-shadow: inset 0 1px 0 rgba(210, 235, 255, 0.06);
}

html.dark .student-modern-main .student-module-card-locked,
html.dark .student-modern-main .student-stage-progress {
    border-color: rgba(122, 164, 197, 0.34) !important;
    background: rgba(11, 34, 54, 0.76) !important;
}

html.dark .student-modern-main .student-module-summary:hover {
    background: rgba(20, 57, 84, 0.55) !important;
}

html.dark .student-modern-main .student-module-chevron {
    background: rgba(7, 24, 42, 0.84) !important;
    color: #7ed8ff !important;
}

html.dark .student-modern-main .student-module-lessons {
    border-top-color: rgba(122, 164, 197, 0.24) !important;
    background: rgba(6, 24, 40, 0.22) !important;
}

html.dark .student-modern-main .student-courses-cover-placeholder,
html.dark .student-modern-main .student-courses-progress-track {
    border-color: rgba(122, 164, 197, 0.34) !important;
    background: rgba(10, 31, 50, 0.82) !important;
    color: #93b2ce !important;
}

html.dark .student-modern-main .student-courses-progress-fill {
    background: linear-gradient(120deg, rgba(73, 158, 230, 0.94), rgba(44, 121, 183, 0.94)) !important;
}

html.dark .student-modern-main .student-courses-cta {
    border-color: rgba(97, 195, 153, 0.5) !important;
    background: linear-gradient(120deg, rgba(35, 142, 103, 0.94), rgba(24, 115, 84, 0.9)) !important;
    color: #e6fff3 !important;
}

html.dark .student-modern-main .student-courses-live-cta {
    border-color: rgba(100, 174, 232, 0.52) !important;
    background: linear-gradient(120deg, rgba(42, 146, 225, 0.9), rgba(31, 111, 171, 0.9)) !important;
    color: #eff9ff !important;
}

html.dark .student-modern-main .student-courses-disabled {
    border-color: rgba(122, 164, 197, 0.34) !important;
    background: rgba(12, 37, 59, 0.58) !important;
    color: #86a7c2 !important;
}

html.dark .student-modern-main .student-course-player-back {
    border-color: rgba(123, 164, 197, 0.46) !important;
    background: rgba(11, 34, 54, 0.74) !important;
    color: #d4e9fb !important;
}

html.dark .student-modern-main .student-course-player-progress-label,
html.dark .student-modern-main .student-lesson-title,
html.dark .student-modern-main .student-courses-card-title {
    color: #dceeff !important;
}

html.dark .student-modern-main .student-lesson-card-default,
html.dark .student-modern-main .student-lesson-card-locked {
    border-color: rgba(122, 164, 197, 0.3) !important;
    background: rgba(8, 29, 47, 0.8) !important;
}

html.dark .student-modern-main .student-lesson-card-selected {
    border-color: rgba(106, 198, 255, 0.56) !important;
    background: linear-gradient(135deg, rgba(17, 53, 80, 0.86), rgba(11, 37, 58, 0.82)) !important;
    box-shadow: inset 0 0 0 1px rgba(126, 210, 255, 0.2);
}

html.dark .student-modern-main .student-lesson-progress {
    color: #7ce3a5 !important;
}

html.dark .student-modern-main .student-module-badge-complete {
    border-color: rgba(140, 240, 198, 0.64) !important;
    background: rgba(203, 255, 231, 0.96) !important;
    color: #0f6a4e !important;
}

html.dark .student-modern-main .student-module-badge-active {
    border-color: rgba(131, 232, 255, 0.62) !important;
    background: rgba(203, 246, 255, 0.96) !important;
    color: #0f6789 !important;
}

html.dark .student-modern-main .student-module-badge-locked {
    border-color: rgba(163, 187, 214, 0.46) !important;
    background: rgba(57, 81, 112, 0.84) !important;
    color: #d6e6f8 !important;
}

html:not(.dark) .student-modern-main .student-courses-card,
html:not(.dark) .student-modern-main .student-courses-empty,
html:not(.dark) .student-modern-main .student-course-player-progress,
html:not(.dark) .student-modern-main .student-module-card-open,
html:not(.dark) .student-modern-main .student-course-player-stage,
html:not(.dark) .student-modern-main .student-module-no-data {
    border-color: rgba(136, 168, 199, 0.56) !important;
    background: rgba(235, 245, 253, 0.92) !important;
}

html:not(.dark) .student-modern-main .student-module-card-locked,
html:not(.dark) .student-modern-main .student-stage-progress {
    border-color: rgba(136, 168, 199, 0.46) !important;
    background: rgba(226, 239, 250, 0.88) !important;
}

html:not(.dark) .student-modern-main .student-module-summary:hover {
    background: rgba(216, 236, 250, 0.72) !important;
}

html:not(.dark) .student-modern-main .student-module-chevron {
    background: rgba(201, 224, 241, 0.88) !important;
    color: #25698f !important;
}

html:not(.dark) .student-modern-main .student-module-count,
html:not(.dark) .student-modern-main .student-module-open-hint {
    color: #58738d !important;
}

html:not(.dark) .student-modern-main .student-module-lessons {
    border-top-color: rgba(136, 168, 199, 0.32) !important;
    background: rgba(242, 248, 254, 0.42) !important;
}

html:not(.dark) .student-modern-main .student-courses-cover-placeholder,
html:not(.dark) .student-modern-main .student-courses-progress-track {
    border-color: rgba(136, 168, 199, 0.46) !important;
    background: rgba(216, 231, 244, 0.9) !important;
}

html:not(.dark) .student-modern-main .student-courses-progress-fill {
    background: linear-gradient(120deg, rgba(55, 152, 231, 0.94), rgba(39, 112, 174, 0.94)) !important;
}

html:not(.dark) .student-modern-main .student-courses-cta {
    border-color: rgba(104, 189, 152, 0.62) !important;
    background: rgba(216, 246, 232, 0.96) !important;
    color: #197251 !important;
}

html:not(.dark) .student-modern-main .student-courses-live-cta {
    border-color: rgba(126, 192, 231, 0.62) !important;
    background: rgba(223, 242, 254, 0.96) !important;
    color: #1f5e8f !important;
}

html:not(.dark) .student-modern-main .student-courses-disabled {
    border-color: rgba(136, 168, 199, 0.5) !important;
    background: rgba(231, 242, 251, 0.95) !important;
    color: #5c7691 !important;
}

html:not(.dark) .student-modern-main .student-course-player-back {
    border-color: rgba(136, 168, 199, 0.56) !important;
    background: rgba(231, 242, 251, 0.95) !important;
    color: #2c5375 !important;
}

html:not(.dark) .student-modern-main .student-lesson-card-default,
html:not(.dark) .student-modern-main .student-lesson-card-locked {
    border-color: rgba(136, 168, 199, 0.44) !important;
    background: rgba(242, 248, 254, 0.95) !important;
}

html:not(.dark) .student-modern-main .student-lesson-card-selected {
    border-color: rgba(102, 176, 224, 0.66) !important;
    background: rgba(223, 242, 254, 0.96) !important;
}

html:not(.dark) .student-modern-main .student-module-badge-complete {
    border-color: rgba(112, 201, 161, 0.62) !important;
    background: rgba(224, 249, 237, 0.98) !important;
    color: #156648 !important;
}

html:not(.dark) .student-modern-main .student-module-badge-active {
    border-color: rgba(119, 189, 226, 0.62) !important;
    background: rgba(225, 244, 255, 0.98) !important;
    color: #1c5c85 !important;
}

html:not(.dark) .student-modern-main .student-module-badge-locked {
    border-color: rgba(148, 171, 198, 0.62) !important;
    background: rgba(226, 236, 246, 0.96) !important;
    color: #425f7d !important;
}

/* =====================================================================
   ADMIN SIDEBAR — recolhivel com submenu agrupado
   ===================================================================== */

:root {
    --admin-sidebar-width: 17.5rem;
    --admin-sidebar-collapsed-width: 5.5rem;
}

.admin-modern-sidebar {
    width: var(--admin-sidebar-width);
    transition:
        width 0.22s ease,
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

.admin-sidebar-head,
.admin-sidebar-footer {
    transition: padding 0.22s ease;
}

.admin-sidebar-brand-title,
.admin-sidebar-link-label,
.admin-sidebar-company-card,
.admin-sidebar-user-card,
.admin-sidebar-group-chevron,
.admin-sidebar-collapse-copy {
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.admin-sidebar-link,
.admin-sidebar-group-trigger,
.admin-sidebar-sublink {
    position: relative;
    overflow: hidden;
}

.admin-sidebar-link::before,
.admin-sidebar-group-trigger::before,
.admin-sidebar-sublink::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(121, 206, 255, 0.95), rgba(72, 171, 232, 0.78));
    opacity: 0;
    transition: width 0.16s ease, opacity 0.16s ease;
}

.admin-sidebar-link.bg-slate-800::before,
.admin-sidebar-group-trigger.bg-slate-800::before,
.admin-sidebar-sublink.bg-slate-800\/90::before {
    width: 0.22rem;
    opacity: 1;
}

.admin-sidebar-popout-head {
    border-bottom: 1px solid rgba(120, 164, 199, 0.2);
    margin-bottom: 0.35rem;
}

.admin-sidebar-popout-link + .admin-sidebar-popout-link {
    margin-top: 0.15rem;
}

.admin-sidebar-collapse-btn {
    margin-bottom: 0.85rem;
}

.admin-sidebar-collapse-icon {
    color: #8adfff;
}

@media (min-width: 1024px) {
    .admin-modern-shell {
        display: grid !important;
        grid-template-columns: var(--admin-sidebar-width) minmax(0, 1fr);
        align-items: stretch;
    }

    html.admin-sidebar-collapsed .admin-modern-shell {
        grid-template-columns: var(--admin-sidebar-collapsed-width) minmax(0, 1fr);
    }

    .admin-modern-sidebar {
        grid-column: 1;
        grid-row: 1;
        position: sticky !important;
        top: 0;
        inset: auto;
        height: 100vh;
        transform: none !important;
    }

    .admin-modern-content {
        grid-column: 2;
        grid-row: 1;
        margin-left: 0;
        width: auto;
        min-width: 0;
        flex: 1 1 auto;
        min-height: 100vh;
    }

    .admin-modern-header {
        margin-top: 0 !important;
    }

    html.admin-sidebar-collapsed .admin-modern-sidebar {
        width: var(--admin-sidebar-collapsed-width);
    }

    html.admin-sidebar-collapsed .admin-sidebar-head,
    html.admin-sidebar-collapsed .admin-sidebar-footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    html.admin-sidebar-collapsed .admin-sidebar-brand-title,
    html.admin-sidebar-collapsed .admin-sidebar-link-label,
    html.admin-sidebar-collapsed .admin-sidebar-company-card,
    html.admin-sidebar-collapsed .admin-sidebar-user-card,
    html.admin-sidebar-collapsed .admin-sidebar-group-chevron,
    html.admin-sidebar-collapsed .admin-sidebar-collapse-copy {
        transform: translateX(-6px);
        pointer-events: none;
    }

    html.admin-sidebar-collapsed .admin-sidebar-brand {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    html.admin-sidebar-collapsed .admin-sidebar-brand-title {
        display: none;
    }

    html.admin-sidebar-collapsed .admin-sidebar-brand p {
        margin: 0;
        text-align: center;
    }

    html.admin-sidebar-collapsed .admin-sidebar-head {
        justify-content: center;
    }

    html.admin-sidebar-collapsed .admin-sidebar-nav {
        padding-left: 0.8rem;
        padding-right: 0.8rem;
    }

    html.admin-sidebar-collapsed .admin-sidebar-link,
    html.admin-sidebar-collapsed .admin-sidebar-group-trigger {
        justify-content: center;
        gap: 0;
        padding-left: 0.8rem;
        padding-right: 0.8rem;
        min-height: 2.9rem;
    }

    html.admin-sidebar-collapsed .admin-sidebar-group-trigger > span {
        justify-content: center;
        width: auto;
        min-width: 0;
    }

    html.admin-sidebar-collapsed .admin-sidebar-collapse-btn {
        justify-content: center;
        padding-left: 0.65rem;
        padding-right: 0.65rem;
    }

    html.admin-sidebar-collapsed .admin-sidebar-collapse-icon {
        display: inline-flex;
    }

    html.admin-sidebar-collapsed .admin-sidebar-link-label,
    html.admin-sidebar-collapsed .admin-sidebar-company-card,
    html.admin-sidebar-collapsed .admin-sidebar-user-card,
    html.admin-sidebar-collapsed .admin-sidebar-group-chevron,
    html.admin-sidebar-collapsed .admin-sidebar-collapse-copy {
        display: none !important;
        opacity: 0;
    }

    html.admin-sidebar-collapsed .admin-sidebar-link svg,
    html.admin-sidebar-collapsed .admin-sidebar-group-trigger svg,
    html.admin-sidebar-collapsed .admin-sidebar-collapse-btn svg {
        margin-left: 0;
        margin-right: 0;
    }

    html.admin-sidebar-collapsed .admin-sidebar-link,
    html.admin-sidebar-collapsed .admin-sidebar-group-trigger,
    html.admin-sidebar-collapsed .admin-sidebar-collapse-btn {
        overflow: visible;
    }

    html.admin-sidebar-collapsed .admin-sidebar-link > svg,
    html.admin-sidebar-collapsed .admin-sidebar-group-trigger > span > svg {
        width: 1.15rem;
        height: 1.15rem;
        flex: 0 0 1.15rem;
    }
}

html.admin-theme-light .admin-modern-sidebar {
    border-right-color: rgba(143, 176, 204, 0.35);
    background: linear-gradient(180deg, rgba(234, 243, 250, 0.98), rgba(223, 235, 245, 0.98));
    box-shadow: 0 18px 48px rgba(86, 122, 156, 0.16);
}

html.admin-theme-light .admin-modern-sidebar .border-slate-800 {
    border-color: rgba(183, 205, 223, 0.68) !important;
}

html.admin-theme-light .admin-sidebar-link:not(.bg-slate-800),
html.admin-theme-light .admin-sidebar-group-trigger:not(.bg-slate-800),
html.admin-theme-light .admin-sidebar-sublink:not(.bg-slate-800\/90) {
    color: #45617d !important;
}

html.admin-theme-light .admin-sidebar-link:hover,
html.admin-theme-light .admin-sidebar-group-trigger:hover,
html.admin-theme-light .admin-sidebar-sublink:hover {
    background: rgba(236, 245, 252, 0.95) !important;
    color: #1f486f !important;
}

html.admin-theme-light .admin-sidebar-link.bg-slate-800,
html.admin-theme-light .admin-sidebar-group-trigger.bg-slate-800,
html.admin-theme-light .admin-sidebar-sublink.bg-slate-800\/90 {
    background: linear-gradient(135deg, rgba(228, 241, 250, 0.98), rgba(214, 232, 245, 0.98)) !important;
    color: #176494 !important;
    box-shadow: inset 0 0 0 1px rgba(181, 209, 229, 0.8);
}

html.admin-theme-light .admin-sidebar-company-card,
html.admin-theme-light .admin-sidebar-user-card {
    border-color: rgba(184, 204, 221, 0.76);
    background: linear-gradient(180deg, rgba(246, 250, 253, 0.95), rgba(235, 244, 251, 0.96));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

html.admin-theme-light .admin-sidebar-company-name,
html.admin-theme-light .admin-sidebar-user-name,
html.admin-theme-light .admin-sidebar-brand-title {
    color: #1f3448;
}

html.admin-theme-light .admin-sidebar-company-doc,
html.admin-theme-light .admin-sidebar-user-role {
    color: #64809a;
}

html.admin-theme-light .admin-sidebar-collapse-btn {
    border-color: rgba(184, 204, 221, 0.76);
    background: rgba(242, 248, 252, 0.94);
    color: #45617d;
}

html.admin-theme-light .admin-sidebar-collapse-btn:hover {
    border-color: rgba(151, 188, 217, 0.92);
    background: rgba(235, 245, 252, 0.98);
    color: #1f486f;
}

html.admin-theme-light .admin-modern-sidebar [data-cadastro-panel] {
    background: linear-gradient(180deg, rgba(248, 252, 255, 0.99), rgba(237, 246, 252, 0.99)) !important;
    border-color: rgba(179, 205, 226, 0.86) !important;
    box-shadow: 0 22px 48px rgba(82, 118, 151, 0.18) !important;
}

html.admin-theme-light .admin-sidebar-popout-head {
    border-bottom-color: rgba(184, 204, 221, 0.76);
}

html.admin-theme-light .admin-sidebar-popout-link:not(.bg-slate-800) {
    color: #385572 !important;
}

html.admin-theme-light .admin-sidebar-popout-link:hover {
    background: rgba(236, 245, 252, 0.95) !important;
    color: #1f486f !important;
}

.student-schedule-hero {
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(232, 242, 255, 0.9));
    color: #0f172a;
}

.student-schedule-hero p {
    color: #475569;
}

.student-schedule-empty {
    border-color: rgba(125, 211, 252, 0.35);
    background: rgba(255, 255, 255, 0.86);
    color: #0f172a;
}

.student-schedule-empty p:last-child {
    color: #64748b;
}

.student-schedule-card {
    border-color: rgba(148, 163, 184, 0.26);
    background: rgba(255, 255, 255, 0.9);
}

.student-schedule-card-head {
    border-color: rgba(148, 163, 184, 0.18);
    background: linear-gradient(135deg, rgba(244, 249, 255, 0.98), rgba(232, 247, 243, 0.95));
}

.student-schedule-unit {
    color: #0284c7;
}

.student-schedule-card h3,
.student-schedule-date,
.student-schedule-empty p:first-child {
    color: #0f172a;
}

.student-schedule-period,
.student-schedule-date-sub,
.student-schedule-week-note {
    color: #64748b;
}

.student-schedule-badge {
    border: 1px solid rgba(16, 185, 129, 0.25);
    background: rgba(220, 252, 231, 0.9);
    color: #047857;
}

.student-schedule-month-wrap {
    border-color: rgba(148, 163, 184, 0.22);
}

.student-schedule-month-head {
    background: #eaf2ff;
    color: #1d4ed8;
}

.student-schedule-month-body {
    border-color: rgba(148, 163, 184, 0.16);
    background: rgba(248, 250, 252, 0.92);
}

.student-schedule-week-card {
    border-color: rgba(125, 211, 252, 0.3);
    background: rgba(240, 249, 255, 0.9);
}

.student-schedule-week-text {
    color: #334155;
}

html.dark .student-schedule-hero {
    border-color: rgba(15, 23, 42, 0.12);
    background: rgba(51, 65, 85, 0.86);
    color: #f8fafc;
}

html.dark .student-schedule-hero p {
    color: #94a3b8;
}

html.dark .student-schedule-empty {
    border-color: rgba(14, 165, 233, 0.2);
    background: rgba(30, 41, 59, 0.82);
    color: #f8fafc;
}

html.dark .student-schedule-empty p:last-child {
    color: #94a3b8;
}

html.dark .student-schedule-card {
    border-color: rgba(14, 165, 233, 0.16);
    background: rgba(30, 41, 59, 0.84);
}

html.dark .student-schedule-card-head {
    border-color: rgba(14, 165, 233, 0.14);
    background: linear-gradient(90deg, rgba(30, 41, 59, 0.96), rgba(8, 47, 73, 0.88));
}

html.dark .student-schedule-unit {
    color: #67e8f9;
}

html.dark .student-schedule-card h3,
html.dark .student-schedule-date,
html.dark .student-schedule-empty p:first-child {
    color: #f8fafc;
}

html.dark .student-schedule-period,
html.dark .student-schedule-date-sub,
html.dark .student-schedule-week-note {
    color: #94a3b8;
}

html.dark .student-schedule-badge {
    border-color: rgba(52, 211, 153, 0.28);
    background: rgba(16, 185, 129, 0.16);
    color: #86efac;
}

html.dark .student-schedule-month-wrap {
    border-color: rgba(51, 65, 85, 0.8);
}

html.dark .student-schedule-month-head {
    background: #020617;
    color: #bae6fd;
}

html.dark .student-schedule-month-body {
    border-color: rgba(51, 65, 85, 0.82);
    background: rgba(30, 41, 59, 0.72);
}

html.dark .student-schedule-week-card {
    border-color: rgba(8, 145, 178, 0.24);
    background: rgba(8, 47, 73, 0.24);
}

html.dark .student-schedule-week-text {
    color: #e2e8f0;
}
/* =====================================================================
   ADMIN SIDEBAR FINAL POLISH — topo e sessao logada
   ===================================================================== */

body.admin-modern-theme {
    margin: 0 !important;
    padding: 0 !important;
    background: #061b2e !important;
    overflow-x: hidden;
}

.admin-modern-shell {
    margin: 0 !important;
    padding: 0 !important;
}

.admin-modern-shell::before {
    content: none !important;
    display: none !important;
}

.admin-modern-header {
    margin-top: 0 !important;
    background: linear-gradient(90deg, rgba(8, 32, 52, 0.96), rgba(9, 42, 67, 0.94)) !important;
    box-shadow: none !important;
}

.admin-sidebar-session-card {
    display: grid;
    gap: 0.75rem;
    border-radius: 1rem;
    border: 1px solid rgba(120, 164, 199, 0.24);
    background: linear-gradient(180deg, rgba(8, 33, 54, 0.82), rgba(5, 24, 40, 0.9));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 14px 28px rgba(0, 8, 18, 0.18);
    padding: 0.85rem;
}

.admin-sidebar-session-row {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    min-width: 0;
}

.admin-sidebar-session-icon {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.7rem;
    border: 1px solid rgba(103, 232, 249, 0.22);
    background: rgba(14, 116, 144, 0.22);
    color: #8ee9ff;
}

.admin-sidebar-session-user-icon {
    border-color: rgba(52, 211, 153, 0.22);
    background: rgba(5, 150, 105, 0.18);
    color: #93f2c8;
}

.admin-sidebar-session-divider {
    height: 1px;
    background: rgba(120, 164, 199, 0.18);
}

.admin-sidebar-session-label {
    color: #8fb0cb;
    font-size: 0.72rem;
    line-height: 1.2;
}

.admin-sidebar-session-title {
    color: #edf7ff;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.25;
}

.admin-sidebar-session-link {
    display: inline-flex;
    margin-top: 0.2rem;
    color: #7fe3ff;
    font-size: 0.72rem;
    font-weight: 650;
}

.admin-sidebar-session-link:hover {
    color: #b9f3ff;
}

.admin-sidebar-session-logout {
    color: #ffb3be;
}

.admin-sidebar-session-logout:hover {
    color: #ffd0d7;
}

html.admin-sidebar-collapsed .admin-sidebar-session-card {
    display: none !important;
}

html.admin-theme-light body.admin-modern-theme {
    background: #d9e6f2 !important;
}

html.admin-theme-light .admin-modern-header {
    background: linear-gradient(90deg, rgba(216, 231, 244, 0.96), rgba(204, 223, 239, 0.94)) !important;
}

html.admin-theme-light .admin-sidebar-session-card {
    border-color: rgba(121, 160, 194, 0.58);
    background: linear-gradient(180deg, rgba(238, 247, 254, 0.96), rgba(226, 239, 250, 0.96));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86), 0 12px 24px rgba(86, 123, 160, 0.1);
}

html.admin-theme-light .admin-sidebar-session-label {
    color: #637d96;
}

html.admin-theme-light .admin-sidebar-session-title {
    color: #1c344a;
}

html.admin-theme-light .admin-sidebar-session-link {
    color: #1485ce;
}

html.admin-theme-light .admin-sidebar-session-link:hover {
    color: #0f6fae;
}

html.admin-theme-light .admin-sidebar-session-logout {
    color: #c24646;
}

/* =====================================================================
   ADMIN SIDEBAR SESSION INTEGRATED
   ===================================================================== */

.admin-sidebar-session-card {
    display: grid;
    gap: 0.68rem;
    width: calc(100% + 3rem);
    margin: 0 -1.5rem -1rem;
    border-top: 1px solid rgba(120, 164, 199, 0.2);
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
    background: linear-gradient(180deg, rgba(9, 32, 52, 0.72), rgba(5, 20, 34, 0.84));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
    padding: 0.9rem 1.5rem 1rem;
}

.admin-sidebar-session-block {
    min-width: 0;
}

.admin-sidebar-session-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    min-width: 0;
}

.admin-sidebar-session-divider {
    height: 1px;
    background: rgba(120, 164, 199, 0.14);
}

.admin-sidebar-session-label {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    color: #8fb0cb;
    font-size: 0.66rem;
    font-weight: 750;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.13em;
}

.admin-sidebar-session-label::before {
    content: "";
    width: 0.42rem;
    height: 0.42rem;
    flex: 0 0 0.42rem;
    border-radius: 999px;
    background: #67e8f9;
    box-shadow: 0 0 0 3px rgba(103, 232, 249, 0.12);
}

.admin-sidebar-session-label-user::before {
    background: #6ee7b7;
    box-shadow: 0 0 0 3px rgba(110, 231, 183, 0.12);
}

.admin-sidebar-session-title {
    margin-top: 0.16rem;
    color: #edf7ff;
    font-size: 0.84rem;
    font-weight: 750;
    line-height: 1.25;
}

.admin-sidebar-session-role {
    margin-top: 0.06rem;
    color: #8fb0cb;
    font-size: 0.73rem;
    line-height: 1.2;
}

.admin-sidebar-session-link {
    display: inline-flex;
    color: #80e8ff;
    font-size: 0.68rem;
    font-weight: 750;
    line-height: 1.2;
}

.admin-sidebar-session-link:hover {
    color: #c5f6ff;
}

.admin-sidebar-session-logout {
    color: #ffb3be;
}

.admin-sidebar-session-logout:hover {
    color: #ffd0d7;
}

html.admin-sidebar-collapsed .admin-sidebar-session-card {
    display: none !important;
}

html.admin-theme-light .admin-sidebar-session-card {
    border-top-color: rgba(121, 160, 194, 0.34);
    background: linear-gradient(180deg, rgba(226, 239, 250, 0.82), rgba(211, 228, 243, 0.88));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

html.admin-theme-light .admin-sidebar-session-label,
html.admin-theme-light .admin-sidebar-session-role {
    color: #617b94;
}

html.admin-theme-light .admin-sidebar-session-title {
    color: #1c344a;
}

html.admin-theme-light .admin-sidebar-session-link {
    color: #107abf;
}

html.admin-theme-light .admin-sidebar-session-link:hover {
    color: #0d659d;
}

html.admin-theme-light .admin-sidebar-session-logout {
    color: #b83c46;
}

/* =====================================================================
   ADMIN SIDEBAR FOOTER DOCKING
   Mantem empresa/usuario presos ao rodape real da sidebar.
   ===================================================================== */

.admin-modern-sidebar {
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden;
}

.admin-sidebar-head {
    flex: 0 0 auto;
}

.admin-sidebar-nav {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: auto !important;
    overflow-y: auto;
}

.admin-sidebar-footer {
    flex: 0 0 auto !important;
    margin-top: auto !important;
    background: linear-gradient(180deg, rgba(8, 32, 52, 0.94), rgba(4, 18, 31, 0.98));
}

.admin-sidebar-session-card {
    margin-top: 0;
}

html.admin-theme-light .admin-sidebar-footer {
    background: linear-gradient(180deg, rgba(223, 237, 249, 0.96), rgba(207, 224, 239, 0.98));
}

/* =====================================================================
   EAD POLISH - dashboard do aluno e builder LMS
   ===================================================================== */

.student-focus-hero,
.student-focus-panel,
.admin-lms-builder,
.admin-lms-kpi-card {
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

html:not(.dark) .student-modern-main .student-focus-hero {
    border-color: rgba(113, 181, 219, 0.58) !important;
    background:
        radial-gradient(520px 220px at 88% 0%, rgba(69, 188, 230, 0.22), transparent 60%),
        linear-gradient(135deg, rgba(245, 251, 255, 0.98), rgba(224, 244, 252, 0.96)) !important;
    color: #16334b !important;
    box-shadow: 0 18px 36px rgba(88, 142, 184, 0.18);
}

html.dark .student-modern-main .student-focus-hero {
    border-color: rgba(103, 232, 249, 0.24) !important;
    background:
        radial-gradient(560px 240px at 90% 0%, rgba(34, 211, 238, 0.18), transparent 58%),
        linear-gradient(135deg, rgba(8, 47, 73, 0.92), rgba(15, 23, 42, 0.96)) !important;
    color: #effaff !important;
}

html:not(.dark) .student-modern-main .student-focus-eyebrow,
html:not(.dark) .student-modern-main .student-focus-progress-label {
    color: #1681bd !important;
}

html:not(.dark) .student-modern-main .student-focus-title,
html:not(.dark) .student-modern-main .student-focus-progress-value {
    color: #122b42 !important;
}

html:not(.dark) .student-modern-main .student-focus-copy,
html:not(.dark) .student-modern-main .student-focus-chip {
    color: #496985 !important;
}

html:not(.dark) .student-modern-main .student-focus-progress-card,
html:not(.dark) .student-modern-main .student-focus-chip {
    border-color: rgba(125, 178, 213, 0.48) !important;
    background: rgba(255, 255, 255, 0.64) !important;
}

html:not(.dark) .student-modern-main .student-focus-progress-track {
    background: rgba(187, 219, 238, 0.78) !important;
}

html:not(.dark) .student-modern-main .student-focus-progress-fill {
    background: linear-gradient(90deg, #159bd7, #28c5df) !important;
}

html:not(.dark) .student-modern-main .student-focus-primary {
    background: linear-gradient(135deg, #0f75b7, #0797c9) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 20px rgba(15, 117, 183, 0.2);
}

html:not(.dark) .student-modern-main .student-focus-primary:hover {
    background: linear-gradient(135deg, #0b689f, #0586b3) !important;
}

html.dark .student-modern-main .student-focus-eyebrow,
html.dark .student-modern-main .student-focus-progress-label {
    color: #a5f3fc !important;
}

html.dark .student-modern-main .student-focus-title,
html.dark .student-modern-main .student-focus-progress-value {
    color: #f8fdff !important;
}

html.dark .student-modern-main .student-focus-copy,
html.dark .student-modern-main .student-focus-chip {
    color: #c9f4ff !important;
}

html.dark .student-modern-main .student-focus-progress-card,
html.dark .student-modern-main .student-focus-chip {
    border-color: rgba(207, 250, 254, 0.16) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

html.dark .student-modern-main .student-focus-progress-track {
    background: rgba(255, 255, 255, 0.14) !important;
}

html.dark .student-modern-main .student-focus-progress-fill {
    background: linear-gradient(90deg, #67e8f9, #38bdf8) !important;
}

html.dark .student-modern-main .student-focus-primary {
    background: #effaff !important;
    color: #082f49 !important;
}

html.dark .student-modern-main .student-focus-primary:hover {
    background: #dff7ff !important;
}

html:not(.dark) .student-modern-main .student-focus-panel {
    border-color: rgba(135, 175, 207, 0.54) !important;
    background: rgba(241, 249, 255, 0.92) !important;
    box-shadow: 0 16px 30px rgba(94, 135, 172, 0.12);
}

html.dark .student-modern-main .student-focus-panel {
    border-color: rgba(124, 165, 200, 0.34) !important;
    background: rgba(12, 37, 59, 0.74) !important;
}

html:not(.dark) .student-modern-main .student-focus-panel-eyebrow {
    color: #1784be !important;
}

html:not(.dark) .student-modern-main .student-focus-panel-title {
    color: #1b354d !important;
}

html:not(.dark) .student-modern-main .student-focus-panel-copy {
    color: #647f98 !important;
}

html:not(.dark) .student-modern-main .student-focus-note {
    border-color: rgba(130, 187, 220, 0.42) !important;
    background: rgba(230, 245, 253, 0.88) !important;
    color: #23658d !important;
}

html.dark .student-modern-main .student-focus-panel-eyebrow {
    color: #8eeaff !important;
}

html.dark .student-modern-main .student-focus-panel-title {
    color: #eaf7ff !important;
}

html.dark .student-modern-main .student-focus-panel-copy {
    color: #93b2ce !important;
}

html.dark .student-modern-main .student-focus-note {
    border-color: rgba(103, 232, 249, 0.18) !important;
    background: rgba(8, 47, 73, 0.32) !important;
    color: #b9f2ff !important;
}

.admin-lms-builder {
    overflow: hidden;
}

.admin-lms-builder-head {
    background:
        radial-gradient(620px 260px at 90% 0%, rgba(34, 211, 238, 0.16), transparent 58%),
        linear-gradient(135deg, rgba(8, 31, 51, 0.98), rgba(8, 48, 72, 0.94)) !important;
    border-color: rgba(120, 164, 199, 0.24) !important;
    color: #eefaff !important;
}

.admin-lms-builder-eyebrow,
.admin-lms-builder-copy,
.admin-lms-kpi-label {
    color: #a5efff !important;
}

.admin-lms-builder-title,
.admin-lms-kpi-value {
    color: #f5fbff !important;
}

.admin-lms-builder-pill,
.admin-lms-kpi-card {
    border-color: rgba(165, 243, 252, 0.2) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: #d9fbff !important;
}

.admin-lms-builder-body {
    background: rgba(8, 31, 51, 0.32) !important;
}

.admin-lms-section-title {
    color: #eaf5ff !important;
}

.admin-lms-section-copy {
    color: #94b3cf !important;
}

.admin-lms-help-strip {
    border-color: rgba(103, 232, 249, 0.22) !important;
    background: rgba(8, 47, 73, 0.28) !important;
    color: #bdf5ff !important;
}

.admin-lms-status-pill {
    border-color: rgba(110, 231, 183, 0.3) !important;
    background: rgba(16, 185, 129, 0.12) !important;
    color: #adf7d3 !important;
}

html.admin-theme-light .admin-lms-builder {
    border-color: rgba(130, 169, 201, 0.5) !important;
    background: rgba(242, 249, 254, 0.96) !important;
    box-shadow: 0 18px 34px rgba(85, 124, 158, 0.12);
}

html.admin-theme-light .admin-lms-builder-head {
    background:
        radial-gradient(620px 260px at 90% 0%, rgba(34, 211, 238, 0.2), transparent 58%),
        linear-gradient(135deg, rgba(245, 251, 255, 0.98), rgba(220, 240, 250, 0.96)) !important;
    border-color: rgba(141, 180, 208, 0.5) !important;
    color: #17324a !important;
}

html.admin-theme-light .admin-lms-builder-eyebrow,
html.admin-theme-light .admin-lms-kpi-label {
    color: #167eae !important;
}

html.admin-theme-light .admin-lms-builder-title,
html.admin-theme-light .admin-lms-kpi-value,
html.admin-theme-light .admin-lms-section-title {
    color: #19354c !important;
}

html.admin-theme-light .admin-lms-builder-copy,
html.admin-theme-light .admin-lms-section-copy {
    color: #59758f !important;
}

html.admin-theme-light .admin-lms-builder-pill,
html.admin-theme-light .admin-lms-kpi-card {
    border-color: rgba(125, 180, 213, 0.46) !important;
    background: rgba(255, 255, 255, 0.7) !important;
    color: #285470 !important;
}

html.admin-theme-light .admin-lms-builder-body {
    background: rgba(232, 244, 252, 0.72) !important;
}

html.admin-theme-light .admin-lms-help-strip {
    border-color: rgba(115, 181, 214, 0.44) !important;
    background: rgba(232, 246, 253, 0.9) !important;
    color: #256783 !important;
}

html.admin-theme-light .admin-lms-status-pill {
    border-color: rgba(105, 190, 151, 0.48) !important;
    background: rgba(218, 247, 234, 0.92) !important;
    color: #16724f !important;
}

/* Gerenciador de Modulos do Sistema */
.system-modules-hero-shell {
    border-color: rgba(103, 232, 249, 0.28) !important;
    background: #07192d !important;
    box-shadow: 0 22px 46px rgba(0, 8, 18, 0.34) !important;
}

.system-modules-hero-title {
    color: #f3fbff !important;
}

.system-modules-hero-copy {
    color: rgba(224, 247, 255, 0.84) !important;
}

.system-modules-hero-eyebrow,
.system-modules-kpi-label {
    color: #b7f5ff !important;
}

.system-modules-kpi {
    border-color: rgba(255, 255, 255, 0.16) !important;
    background: rgba(255, 255, 255, 0.11) !important;
    color: #f4fbff !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.system-modules-kpi-value {
    color: #ffffff !important;
}

html.admin-theme-light .system-modules-hero-shell {
    border-color: rgba(129, 176, 211, 0.56) !important;
    background: rgba(241, 249, 255, 0.92) !important;
    box-shadow: 0 18px 36px rgba(75, 116, 154, 0.18) !important;
}

html.admin-theme-light .system-modules-hero {
    background:
        radial-gradient(760px 320px at 0% 0%, rgba(34, 211, 238, 0.22), transparent 56%),
        radial-gradient(680px 320px at 100% 0%, rgba(14, 116, 144, 0.12), transparent 58%),
        linear-gradient(135deg, rgba(248, 253, 255, 0.98), rgba(219, 239, 249, 0.95)) !important;
    color: #15314a !important;
}

html.admin-theme-light .system-modules-hero-title {
    color: #10283e !important;
}

html.admin-theme-light .system-modules-hero-copy {
    color: #355a78 !important;
}

html.admin-theme-light .system-modules-hero-eyebrow,
html.admin-theme-light .system-modules-kpi-label {
    color: #0785b1 !important;
}

html.admin-theme-light .system-modules-kpi {
    border-color: rgba(126, 179, 214, 0.5) !important;
    background: rgba(255, 255, 255, 0.72) !important;
    color: #15314a !important;
    box-shadow: 0 12px 24px rgba(83, 124, 157, 0.12) !important;
}

html.admin-theme-light .system-modules-kpi-value {
    color: #17334d !important;
}

/* =====================================================================
   ANEO LIGHT THEME - OPCAO 1: SaaS Executivo Azul
   Aplicado somente ao modo claro do admin, portal do aluno e suporte.
   ===================================================================== */

html.admin-theme-light,
html:not(.dark) .portal-modern-theme {
    --aneo-light-page: #f6f8fb;
    --aneo-light-page-2: #ffffff;
    --aneo-light-surface: #ffffff;
    --aneo-light-surface-soft: #eef3f8;
    --aneo-light-line: #d8e2ec;
    --aneo-light-line-soft: #e7edf4;
    --aneo-light-text: #102033;
    --aneo-light-muted: #61758a;
    --aneo-light-accent: #0f5e8c;
    --aneo-light-accent-2: #0f6fae;
    --aneo-light-success: #0f9f75;
    --aneo-light-danger: #d33b5c;
    --aneo-light-shadow: 0 18px 42px rgba(37, 57, 78, 0.12);
    --aneo-light-shadow-soft: 0 10px 26px rgba(37, 57, 78, 0.08);
}

html.admin-theme-light body.admin-modern-theme,
html:not(.dark) body.portal-modern-theme {
    background:
        radial-gradient(900px 420px at 18% -10%, rgba(15, 94, 140, 0.08), transparent 65%),
        radial-gradient(720px 340px at 100% 10%, rgba(15, 111, 174, 0.06), transparent 62%),
        linear-gradient(135deg, var(--aneo-light-page) 0%, var(--aneo-light-page-2) 100%) !important;
    color: var(--aneo-light-text) !important;
}

html.admin-theme-light .admin-modern-shell,
html:not(.dark) .portal-modern-shell {
    background:
        radial-gradient(900px 420px at 18% -10%, rgba(15, 94, 140, 0.07), transparent 65%),
        radial-gradient(720px 340px at 100% 10%, rgba(15, 111, 174, 0.05), transparent 62%),
        linear-gradient(135deg, var(--aneo-light-page) 0%, var(--aneo-light-page-2) 100%) !important;
}

html:not(.dark) .portal-modern-ambient {
    opacity: 0.42 !important;
    background-image:
        radial-gradient(2px 2px at 9% 14%, rgba(15, 94, 140, 0.12), transparent 60%),
        radial-gradient(2px 2px at 26% 61%, rgba(15, 111, 174, 0.1), transparent 60%),
        radial-gradient(2px 2px at 74% 31%, rgba(15, 94, 140, 0.1), transparent 60%) !important;
}

html.admin-theme-light .admin-modern-header,
html:not(.dark) .student-modern-header,
html:not(.dark) .support-modern-header {
    border-color: var(--aneo-light-line) !important;
    background: rgba(255, 255, 255, 0.92) !important;
    box-shadow: 0 10px 28px rgba(37, 57, 78, 0.08) !important;
    backdrop-filter: blur(14px);
}

html.admin-theme-light .admin-modern-main,
html:not(.dark) .student-modern-main,
html:not(.dark) .support-modern-main {
    color: var(--aneo-light-text) !important;
}

html.admin-theme-light .admin-modern-main h1,
html.admin-theme-light .admin-modern-main h2,
html.admin-theme-light .admin-modern-main h3,
html.admin-theme-light .admin-modern-main h4,
html:not(.dark) .student-modern-main h1,
html:not(.dark) .student-modern-main h2,
html:not(.dark) .student-modern-main h3,
html:not(.dark) .support-modern-main h1,
html:not(.dark) .support-modern-main h2,
html:not(.dark) .support-modern-main h3 {
    color: var(--aneo-light-text) !important;
}

html.admin-theme-light .admin-modern-main [class*="text-slate-900"],
html.admin-theme-light .admin-modern-main [class*="text-slate-800"],
html:not(.dark) .student-modern-main [class*="text-slate-900"],
html:not(.dark) .student-modern-main [class*="text-slate-800"],
html:not(.dark) .support-modern-main [class*="text-slate-900"],
html:not(.dark) .support-modern-main [class*="text-slate-800"] {
    color: var(--aneo-light-text) !important;
}

html.admin-theme-light .admin-modern-main [class*="text-slate-700"],
html:not(.dark) .student-modern-main [class*="text-slate-700"],
html:not(.dark) .support-modern-main [class*="text-slate-700"] {
    color: #36506a !important;
}

html.admin-theme-light .admin-modern-main [class*="text-slate-600"],
html.admin-theme-light .admin-modern-main [class*="text-slate-500"],
html.admin-theme-light .admin-modern-main [class*="text-slate-400"],
html:not(.dark) .student-modern-main [class*="text-slate-600"],
html:not(.dark) .student-modern-main [class*="text-slate-500"],
html:not(.dark) .student-modern-main [class*="text-slate-400"],
html:not(.dark) .support-modern-main [class*="text-slate-600"],
html:not(.dark) .support-modern-main [class*="text-slate-500"],
html:not(.dark) .support-modern-main [class*="text-slate-400"] {
    color: var(--aneo-light-muted) !important;
}

html.admin-theme-light .admin-modern-sidebar {
    border-right-color: var(--aneo-light-line) !important;
    background: #ffffff !important;
    box-shadow: 18px 0 42px rgba(37, 57, 78, 0.07) !important;
}

html.admin-theme-light .admin-sidebar-head,
html.admin-theme-light .admin-sidebar-footer {
    border-color: var(--aneo-light-line-soft) !important;
    background: #ffffff !important;
}

html.admin-theme-light .admin-sidebar-brand-title,
html.admin-theme-light .admin-modern-sidebar h1 {
    color: var(--aneo-light-text) !important;
}

html.admin-theme-light .admin-sidebar-link:not(.bg-slate-800),
html.admin-theme-light .admin-sidebar-group-trigger:not(.bg-slate-800) {
    border: 1px solid rgba(188, 208, 224, 0.4) !important;
    background: rgba(255, 255, 255, 0.44) !important;
    color: #36506a !important;
}

html.admin-theme-light .admin-sidebar-link:hover,
html.admin-theme-light .admin-sidebar-group-trigger:hover {
    border-color: rgba(15, 94, 140, 0.14) !important;
    background: #eef3f8 !important;
    color: var(--aneo-light-accent) !important;
}

html.admin-theme-light .admin-sidebar-link.bg-slate-800,
html.admin-theme-light .admin-sidebar-group-trigger.bg-slate-800 {
    border-color: transparent !important;
    background: linear-gradient(135deg, var(--aneo-light-accent), var(--aneo-light-accent-2)) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 22px rgba(15, 94, 140, 0.22) !important;
}

html.admin-theme-light .admin-sidebar-link.bg-slate-800 svg,
html.admin-theme-light .admin-sidebar-group-trigger.bg-slate-800 svg {
    color: #ffffff !important;
}

html.admin-theme-light .admin-sidebar-collapse-btn,
html.admin-theme-light .admin-modern-sidebar [data-cadastro-panel],
html.admin-theme-light .admin-sidebar-session-card,
html:not(.dark) #student-avatar-menu,
html:not(.dark) .portal-alert-modal-panel {
    border-color: var(--aneo-light-line) !important;
    background: rgba(255, 255, 255, 0.82) !important;
    box-shadow: var(--aneo-light-shadow-soft) !important;
}

html.admin-theme-light .admin-sidebar-collapse-btn:hover {
    border-color: rgba(15, 94, 140, 0.26) !important;
    background: rgba(255, 255, 255, 0.96) !important;
    color: var(--aneo-light-accent) !important;
}

html.admin-theme-light .admin-sidebar-session-label,
html.admin-theme-light .admin-sidebar-session-role {
    color: var(--aneo-light-muted) !important;
}

html.admin-theme-light .admin-sidebar-session-title {
    color: var(--aneo-light-text) !important;
}

html.admin-theme-light .admin-sidebar-session-link {
    color: var(--aneo-light-accent) !important;
}

html.admin-theme-light .admin-sidebar-session-link:hover {
    color: #065f7d !important;
}

html.admin-theme-light .admin-sidebar-session-logout {
    color: var(--aneo-light-danger) !important;
}

html:not(.dark) .student-modern-header h1,
html:not(.dark) .support-modern-header h1,
html:not(.dark) .student-modern-header p[class*="text-slate-900"],
html:not(.dark) .support-modern-header p[class*="text-slate-800"] {
    color: var(--aneo-light-text) !important;
}

html:not(.dark) .student-modern-header p[class*="text-slate-500"],
html:not(.dark) .support-modern-header p[class*="text-slate-500"] {
    color: var(--aneo-light-muted) !important;
}

html:not(.dark) .student-modern-nav a:not([class*="bg-sky-600"]) {
    border-color: var(--aneo-light-line) !important;
    background: rgba(255, 255, 255, 0.92) !important;
    color: #36506a !important;
    box-shadow: 0 8px 18px rgba(37, 57, 78, 0.06) !important;
}

html:not(.dark) .student-modern-nav a:not([class*="bg-sky-600"]):hover {
    border-color: rgba(15, 94, 140, 0.22) !important;
    background: rgba(255, 255, 255, 0.96) !important;
    color: var(--aneo-light-accent) !important;
}

html:not(.dark) .student-modern-nav a[class*="bg-sky-600"] {
    border-color: transparent !important;
    background: linear-gradient(135deg, var(--aneo-light-accent), var(--aneo-light-accent-2)) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 22px rgba(15, 94, 140, 0.22) !important;
}

html.admin-theme-light .admin-theme-toggle,
html:not(.dark) .portal-theme-toggle,
html:not(.dark) [data-student-alert-trigger] {
    border-color: var(--aneo-light-line) !important;
    background: rgba(255, 255, 255, 0.94) !important;
    color: #36506a !important;
    box-shadow: var(--aneo-light-shadow-soft) !important;
}

html.admin-theme-light .admin-theme-toggle:hover,
html:not(.dark) .portal-theme-toggle:hover,
html:not(.dark) [data-student-alert-trigger]:hover {
    border-color: rgba(15, 94, 140, 0.26) !important;
    background: #ffffff !important;
    color: var(--aneo-light-accent) !important;
}

html.admin-theme-light .admin-modern-main [class*="bg-white"],
html.admin-theme-light .admin-modern-main [class*="bg-slate-50"],
html.admin-theme-light .admin-modern-main [class*="bg-slate-100"],
html:not(.dark) .student-modern-main [class*="bg-white"],
html:not(.dark) .student-modern-main [class*="bg-slate-50"],
html:not(.dark) .student-modern-main [class*="bg-slate-100"],
html:not(.dark) .support-modern-main [class*="bg-white"],
html:not(.dark) .support-modern-main [class*="bg-slate-50"],
html:not(.dark) .support-modern-main [class*="bg-slate-100"] {
    border-color: var(--aneo-light-line) !important;
    background: rgba(255, 255, 255, 0.88) !important;
    box-shadow: var(--aneo-light-shadow-soft) !important;
}

html.admin-theme-light .admin-modern-main [class*="border-slate-100"],
html.admin-theme-light .admin-modern-main [class*="border-slate-200"],
html:not(.dark) .student-modern-main [class*="border-slate-100"],
html:not(.dark) .student-modern-main [class*="border-slate-200"],
html:not(.dark) .support-modern-main [class*="border-slate-100"],
html:not(.dark) .support-modern-main [class*="border-slate-200"] {
    border-color: var(--aneo-light-line) !important;
}

html.admin-theme-light .admin-modern-theme input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]),
html.admin-theme-light .admin-modern-theme textarea,
html.admin-theme-light .admin-modern-theme select,
html:not(.dark) .portal-modern-theme input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]),
html:not(.dark) .portal-modern-theme textarea,
html:not(.dark) .portal-modern-theme select {
    border-color: var(--aneo-light-line) !important;
    background: rgba(255, 255, 255, 0.96) !important;
    color: var(--aneo-light-text) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

html.admin-theme-light .admin-modern-theme input::placeholder,
html.admin-theme-light .admin-modern-theme textarea::placeholder,
html:not(.dark) .portal-modern-theme input::placeholder,
html:not(.dark) .portal-modern-theme textarea::placeholder {
    color: var(--aneo-light-muted) !important;
}

html.admin-theme-light .admin-modern-theme input:focus,
html.admin-theme-light .admin-modern-theme textarea:focus,
html.admin-theme-light .admin-modern-theme select:focus,
html:not(.dark) .portal-modern-theme input:focus,
html:not(.dark) .portal-modern-theme textarea:focus,
html:not(.dark) .portal-modern-theme select:focus {
    border-color: rgba(15, 111, 174, 0.58) !important;
    box-shadow: 0 0 0 3px rgba(15, 111, 174, 0.12) !important;
}

html:not(.dark) #student-avatar-menu > div:first-child,
html:not(.dark) .portal-alert-modal-head {
    border-color: var(--aneo-light-line-soft) !important;
    background:
        radial-gradient(420px 160px at 100% 0%, rgba(15, 111, 174, 0.08), transparent 60%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 251, 0.98)) !important;
}

html:not(.dark) #student-avatar-menu a:hover {
    background: linear-gradient(135deg, rgba(238, 248, 252, 0.98), rgba(255, 255, 255, 0.98)) !important;
    color: var(--aneo-light-accent) !important;
    box-shadow: inset 0 0 0 1px rgba(188, 208, 224, 0.86) !important;
}

html:not(.dark) .portal-alert-modal-body,
html:not(.dark) .portal-alert-modal-foot {
    border-color: var(--aneo-light-line-soft) !important;
    background: rgba(247, 251, 253, 0.96) !important;
}

html:not(.dark) .portal-alert-card {
    border-color: rgba(15, 94, 140, 0.2) !important;
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: var(--aneo-light-shadow-soft) !important;
}

html:not(.dark) .portal-alert-btn,
html:not(.dark) .portal-alert-btn-card,
html:not(.dark) .portal-alert-btn-close,
html:not(.dark) .portal-alert-btn-schedule,
html:not(.dark) .portal-alert-btn-live {
    border-color: rgba(15, 94, 140, 0.32) !important;
    background: rgba(255, 255, 255, 0.9) !important;
    color: var(--aneo-light-accent) !important;
}

html:not(.dark) .portal-alert-btn:hover,
html:not(.dark) .portal-alert-btn-card:hover,
html:not(.dark) .portal-alert-btn-close:hover,
html:not(.dark) .portal-alert-btn-schedule:hover,
html:not(.dark) .portal-alert-btn-live:hover {
    background: #ffffff !important;
    color: #065f7d !important;
}

html:not(.dark) .portal-alert-btn-primary {
    border-color: transparent !important;
    background: linear-gradient(135deg, var(--aneo-light-accent), var(--aneo-light-accent-2)) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 22px rgba(15, 94, 140, 0.22) !important;
}

/* Ajuste fino do preview claro: menos "botao" no menu e acoes mais ANEO. */
html.admin-theme-light .admin-sidebar-link:not([class*="bg-slate-800"]),
html.admin-theme-light .admin-sidebar-group-trigger:not([class*="bg-slate-800"]) {
    border-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #40576f !important;
}

html.admin-theme-light .admin-sidebar-link:not([class*="bg-slate-800"]):hover,
html.admin-theme-light .admin-sidebar-group-trigger:not([class*="bg-slate-800"]):hover {
    border-color: rgba(216, 226, 236, 0.9) !important;
    background: #eef3f8 !important;
    color: var(--aneo-light-accent) !important;
}

html.admin-theme-light .admin-modern-sidebar nav a[class*="bg-slate-800"],
html.admin-theme-light .admin-modern-sidebar nav button[class*="bg-slate-800"],
html.admin-theme-light .admin-sidebar-link[class*="bg-slate-800"],
html.admin-theme-light .admin-sidebar-group-trigger[class*="bg-slate-800"] {
    border-color: rgba(15, 94, 140, 0.12) !important;
    background: linear-gradient(135deg, rgba(15, 94, 140, 0.98), rgba(15, 111, 174, 0.96)) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 22px rgba(15, 94, 140, 0.22) !important;
}

html.admin-theme-light .admin-modern-sidebar nav a[class*="bg-slate-800"] *,
html.admin-theme-light .admin-modern-sidebar nav button[class*="bg-slate-800"] * {
    color: #ffffff !important;
}

html.admin-theme-light .admin-modern-main button[class*="bg-slate-900"],
html.admin-theme-light .admin-modern-main a[class*="bg-slate-900"],
html.admin-theme-light .admin-modern-main button[class*="bg-slate-800"],
html.admin-theme-light .admin-modern-main a[class*="bg-slate-800"],
html.admin-theme-light .admin-modern-main button[class*="bg-slate-950"],
html.admin-theme-light .admin-modern-main a[class*="bg-slate-950"] {
    border-color: transparent !important;
    background: linear-gradient(135deg, var(--aneo-light-accent), var(--aneo-light-accent-2)) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 22px rgba(15, 94, 140, 0.2) !important;
}

html.admin-theme-light .admin-modern-main button[class*="bg-slate-900"]:hover,
html.admin-theme-light .admin-modern-main a[class*="bg-slate-900"]:hover,
html.admin-theme-light .admin-modern-main button[class*="bg-slate-800"]:hover,
html.admin-theme-light .admin-modern-main a[class*="bg-slate-800"]:hover,
html.admin-theme-light .admin-modern-main button[class*="bg-slate-950"]:hover,
html.admin-theme-light .admin-modern-main a[class*="bg-slate-950"]:hover {
    background: linear-gradient(135deg, #0c527d, #0f5e8c) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

html.admin-theme-light .admin-modern-main button[class*="border-slate-200"],
html.admin-theme-light .admin-modern-main a[class*="border-slate-200"] {
    background: rgba(255, 255, 255, 0.84) !important;
    color: #31506a !important;
    box-shadow: 0 8px 18px rgba(37, 57, 78, 0.06) !important;
}

html.admin-theme-light .admin-modern-main button[class*="border-slate-200"]:hover,
html.admin-theme-light .admin-modern-main a[class*="border-slate-200"]:hover {
    border-color: rgba(15, 94, 140, 0.24) !important;
    background: #ffffff !important;
    color: var(--aneo-light-accent) !important;
}

/* =====================================================================
   ANEO LIGHT THEME - estabilizacao visual
   Corrige vazamentos de blocos escuros e reduz ruído visual no claro.
   ===================================================================== */

html.admin-theme-light body.admin-modern-theme,
html.admin-theme-light .admin-modern-shell,
html:not(.dark) body.portal-modern-theme,
html:not(.dark) .portal-modern-shell {
    background: #f6f8fb !important;
}

html.admin-theme-light .admin-modern-header,
html:not(.dark) .student-modern-header,
html:not(.dark) .support-modern-header {
    background: #ffffff !important;
    border-color: #d8e2ec !important;
    box-shadow: 0 1px 0 rgba(16, 32, 51, 0.04), 0 8px 24px rgba(16, 32, 51, 0.04) !important;
}

html.admin-theme-light .admin-modern-main [class*="bg-white"],
html.admin-theme-light .admin-modern-main [class*="bg-slate-50"],
html.admin-theme-light .admin-modern-main [class*="bg-slate-100"],
html:not(.dark) .student-modern-main [class*="bg-white"],
html:not(.dark) .student-modern-main [class*="bg-slate-50"],
html:not(.dark) .student-modern-main [class*="bg-slate-100"],
html:not(.dark) .support-modern-main [class*="bg-white"],
html:not(.dark) .support-modern-main [class*="bg-slate-50"],
html:not(.dark) .support-modern-main [class*="bg-slate-100"] {
    background: #ffffff !important;
    border-color: #d8e2ec !important;
    box-shadow: none !important;
}

html.admin-theme-light .admin-modern-main div[class*="bg-slate-700"],
html.admin-theme-light .admin-modern-main div[class*="bg-slate-800"],
html.admin-theme-light .admin-modern-main div[class*="bg-slate-900"],
html.admin-theme-light .admin-modern-main div[class*="bg-slate-950"],
html.admin-theme-light .admin-modern-main form[class*="bg-slate-700"],
html.admin-theme-light .admin-modern-main form[class*="bg-slate-800"],
html.admin-theme-light .admin-modern-main form[class*="bg-slate-900"],
html.admin-theme-light .admin-modern-main form[class*="bg-slate-950"],
html.admin-theme-light .admin-modern-main section[class*="bg-slate-700"],
html.admin-theme-light .admin-modern-main section[class*="bg-slate-800"],
html.admin-theme-light .admin-modern-main section[class*="bg-slate-900"],
html.admin-theme-light .admin-modern-main section[class*="bg-slate-950"] {
    background: #ffffff !important;
    border-color: #d8e2ec !important;
    color: #102033 !important;
    box-shadow: none !important;
}

html.admin-theme-light .admin-modern-main table {
    border-collapse: separate;
    border-spacing: 0;
}

html.admin-theme-light .admin-modern-main thead tr,
html.admin-theme-light .admin-modern-main tr[class*="bg-slate-900"] {
    background: #eef3f8 !important;
    color: #324b63 !important;
}

html.admin-theme-light .admin-modern-main thead th,
html.admin-theme-light .admin-modern-main tr[class*="bg-slate-900"] th {
    color: #405b75 !important;
}

html.admin-theme-light .admin-modern-main tbody tr {
    border-color: #e7edf4 !important;
}

html.admin-theme-light .admin-modern-main button[class*="bg-slate-900"],
html.admin-theme-light .admin-modern-main a[class*="bg-slate-900"],
html.admin-theme-light .admin-modern-main button[class*="bg-slate-800"],
html.admin-theme-light .admin-modern-main a[class*="bg-slate-800"],
html.admin-theme-light .admin-modern-main button[class*="bg-slate-950"],
html.admin-theme-light .admin-modern-main a[class*="bg-slate-950"] {
    background: #0f5e8c !important;
    border-color: #0f5e8c !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

html.admin-theme-light .admin-modern-main button[class*="bg-slate-900"]:hover,
html.admin-theme-light .admin-modern-main a[class*="bg-slate-900"]:hover,
html.admin-theme-light .admin-modern-main button[class*="bg-slate-800"]:hover,
html.admin-theme-light .admin-modern-main a[class*="bg-slate-800"]:hover,
html.admin-theme-light .admin-modern-main button[class*="bg-slate-950"]:hover,
html.admin-theme-light .admin-modern-main a[class*="bg-slate-950"]:hover {
    background: #0c527d !important;
    border-color: #0c527d !important;
    transform: none;
}

html.admin-theme-light .admin-modern-main button[class*="border-slate-200"],
html.admin-theme-light .admin-modern-main a[class*="border-slate-200"] {
    background: #ffffff !important;
    border-color: #d8e2ec !important;
    color: #324b63 !important;
    box-shadow: none !important;
}

html.admin-theme-light .admin-modern-main button[class*="border-slate-200"]:hover,
html.admin-theme-light .admin-modern-main a[class*="border-slate-200"]:hover {
    background: #eef3f8 !important;
    border-color: #c8d6e4 !important;
    color: #0f5e8c !important;
}

html.admin-theme-light .admin-modern-main .signatures-config,
html.admin-theme-light .admin-modern-main .signatures-config-form {
    background: #ffffff !important;
    border-color: #d8e2ec !important;
    color: #102033 !important;
    box-shadow: none !important;
}

html.admin-theme-light .admin-modern-main .signatures-config-form label,
html.admin-theme-light .admin-modern-main .signatures-config-form span {
    color: #324b63 !important;
}

html.admin-theme-light .admin-modern-main .signatures-config-form input[type="text"],
html.admin-theme-light .admin-modern-main .signatures-config-form input[type="password"] {
    background: #ffffff !important;
    border-color: #d8e2ec !important;
    color: #102033 !important;
}

html.admin-theme-light .admin-modern-main .finance-table-wrap {
    background: #ffffff !important;
    border-color: #d8e2ec !important;
    box-shadow: none !important;
}

html.admin-theme-light .admin-modern-main .finance-table thead tr {
    background: #eef3f8 !important;
    border-color: #d8e2ec !important;
}

html.admin-theme-light .admin-modern-main .finance-table thead th {
    color: #405b75 !important;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
}

html.admin-theme-light .admin-modern-main .finance-table tbody .finance-row {
    background: #ffffff !important;
    border-color: #e7edf4 !important;
}

html.admin-theme-light .admin-modern-main .finance-table tbody .finance-row:hover {
    background: #f8fafc !important;
}

html.admin-theme-light .admin-modern-main .finance-table tbody td {
    color: #21364c !important;
}

html.admin-theme-light .admin-modern-main .finance-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    border-radius: 0.65rem !important;
    border-color: #cfdbe7 !important;
    background: #ffffff !important;
    color: #334e68 !important;
    font-weight: 700;
    line-height: 1.15;
    box-shadow: none !important;
}

html.admin-theme-light .admin-modern-main .finance-btn:hover {
    background: #eef3f8 !important;
    border-color: #b9cadb !important;
    color: #0f5e8c !important;
}

html.admin-theme-light .admin-modern-main .finance-btn-settle,
html.admin-theme-light .admin-modern-main .finance-btn-boleto,
html.admin-theme-light .admin-modern-main .finance-btn-sync,
html.admin-theme-light .admin-modern-main .finance-btn-nfe,
html.admin-theme-light .admin-modern-main .finance-btn-chatwoot {
    background: #f8fafc !important;
    border-color: #cfdbe7 !important;
    color: #0f5e8c !important;
}

html.admin-theme-light .admin-modern-main .finance-btn-whatsapp {
    background: #f7fbf9 !important;
    border-color: #cfe2d8 !important;
    color: #116b55 !important;
}

html.admin-theme-light .admin-modern-main .finance-btn-danger {
    background: #fff8f9 !important;
    border-color: #efc7d0 !important;
    color: #b4234c !important;
}

/* Cadastro popout no modo claro: remove sobras da cor antiga no hover. */
html.admin-theme-light .admin-sidebar-group-trigger[data-cadastro-trigger] {
    color: #40576f !important;
}

html.admin-theme-light .admin-sidebar-group-trigger[data-cadastro-trigger]:hover {
    border-color: #d8e2ec !important;
    background: #eef3f8 !important;
    color: #0f5e8c !important;
    box-shadow: none !important;
}

html.admin-theme-light .admin-modern-sidebar [data-cadastro-panel] {
    border-color: #d8e2ec !important;
    background: #ffffff !important;
    box-shadow: 0 18px 36px rgba(16, 32, 51, 0.12) !important;
}

html.admin-theme-light .admin-sidebar-popout-head {
    border-bottom-color: #e7edf4 !important;
}

html.admin-theme-light .admin-sidebar-popout-head p {
    color: #0f5e8c !important;
}

html.admin-theme-light .admin-sidebar-popout-link {
    background: transparent !important;
    color: #40576f !important;
    box-shadow: none !important;
}

html.admin-theme-light .admin-sidebar-popout-link:hover {
    background: #eef3f8 !important;
    color: #0f5e8c !important;
    box-shadow: none !important;
}

html.admin-theme-light .admin-sidebar-popout-link[class*="bg-slate-800"] {
    background: #0f5e8c !important;
    color: #ffffff !important;
}

html.admin-theme-light .admin-sidebar-popout-link[class*="bg-slate-800"]:hover {
    background: #0c527d !important;
    color: #ffffff !important;
}

html.admin-theme-light .admin-sidebar-popout-link svg {
    color: currentColor !important;
}

/* =====================================================================
   ANEO LIGHT THEME FINAL - Azul corporativo B2B
   Paleta: #3B7BB8, #A8C8DD, #5A6C7D, #FFFFFF.
   Escopo exclusivo do modo claro do admin, portal do aluno e suporte.
   ===================================================================== */

html.admin-theme-light,
html:not(.dark) .portal-modern-theme {
    --aneo-light-primary: #1e3a8a;
    --aneo-light-primary-soft: #e0e7ff;
    --aneo-light-neutral: #6b6558;
    --aneo-light-white: #ffffff;
    --aneo-light-page: #f6f3ec;
    --aneo-light-card: #ffffff;
    --aneo-light-surface-alt: #fbf8f1;
    --aneo-light-surface-sunk: #f1ece1;
    --aneo-light-line: #e8e1d3;
    --aneo-light-line-soft: rgba(212, 202, 181, 0.55);
    --aneo-light-line-strong: #d4cab5;
    --aneo-light-hover: rgba(30, 58, 138, 0.06);
    --aneo-light-active: #1e40af;
    --aneo-light-text: #1a1d2e;
    --aneo-light-muted: #6b6558;
    --aneo-light-dim: #9c947f;
    --aneo-light-accent: #a16207;
    --aneo-light-accent-soft: #fef3c7;
    --aneo-light-success: #15803d;
    --aneo-light-success-soft: #dcfce7;
    --aneo-light-danger: #b91c1c;
    --aneo-light-danger-soft: #fee2e2;
    --aneo-light-warning: #b45309;
    --aneo-light-warning-soft: #fef3c7;
    --aneo-light-info: #1d4ed8;
    --aneo-light-info-soft: #dbeafe;
    --aneo-light-shadow-soft: 0 4px 12px -4px rgba(26, 29, 46, 0.10), 0 2px 4px -2px rgba(26, 29, 46, 0.06);
    --aneo-light-shadow-pop: 0 14px 32px -14px rgba(26, 29, 46, 0.22), 0 4px 8px -4px rgba(26, 29, 46, 0.06);
    --aneo-light-font-sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    --aneo-light-font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

html.admin-theme-light body.admin-modern-theme,
html.admin-theme-light .admin-modern-shell,
html:not(.dark) body.portal-modern-theme,
html:not(.dark) .portal-modern-shell {
    background:
        radial-gradient(920px 420px at 12% -8%, rgba(30, 58, 138, 0.08), transparent 68%),
        radial-gradient(760px 360px at 104% 4%, rgba(161, 98, 7, 0.08), transparent 62%),
        linear-gradient(180deg, #f6f3ec 0%, #fbf8f1 100%) !important;
    color: var(--aneo-light-text) !important;
    font-family: var(--aneo-light-font-sans) !important;
}

html.admin-theme-light .admin-modern-header,
html:not(.dark) .student-modern-header,
html:not(.dark) .support-modern-header {
    background: rgba(255, 255, 255, 0.94) !important;
    border-color: var(--aneo-light-line) !important;
    box-shadow: 0 1px 2px rgba(26, 29, 46, 0.06), 0 10px 24px rgba(26, 29, 46, 0.05) !important;
}

html.admin-theme-light .admin-modern-sidebar {
    background: var(--aneo-light-card) !important;
    border-right-color: var(--aneo-light-line) !important;
    box-shadow: 16px 0 34px rgba(26, 29, 46, 0.06) !important;
}

html.admin-theme-light .admin-sidebar-head,
html.admin-theme-light .admin-sidebar-footer {
    background: #FFFFFF !important;
    border-color: var(--aneo-light-line-soft) !important;
}

html.admin-theme-light .admin-sidebar-brand-title,
html.admin-theme-light .admin-modern-sidebar h1,
html.admin-theme-light .admin-modern-main h1,
html.admin-theme-light .admin-modern-main h2,
html.admin-theme-light .admin-modern-main h3,
html.admin-theme-light .admin-modern-main h4,
html:not(.dark) .student-modern-header h1,
html:not(.dark) .support-modern-header h1,
html:not(.dark) .student-modern-main h1,
html:not(.dark) .student-modern-main h2,
html:not(.dark) .student-modern-main h3,
html:not(.dark) .support-modern-main h1,
html:not(.dark) .support-modern-main h2,
html:not(.dark) .support-modern-main h3 {
    color: #263a4d !important;
}

html.admin-theme-light .admin-modern-main,
html:not(.dark) .student-modern-main,
html:not(.dark) .support-modern-main {
    color: var(--aneo-light-text) !important;
    font-family: var(--aneo-light-font-sans) !important;
}

html.admin-theme-light .admin-modern-sidebar p[class*="text-cyan-400"],
html.admin-theme-light .admin-modern-sidebar p[class*="text-sky"],
html.admin-theme-light .admin-modern-main [class*="text-cyan"],
html.admin-theme-light .admin-modern-main [class*="text-sky"],
html.admin-theme-light .admin-modern-main [class*="text-blue"],
html.admin-theme-light .admin-modern-main [class*="text-indigo"],
html:not(.dark) .portal-modern-theme [class*="text-cyan"],
html:not(.dark) .portal-modern-theme [class*="text-sky"],
html:not(.dark) .portal-modern-theme [class*="text-blue"],
html:not(.dark) .portal-modern-theme [class*="text-indigo"] {
    color: var(--aneo-light-primary) !important;
}

html.admin-theme-light .admin-modern-main [class*="text-slate-900"],
html.admin-theme-light .admin-modern-main [class*="text-slate-800"],
html.admin-theme-light .admin-modern-main [class*="text-slate-700"],
html:not(.dark) .portal-modern-theme [class*="text-slate-900"],
html:not(.dark) .portal-modern-theme [class*="text-slate-800"],
html:not(.dark) .portal-modern-theme [class*="text-slate-700"] {
    color: var(--aneo-light-text) !important;
}

html.admin-theme-light .admin-modern-main [class*="text-slate-600"],
html.admin-theme-light .admin-modern-main [class*="text-slate-500"],
html.admin-theme-light .admin-modern-main [class*="text-slate-400"],
html:not(.dark) .portal-modern-theme [class*="text-slate-600"],
html:not(.dark) .portal-modern-theme [class*="text-slate-500"],
html:not(.dark) .portal-modern-theme [class*="text-slate-400"] {
    color: var(--aneo-light-muted) !important;
}

html.admin-theme-light .admin-sidebar-link:not([class*="bg-slate-800"]),
html.admin-theme-light .admin-sidebar-group-trigger:not([class*="bg-slate-800"]) {
    background: transparent !important;
    border-color: transparent !important;
    color: var(--aneo-light-neutral) !important;
    box-shadow: none !important;
}

html.admin-theme-light .admin-sidebar-link:not([class*="bg-slate-800"]):hover,
html.admin-theme-light .admin-sidebar-group-trigger:not([class*="bg-slate-800"]):hover,
html.admin-theme-light .admin-sidebar-group-trigger[data-cadastro-trigger]:hover {
    background: var(--aneo-light-hover) !important;
    border-color: var(--aneo-light-line-soft) !important;
    color: var(--aneo-light-primary) !important;
    box-shadow: none !important;
}

html.admin-theme-light .admin-sidebar-group-trigger[data-finance-trigger]:hover,
html.admin-theme-light .admin-sidebar-group-trigger[data-finance-trigger]:focus-visible {
    background: linear-gradient(135deg, rgba(232, 243, 252, 0.98), rgba(221, 236, 248, 0.98)) !important;
    border-color: rgba(179, 208, 231, 0.94) !important;
    color: #2f6ea6 !important;
    box-shadow: inset 0 0 0 1px rgba(191, 216, 235, 0.76) !important;
}

html.admin-theme-light .admin-sidebar-link[class*="bg-slate-800"],
html.admin-theme-light .admin-sidebar-group-trigger[class*="bg-slate-800"],
html.admin-theme-light .admin-sidebar-popout-link[class*="bg-slate-800"] {
    background: var(--aneo-light-primary) !important;
    border-color: var(--aneo-light-primary) !important;
    color: #FFFFFF !important;
    box-shadow: 0 10px 20px rgba(59, 123, 184, 0.20) !important;
}

html.admin-theme-light .admin-sidebar-link[class*="bg-slate-800"] *,
html.admin-theme-light .admin-sidebar-group-trigger[class*="bg-slate-800"] *,
html.admin-theme-light .admin-sidebar-popout-link[class*="bg-slate-800"] * {
    color: #FFFFFF !important;
}

html.admin-theme-light .admin-modern-sidebar [data-cadastro-panel],
html.admin-theme-light .admin-modern-sidebar [data-api-panel],
html.admin-theme-light .admin-sidebar-session-card,
html:not(.dark) #student-avatar-menu,
html:not(.dark) .portal-alert-modal-panel {
    background: #FFFFFF !important;
    border-color: var(--aneo-light-line) !important;
    box-shadow: var(--aneo-light-shadow-soft) !important;
}

html.admin-theme-light .admin-sidebar-popout-head {
    border-bottom-color: var(--aneo-light-line-soft) !important;
}

html.admin-theme-light .admin-sidebar-popout-head p,
html.admin-theme-light .admin-sidebar-session-link,
html.admin-theme-light .admin-sidebar-session-link:hover {
    color: var(--aneo-light-primary) !important;
}

html.admin-theme-light .admin-sidebar-popout-link {
    background: transparent !important;
    color: var(--aneo-light-neutral) !important;
    box-shadow: none !important;
}

html.admin-theme-light .admin-sidebar-popout-link:hover {
    background: var(--aneo-light-hover) !important;
    color: var(--aneo-light-primary) !important;
}

html.admin-theme-light .admin-sidebar-session-label,
html.admin-theme-light .admin-sidebar-session-role {
    color: var(--aneo-light-neutral) !important;
}

html.admin-theme-light .admin-sidebar-session-title {
    color: #263a4d !important;
}

html.admin-theme-light .admin-modern-main [class*="bg-white"],
html.admin-theme-light .admin-modern-main [class*="bg-slate-50"],
html.admin-theme-light .admin-modern-main [class*="bg-slate-100"],
html.admin-theme-light .admin-modern-main [class*="bg-cyan-50"],
html.admin-theme-light .admin-modern-main [class*="bg-sky-50"],
html.admin-theme-light .admin-modern-main [class*="bg-blue-50"],
html.admin-theme-light .admin-modern-main [class*="bg-indigo-50"],
html.admin-theme-light .admin-modern-main [class*="bg-slate-700"],
html.admin-theme-light .admin-modern-main [class*="bg-slate-800"],
html.admin-theme-light .admin-modern-main [class*="bg-slate-900"],
html.admin-theme-light .admin-modern-main [class*="bg-slate-950"],
html:not(.dark) .portal-modern-theme [class*="bg-white"],
html:not(.dark) .portal-modern-theme [class*="bg-slate-50"],
html:not(.dark) .portal-modern-theme [class*="bg-slate-100"],
html:not(.dark) .portal-modern-theme [class*="bg-cyan-50"],
html:not(.dark) .portal-modern-theme [class*="bg-sky-50"],
html:not(.dark) .portal-modern-theme [class*="bg-blue-50"],
html:not(.dark) .portal-modern-theme [class*="bg-indigo-50"] {
    background: var(--aneo-light-card) !important;
    border-color: var(--aneo-light-line) !important;
    color: var(--aneo-light-text) !important;
    box-shadow: var(--aneo-light-shadow-soft) !important;
}

html.admin-theme-light .admin-modern-main section,
html.admin-theme-light .admin-modern-main article,
html.admin-theme-light .admin-modern-main form[class*="border"],
html.admin-theme-light .admin-modern-main div[class*="rounded"][class*="border"],
html:not(.dark) .student-modern-main section,
html:not(.dark) .student-modern-main article,
html:not(.dark) .student-modern-main form[class*="border"],
html:not(.dark) .student-modern-main div[class*="rounded"][class*="border"],
html:not(.dark) .support-modern-main section,
html:not(.dark) .support-modern-main article,
html:not(.dark) .support-modern-main form[class*="border"],
html:not(.dark) .support-modern-main div[class*="rounded"][class*="border"] {
    border-color: var(--aneo-light-line) !important;
    box-shadow: var(--aneo-light-shadow-soft) !important;
}

html.admin-theme-light .admin-modern-main table thead tr,
html.admin-theme-light .admin-modern-main tr[class*="bg-slate-900"],
html.admin-theme-light .admin-modern-main .finance-table thead tr,
html.admin-theme-light .admin-modern-main .signatures-table thead tr {
    background: var(--aneo-light-surface-alt) !important;
    border-color: var(--aneo-light-line) !important;
    color: var(--aneo-light-neutral) !important;
}

html.admin-theme-light .admin-modern-main table thead th,
html.admin-theme-light .admin-modern-main tr[class*="bg-slate-900"] th,
html.admin-theme-light .admin-modern-main .finance-table thead th,
html.admin-theme-light .admin-modern-main .signatures-table thead th {
    color: var(--aneo-light-neutral) !important;
}

html.admin-theme-light .admin-modern-main table tbody tr,
html.admin-theme-light .admin-modern-main .finance-table tbody .finance-row,
html.admin-theme-light .admin-modern-main .signatures-row {
    background: rgba(255, 255, 255, 0.92) !important;
    border-color: var(--aneo-light-line-soft) !important;
}

html.admin-theme-light .admin-modern-main table tbody tr:hover,
html.admin-theme-light .admin-modern-main .finance-table tbody .finance-row:hover,
html.admin-theme-light .admin-modern-main .signatures-row:hover {
    background: var(--aneo-light-surface-alt) !important;
}

html.admin-theme-light .admin-modern-theme input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]),
html.admin-theme-light .admin-modern-theme textarea,
html.admin-theme-light .admin-modern-theme select,
html:not(.dark) .portal-modern-theme input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]),
html:not(.dark) .portal-modern-theme textarea,
html:not(.dark) .portal-modern-theme select {
    background: var(--aneo-light-card) !important;
    border-color: var(--aneo-light-line-strong) !important;
    color: var(--aneo-light-text) !important;
    box-shadow: none !important;
    font-family: var(--aneo-light-font-sans) !important;
}

html.admin-theme-light .admin-modern-theme input::placeholder,
html.admin-theme-light .admin-modern-theme textarea::placeholder,
html:not(.dark) .portal-modern-theme input::placeholder,
html:not(.dark) .portal-modern-theme textarea::placeholder {
    color: var(--aneo-light-dim) !important;
}

html.admin-theme-light .admin-modern-theme input:focus,
html.admin-theme-light .admin-modern-theme textarea:focus,
html.admin-theme-light .admin-modern-theme select:focus,
html:not(.dark) .portal-modern-theme input:focus,
html:not(.dark) .portal-modern-theme textarea:focus,
html:not(.dark) .portal-modern-theme select:focus {
    border-color: var(--aneo-light-primary) !important;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.18) !important;
}

html.admin-theme-light .admin-modern-main button[class*="bg-slate-900"],
html.admin-theme-light .admin-modern-main a[class*="bg-slate-900"],
html.admin-theme-light .admin-modern-main button[class*="bg-slate-800"],
html.admin-theme-light .admin-modern-main a[class*="bg-slate-800"],
html.admin-theme-light .admin-modern-main button[class*="bg-slate-950"],
html.admin-theme-light .admin-modern-main a[class*="bg-slate-950"],
html.admin-theme-light .admin-modern-main button[class*="bg-cyan"],
html.admin-theme-light .admin-modern-main a[class*="bg-cyan"],
html.admin-theme-light .admin-modern-main button[class*="bg-sky"],
html.admin-theme-light .admin-modern-main a[class*="bg-sky"],
html.admin-theme-light .admin-modern-main button[class*="bg-blue"],
html.admin-theme-light .admin-modern-main a[class*="bg-blue"],
html:not(.dark) .student-modern-nav a[class*="bg-sky-600"],
html:not(.dark) .portal-alert-btn-primary {
    background: var(--aneo-light-primary) !important;
    border-color: var(--aneo-light-primary) !important;
    color: #FFFFFF !important;
    box-shadow: 0 14px 24px -18px rgba(30, 58, 138, 0.32) !important;
}

html.admin-theme-light .admin-modern-main button[class*="bg-slate-900"]:hover,
html.admin-theme-light .admin-modern-main a[class*="bg-slate-900"]:hover,
html.admin-theme-light .admin-modern-main button[class*="bg-slate-800"]:hover,
html.admin-theme-light .admin-modern-main a[class*="bg-slate-800"]:hover,
html.admin-theme-light .admin-modern-main button[class*="bg-slate-950"]:hover,
html.admin-theme-light .admin-modern-main a[class*="bg-slate-950"]:hover,
html.admin-theme-light .admin-modern-main button[class*="bg-cyan"]:hover,
html.admin-theme-light .admin-modern-main a[class*="bg-cyan"]:hover,
html.admin-theme-light .admin-modern-main button[class*="bg-sky"]:hover,
html.admin-theme-light .admin-modern-main a[class*="bg-sky"]:hover,
html.admin-theme-light .admin-modern-main button[class*="bg-blue"]:hover,
html.admin-theme-light .admin-modern-main a[class*="bg-blue"]:hover {
    background: var(--aneo-light-active) !important;
    border-color: var(--aneo-light-active) !important;
    color: #FFFFFF !important;
    transform: none !important;
}

html.admin-theme-light .admin-modern-main button[class*="border-slate"],
html.admin-theme-light .admin-modern-main a[class*="border-slate"],
html.admin-theme-light .admin-modern-main .finance-btn,
html.admin-theme-light .admin-modern-main .signatures-btn,
html:not(.dark) .portal-alert-btn,
html:not(.dark) .portal-alert-btn-card,
html:not(.dark) .portal-alert-btn-close,
html:not(.dark) .portal-alert-btn-schedule,
html:not(.dark) .portal-alert-btn-live,
html:not(.dark) .student-modern-nav a:not([class*="bg-sky-600"]) {
    background: rgba(255, 255, 255, 0.92) !important;
    border-color: var(--aneo-light-line) !important;
    color: var(--aneo-light-neutral) !important;
    box-shadow: var(--aneo-light-shadow-soft) !important;
}

html.admin-theme-light .admin-modern-main button[class*="border-slate"]:hover,
html.admin-theme-light .admin-modern-main a[class*="border-slate"]:hover,
html.admin-theme-light .admin-modern-main .finance-btn:hover,
html.admin-theme-light .admin-modern-main .signatures-btn:hover,
html:not(.dark) .portal-alert-btn:hover,
html:not(.dark) .portal-alert-btn-card:hover,
html:not(.dark) .portal-alert-btn-close:hover,
html:not(.dark) .portal-alert-btn-schedule:hover,
html:not(.dark) .portal-alert-btn-live:hover,
html:not(.dark) .student-modern-nav a:not([class*="bg-sky-600"]):hover {
    background: var(--aneo-light-hover) !important;
    border-color: var(--aneo-light-line-strong) !important;
    color: var(--aneo-light-primary) !important;
}

html.admin-theme-light .admin-modern-main .finance-btn-settle,
html.admin-theme-light .admin-modern-main .finance-btn-boleto,
html.admin-theme-light .admin-modern-main .finance-btn-sync,
html.admin-theme-light .admin-modern-main .finance-btn-nfe,
html.admin-theme-light .admin-modern-main .finance-btn-chatwoot,
html.admin-theme-light .admin-modern-main .signatures-btn-send,
html.admin-theme-light .admin-modern-main .signatures-btn-sync {
    background: rgba(224, 231, 255, 0.76) !important;
    border-color: var(--aneo-light-primary-soft) !important;
    color: var(--aneo-light-primary) !important;
}

html.admin-theme-light .admin-modern-main .finance-status-pill,
html.admin-theme-light .admin-modern-main .finance-boleto-pill,
html.admin-theme-light .admin-modern-main .signatures-status-pill,
html:not(.dark) .portal-alert-modal-panel [data-portal-alert-status] {
    border-color: var(--aneo-light-primary-soft) !important;
    background: rgba(224, 231, 255, 0.76) !important;
    color: var(--aneo-light-neutral) !important;
}

html.admin-theme-light .admin-theme-toggle,
html:not(.dark) .portal-theme-toggle,
html:not(.dark) [data-student-alert-trigger],
html.admin-theme-light .admin-modern-theme #fab-toggle {
    background: #FFFFFF !important;
    border-color: var(--aneo-light-line) !important;
    color: var(--aneo-light-primary) !important;
    box-shadow: var(--aneo-light-shadow-soft) !important;
}

html.admin-theme-light .admin-modern-theme #fab-toggle {
    background: var(--aneo-light-primary) !important;
    color: #FFFFFF !important;
}

html.admin-theme-light .admin-modern-theme #fab-menu,
html:not(.dark) .portal-alert-modal-head,
html:not(.dark) .portal-alert-modal-body,
html:not(.dark) .portal-alert-modal-foot,
html:not(.dark) .portal-alert-card,
html:not(.dark) #student-avatar-menu > div:first-child {
    background: #FFFFFF !important;
    border-color: var(--aneo-light-line) !important;
}

html.admin-theme-light .admin-modern-theme ::-webkit-scrollbar-thumb,
html:not(.dark) .portal-modern-theme ::-webkit-scrollbar-thumb {
    background: var(--aneo-light-primary-soft) !important;
    border-color: #FFFFFF !important;
}

/* =====================================================================
   ANEO LIGHT THEME - REFINO GLOBAL
   Consolidacao final do modo claro sem impactar o tema escuro.
   ===================================================================== */

html.admin-theme-light,
html:not(.dark) .portal-modern-theme {
    --aneo-light-primary: #21405f;
    --aneo-light-primary-soft: #dbe6f1;
    --aneo-light-neutral: #6f6657;
    --aneo-light-white: #ffffff;
    --aneo-light-page: #f7f2e8;
    --aneo-light-page-2: #fcfaf5;
    --aneo-light-card: #ffffff;
    --aneo-light-surface-alt: #f6f1e6;
    --aneo-light-surface-sunk: #efe8da;
    --aneo-light-line: #e5ddcf;
    --aneo-light-line-soft: rgba(209, 197, 178, 0.55);
    --aneo-light-line-strong: #d0c2ae;
    --aneo-light-hover: rgba(33, 64, 95, 0.06);
    --aneo-light-active: #315b84;
    --aneo-light-text: #1f2937;
    --aneo-light-muted: #6f6657;
    --aneo-light-dim: #9b8f7b;
    --aneo-light-accent: #2a6f97;
    --aneo-light-accent-2: #3b7bb8;
    --aneo-light-accent-soft: #d9ebf7;
    --aneo-light-success: #1d7a46;
    --aneo-light-success-soft: #dff3e7;
    --aneo-light-danger: #b93838;
    --aneo-light-danger-soft: #fde5e5;
    --aneo-light-warning: #a46a1f;
    --aneo-light-warning-soft: #fdf1cf;
    --aneo-light-info: #2b6cb0;
    --aneo-light-info-soft: #deebfb;
    --aneo-light-shadow-soft: 0 6px 18px -8px rgba(31, 41, 55, 0.12), 0 2px 6px -3px rgba(31, 41, 55, 0.06);
    --aneo-light-shadow-pop: 0 18px 40px -22px rgba(31, 41, 55, 0.18), 0 10px 18px -10px rgba(31, 41, 55, 0.08);
}

html.admin-theme-light body.admin-modern-theme,
html.admin-theme-light .admin-modern-shell,
html:not(.dark) body.portal-modern-theme,
html:not(.dark) .portal-modern-shell {
    background:
        radial-gradient(920px 420px at 12% -8%, rgba(59, 123, 184, 0.08), transparent 68%),
        radial-gradient(760px 360px at 104% 4%, rgba(164, 106, 31, 0.08), transparent 62%),
        linear-gradient(180deg, var(--aneo-light-page) 0%, var(--aneo-light-page-2) 100%) !important;
}

html.admin-theme-light .admin-modern-main [class*="bg-white"],
html.admin-theme-light .admin-modern-main [class*="bg-slate-50"],
html.admin-theme-light .admin-modern-main [class*="bg-slate-100"],
html:not(.dark) .portal-modern-theme [class*="bg-white"],
html:not(.dark) .portal-modern-theme [class*="bg-slate-50"],
html:not(.dark) .portal-modern-theme [class*="bg-slate-100"] {
    box-shadow: var(--aneo-light-shadow-soft) !important;
}

html.admin-theme-light .admin-modern-main button[class*="bg-slate-900"],
html.admin-theme-light .admin-modern-main a[class*="bg-slate-900"],
html.admin-theme-light .admin-modern-main button[class*="bg-slate-800"],
html.admin-theme-light .admin-modern-main a[class*="bg-slate-800"],
html.admin-theme-light .admin-modern-main button[class*="bg-cyan"],
html.admin-theme-light .admin-modern-main a[class*="bg-cyan"],
html.admin-theme-light .admin-modern-main button[class*="bg-sky"],
html.admin-theme-light .admin-modern-main a[class*="bg-sky"],
html:not(.dark) .portal-modern-theme button[class*="bg-slate-900"],
html:not(.dark) .portal-modern-theme a[class*="bg-slate-900"],
html:not(.dark) .portal-modern-theme button[class*="bg-cyan"],
html:not(.dark) .portal-modern-theme a[class*="bg-cyan"],
html:not(.dark) .portal-modern-theme button[class*="bg-sky"],
html:not(.dark) .portal-modern-theme a[class*="bg-sky"] {
    background: linear-gradient(135deg, var(--aneo-light-accent), var(--aneo-light-accent-2)) !important;
    border-color: transparent !important;
    color: #ffffff !important;
}

html.admin-theme-light .admin-modern-main button[class*="bg-slate-900"]:hover,
html.admin-theme-light .admin-modern-main a[class*="bg-slate-900"]:hover,
html.admin-theme-light .admin-modern-main button[class*="bg-slate-800"]:hover,
html.admin-theme-light .admin-modern-main a[class*="bg-slate-800"]:hover,
html.admin-theme-light .admin-modern-main button[class*="bg-cyan"]:hover,
html.admin-theme-light .admin-modern-main a[class*="bg-cyan"]:hover,
html.admin-theme-light .admin-modern-main button[class*="bg-sky"]:hover,
html.admin-theme-light .admin-modern-main a[class*="bg-sky"]:hover,
html:not(.dark) .portal-modern-theme button[class*="bg-slate-900"]:hover,
html:not(.dark) .portal-modern-theme a[class*="bg-slate-900"]:hover,
html:not(.dark) .portal-modern-theme button[class*="bg-cyan"]:hover,
html:not(.dark) .portal-modern-theme a[class*="bg-cyan"]:hover,
html:not(.dark) .portal-modern-theme button[class*="bg-sky"]:hover,
html:not(.dark) .portal-modern-theme a[class*="bg-sky"]:hover {
    background: linear-gradient(135deg, var(--aneo-light-primary), var(--aneo-light-accent)) !important;
}

html.admin-theme-light .courses-enrollments-shell h2.text-white,
html.admin-theme-light .courses-enrollments-shell p.text-slate-300,
html.admin-theme-light .courses-exams-shell a[class*="bg-sky-950"] {
    color: var(--aneo-light-text) !important;
}

html.admin-theme-light .courses-enrollments-shell a[class*="bg-slate-900"],
html.admin-theme-light .courses-exams-shell a[class*="bg-sky-950"] {
    background: rgba(255, 255, 255, 0.94) !important;
    border-color: var(--aneo-light-line) !important;
    color: var(--aneo-light-primary) !important;
    box-shadow: var(--aneo-light-shadow-soft) !important;
}

html.admin-theme-light .courses-enrollments-shell a[class*="bg-slate-900"]:hover,
html.admin-theme-light .courses-exams-shell a[class*="bg-sky-950"]:hover {
    background: #ffffff !important;
    border-color: var(--aneo-light-line-strong) !important;
    color: var(--aneo-light-active) !important;
}

html.admin-theme-light .courses-enrollments-create-panel,
html.admin-theme-light .courses-exams-calendar,
html.admin-theme-light .courses-exams-external-panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 236, 0.98)) !important;
    border-color: var(--aneo-light-line) !important;
    box-shadow: var(--aneo-light-shadow-soft) !important;
}

html.admin-theme-light .courses-enrollments-create-panel select,
html.admin-theme-light .courses-enrollments-create-panel input,
html.admin-theme-light .courses-exams-external-panel select,
html.admin-theme-light .courses-exams-external-panel input,
html.admin-theme-light .courses-exams-external-panel textarea {
    background: #ffffff !important;
    border-color: var(--aneo-light-line-strong) !important;
    color: var(--aneo-light-text) !important;
}

html.admin-theme-light .courses-enrollments-create-panel select option,
html.admin-theme-light .courses-exams-external-panel select option {
    color: var(--aneo-light-text);
    background: #ffffff;
}

html.admin-theme-light .courses-enrollments-create-panel p.text-cyan-100,
html.admin-theme-light .courses-enrollments-filter-alert,
html.admin-theme-light .courses-exams-filter-alert {
    background: var(--aneo-light-info-soft) !important;
    border-color: rgba(43, 108, 176, 0.18) !important;
    color: var(--aneo-light-info) !important;
}

html.admin-theme-light .courses-enrollments-filter-alert a,
html.admin-theme-light .courses-exams-filter-alert a {
    color: var(--aneo-light-primary) !important;
}

html.admin-theme-light .courses-exams-kpis article,
html.admin-theme-light .courses-exams-calendar article {
    box-shadow: none !important;
}

html.admin-theme-light .courses-exams-kpis article:nth-child(1) {
    background: linear-gradient(180deg, #ffffff 0%, #eef5fb 100%) !important;
    border-color: rgba(59, 123, 184, 0.22) !important;
}

html.admin-theme-light .courses-exams-kpis article:nth-child(2) {
    background: linear-gradient(180deg, #ffffff 0%, #edf8f1 100%) !important;
    border-color: rgba(29, 122, 70, 0.22) !important;
}

html.admin-theme-light .courses-exams-kpis article:nth-child(3) {
    background: linear-gradient(180deg, #ffffff 0%, #fdf0f0 100%) !important;
    border-color: rgba(185, 56, 56, 0.22) !important;
}

html.admin-theme-light .courses-exams-kpis article:nth-child(4) {
    background: linear-gradient(180deg, #ffffff 0%, #f3f2fb 100%) !important;
    border-color: rgba(43, 108, 176, 0.18) !important;
}

html.admin-theme-light .courses-exams-kpis article p[class*="text-white"],
html.admin-theme-light .courses-exams-kpis article p[class*="text-emerald-100"],
html.admin-theme-light .courses-exams-kpis article p[class*="text-rose-100"],
html.admin-theme-light .courses-exams-kpis article p[class*="text-cyan-100"] {
    color: var(--aneo-light-text) !important;
}

html.admin-theme-light .courses-exams-kpis article p[class*="text-slate-300"],
html.admin-theme-light .courses-exams-kpis article p[class*="text-emerald-200"],
html.admin-theme-light .courses-exams-kpis article p[class*="text-rose-200"],
html.admin-theme-light .courses-exams-kpis article p[class*="text-cyan-200"] {
    color: var(--aneo-light-muted) !important;
}

html.admin-theme-light .courses-exams-calendar h3,
html.admin-theme-light .courses-exams-calendar p.text-slate-300,
html.admin-theme-light .courses-exams-external-panel h3.text-white,
html.admin-theme-light .courses-exams-external-panel p.text-slate-300,
html.admin-theme-light .courses-exams-external-panel p.text-slate-200 {
    color: var(--aneo-light-text) !important;
}

html.admin-theme-light .courses-exams-calendar span[class*="bg-sky-950"],
html.admin-theme-light .courses-exams-external-panel div[class*="bg-cyan-400/10"] {
    background: var(--aneo-light-surface-alt) !important;
    border-color: var(--aneo-light-line) !important;
    color: var(--aneo-light-primary) !important;
}

html.admin-theme-light .courses-exams-calendar article {
    background: rgba(255, 255, 255, 0.96) !important;
    border-color: var(--aneo-light-line) !important;
}

html.admin-theme-light .courses-exams-calendar article p.text-white {
    color: var(--aneo-light-text) !important;
}

html.admin-theme-light .courses-exams-external-panel form {
    background: rgba(255, 255, 255, 0.72) !important;
    border-color: var(--aneo-light-line-soft) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8) !important;
}

html.admin-theme-light .courses-exams-external-panel .border-l-4 {
    border-left-color: var(--aneo-light-accent) !important;
}

html.admin-theme-light .courses-exams-external-panel label[class*="text-cyan"],
html.admin-theme-light .courses-exams-external-panel p[class*="text-cyan"] {
    color: var(--aneo-light-primary) !important;
}

html.admin-theme-light .course-preview-card,
html.admin-theme-light .course-form-panel,
html.admin-theme-light .course-materials-panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(249, 245, 238, 0.98)) !important;
    border-color: var(--aneo-light-line) !important;
    box-shadow: var(--aneo-light-shadow-soft) !important;
}

html.admin-theme-light .course-preview-shell a[class*="bg-cyan"],
html.admin-theme-light .course-form-shell button[class*="bg-cyan"],
html.admin-theme-light .course-form-shell a[class*="bg-cyan"] {
    background: linear-gradient(135deg, var(--aneo-light-accent), var(--aneo-light-accent-2)) !important;
    border-color: transparent !important;
    color: #ffffff !important;
}

html.admin-theme-light .course-preview-shell .h-48.bg-slate-900 {
    background: linear-gradient(135deg, #dfe9f2 0%, #c8dae8 100%) !important;
}

html.admin-theme-light .course-preview-shell .from-slate-900,
html.admin-theme-light .course-preview-shell .via-slate-800,
html.admin-theme-light .course-preview-shell .to-cyan-900 {
    background-image: linear-gradient(135deg, #d8e7f2 0%, #c7dceb 50%, #b5d2e7 100%) !important;
    color: var(--aneo-light-primary) !important;
}

html.admin-theme-light .course-preview-shell .bg-cyan-50,
html.admin-theme-light .course-preview-shell .bg-slate-50,
html.admin-theme-light .course-form-shell .bg-slate-50,
html.admin-theme-light .course-form-shell .bg-cyan-50\/70 {
    background: var(--aneo-light-surface-alt) !important;
    border-color: var(--aneo-light-line) !important;
}

html.admin-theme-light .course-preview-shell .text-cyan-700,
html.admin-theme-light .course-form-shell .text-cyan-700,
html.admin-theme-light .course-form-shell .text-cyan-800,
html.admin-theme-light .course-form-shell .text-cyan-100,
html.admin-theme-light .course-form-shell .text-cyan-200 {
    color: var(--aneo-light-primary) !important;
}

html.admin-theme-light .course-form-shell .admin-lms-builder-head {
    background:
        radial-gradient(circle at top right, rgba(59, 123, 184, 0.20), transparent 34%),
        linear-gradient(135deg, #f4efe5 0%, #ecf3f9 52%, #e0ebf5 100%) !important;
    border-bottom-color: var(--aneo-light-line) !important;
}

html.admin-theme-light .course-form-shell .admin-lms-kpi-card,
html.admin-theme-light .course-form-shell .admin-lms-builder-pill {
    background: rgba(255, 255, 255, 0.72) !important;
    border-color: rgba(59, 123, 184, 0.18) !important;
    box-shadow: none !important;
}

html.admin-theme-light .course-form-shell .admin-lms-builder-title,
html.admin-theme-light .course-form-shell .admin-lms-kpi-value,
html.admin-theme-light .course-form-shell .admin-lms-section-title,
html.admin-theme-light .course-form-shell .text-white {
    color: var(--aneo-light-text) !important;
}

html.admin-theme-light .course-form-shell .admin-lms-builder-copy,
html.admin-theme-light .course-form-shell .admin-lms-kpi-label,
html.admin-theme-light .course-form-shell .admin-lms-section-copy,
html.admin-theme-light .course-form-shell .text-slate-500 {
    color: var(--aneo-light-muted) !important;
}

html.admin-theme-light .course-form-shell .admin-lms-builder-eyebrow,
html.admin-theme-light .course-form-shell .admin-lms-help-strip,
html.admin-theme-light .course-form-shell .admin-lms-status-pill {
    color: var(--aneo-light-primary) !important;
}

html.admin-theme-light .course-form-shell span[class*="bg-slate-900"],
html.admin-theme-light .course-form-shell button[class*="bg-slate-900"] {
    background: linear-gradient(135deg, var(--aneo-light-accent), var(--aneo-light-accent-2)) !important;
    border-color: transparent !important;
    color: #ffffff !important;
}

.course-zoom-builder {
    border-color: rgba(56, 189, 248, 0.24) !important;
    background:
        linear-gradient(180deg, rgba(12, 29, 46, 0.96), rgba(15, 32, 52, 0.94)) !important;
    box-shadow:
        inset 0 1px 0 rgba(125, 211, 252, 0.08),
        0 18px 34px rgba(2, 8, 23, 0.26);
}

.course-zoom-builder-summary {
    border-color: rgba(56, 189, 248, 0.34) !important;
    background:
        linear-gradient(135deg, rgba(7, 89, 133, 0.9), rgba(14, 116, 144, 0.9)) !important;
    color: #e0f2fe !important;
}

.course-zoom-builder-summary:hover {
    background:
        linear-gradient(135deg, rgba(8, 105, 156, 0.94), rgba(14, 128, 158, 0.94)) !important;
}

.course-zoom-builder-plus {
    color: #bae6fd !important;
}

.course-zoom-builder-body {
    border-top-color: rgba(56, 189, 248, 0.18) !important;
    background:
        linear-gradient(180deg, rgba(17, 38, 60, 0.92), rgba(13, 29, 47, 0.94)) !important;
}

.course-zoom-builder-field > span:first-child {
    color: #d9ecfb !important;
}

.course-zoom-builder-field > .course-zoom-builder-help,
.course-zoom-builder-actions span {
    color: #8fb0cd !important;
}

.course-zoom-builder-input {
    border-color: rgba(122, 164, 197, 0.34) !important;
    background: rgba(11, 34, 54, 0.82) !important;
    color: #dceeff !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 8px 18px rgba(4, 12, 24, 0.14);
}

.course-zoom-builder-input::placeholder {
    color: #88abc7 !important;
}

.course-zoom-builder-input:focus {
    border-color: rgba(103, 232, 249, 0.42) !important;
    box-shadow:
        0 0 0 3px rgba(14, 165, 233, 0.16),
        0 10px 22px rgba(8, 47, 73, 0.18) !important;
}

.course-zoom-builder-input::-webkit-calendar-picker-indicator {
    filter: invert(84%) sepia(17%) saturate(515%) hue-rotate(165deg) brightness(97%) contrast(95%);
}

.course-zoom-builder-submit {
    background: linear-gradient(135deg, #0ea5e9, #0284c7) !important;
    box-shadow: 0 12px 24px rgba(2, 132, 199, 0.24);
}

.course-zoom-builder-submit:hover {
    background: linear-gradient(135deg, #14b8ff, #0ea5e9) !important;
}

html.admin-theme-light .course-zoom-builder {
    border-color: rgba(95, 171, 216, 0.34) !important;
    background:
        linear-gradient(180deg, rgba(239, 247, 252, 0.98), rgba(223, 236, 247, 0.98)) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        0 16px 30px rgba(115, 155, 191, 0.16) !important;
}

html.admin-theme-light .course-zoom-builder-summary {
    border-color: rgba(97, 177, 224, 0.38) !important;
    background:
        linear-gradient(135deg, rgba(219, 242, 255, 0.98), rgba(197, 232, 249, 0.98)) !important;
    color: #1e5d86 !important;
}

html.admin-theme-light .course-zoom-builder-summary:hover {
    background:
        linear-gradient(135deg, rgba(208, 237, 252, 0.98), rgba(185, 225, 246, 0.98)) !important;
}

html.admin-theme-light .course-zoom-builder-plus {
    color: #2380b7 !important;
}

html.admin-theme-light .course-zoom-builder-body {
    border-top-color: rgba(105, 185, 222, 0.28) !important;
    background:
        linear-gradient(180deg, rgba(248, 252, 255, 0.99), rgba(236, 245, 251, 0.99)) !important;
}

html.admin-theme-light .course-zoom-builder-field > span:first-child {
    color: #355e80 !important;
}

html.admin-theme-light .course-zoom-builder-field > .course-zoom-builder-help,
html.admin-theme-light .course-zoom-builder-actions span {
    color: #7a95ad !important;
}

html.admin-theme-light .course-zoom-builder-input {
    border-color: rgba(150, 188, 215, 0.44) !important;
    background: rgba(255, 255, 255, 0.96) !important;
    color: #244a67 !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.82),
        0 10px 18px rgba(149, 179, 203, 0.12) !important;
}

html.admin-theme-light .course-zoom-builder-input::placeholder {
    color: #7e9bb3 !important;
}

html.admin-theme-light .course-zoom-builder-input::-webkit-calendar-picker-indicator {
    filter: none;
}

html:not(.dark) .student-requests-shell > .rounded-2xl,
html:not(.dark) .student-requests-shell article.rounded-xl,
html:not(.dark) .student-requests-shell form.rounded-xl {
    box-shadow: var(--aneo-light-shadow-soft) !important;
}

html:not(.dark) .student-requests-shell .bg-white\/80,
html:not(.dark) .student-requests-shell .bg-white\/90,
html:not(.dark) .student-requests-shell .bg-white,
html:not(.dark) .student-requests-shell .bg-slate-50 {
    background: rgba(255, 255, 255, 0.94) !important;
    border-color: var(--aneo-light-line) !important;
}

html:not(.dark) .student-requests-shell .bg-cyan-50\/80,
html:not(.dark) .student-requests-shell .bg-amber-50\/80,
html:not(.dark) .student-requests-shell .bg-emerald-50\/80 {
    box-shadow: none !important;
}

html:not(.dark) .student-requests-shell button[class*="bg-sky-600"],
html:not(.dark) .student-requests-shell button[class*="bg-slate-900"],
html:not(.dark) .student-requests-shell a.bg-slate-900 {
    background: linear-gradient(135deg, var(--aneo-light-accent), var(--aneo-light-accent-2)) !important;
    border-color: transparent !important;
    color: #ffffff !important;
}

html:not(.dark) .student-requests-shell button[class*="bg-sky-600"]:hover,
html:not(.dark) .student-requests-shell button[class*="bg-slate-900"]:hover,
html:not(.dark) .student-requests-shell a.bg-slate-900:hover {
    background: linear-gradient(135deg, var(--aneo-light-primary), var(--aneo-light-accent)) !important;
}

html:not(.dark) .student-requests-shell .bg-violet-100 {
    background: #efe9fb !important;
    color: #6d4bc2 !important;
}

.student-request-pill {
    border: 1px solid transparent;
    letter-spacing: 0.01em;
}

.student-request-pill-status-open,
.student-request-pill-status-progress,
.student-request-pill-status-resolved,
.student-request-pill-status-closed,
.student-request-pill-priority-low,
.student-request-pill-priority-medium,
.student-request-pill-priority-high,
.student-request-pill-priority-urgent,
.student-request-pill-source-student,
.student-request-pill-source-internal,
.student-request-pill-source-api,
.student-request-pill-source-webhook {
    border: 1px solid transparent;
}

html:not(.dark) .student-request-pill-status-open {
    background: linear-gradient(135deg, rgba(224, 247, 255, 0.98), rgba(202, 238, 248, 0.98)) !important;
    border-color: rgba(105, 196, 222, 0.34) !important;
    color: #156d89 !important;
}

html:not(.dark) .student-request-pill-status-progress {
    background: linear-gradient(135deg, rgba(255, 245, 214, 0.98), rgba(252, 230, 166, 0.98)) !important;
    border-color: rgba(214, 155, 47, 0.34) !important;
    color: #9d6618 !important;
}

html:not(.dark) .student-request-pill-status-resolved {
    background: linear-gradient(135deg, rgba(216, 255, 235, 0.98), rgba(184, 247, 220, 0.98)) !important;
    border-color: rgba(74, 185, 133, 0.34) !important;
    color: #248a63 !important;
}

html:not(.dark) .student-request-pill-status-closed {
    background: linear-gradient(135deg, rgba(236, 241, 247, 0.98), rgba(220, 228, 238, 0.98)) !important;
    border-color: rgba(147, 167, 191, 0.34) !important;
    color: #53657d !important;
}

html:not(.dark) .student-request-pill-priority-low,
html:not(.dark) .student-request-pill-source-internal {
    background: linear-gradient(135deg, rgba(236, 241, 247, 0.98), rgba(220, 228, 238, 0.98)) !important;
    border-color: rgba(147, 167, 191, 0.34) !important;
    color: #53657d !important;
}

html:not(.dark) .student-request-pill-priority-medium {
    background: linear-gradient(135deg, rgba(224, 243, 255, 0.98), rgba(193, 229, 249, 0.98)) !important;
    border-color: rgba(88, 155, 198, 0.34) !important;
    color: #2e77a8 !important;
}

html:not(.dark) .student-request-pill-priority-high {
    background: linear-gradient(135deg, rgba(255, 236, 215, 0.98), rgba(252, 214, 171, 0.98)) !important;
    border-color: rgba(230, 138, 63, 0.34) !important;
    color: #b45e19 !important;
}

html:not(.dark) .student-request-pill-priority-urgent {
    background: linear-gradient(135deg, rgba(255, 231, 235, 0.98), rgba(251, 205, 213, 0.98)) !important;
    border-color: rgba(211, 95, 120, 0.34) !important;
    color: #b4455d !important;
}

html:not(.dark) .student-request-pill-source-student {
    background: linear-gradient(135deg, rgba(234, 236, 255, 0.98), rgba(216, 221, 252, 0.98)) !important;
    border-color: rgba(129, 140, 248, 0.34) !important;
    color: #5b57c8 !important;
}

html:not(.dark) .student-request-pill-source-api {
    background: linear-gradient(135deg, rgba(224, 250, 255, 0.98), rgba(197, 240, 248, 0.98)) !important;
    border-color: rgba(86, 189, 209, 0.34) !important;
    color: #1d7f95 !important;
}

html:not(.dark) .student-request-pill-source-webhook {
    background: linear-gradient(135deg, rgba(239, 232, 255, 0.98), rgba(224, 211, 252, 0.98)) !important;
    border-color: rgba(153, 119, 245, 0.34) !important;
    color: #6d4bc2 !important;
}

html.dark .student-request-pill-status-open {
    background: linear-gradient(135deg, rgba(16, 185, 242, 0.18), rgba(14, 116, 144, 0.3)) !important;
    border-color: rgba(34, 211, 238, 0.24) !important;
    color: #9be7ff !important;
}

html.dark .student-request-pill-status-progress {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(180, 83, 9, 0.3)) !important;
    border-color: rgba(251, 191, 36, 0.24) !important;
    color: #ffd899 !important;
}

html.dark .student-request-pill-status-resolved {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.16), rgba(21, 128, 61, 0.28)) !important;
    border-color: rgba(74, 222, 128, 0.22) !important;
    color: #a9f3cf !important;
}

html.dark .student-request-pill-status-closed {
    background: linear-gradient(135deg, rgba(100, 116, 139, 0.18), rgba(51, 65, 85, 0.32)) !important;
    border-color: rgba(148, 163, 184, 0.2) !important;
    color: #d4deea !important;
}

html.dark .student-request-pill-priority-low,
html.dark .student-request-pill-source-internal {
    background: linear-gradient(135deg, rgba(94, 115, 143, 0.16), rgba(51, 65, 85, 0.28)) !important;
    border-color: rgba(148, 163, 184, 0.2) !important;
    color: #d5e1ec !important;
}

html.dark .student-request-pill-priority-medium {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(37, 99, 235, 0.28)) !important;
    border-color: rgba(96, 165, 250, 0.22) !important;
    color: #bfdbfe !important;
}

html.dark .student-request-pill-priority-high {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.18), rgba(194, 65, 12, 0.3)) !important;
    border-color: rgba(251, 146, 60, 0.22) !important;
    color: #fed7aa !important;
}

html.dark .student-request-pill-priority-urgent {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.18), rgba(190, 24, 93, 0.3)) !important;
    border-color: rgba(251, 113, 133, 0.24) !important;
    color: #fecdd3 !important;
}

html.dark .student-request-pill-source-student {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(67, 56, 202, 0.3)) !important;
    border-color: rgba(129, 140, 248, 0.22) !important;
    color: #e0e7ff !important;
}

html.dark .student-request-pill-source-api {
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.18), rgba(14, 116, 144, 0.3)) !important;
    border-color: rgba(103, 232, 249, 0.22) !important;
    color: #bdf3ff !important;
}

html.dark .student-request-pill-source-webhook {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(109, 40, 217, 0.3)) !important;
    border-color: rgba(167, 139, 250, 0.22) !important;
    color: #ddd6fe !important;
}

html:not(.dark) .student-modern-header,
html:not(.dark) .student-modern-nav a:not([class*="bg-sky-600"]),
html:not(.dark) #student-avatar-menu {
    box-shadow: var(--aneo-light-shadow-soft) !important;
}

html:not(.dark) .student-modern-nav a:not([class*="bg-sky-600"]) {
    background: rgba(255, 255, 255, 0.96) !important;
    border-color: var(--aneo-light-line) !important;
    color: var(--aneo-light-primary) !important;
}

html:not(.dark) .student-modern-nav a[class*="bg-sky-600"] {
    background: linear-gradient(135deg, var(--aneo-light-accent), var(--aneo-light-accent-2)) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    box-shadow: 0 12px 22px rgba(59, 123, 184, 0.18) !important;
}

html:not(.dark) .student-exams-shell > section,
html:not(.dark) .student-exams-shell > div > a,
html:not(.dark) .student-courses-shell .student-courses-card,
html:not(.dark) .student-courses-shell .student-courses-empty {
    box-shadow: var(--aneo-light-shadow-soft) !important;
}

html:not(.dark) .student-exams-shell .rounded-xl.border-sky-100,
html:not(.dark) .student-exams-shell .bg-sky-50\/70 {
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(237,245,251,0.92)) !important;
    border-color: rgba(59, 123, 184, 0.18) !important;
}

html:not(.dark) .student-exams-shell .rounded-xl.border-slate-200,
html:not(.dark) .student-exams-shell .bg-white,
html:not(.dark) .student-exams-shell .bg-white\/90 {
    background: rgba(255, 255, 255, 0.96) !important;
    border-color: var(--aneo-light-line) !important;
}

html:not(.dark) .student-exams-shell span[class*="bg-sky-200"],
html:not(.dark) .student-exams-shell span[class*="bg-cyan-200"] {
    background: var(--aneo-light-info-soft) !important;
    border-color: rgba(43, 108, 176, 0.22) !important;
    color: var(--aneo-light-info) !important;
}

html:not(.dark) .student-exams-shell span[class*="bg-emerald-200"] {
    background: var(--aneo-light-success-soft) !important;
    border-color: rgba(29, 122, 70, 0.22) !important;
    color: var(--aneo-light-success) !important;
}

html:not(.dark) .student-exams-shell span[class*="bg-amber-200"] {
    background: var(--aneo-light-warning-soft) !important;
    border-color: rgba(164, 106, 31, 0.22) !important;
    color: var(--aneo-light-warning) !important;
}

html:not(.dark) .student-exams-shell span[class*="bg-rose-200"] {
    background: var(--aneo-light-danger-soft) !important;
    border-color: rgba(185, 56, 56, 0.22) !important;
    color: var(--aneo-light-danger) !important;
}

.student-exams-shell .student-exam-pending-card {
    border: 1px solid rgba(245, 158, 11, 0.36);
    background: linear-gradient(135deg, rgba(120, 53, 15, 0.34), rgba(69, 26, 3, 0.28));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.student-exams-shell .student-exam-pending-title {
    color: #fde68a;
}

.student-exams-shell .student-exam-pending-course {
    color: #fbbf24;
}

.student-exams-shell .student-exam-pending-date {
    color: #fef3c7;
}

html:not(.dark) .student-exams-shell .student-exam-pending-card {
    border-color: rgba(164, 106, 31, 0.24);
    background: linear-gradient(135deg, #fff7d6, #fffbeb);
}

html:not(.dark) .student-exams-shell .student-exam-pending-title {
    color: #7c2d12;
}

html:not(.dark) .student-exams-shell .student-exam-pending-course,
html:not(.dark) .student-exams-shell .student-exam-pending-date {
    color: #92400e;
}

html:not(.dark) .student-exams-shell a[class*="bg-cyan-200"],
html:not(.dark) .student-exams-shell a[class*="bg-white"].font-semibold,
html:not(.dark) .student-courses-shell .student-courses-cta,
html:not(.dark) .student-courses-shell .student-courses-live-cta {
    background: linear-gradient(135deg, var(--aneo-light-accent), var(--aneo-light-accent-2)) !important;
    border-color: transparent !important;
    color: #ffffff !important;
}

html:not(.dark) .student-exams-shell a[class*="bg-cyan-200"]:hover,
html:not(.dark) .student-exams-shell a[class*="bg-white"].font-semibold:hover,
html:not(.dark) .student-courses-shell .student-courses-cta:hover,
html:not(.dark) .student-courses-shell .student-courses-live-cta:hover {
    background: linear-gradient(135deg, var(--aneo-light-primary), var(--aneo-light-accent)) !important;
}

html:not(.dark) .student-courses-shell .student-courses-card,
html:not(.dark) .student-courses-shell .student-courses-empty {
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,244,236,0.94)) !important;
    border-color: var(--aneo-light-line) !important;
}

html:not(.dark) .student-courses-shell .student-courses-cover-placeholder,
html:not(.dark) .student-courses-shell .student-courses-progress-track {
    background: var(--aneo-light-surface-alt) !important;
    border-color: var(--aneo-light-line) !important;
}

html:not(.dark) .student-courses-shell .student-courses-progress-fill {
    background: linear-gradient(120deg, var(--aneo-light-accent), var(--aneo-light-accent-2)) !important;
}

html:not(.dark) .student-courses-shell .student-courses-disabled {
    background: var(--aneo-light-surface-alt) !important;
    border-color: var(--aneo-light-line) !important;
    color: var(--aneo-light-muted) !important;
}

.student-exchange-status {
    border: 1px solid transparent;
    letter-spacing: 0.01em;
}

.student-exchange-status-approved {
    background: linear-gradient(135deg, rgba(216, 255, 235, 0.98), rgba(184, 247, 220, 0.98)) !important;
    border-color: rgba(74, 185, 133, 0.34) !important;
    color: #248a63 !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.78),
        0 8px 16px rgba(50, 143, 103, 0.12);
}

.student-exchange-status-pending {
    background: linear-gradient(135deg, rgba(255, 245, 214, 0.98), rgba(252, 230, 166, 0.98)) !important;
    border-color: rgba(214, 155, 47, 0.34) !important;
    color: #9d6618 !important;
}

.student-exchange-status-viewed {
    background: linear-gradient(135deg, rgba(224, 243, 255, 0.98), rgba(193, 229, 249, 0.98)) !important;
    border-color: rgba(88, 155, 198, 0.34) !important;
    color: #2e77a8 !important;
}

.student-exchange-status-rejected {
    background: linear-gradient(135deg, rgba(255, 231, 235, 0.98), rgba(251, 205, 213, 0.98)) !important;
    border-color: rgba(211, 95, 120, 0.34) !important;
    color: #b4455d !important;
}

.student-exchange-note {
    display: block;
    border: 1px solid rgba(104, 144, 176, 0.24);
    border-radius: 14px;
    margin: 2px 0 4px;
    padding: 12px 14px !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    font-style: normal !important;
    font-weight: 500 !important;
    color: #5f748c !important;
    background: linear-gradient(135deg, rgba(244, 249, 253, 0.98), rgba(232, 241, 248, 0.96)) !important;
}

html:not(.dark) .student-exchange-shell .student-exchange-row:hover {
    background: linear-gradient(135deg, rgba(245, 249, 252, 0.96), rgba(238, 245, 250, 0.96)) !important;
}

html:not(.dark) .student-exchange-shell .student-exchange-note {
    border-color: rgba(111, 151, 183, 0.26) !important;
    color: #60748a !important;
    background: linear-gradient(135deg, rgba(244, 249, 253, 0.98), rgba(231, 240, 248, 0.96)) !important;
}

html.dark .student-exchange-status-approved {
    background: linear-gradient(135deg, rgba(19, 78, 57, 0.92), rgba(21, 94, 69, 0.94)) !important;
    border-color: rgba(74, 222, 128, 0.26) !important;
    color: #a7f3d0 !important;
    box-shadow:
        inset 0 1px 0 rgba(209, 250, 229, 0.08),
        0 10px 20px rgba(8, 47, 35, 0.22);
}

html.dark .student-exchange-status-pending {
    background: linear-gradient(135deg, rgba(120, 53, 15, 0.88), rgba(146, 64, 14, 0.9)) !important;
    border-color: rgba(251, 191, 36, 0.22) !important;
    color: #fde68a !important;
}

html.dark .student-exchange-status-viewed {
    background: linear-gradient(135deg, rgba(12, 74, 110, 0.88), rgba(3, 105, 161, 0.9)) !important;
    border-color: rgba(103, 232, 249, 0.2) !important;
    color: #bae6fd !important;
}

html.dark .student-exchange-status-rejected {
    background: linear-gradient(135deg, rgba(127, 29, 29, 0.88), rgba(159, 18, 57, 0.9)) !important;
    border-color: rgba(253, 164, 175, 0.18) !important;
    color: #fecdd3 !important;
}

html.dark .student-exchange-note {
    border-color: rgba(124, 165, 200, 0.26) !important;
    color: #d8e7f5 !important;
    background: linear-gradient(135deg, rgba(24, 42, 60, 0.94), rgba(20, 34, 48, 0.92)) !important;
    box-shadow:
        inset 0 1px 0 rgba(208, 232, 255, 0.05),
        0 12px 24px rgba(4, 12, 20, 0.16);
}

/* =====================================================================
   REFINO VISUAL - PORTAL DO ALUNO (ANEO)
   Ajuste apenas visual, escopado em .portal-modern-theme.
   Nao altera PHP, rotas, dados, estrutura ou layout.
   ===================================================================== */

/* Transicoes suaves nos elementos que ganham hover ------------------ */
.portal-modern-theme .student-modern-nav a,
.portal-modern-theme article,
.portal-modern-theme .student-focus-primary,
.portal-modern-theme .student-modern-main .space-y-2 > .rounded-lg {
    transition: transform .16s ease, box-shadow .16s ease,
                background-color .16s ease, border-color .16s ease;
}

/* 1) Cantos mais arredondados e modernos ---------------------------- */
.portal-modern-theme .rounded-lg  { border-radius: 14px !important; }
.portal-modern-theme .rounded-xl  { border-radius: 18px !important; }
.portal-modern-theme .rounded-2xl { border-radius: 22px !important; }

/* 2) Abas de navegacao viram pilulas com hover ---------------------- */
/* Seletor mais especifico que .rounded-lg para vencer o item 1.       */
.portal-modern-theme .student-modern-nav a {
    border-radius: 999px !important;
}
.portal-modern-theme .student-modern-nav a:hover {
    transform: translateY(-1px);
}
/* Aba ativa ganha um leve brilho, sem mudar a cor. */
.portal-modern-theme .student-modern-nav a.bg-sky-600 {
    box-shadow: 0 8px 20px -8px rgba(2, 132, 199, .65);
}

/* 3) Cards de estatistica e secoes: leve elevacao no hover ---------- */
.portal-modern-theme article {
    box-shadow: 0 1px 2px rgba(15, 42, 68, .04);
}
.portal-modern-theme article:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px -18px rgba(15, 42, 68, .45);
}

/* 4) Botao primario "Continuar aula" em pilula + hover -------------- */
.portal-modern-theme .student-focus-primary {
    border-radius: 999px !important;
    box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5);
}
.portal-modern-theme .student-focus-primary:hover {
    transform: translateY(-2px);
}

/* 5) Barra de progresso: brilho sutil no preenchimento -------------- */
.portal-modern-theme .student-focus-progress-fill {
    box-shadow: 0 0 12px rgba(103, 232, 249, .55);
}

/* 6) Linhas de lista: hover discreto ------------------------------- */
/* Escopado as listas do conteudo para nao afetar a navegacao.        */
.portal-modern-theme .student-modern-main .space-y-2 > .rounded-lg:hover {
    background-color: rgba(125, 170, 210, .06);
}

/* 7) Cartao "Continue de onde parou": sombra mais nitida ------------ */
.portal-modern-theme .student-focus-hero {
    box-shadow: 0 20px 50px -28px rgba(8, 47, 73, .7);
}

/* 8) Botoes do cabecalho: cantos mais suaves ----------------------- */
.portal-modern-theme .student-modern-header button.rounded-lg {
    border-radius: 12px !important;
}

/* =====================================================================
   FIM DO REFINO - funciona em tema claro e escuro.
   ===================================================================== */

/* =====================================================================
   PORTAL DO ALUNO - RESPONSIVIDADE MOBILE
   Ajuste visual restrito a telas pequenas. Não altera regras, rotas,
   permissões, financeiro, aulas, Zoom ou dados do aluno.
   ===================================================================== */

@media (max-width: 768px) {
    html,
    body.portal-modern-theme {
        max-width: 100%;
        overflow-x: hidden;
    }

    .portal-modern-theme .portal-modern-shell,
    .portal-modern-theme .portal-modern-content,
    .portal-modern-theme .student-modern-main {
        width: 100%;
        min-width: 0;
    }

    .portal-modern-theme .student-modern-header > .mx-auto:first-child {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch !important;
        gap: 0.75rem !important;
        padding: 0.85rem 1rem 0.65rem !important;
    }

    .portal-modern-theme .student-modern-header > .mx-auto:first-child > div:first-child,
    .portal-modern-theme .student-modern-header > .mx-auto:first-child > div:nth-child(2) {
        width: 100%;
        min-width: 0;
    }

    .portal-modern-theme .student-modern-header > .mx-auto:first-child > div:first-child {
        justify-content: space-between;
    }

    .portal-modern-theme .student-modern-header > .mx-auto:first-child > div:nth-child(2) {
        justify-content: space-between;
        gap: 0.55rem !important;
        text-align: left !important;
    }

    .portal-modern-theme .student-modern-header > .mx-auto:first-child > div:nth-child(2) > div:first-child {
        flex: 1 1 auto;
        min-width: 0;
    }

    .portal-modern-theme .student-modern-header > .mx-auto:first-child > div:nth-child(2) > div:first-child p {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .portal-modern-theme .student-modern-nav {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 0.45rem !important;
        overflow-x: auto;
        padding: 0 0.85rem 0.85rem !important;
        scroll-padding-inline: 0.85rem;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .portal-modern-theme .student-modern-nav::-webkit-scrollbar {
        display: none;
    }

    .portal-modern-theme .student-modern-nav a {
        flex: 0 0 auto;
        scroll-snap-align: start;
        white-space: nowrap;
        padding: 0.58rem 0.82rem !important;
        font-size: 0.8rem !important;
        line-height: 1.1 !important;
    }

    .portal-modern-theme .student-modern-main {
        padding: 1rem 0.85rem 1.5rem !important;
    }

    .portal-modern-theme .student-modern-main > section,
    .portal-modern-theme .student-modern-main > article,
    .portal-modern-theme .student-modern-main > div,
    .portal-modern-theme .student-modern-main form {
        max-width: 100%;
        min-width: 0;
    }

    .portal-modern-theme .student-modern-main h1 {
        font-size: 1.55rem !important;
        line-height: 1.18 !important;
    }

    .portal-modern-theme .student-modern-main h2 {
        font-size: 1.25rem !important;
        line-height: 1.25 !important;
    }

    .portal-modern-theme .student-modern-main h3 {
        line-height: 1.28 !important;
    }

    .portal-modern-theme .student-modern-main .grid,
    .portal-modern-theme .student-modern-main [class*="grid-cols-"],
    .portal-modern-theme .student-modern-main [class*="sm:grid-cols-"],
    .portal-modern-theme .student-modern-main [class*="md:grid-cols-"],
    .portal-modern-theme .student-modern-main [class*="lg:grid-cols-"],
    .portal-modern-theme .student-modern-main [class*="xl:grid-cols-"] {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .portal-modern-theme .student-course-player-layout {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .portal-modern-theme .student-modern-main .flex {
        min-width: 0;
    }

    .portal-modern-theme .student-modern-main .overflow-x-auto {
        width: 100%;
        max-width: 100%;
        -webkit-overflow-scrolling: touch;
    }

    .portal-modern-theme .student-modern-main table {
        min-width: 640px;
    }

    .portal-modern-theme .student-modern-main img,
    .portal-modern-theme .student-modern-main video,
    .portal-modern-theme .student-modern-main iframe {
        max-width: 100%;
    }

    .portal-modern-theme .student-courses-card > .flex.items-start.gap-3 {
        flex-direction: column;
    }

    .portal-modern-theme .student-courses-card img,
    .portal-modern-theme .student-courses-cover-placeholder {
        width: 100% !important;
        height: 10rem !important;
        object-fit: cover;
    }

    .portal-modern-theme .student-focus-hero .student-focus-progress-card {
        width: 100%;
        text-align: left;
    }

    .portal-modern-theme .student-reenroll-row {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 0.2rem;
    }

    .portal-modern-theme #student-avatar-menu {
        position: fixed !important;
        top: 5.5rem !important;
        right: 0.85rem !important;
        left: 0.85rem !important;
        width: auto !important;
        max-height: calc(100dvh - 6.5rem);
        overflow-y: auto;
    }

    .portal-modern-theme #student-avatar-menu > div:first-child {
        border-bottom-color: rgba(125, 211, 252, 0.22) !important;
        background:
            radial-gradient(circle at 12% 18%, rgba(56, 189, 248, 0.22), transparent 34%),
            linear-gradient(135deg, rgba(8, 23, 42, 0.98), rgba(12, 44, 70, 0.98) 58%, rgba(8, 47, 73, 0.96)) !important;
        color: #e0f2fe !important;
    }

    .portal-modern-theme #student-avatar-menu > div:first-child p {
        color: #e0f2fe !important;
    }

    .portal-modern-theme #student-avatar-menu > div:first-child p:last-child {
        color: #67e8f9 !important;
    }

    .portal-modern-theme #student-avatar-menu > div:first-child [class*="bg-sky-100"] {
        background: rgba(14, 165, 233, 0.22) !important;
        color: #e0f2fe !important;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18) !important;
    }

    .portal-modern-theme .portal-alert-overlay {
        align-items: flex-start !important;
        overflow-y: auto;
    }

    .portal-modern-theme .transcript-paper {
        max-width: 100%;
        overflow-x: auto;
    }

    .portal-modern-theme .transcript-table {
        min-width: 640px;
    }
}

@media (max-width: 480px) {
    .portal-modern-theme .student-modern-header > .mx-auto:first-child {
        padding-inline: 0.75rem !important;
    }

    .portal-modern-theme .student-modern-header h1 {
        font-size: 1rem !important;
    }

    .portal-modern-theme .student-modern-header p {
        line-height: 1.25;
    }

    .portal-modern-theme .student-modern-header > .mx-auto:first-child > div:nth-child(2) {
        align-items: center;
    }

    .portal-modern-theme .student-modern-header [data-student-alert-trigger],
    .portal-modern-theme .student-modern-header .portal-theme-toggle,
    .portal-modern-theme .student-modern-header #student-avatar-btn {
        flex: 0 0 auto;
    }

    .portal-modern-theme .student-modern-main {
        padding-inline: 0.7rem !important;
    }

    .portal-modern-theme .student-modern-main section,
    .portal-modern-theme .student-modern-main article,
    .portal-modern-theme .student-modern-main form,
    .portal-modern-theme .student-modern-main div[class*="rounded"][class*="border"] {
        overflow-wrap: anywhere;
    }

    .portal-modern-theme .student-modern-main button,
    .portal-modern-theme .student-modern-main a {
        max-width: 100%;
    }

    .portal-modern-theme .student-modern-main .inline-flex {
        white-space: normal;
    }
}

/* =====================================================================
   FIM DO AJUSTE MOBILE - desktop permanece governado pelas regras atuais.
   ===================================================================== */

/* =====================================================================
   ADMIN MOBILE RESPONSIVE LAYER
   Visual-only adjustments for phones/tablets. Desktop rules stay intact.
   ===================================================================== */

@media (max-width: 1023px) {
    html,
    body.admin-modern-theme {
        max-width: 100%;
        overflow-x: hidden;
    }

    .admin-modern-theme .admin-modern-shell,
    .admin-modern-theme .admin-modern-content,
    .admin-modern-theme .admin-modern-main {
        width: 100%;
        min-width: 0;
    }

    .admin-modern-theme .admin-modern-sidebar {
        width: min(18rem, 86vw);
        max-width: 86vw;
    }

    .admin-modern-theme .admin-modern-header > div {
        height: auto !important;
        min-height: 4rem;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.65rem !important;
        padding: 0.75rem 1rem !important;
    }

    .admin-modern-theme .admin-modern-header form {
        order: 10;
        flex: 1 0 100% !important;
        width: 100%;
        min-width: 0;
    }

    .admin-modern-theme .admin-modern-header input[type="text"] {
        min-height: 2.7rem;
    }

    .admin-modern-theme .admin-modern-main {
        padding: 1rem !important;
    }

    .admin-modern-theme .admin-modern-main > section,
    .admin-modern-theme .admin-modern-main > article,
    .admin-modern-theme .admin-modern-main > div,
    .admin-modern-theme .admin-modern-main form,
    .admin-modern-theme .admin-modern-main div[class*="rounded"][class*="border"] {
        max-width: 100%;
        min-width: 0;
    }

    .admin-modern-theme .admin-modern-main .grid,
    .admin-modern-theme .admin-modern-main [class*="grid-cols-"],
    .admin-modern-theme .admin-modern-main [class*="sm:grid-cols-"],
    .admin-modern-theme .admin-modern-main [class*="md:grid-cols-"],
    .admin-modern-theme .admin-modern-main [class*="lg:grid-cols-"],
    .admin-modern-theme .admin-modern-main [class*="xl:grid-cols-"] {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .admin-modern-theme .admin-modern-main [class*="sm:flex-row"],
    .admin-modern-theme .admin-modern-main [class*="md:flex-row"],
    .admin-modern-theme .admin-modern-main [class*="lg:flex-row"] {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .admin-modern-theme .admin-modern-main [class*="sm:items-center"],
    .admin-modern-theme .admin-modern-main [class*="md:items-center"],
    .admin-modern-theme .admin-modern-main [class*="lg:items-center"] {
        align-items: stretch !important;
    }

    .admin-modern-theme .admin-modern-main input:not([type="checkbox"]):not([type="radio"]),
    .admin-modern-theme .admin-modern-main select,
    .admin-modern-theme .admin-modern-main textarea {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .admin-modern-theme .admin-modern-main .overflow-x-auto,
    .admin-modern-theme .admin-modern-main .finance-table-wrap,
    .admin-modern-theme .admin-modern-main .finance-reports-table-wrap,
    .admin-modern-theme .admin-modern-main .courses-calendar-table-wrap {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .admin-modern-theme .admin-modern-main table {
        width: 100%;
        min-width: 720px;
    }

    .admin-modern-theme .admin-modern-main .finance-table,
    .admin-modern-theme .admin-modern-main .finance-reports-table,
    .admin-modern-theme .admin-modern-main .courses-calendar-table {
        min-width: 920px;
    }

    .admin-modern-theme .admin-modern-main img,
    .admin-modern-theme .admin-modern-main video,
    .admin-modern-theme .admin-modern-main iframe {
        max-width: 100%;
    }

    .admin-modern-theme .admin-alert-overlay {
        align-items: flex-start !important;
        overflow-y: auto;
    }

    .admin-modern-theme .admin-alert-modal-panel {
        max-height: calc(100dvh - 2rem);
        overflow: hidden;
    }

    .admin-modern-theme .admin-alert-modal-body {
        max-height: calc(100dvh - 11rem);
    }

    .admin-modern-theme #fab-toggle {
        height: 3.25rem;
        width: 3.25rem;
    }

    .admin-modern-theme #fab-menu {
        width: min(14rem, calc(100vw - 2rem));
        max-width: calc(100vw - 2rem);
    }
}

@media (max-width: 640px) {
    .admin-modern-theme .admin-modern-header > div {
        padding: 0.7rem 0.75rem !important;
    }

    .admin-modern-theme .admin-modern-header a[title="Sair do sistema"] {
        padding-inline: 0.7rem !important;
    }

    .admin-modern-theme .admin-modern-main {
        padding: 0.85rem 0.7rem 1.35rem !important;
    }

    .admin-modern-theme .admin-modern-main h1 {
        font-size: 1.55rem !important;
        line-height: 1.18 !important;
    }

    .admin-modern-theme .admin-modern-main h2 {
        font-size: 1.25rem !important;
        line-height: 1.25 !important;
    }

    .admin-modern-theme .admin-modern-main h3 {
        line-height: 1.28 !important;
    }

    .admin-modern-theme .admin-modern-main section,
    .admin-modern-theme .admin-modern-main article,
    .admin-modern-theme .admin-modern-main form,
    .admin-modern-theme .admin-modern-main div[class*="rounded"][class*="border"] {
        overflow-wrap: anywhere;
    }

    .admin-modern-theme .admin-modern-main button,
    .admin-modern-theme .admin-modern-main a {
        max-width: 100%;
    }

    .admin-modern-theme .admin-modern-main .finance-btn {
        min-height: 2.25rem;
    }

    .admin-modern-theme .admin-modern-main table {
        min-width: 680px;
    }

    .admin-modern-theme .admin-modern-main .finance-table,
    .admin-modern-theme .admin-modern-main .finance-reports-table,
    .admin-modern-theme .admin-modern-main .courses-calendar-table {
        min-width: 860px;
    }
}

@media (max-width: 420px) {
    .admin-modern-theme .admin-modern-header button,
    .admin-modern-theme .admin-modern-header a[title="Sair do sistema"] {
        flex: 0 0 auto;
    }

    .admin-modern-theme .admin-modern-header input[type="text"] {
        font-size: 0.85rem;
    }

    .admin-modern-theme .admin-modern-main {
        padding-inline: 0.6rem !important;
    }
}

/* =====================================================================
   END ADMIN MOBILE RESPONSIVE LAYER
   ===================================================================== */
