@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
    --bg-base: #090d16;
    --bg-sidebar: #0b111e;
    --bg-surface: #0e1526;
    --bg-surface-glass: rgba(14, 21, 38, 0.75);
    --bg-card: rgba(19, 29, 52, 0.6);
    --bg-card-hover: rgba(25, 38, 68, 0.8);
    --bg-input: rgba(11, 17, 30, 0.8);
    
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-hover: rgba(0, 242, 254, 0.3);
    --border-glass-active: rgba(0, 242, 254, 0.6);
    
    --cyan: #00f2fe;
    --cyan-glow: rgba(0, 242, 254, 0.25);
    --blue: #0066ff;
    --purple: #8b5cf6;
    --emerald: #10b981;
    --emerald-glow: rgba(16, 185, 129, 0.25);
    --amber: #f59e0b;
    --rose: #ef4444;
    --rose-glow: rgba(239, 68, 68, 0.25);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-dark: #000000;
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-pill: 9999px;
    
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 0 25px rgba(0, 242, 254, 0.15);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

:root[data-theme="light"],
html[data-theme="light"],
body.theme-light {
    --bg-base: #f8fafc;
    --bg-sidebar: #ffffff;
    --bg-surface: #ffffff;
    --bg-surface-glass: rgba(255, 255, 255, 0.92);
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --bg-input: #ffffff;
    
    --border-glass: #e2e8f0;
    --border-glass-hover: #94a3b8;
    --border-glass-active: #0284c7;
    
    --cyan: #0284c7;
    --cyan-glow: rgba(2, 132, 199, 0.2);
    --blue: #2563eb;
    --purple: #7c3aed;
    --emerald: #059669;
    --emerald-glow: rgba(5, 150, 105, 0.2);
    --amber: #d97706;
    --rose: #e11d48;
    --rose-glow: rgba(225, 29, 72, 0.2);
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-dark: #000000;
    
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
    --shadow-glow: 0 0 20px rgba(2, 132, 199, 0.12);
}

/* Reset Global */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Custom Dark Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(4, 7, 13, 0.6);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 242, 254, 0.4);
}
::selection {
    background: rgba(0, 242, 254, 0.35);
    color: #ffffff;
}

body.admin-body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    background-image: 
        radial-gradient(at 0% 0%, rgba(0, 242, 254, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(139, 92, 246, 0.07) 0px, transparent 50%),
        radial-gradient(at 50% 100%, rgba(0, 102, 255, 0.06) 0px, transparent 50%);
    background-attachment: fixed;
}

/* Background Orbs animados sutis */
.bg-mesh-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    animation: orbFloat 25s infinite alternate ease-in-out;
}
.glow-orb-1 {
    width: 500px;
    height: 500px;
    background: var(--cyan);
    top: -150px;
    left: -100px;
}
.glow-orb-2 {
    width: 600px;
    height: 600px;
    background: var(--purple);
    bottom: -200px;
    right: -100px;
    animation-delay: -7s;
}

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(80px, 40px) scale(1.1); }
}

/* Layout Geral do Admin */
.admin-container {
    display: flex;
    min-height: 100vh;
}

/* SIDEBAR UNIFICADA */
.sidebar-admin {
    width: 260px;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border-glass);
    padding: 25px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 4px 0 25px rgba(0, 0, 0, 0.4);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 8px 25px 8px;
    border-bottom: 1px solid var(--border-glass);
    margin-bottom: 20px;
    text-decoration: none;
}

.brand-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.35);
}

.brand-text h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.brand-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 700;
    color: var(--emerald);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.brand-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--emerald);
    box-shadow: 0 0 8px var(--emerald);
}

/* Categorias e Links da Sidebar */
.sidebar-category {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-muted);
    padding: 12px 12px 6px 12px;
    margin-top: 8px;
}

.sidebar-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-menu a, .sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
}

.sidebar-menu a:hover, .sidebar-link:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    transform: translateX(3px);
    border-color: rgba(255, 255, 255, 0.06);
}

.sidebar-menu a.active, .sidebar-link.active {
    background: linear-gradient(90deg, rgba(0, 242, 254, 0.12), rgba(0, 242, 254, 0.02));
    color: var(--cyan);
    border-color: rgba(0, 242, 254, 0.25);
    border-left: 3px solid var(--cyan);
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.08);
}

.sidebar-menu a .menu-icon, .sidebar-link .menu-icon {
    font-size: 17px;
    width: 22px;
    text-align: center;
}

.sidebar-footer {
    border-top: 1px solid var(--border-glass);
    padding-top: 16px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-link-danger {
    color: var(--rose) !important;
}
.sidebar-link-danger:hover {
    background: rgba(239, 68, 68, 0.1) !important;
    border-color: rgba(239, 68, 68, 0.25) !important;
}

/* ÁREA PRINCIPAL */
.main-admin {
    flex: 1;
    padding: 35px 40px;
    overflow-x: hidden;
    max-width: 1600px;
}

/* BREADCRUMB */
.admin-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.admin-breadcrumb-links {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.admin-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}
.admin-breadcrumb a:hover {
    color: var(--cyan);
}
.admin-breadcrumb span.sep {
    color: var(--text-muted);
    opacity: 0.5;
}
.admin-breadcrumb span.current {
    color: var(--cyan);
}

/* TÍTULOS DE PÁGINA */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 15px;
}
.page-title h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    line-height: 1.2;
}
.page-title p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* CARDS GLASSMORPHISM (Dark Obsidian) */
.glass-panel {
    background: var(--bg-surface-glass);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

/* GRID DE KPIS */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.kpi-card {
    background: var(--bg-surface-glass);
    backdrop-filter: blur(14px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}
.kpi-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-glass-hover);
    box-shadow: var(--shadow-glow);
}
.kpi-card h4 {
    font-size: 0.78rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 8px;
}
.kpi-card .valor {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.1;
}

/* BOTÕES DO PAINEL */
.btn-action, .btn-admin-primary, .btn-download, .btn-move {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-admin-primary, .btn-download {
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    color: #000 !important;
    font-weight: 800;
    border: none;
    box-shadow: 0 4px 16px rgba(0, 242, 254, 0.25);
}
.btn-admin-primary:hover, .btn-download:hover {
    box-shadow: 0 6px 22px rgba(0, 242, 254, 0.45);
    transform: translateY(-2px);
    color: #000;
}

.btn-action-outline {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
}
.btn-action-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.btn-action-success {
    background: rgba(16, 185, 129, 0.12);
    color: var(--emerald);
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.btn-action-success:hover {
    background: rgba(16, 185, 129, 0.22);
    box-shadow: 0 0 15px var(--emerald-glow);
    color: #fff;
}

.btn-action-cyan {
    background: rgba(0, 242, 254, 0.12);
    color: var(--cyan);
    border: 1px solid rgba(0, 242, 254, 0.3);
}
.btn-action-cyan:hover {
    background: rgba(0, 242, 254, 0.22);
    box-shadow: 0 0 15px var(--cyan-glow);
    color: #fff;
}

.btn-action-danger {
    background: rgba(239, 68, 68, 0.12);
    color: var(--rose);
    border: 1px solid rgba(239, 68, 68, 0.3);
}
.btn-action-danger:hover {
    background: rgba(239, 68, 68, 0.22);
    box-shadow: 0 0 15px var(--rose-glow);
    color: #fff;
}

.btn-move {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    padding: 5px 10px;
    font-size: 11px;
    border-radius: var(--radius-sm);
}
.btn-move:hover {
    background: var(--cyan);
    color: #000;
    border-color: var(--cyan);
}

/* FORMULÁRIOS & INPUTS ESCUROS */
.form-group {
    margin-bottom: 18px;
}
.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}
.form-control:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px var(--cyan-glow);
    background: rgba(14, 21, 38, 0.95);
}
.form-control::placeholder {
    color: var(--text-muted);
}
select.form-control option {
    background: #0d1527;
    color: var(--text-primary);
    padding: 10px;
}

/* TABELAS MODERNAS */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 13.5px;
}
th {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-glass);
    text-align: left;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(0, 0, 0, 0.2);
}
td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-glass);
    text-align: left;
    vertical-align: middle;
    color: var(--text-primary);
}
tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* BADGES UNIFICADAS */
.badge-status, .badge-prio, .badge-cat, .badge-info, .badge-warning, .badge-error, .badge-crash {
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.5px;
}

.status-recebido, .status-paga, .prio-baixa, .badge-success, .status-ativo {
    background: rgba(16, 185, 129, 0.15);
    color: var(--emerald);
    border: 1px solid rgba(16, 185, 129, 0.4);
}
.status-nota_emitida, .status-nota-emitida, .status-implantacao {
    background: rgba(0, 242, 254, 0.15);
    color: var(--cyan);
    border: 1px solid rgba(0, 242, 254, 0.4);
}
.status-emitir_nota, .status-emitir-nota, .status-pendente, .prio-alta, .badge-warning, .status-suspenso {
    background: rgba(245, 158, 11, 0.15);
    color: var(--amber);
    border: 1px solid rgba(245, 158, 11, 0.4);
}
.status-cancelada, .prio-urgente, .badge-error, .badge-crash, .status-inativo {
    background: rgba(239, 68, 68, 0.18);
    color: var(--rose);
    border: 1px solid rgba(239, 68, 68, 0.4);
}
.prio-media, .badge-info {
    background: rgba(0, 242, 254, 0.15);
    color: var(--cyan);
    border: 1px solid rgba(0, 242, 254, 0.4);
}
.prio-urgente, .badge-crash {
    animation: alertPulse 2s infinite ease-in-out;
}

@keyframes alertPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    50% { box-shadow: 0 0 12px 2px rgba(239, 68, 68, 0.6); }
}

/* ALERTAS */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 22px;
    font-weight: 600;
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-success {
    background: rgba(16, 185, 129, 0.15);
    color: var(--emerald);
    border: 1px solid rgba(16, 185, 129, 0.35);
}
.alert-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.35);
}
.alert-info {
    background: rgba(0, 242, 254, 0.12);
    color: var(--cyan);
    border: 1px solid rgba(0, 242, 254, 0.35);
}

/* KANBAN BOARD DARK */
.kanban-board {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: start;
    min-height: 600px;
}
@media (max-width: 1280px) { .kanban-board { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .kanban-board { grid-template-columns: 1fr; } }

.kanban-col {
    background: rgba(14, 21, 38, 0.65);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 16px;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}
.kanban-col.drag-over {
    background: rgba(0, 242, 254, 0.08) !important;
    border-color: var(--cyan) !important;
    box-shadow: 0 0 20px var(--cyan-glow);
}
.kanban-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-glass);
    margin-bottom: 15px;
}
.kanban-title {
    font-weight: 700;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.kanban-count {
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
}

.ticket-card {
    background: rgba(24, 34, 62, 0.7);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 14px;
    margin-bottom: 12px;
    transition: var(--transition);
    position: relative;
    cursor: grab;
}
.ticket-card:active { cursor: grabbing; }
.ticket-card.dragging {
    opacity: 0.35;
    transform: scale(0.96);
    border: 1px dashed var(--cyan);
}
.ticket-card:hover {
    border-color: var(--border-glass-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}
.ticket-project {
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.ticket-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
    line-height: 1.3;
}
.ticket-desc {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ticket-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 10px;
}
.overdue-tag {
    color: var(--rose);
    font-weight: 800;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* CARDS DO NOC */
.noc-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}
.noc-card {
    border-radius: var(--radius-lg);
    padding: 22px;
    text-align: center;
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(14px);
    transition: var(--transition);
}
.noc-card:hover { transform: translateY(-3px); }
.noc-card .noc-value {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 6px;
    font-family: 'Space Grotesk', sans-serif;
}
.noc-card .noc-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}
.noc-card.card-crash { background: rgba(239, 68, 68, 0.1); border-color: rgba(239, 68, 68, 0.35); }
.noc-card.card-crash .noc-value { color: var(--rose); }
.noc-card.card-crash .noc-label { color: #fca5a5; }
.noc-card.card-error { background: rgba(244, 63, 94, 0.1); border-color: rgba(244, 63, 94, 0.35); }
.noc-card.card-error .noc-value { color: #fb7185; }
.noc-card.card-error .noc-label { color: #fda4af; }
.noc-card.card-warning { background: rgba(245, 158, 11, 0.1); border-color: rgba(245, 158, 11, 0.35); }
.noc-card.card-warning .noc-value { color: var(--amber); }
.noc-card.card-warning .noc-label { color: #fcd34d; }
.noc-card.card-info { background: rgba(0, 242, 254, 0.1); border-color: rgba(0, 242, 254, 0.35); }
.noc-card.card-info .noc-value { color: var(--cyan); }
.noc-card.card-info .noc-label { color: #67e8f9; }

.stack-trace {
    font-family: 'Fira Code', 'Cascadia Code', Consolas, monospace;
    font-size: 11px;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px;
    border-radius: var(--radius-sm);
    overflow-x: auto;
    max-width: 480px;
    max-height: 180px;
    white-space: pre-wrap;
    color: #ff9999;
    margin-top: 8px;
    display: none;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.5);
}

/* MODAIS DARK OBSIDIAN */
.admin-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 7, 13, 0.85);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: modalFadeIn 0.2s ease-out;
}
.admin-modal-content {
    background: #0d1527;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    padding: 30px;
    width: 100%;
    max-width: 680px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}
@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.97); }
    to { opacity: 1; transform: scale(1); }
}

/* RESPONSIVIDADE */
@media (max-width: 900px) {
    .admin-container {
        flex-direction: column;
    }
    .sidebar-admin {
        width: 100%;
        height: auto;
        position: relative;
    }
    .main-admin {
        padding: 20px;
    }
}

/* GRADE RESUMO ANUAL DE MESES */
.mes-grid-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    position: relative;
}
.mes-grid-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}
.mes-grid-card.ativo {
    border-color: var(--cyan);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.15);
}
.btn-mode-toggle {
    background: transparent;
    color: var(--text-muted);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.btn-mode-toggle:hover {
    color: #fff;
}
.btn-mode-toggle.active {
    background: var(--cyan);
    color: #04070d;
    font-weight: 700;
}

/* ESTILOS PLANILHA EXCEL DE FATURAMENTO */
.excel-panel {
    background: #090e1a;
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

/* Barra de Título Superior (Office Excel Ribbon Header) */
.excel-header-bar {
    background: linear-gradient(90deg, #0d3822 0%, #0d1527 100%);
    border-bottom: 1px solid rgba(16, 185, 129, 0.3);
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.excel-logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: #107c41;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: #fff !important;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(16, 124, 65, 0.4);
    flex-shrink: 0;
}
.excel-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff !important;
    margin: 0;
    font-family: 'Segoe UI', system-ui, sans-serif;
}
.excel-title-tag {
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(16, 185, 129, 0.2);
    color: #34d399 !important;
    border: 1px solid rgba(16, 185, 129, 0.4);
}
.excel-subtitle {
    font-size: 11.5px;
    color: #94a3b8 !important;
}
.excel-tabs-pill {
    display: inline-flex;
    background: rgba(0, 0, 0, 0.4);
    padding: 2px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.btn-excel-tab {
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 6px 14px;
    font-size: 11.5px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}
.btn-excel-tab:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}
.btn-excel-tab.active {
    background: #107c41;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(16, 124, 65, 0.35);
}

/* Barra de Fórmulas (FX Bar) */
.excel-fx-bar {
    background: rgba(0, 0, 0, 0.45);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 7px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 12px;
}
.excel-fx-namebox {
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 10px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--cyan);
    font-weight: 700;
    font-size: 11.5px;
}
.excel-fx-icon {
    color: #64748b;
    font-weight: bold;
    font-style: italic;
    font-size: 13px;
}
.excel-fx-content {
    color: #cbd5e1;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.excel-fx-val-total {
    color: #fff;
}
.excel-fx-val-rec {
    color: var(--emerald);
}
.excel-fx-val-pend {
    color: var(--amber);
}
.excel-fx-stats {
    color: #94a3b8;
    font-size: 11px;
    font-family: 'Segoe UI', sans-serif;
}

/* Tabela e Grid Geral */
.excel-scroll-container {
    overflow-x: auto;
    max-height: 560px;
    overflow-y: auto;
}
.excel-grid-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Segoe UI', -apple-system, sans-serif;
    font-size: 12px;
}
.excel-grid-table th,
.excel-grid-table td {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

/* Cabeçalho da Tabela (Letters A, B, C...) */
.excel-grid-table thead tr {
    background: rgba(13, 21, 39, 0.95);
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.excel-th-corner {
    width: 38px;
    text-align: center;
    color: #64748b;
    font-size: 10.5px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.3);
    font-weight: 600;
}
.excel-th-client {
    min-width: 220px;
    text-align: left;
    padding: 10px 14px;
    color: #fff;
    font-weight: 700;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    left: 0;
    background: #0c1424;
    z-index: 12;
}
.excel-th-mes {
    min-width: 110px;
    text-align: right;
    padding: 9px 10px;
    color: #cbd5e1;
    font-weight: 700;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
}
.excel-th-mes.mes-atual {
    color: var(--cyan);
    background: rgba(0, 242, 254, 0.06);
}
.excel-th-mes:hover {
    background: rgba(0, 242, 254, 0.15) !important;
    color: var(--cyan) !important;
}
.excel-th-mes.mes-ativo {
    background: rgba(0, 242, 254, 0.22) !important;
    color: var(--cyan) !important;
    box-shadow: inset 0 -3px 0 var(--cyan) !important;
}
.excel-th-sub {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}
.excel-th-col-letter {
    font-size: 10px;
    color: #64748b;
}
.excel-th-col-ver {
    font-size: 8.5px;
    color: #64748b;
    opacity: 0.8;
}
.excel-th-dot-atual {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    margin-left: 2px;
}
.excel-th-total {
    min-width: 130px;
    text-align: right;
    padding: 9px 12px;
    color: #38bdf8;
    font-weight: 800;
    background: rgba(0, 242, 254, 0.08);
    position: sticky;
    right: 0;
    z-index: 11;
    border-left: 1px solid rgba(0, 242, 254, 0.2);
}

/* Linhas do Corpo (Tbody) */
.excel-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.15s;
}
.excel-row:hover td {
    background: rgba(255, 255, 255, 0.04) !important;
}
.excel-td-num {
    text-align: center;
    color: #64748b;
    font-size: 10px;
    font-family: monospace;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.2);
}
.excel-td-client {
    padding: 10px 14px;
    font-weight: 600;
    color: #f8fafc;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    left: 0;
    background: #0c1424;
    z-index: 5;
    white-space: nowrap;
}
.excel-client-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.excel-client-title {
    display: flex;
    align-items: center;
    gap: 6px;
}
.excel-portal-badge {
    font-size: 9.5px;
    background: rgba(0, 242, 254, 0.12);
    color: var(--cyan);
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: 4px;
    padding: 1px 5px;
    text-decoration: none;
}
.excel-client-count {
    font-size: 10px;
    color: #64748b;
    background: rgba(255, 255, 255, 0.04);
    padding: 1px 6px;
    border-radius: 8px;
}

/* Células de Dados dos Meses */
.excel-cell {
    position: relative;
    text-align: right;
    padding: 8px 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    font-family: 'JetBrains Mono', 'Consolas', monospace;
    font-size: 11.5px;
    cursor: pointer;
    transition: all 0.1s ease;
}
.excel-cell:hover {
    outline: 2px solid var(--cyan) !important;
    outline-offset: -2px;
    z-index: 5;
    background: rgba(0, 242, 254, 0.12) !important;
}
.excel-cell.vazia {
    color: #94a3b8;
    background: transparent;
}
.excel-cell.status-pago {
    color: var(--emerald);
    background: rgba(16, 185, 129, 0.08);
}
.excel-cell.status-pendente {
    color: var(--amber);
    background: rgba(245, 158, 11, 0.08);
}
.excel-cell.status-emitida {
    color: var(--cyan);
    background: rgba(0, 242, 254, 0.08);
}
.excel-cell.status-misto {
    color: #fff;
    background: rgba(121, 40, 202, 0.1);
}
.excel-val-main {
    font-weight: 700;
}
.excel-val-sub {
    font-size: 9px;
    opacity: 0.8;
    font-family: sans-serif;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
}
.excel-dash-empty {
    color: rgba(255, 255, 255, 0.15);
}
.excel-td-client-total {
    text-align: right;
    padding: 8px 12px;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #fff;
    background: rgba(0, 242, 254, 0.06);
    position: sticky;
    right: 0;
    z-index: 5;
    border-left: 1px solid rgba(0, 242, 254, 0.2);
}

/* Rodapé Totalizador da Matriz */
.excel-tfoot-row {
    background: rgba(13, 21, 39, 0.98);
    border-top: 2px solid rgba(0, 242, 254, 0.4);
    font-weight: 800;
    position: sticky;
    bottom: 0;
    z-index: 10;
}
.excel-tfoot-corner {
    text-align: center;
    color: #64748b;
    font-size: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.excel-tfoot-client {
    padding: 12px 14px;
    color: #fff;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    left: 0;
    background: #0c1424;
    z-index: 12;
}
.excel-tfoot-mes {
    text-align: right;
    padding: 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    color: #fff;
}
.excel-tfoot-val {
    font-weight: 700;
}
.excel-tfoot-rec {
    font-size: 9.5px;
    font-weight: 600;
    color: var(--emerald);
    font-family: sans-serif;
}
.excel-tfoot-total {
    text-align: right;
    padding: 12px;
    font-weight: 900;
    font-family: 'Space Grotesk', monospace;
    font-size: 13.5px;
    color: var(--cyan);
    background: rgba(0, 242, 254, 0.12);
    position: sticky;
    right: 0;
    z-index: 11;
    border-left: 1px solid rgba(0, 242, 254, 0.3);
}

/* Aba Consolidada */
.excel-thead-tr {
    background: rgba(13, 21, 39, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.excel-row-filtered {
    background: rgba(0, 242, 254, 0.05);
}
.excel-td-month-name {
    padding: 10px 14px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
}
.excel-progress-bg {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 3px;
}
.excel-progress-bar {
    height: 100%;
    border-radius: 3px;
}
.excel-consolidado-tfoot {
    background: rgba(13, 21, 39, 0.98);
    border-top: 2px solid rgba(0, 242, 254, 0.4);
    font-weight: 800;
}
.excel-cons-title {
    padding: 12px 14px;
    color: #fff;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
}
.excel-cons-pendente {
    text-align: right;
    color: var(--amber);
    font-family: 'JetBrains Mono', monospace;
    font-size: 12.5px;
}
.excel-cons-recebido {
    text-align: right;
    color: var(--emerald);
    font-family: 'JetBrains Mono', monospace;
    font-size: 12.5px;
}
.excel-cons-total {
    text-align: right;
    font-weight: 900;
    font-family: 'Space Grotesk', monospace;
    font-size: 14px;
    color: var(--cyan);
}

/* Barra de Status Inferior */
.excel-statusbar {
    background: rgba(0, 0, 0, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #64748b;
    font-family: 'Segoe UI', sans-serif;
}
.excel-statusbar-left {
    display: flex;
    gap: 14px;
    align-items: center;
}
.excel-status-dot {
    color: #34d399;
    font-weight: 700;
}
.excel-statusbar-right {
    display: flex;
    gap: 16px;
    align-items: center;
}
.excel-statusbar-val {
    color: #cbd5e1;
}
.excel-statusbar-sum {
    color: var(--cyan);
}

/* Banner de Mês Expandido sob a Planilha */
.excel-month-banner {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.15) 0%, rgba(13, 21, 39, 0.95) 100%);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: var(--radius-lg);
    padding: 14px 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}
.excel-banner-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.excel-banner-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
}
.excel-banner-tag {
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(0, 242, 254, 0.15);
    color: var(--cyan);
    border: 1px solid rgba(0, 242, 254, 0.3);
}
.excel-banner-sub {
    font-size: 12px;
    color: #94a3b8;
}

/* MENU DE SELEÇÃO DE VISUALIZAÇÃO */
.view-navigation-bar {
    background: rgba(13, 21, 39, 0.75);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 8px 14px;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}
.btn-tab-view {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}
.btn-tab-view:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}
.btn-tab-view.active {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.15) 0%, rgba(121, 40, 202, 0.15) 100%);
    color: var(--cyan);
    border-color: rgba(0, 242, 254, 0.35);
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.12);
}

/* INTEGRAÇÃO DE CHAMADOS COM EMPRESAS CLIENTES */
.ticket-company-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 600;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.25);
    color: #e2e8f0;
    max-width: 100%;
    margin-bottom: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.ticket-company-badge:hover {
    background: rgba(0, 242, 254, 0.16);
    border-color: rgba(0, 242, 254, 0.45);
    transform: translateY(-1px);
}
.ticket-company-badge .wa-link {
    color: #10b981;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin-left: 4px;
    font-size: 11px;
    padding: 1px 4px;
    border-radius: 4px;
    background: rgba(16, 185, 129, 0.15);
    transition: all 0.2s ease;
}
.ticket-company-badge .wa-link:hover {
    background: rgba(16, 185, 129, 0.35);
    filter: brightness(1.2);
}
.ticket-tipo-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.tipo-remoto { background: rgba(0, 242, 254, 0.12); color: #00f2fe; border: 1px solid rgba(0, 242, 254, 0.3); }
.tipo-presencial { background: rgba(16, 185, 129, 0.12); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.3); }
.tipo-visita_tecnica { background: rgba(245, 158, 11, 0.12); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.3); }
.tipo-emergencial { background: rgba(239, 68, 68, 0.18); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.4); font-weight: 800; }
.tipo-interno { background: rgba(148, 163, 184, 0.12); color: #cbd5e1; border: 1px solid rgba(148, 163, 184, 0.25); }

.company-summary-box {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(0, 242, 254, 0.25);
    border-radius: var(--radius-md);
    padding: 14px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    animation: fadeIn 0.2s ease-in;
}
.company-profile-widget {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(0, 242, 254, 0.25);
    border-radius: var(--radius-lg);
    padding: 16px;
    margin-bottom: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

/* ========================================================
   MODO PASTAS — WINDOWS FILE EXPLORER (JHN TECH ADMIN)
   ======================================================== */
.win-explorer-window {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6), 0 0 1px rgba(255, 255, 255, 0.2);
    overflow: hidden;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    min-height: 650px;
    font-family: 'Segoe UI Variable', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* Titlebar */
.win-titlebar {
    background: #111a2e;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}
.win-titlebar-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    font-weight: 600;
    color: #e2e8f0;
}
.win-window-controls {
    display: flex;
    gap: 8px;
    align-items: center;
}
.win-btn-control {
    width: 28px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: #94a3b8;
    cursor: pointer;
    font-size: 11px;
    transition: background 0.15s;
}
.win-btn-control:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

/* Ribbon Toolbar */
.win-toolbar {
    background: #152238;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.win-toolbar-group {
    display: flex;
    align-items: center;
    gap: 6px;
}
.win-tool-btn {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 5px;
    padding: 5px 10px;
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
}
.win-tool-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.12);
}
.win-tool-btn.active {
    background: rgba(0, 242, 254, 0.15);
    color: var(--cyan);
    border-color: rgba(0, 242, 254, 0.35);
}
.win-tool-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* Address Bar (Breadcrumbs) */
.win-nav-bar {
    background: #131c31;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.win-nav-arrows {
    display: flex;
    gap: 2px;
}
.win-nav-arrow {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.15s;
}
.win-nav-arrow:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}
.win-nav-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}
.win-address-box {
    flex: 1;
    background: #0d1526;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 3px 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    white-space: nowrap;
}
.win-breadcrumb-crumb {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 4px;
    color: #cbd5e1;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.15s;
    user-select: none;
}
.win-breadcrumb-crumb:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}
.win-breadcrumb-crumb.current {
    font-weight: 700;
    color: #fff;
}
.win-breadcrumb-sep {
    color: #64748b;
    font-size: 10px;
}
.win-search-container {
    width: 240px;
    position: relative;
}
.win-search-input {
    width: 100%;
    background: #0d1526;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 5px 10px 5px 28px;
    color: #fff;
    font-size: 12px;
    outline: none;
    transition: border-color 0.2s;
}
.win-search-input:focus {
    border-color: var(--cyan);
}
.win-search-icon {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #64748b;
    pointer-events: none;
}

/* Explorer Body (Tree + Content) */
.win-explorer-body {
    display: grid;
    grid-template-columns: 260px 1fr;
    flex: 1;
    min-height: 480px;
    background: #0b1120;
}
@media (max-width: 900px) {
    .win-explorer-body {
        grid-template-columns: 1fr;
    }
    .win-sidebar-pane {
        display: none;
    }
}

/* Sidebar Tree Pane */
.win-sidebar-pane {
    background: #0e1628;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 8px;
    overflow-y: auto;
    font-size: 12px;
}
.win-tree-section-title {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 6px 10px;
    margin-top: 8px;
}
.win-tree-node {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    border-radius: 5px;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.15s;
    user-select: none;
    gap: 8px;
}
.win-tree-node:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}
.win-tree-node.active {
    background: rgba(0, 242, 254, 0.14);
    color: var(--cyan);
    font-weight: 700;
    border-left: 2px solid var(--cyan);
}
.win-tree-node-left {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.win-tree-badge {
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: #94a3b8;
}
.win-tree-subgroup {
    padding-left: 10px;
    border-left: 1px dashed rgba(255, 255, 255, 0.12);
    margin-left: 10px;
    margin-bottom: 4px;
}
.win-tree-child {
    padding: 4px 8px;
    font-size: 11.5px;
}
.win-tree-chevron {
    font-size: 10px;
    color: #64748b;
    display: inline-block;
    width: 12px;
    text-align: center;
    transition: transform 0.15s;
}

/* Main Content Area */
.win-content-pane {
    padding: 20px;
    overflow-y: auto;
    background: #0b1120;
    display: flex;
    flex-direction: column;
}

/* Grid of Folders and Files (Large Icons) */
.win-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 16px;
}

/* Windows Folder Tile */
.win-folder-tile {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 14px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    position: relative;
}
.win-folder-tile:hover {
    background: rgba(0, 242, 254, 0.08);
    border-color: rgba(0, 242, 254, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}
.win-folder-icon-svg {
    width: 58px;
    height: 52px;
    margin: 0 auto 8px;
    display: block;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    transition: transform 0.2s;
}
.win-folder-tile:hover .win-folder-icon-svg {
    transform: scale(1.06);
}
.win-folder-name {
    font-size: 12.5px;
    font-weight: 600;
    color: #f1f5f9;
    word-break: break-word;
    line-height: 1.25;
    margin-bottom: 4px;
}
.win-folder-meta {
    font-size: 11px;
    color: #94a3b8;
}
.win-folder-val {
    font-size: 11px;
    font-weight: 700;
    color: #34d399;
    margin-top: 2px;
}

/* Windows PDF File Tile */
.win-file-tile {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 14px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.win-file-tile:hover {
    background: rgba(244, 63, 94, 0.08);
    border-color: rgba(244, 63, 94, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}
.win-pdf-icon-svg {
    width: 48px;
    height: 54px;
    margin: 0 auto 8px;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.35));
    transition: transform 0.2s;
}
.win-file-tile:hover .win-pdf-icon-svg {
    transform: scale(1.08);
}
.win-file-name {
    font-size: 12px;
    font-weight: 600;
    color: #f1f5f9;
    line-height: 1.3;
    margin-bottom: 6px;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.win-file-company {
    font-size: 11px;
    color: var(--cyan);
    font-weight: 600;
    margin-bottom: 4px;
}
.win-file-val {
    font-size: 12px;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    color: #fff;
    margin-bottom: 6px;
}
.win-file-actions {
    display: flex;
    gap: 4px;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 8px;
    margin-top: 6px;
}

/* Details Table View */
.win-table-details {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}
.win-table-details th {
    background: #0e1628;
    color: #94a3b8;
    font-weight: 600;
    text-align: left;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    user-select: none;
}
.win-table-details td {
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: #cbd5e1;
}
.win-table-details tr:hover td {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
}

/* Status Bar */
.win-statusbar {
    background: #111a2e;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 5px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #94a3b8;
    user-select: none;
}

/* ==========================================================================
   VISUALIZADOR UNIVERSAL DE ARQUIVOS (IN-APP FILE PREVIEWER)
   Suporte a PDF, Excel (.xlsx, .xls, .csv), Word (.docx), Imagens e Texto
   ========================================================================== */
.win-preview-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 9, 20, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: winPreviewFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes winPreviewFadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

.win-preview-modal-window {
    background: #0b1325;
    border: 1px solid rgba(0, 242, 254, 0.28);
    border-radius: 12px;
    width: 95vw;
    max-width: 1440px;
    height: 92vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 242, 254, 0.1);
    overflow: hidden;
    position: relative;
    transition: all 0.2s ease;
}

.win-preview-modal-window.is-fullscreen {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    border-radius: 0 !important;
    border: none !important;
}

/* Header */
.win-preview-header {
    background: #070d1a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    user-select: none;
}

.win-preview-title-area {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.win-preview-icon-badge {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.win-preview-filename {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 480px;
}

.win-preview-mini-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 13px;
    opacity: 0.7;
    transition: opacity 0.2s;
    padding: 2px 4px;
}
.win-preview-mini-btn:hover {
    opacity: 1;
}

.win-preview-metadata {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #94a3b8;
    margin-top: 2px;
}

.win-preview-tag {
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 1px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}
.win-preview-tag-pdf {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.35);
}
.win-preview-tag-excel {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.35);
}
.win-preview-tag-word {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.35);
}
.win-preview-tag-image {
    background: rgba(168, 85, 247, 0.2);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.35);
}
.win-preview-tag-code {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.35);
}

/* Toolbar */
.win-preview-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.win-preview-zoom-group {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 2px;
}

.win-preview-zoom-value {
    font-size: 11px;
    font-family: monospace;
    color: #cbd5e1;
    padding: 0 7px;
    user-select: none;
    min-width: 44px;
    text-align: center;
}

.win-preview-tool-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    transition: all 0.15s ease;
}
.win-preview-tool-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.win-preview-btn-success {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.35);
    color: #34d399;
}
.win-preview-btn-success:hover {
    background: #10b981;
    color: #fff;
}

.win-preview-btn-cyan {
    background: rgba(0, 242, 254, 0.12);
    border-color: rgba(0, 242, 254, 0.3);
    color: var(--cyan);
}
.win-preview-btn-cyan:hover {
    background: var(--cyan);
    color: #0b1325;
}

.win-preview-btn-close {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #f87171;
    font-size: 16px;
    padding: 4px 11px;
}
.win-preview-btn-close:hover {
    background: #ef4444;
    color: #fff;
}

/* Sub-toolbar (Excel tabs, filters) */
.win-preview-subbar {
    background: #0d172e;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 7px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.excel-sheet-tab {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
    white-space: nowrap;
}
.excel-sheet-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}
.excel-sheet-tab.active {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}

.excel-search-input {
    background: #090e1c;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 12px;
    color: #fff;
    width: 220px;
    outline: none;
    transition: border-color 0.2s;
}
.excel-search-input:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.25);
}

/* Body / Viewport */
.win-preview-body {
    flex: 1;
    position: relative;
    overflow: auto;
    background: #070d18;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

/* PDF Iframe */
.win-preview-pdf-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Excel Spreadsheet Styles */
.excel-viewport-container {
    width: 100%;
    height: 100%;
    overflow: auto;
    padding: 0;
    background: #080f1e;
}

.excel-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 12px;
    min-width: 100%;
    background: #0c1427;
}

.excel-table thead th {
    background: #111c35;
    color: #94a3b8;
    font-weight: 700;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 20;
    user-select: none;
    text-align: center;
}

.excel-corner-th {
    width: 44px;
    min-width: 44px;
    max-width: 44px;
    background: #152240 !important;
    left: 0;
    z-index: 30 !important;
}

.excel-col-th {
    min-width: 100px;
    letter-spacing: 0.5px;
}

.excel-row-th {
    background: #111c35;
    color: #94a3b8;
    font-weight: 700;
    padding: 5px 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    left: 0;
    z-index: 10;
    text-align: center;
    user-select: none;
    width: 44px;
    min-width: 44px;
    max-width: 44px;
    font-family: monospace;
    font-size: 11px;
}

.excel-cell {
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 6px 10px;
    color: #cbd5e1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 320px;
}

.excel-table tr.excel-row:nth-child(even) td.excel-cell {
    background: rgba(255, 255, 255, 0.015);
}

.excel-table tr.excel-row:hover td.excel-cell {
    background: rgba(0, 242, 254, 0.06);
    color: #fff;
}

.excel-cell.text-right {
    text-align: right;
    font-family: 'JetBrains Mono', Consolas, monospace;
}

/* Word Document Styles (Paper view) */
.word-scroll-wrapper {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding: 30px 15px;
    display: flex;
    justify-content: center;
    background: #090e1c;
}

.word-paper {
    background: #ffffff;
    color: #1e293b;
    width: 820px;
    max-width: 100%;
    min-height: 980px;
    padding: 50px 65px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.65);
    border-radius: 3px;
    font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
    line-height: 1.65;
    font-size: 14.5px;
    word-break: break-word;
}

.word-paper h1, .word-paper h2, .word-paper h3, .word-paper h4 {
    color: #0f172a;
    font-weight: 700;
    margin-top: 1.2em;
    margin-bottom: 0.6em;
    line-height: 1.3;
}
.word-paper h1 { font-size: 1.85rem; border-bottom: 2px solid #e2e8f0; padding-bottom: 6px; }
.word-paper h2 { font-size: 1.45rem; border-bottom: 1px solid #e2e8f0; padding-bottom: 4px; }
.word-paper h3 { font-size: 1.2rem; }
.word-paper p { margin-bottom: 1em; color: #334155; }
.word-paper table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 13.5px;
}
.word-paper table th, .word-paper table td {
    border: 1px solid #cbd5e1;
    padding: 8px 12px;
    text-align: left;
}
.word-paper table th {
    background: #f1f5f9;
    font-weight: 700;
    color: #0f172a;
}
.word-paper a {
    color: #0284c7;
    text-decoration: underline;
}

/* Image View Styles */
.image-view-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
    padding: 20px;
    background: #060b16;
}

.image-view-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.7);
    border-radius: 4px;
}

/* Code & Text Viewer */
.code-view-wrapper {
    width: 100%;
    height: 100%;
    overflow: auto;
    display: flex;
    background: #080d1a;
    font-family: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
    font-size: 12.5px;
    line-height: 1.6;
}

.code-gutter {
    background: #0c1427;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    color: #475569;
    padding: 16px 12px;
    text-align: right;
    user-select: none;
    font-size: 11.5px;
}

.code-content {
    padding: 16px 20px;
    color: #e2e8f0;
    white-space: pre;
    tab-size: 4;
    overflow-x: auto;
    flex: 1;
}

/* Loading & Empty States */
.win-preview-loading, .win-preview-error-box, .win-preview-legacy-box, .win-preview-generic-box {
    margin: auto;
    text-align: center;
    padding: 40px 20px;
}

.win-preview-spinner {
    width: 44px;
    height: 44px;
    border: 3px solid rgba(0, 242, 254, 0.15);
    border-top-color: var(--cyan);
    border-radius: 50%;
    animation: winSpin 0.8s linear infinite;
    margin: 0 auto;
}

@keyframes winSpin {
    to { transform: rotate(360deg); }
}

/* Footer / Status */
.win-preview-footer {
    background: #080f1e;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #64748b;
    user-select: none;
    flex-shrink: 0;
}

/* ==========================================================================
   TEMA CLARO (LIGHT MODE) — JHN TECH CORPORATE ENTERPRISE
   ========================================================================== */

/* Body & Backgrounds */
body.theme-light {
    background-color: var(--bg-base);
    color: var(--text-primary);
    background-image: 
        radial-gradient(at 0% 0%, rgba(2, 132, 199, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(124, 58, 237, 0.04) 0px, transparent 50%),
        radial-gradient(at 50% 100%, rgba(37, 99, 235, 0.04) 0px, transparent 50%);
}

body.theme-light .bg-mesh-glow .glow-orb {
    opacity: 0.06;
}

body.theme-light ::-webkit-scrollbar-track {
    background: #f1f5f9;
}
body.theme-light ::-webkit-scrollbar-thumb {
    background: #cbd5e1;
}
body.theme-light ::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Sidebar & Header Navigation */
body.theme-light .sidebar-admin {
    background: #ffffff;
    border-right: 1px solid #e2e8f0;
    box-shadow: 4px 0 25px rgba(0, 0, 0, 0.04);
}
body.theme-light .sidebar-brand {
    border-bottom: 1px solid #e2e8f0;
}
body.theme-light .brand-text h2 {
    color: #0f172a;
}
body.theme-light .sidebar-category {
    color: #94a3b8;
}
body.theme-light .sidebar-menu a,
body.theme-light .sidebar-link {
    color: #475569;
}
body.theme-light .sidebar-menu a:hover,
body.theme-light .sidebar-link:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #e2e8f0;
}
body.theme-light .sidebar-menu a.active,
body.theme-light .sidebar-link.active {
    background: #eff6ff;
    color: #2563eb;
    border-color: #bfdbfe;
    border-left: 3px solid #2563eb;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}
body.theme-light .sidebar-footer {
    border-top: 1px solid #e2e8f0;
}

/* Segmented Theme Switcher Component */
.theme-switch-segmented {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-pill);
    padding: 3px;
    margin-bottom: 12px;
    gap: 3px;
}
body.theme-light .theme-switch-segmented {
    background: #f1f5f9;
    border-color: #e2e8f0;
}
.theme-seg-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: var(--radius-pill);
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}
.theme-seg-btn:hover {
    color: var(--text-primary);
}
.theme-seg-btn.active {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
body.theme-light .theme-seg-btn.active {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Quick Toggle Button */
.jhn-theme-quick-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}
.jhn-theme-quick-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}
body.theme-light .jhn-theme-quick-toggle {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #334155;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
body.theme-light .jhn-theme-quick-toggle:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
}

/* Panels, Cards & Glassmorphism in Light Mode */
body.theme-light .glass-panel {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
body.theme-light .glass-panel:hover {
    border-color: #cbd5e1;
}
body.theme-light .kpi-card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
body.theme-light .kpi-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}
body.theme-light .kpi-card h4 {
    color: #64748b;
}
body.theme-light .kpi-card .valor {
    color: #0f172a;
}

/* Buttons in Light Mode */
body.theme-light .btn-action-outline {
    background: #ffffff;
    color: #334155;
    border: 1px solid #cbd5e1;
}
body.theme-light .btn-action-outline:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
}
body.theme-light .btn-action-success {
    background: #ecfdf5;
    color: #059669;
    border-color: #a7f3d0;
}
body.theme-light .btn-action-success:hover {
    background: #d1fae5;
    color: #047857;
}
body.theme-light .btn-action-cyan {
    background: #f0f9ff;
    color: #0284c7;
    border-color: #bae6fd;
}
body.theme-light .btn-action-cyan:hover {
    background: #e0f2fe;
    color: #0369a1;
}
body.theme-light .btn-action-danger {
    background: #fff1f2;
    color: #e11d48;
    border-color: #fecdd3;
}
body.theme-light .btn-action-danger:hover {
    background: #ffe4e6;
    color: #be123c;
}
body.theme-light .btn-move {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #334155;
}
body.theme-light .btn-move:hover {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
}

/* Forms & Inputs in Light Mode */
body.theme-light .form-control {
    background: #ffffff;
    color: #0f172a;
    border-color: #cbd5e1;
}
body.theme-light .form-control:focus {
    background: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
body.theme-light .form-control::placeholder {
    color: #94a3b8;
}
body.theme-light select.form-control option {
    background: #ffffff;
    color: #0f172a;
}

/* Modals & Dialogs in Light Mode */
body.theme-light .admin-modal-overlay {
    background: rgba(15, 23, 42, 0.6);
}
body.theme-light .admin-modal-content {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
    color: #0f172a;
}

/* Tables & Badges in Light Mode */
body.theme-light th {
    background: #f8fafc;
    color: #475569;
    border-bottom: 1px solid #e2e8f0;
}
body.theme-light td {
    color: #1e293b;
    border-bottom: 1px solid #f1f5f9;
}
body.theme-light tr:hover td {
    background: #f8fafc;
}

/* Badges */
body.theme-light .status-recebido,
body.theme-light .status-paga,
body.theme-light .prio-baixa,
body.theme-light .badge-success,
body.theme-light .status-ativo {
    background: #ecfdf5;
    color: #059669;
    border-color: #a7f3d0;
}
body.theme-light .status-nota_emitida,
body.theme-light .status-nota-emitida,
body.theme-light .status-implantacao {
    background: #f0f9ff;
    color: #0284c7;
    border-color: #bae6fd;
}
body.theme-light .status-emitir_nota,
body.theme-light .status-emitir-nota,
body.theme-light .status-pendente,
body.theme-light .prio-alta,
body.theme-light .badge-warning,
body.theme-light .status-suspenso {
    background: #fffbeb;
    color: #d97706;
    border-color: #fde68a;
}
body.theme-light .status-cancelada,
body.theme-light .prio-urgente,
body.theme-light .badge-error,
body.theme-light .badge-crash,
body.theme-light .status-inativo {
    background: #fff1f2;
    color: #e11d48;
    border-color: #fecdd3;
}
body.theme-light .prio-media,
body.theme-light .badge-info {
    background: #f0fdf4;
    color: #16a34a;
    border-color: #bbf7d0;
}

/* Kanban Board in Light Mode */
body.theme-light .kanban-col {
    background: #f1f5f9;
    border-color: #e2e8f0;
}
body.theme-light .kanban-col.drag-over {
    background: #eff6ff !important;
    border-color: #2563eb !important;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.15);
}
body.theme-light .kanban-header {
    border-bottom-color: #e2e8f0;
}
body.theme-light .kanban-count {
    background: #e2e8f0;
    color: #475569;
}
body.theme-light .ticket-card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
body.theme-light .ticket-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}
body.theme-light .ticket-title {
    color: #0f172a;
}
body.theme-light .ticket-desc {
    color: #475569;
}
body.theme-light .ticket-footer {
    border-top-color: #f1f5f9;
    color: #64748b;
}
body.theme-light .ticket-company-badge {
    background: #f0f9ff;
    border-color: #bae6fd;
    color: #0369a1;
}
body.theme-light .ticket-company-badge:hover {
    background: #e0f2fe;
    border-color: #7dd3fc;
}

/* Windows Explorer in Light Mode */
body.theme-light .win-explorer-window {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
body.theme-light .win-titlebar {
    background: #f1f5f9;
    border-bottom-color: #e2e8f0;
}
body.theme-light .win-titlebar-title {
    color: #1e293b;
}
body.theme-light .win-btn-control:hover {
    background: #e2e8f0;
    color: #0f172a;
}
body.theme-light .win-toolbar {
    background: #f8fafc;
    border-bottom-color: #e2e8f0;
}
body.theme-light .win-tool-btn {
    color: #334155;
}
body.theme-light .win-tool-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
    border-color: #cbd5e1;
}
body.theme-light .win-tool-btn.active {
    background: #eff6ff;
    color: #2563eb;
    border-color: #bfdbfe;
}
body.theme-light .win-nav-bar {
    background: #ffffff;
    border-bottom-color: #e2e8f0;
}
body.theme-light .win-address-box,
body.theme-light .win-search-input {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}
body.theme-light .win-breadcrumb-crumb {
    color: #334155;
}
body.theme-light .win-breadcrumb-crumb:hover {
    background: #e2e8f0;
    color: #0f172a;
}
body.theme-light .win-breadcrumb-crumb.current {
    color: #0f172a;
}
body.theme-light .win-explorer-body {
    background: #ffffff;
}
body.theme-light .win-sidebar-pane {
    background: #f8fafc;
    border-right-color: #e2e8f0;
}
body.theme-light .win-tree-node {
    color: #334155;
}
body.theme-light .win-tree-node:hover {
    background: #e2e8f0;
    color: #0f172a;
}
body.theme-light .win-tree-node.active {
    background: #eff6ff;
    color: #2563eb;
    border-left-color: #2563eb;
}
body.theme-light .win-tree-badge {
    background: #e2e8f0;
    color: #475569;
}
body.theme-light .win-content-pane {
    background: #ffffff;
}
body.theme-light .win-folder-tile {
    background: #ffffff;
    border-color: #e2e8f0;
}
body.theme-light .win-folder-tile:hover {
    background: #f0f9ff;
    border-color: #bae6fd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
body.theme-light .win-folder-name {
    color: #0f172a;
}
body.theme-light .win-folder-meta {
    color: #64748b;
}
body.theme-light .win-file-tile {
    background: #ffffff;
    border-color: #e2e8f0;
}
body.theme-light .win-file-tile:hover {
    background: #fff1f2;
    border-color: #fecdd3;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
body.theme-light .win-file-name {
    color: #0f172a;
}
body.theme-light .win-file-company {
    color: #0284c7;
}
body.theme-light .win-file-val {
    color: #0f172a;
}
body.theme-light .win-table-details th {
    background: #f8fafc;
    color: #475569;
    border-bottom-color: #e2e8f0;
}
body.theme-light .win-table-details td {
    color: #1e293b;
    border-bottom-color: #f1f5f9;
}
body.theme-light .win-table-details tr:hover td {
    background: #f8fafc;
    color: #0f172a;
}
body.theme-light .win-statusbar {
    background: #f1f5f9;
    border-top-color: #e2e8f0;
    color: #64748b;
}

/* ==========================================================================
   TEMA CLARO EXCLUSIVO PARA A PLANILHA EXCEL DE FATURAMENTO
   ========================================================================== */
body.theme-light .excel-panel {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Header Excel em Tema Claro - Verde Microsoft Excel Oficial */
body.theme-light .excel-header-bar {
    background: linear-gradient(90deg, #107c41 0%, #15803d 100%);
    border-bottom: 1px solid #0f6838;
}
body.theme-light .excel-header-bar .excel-title {
    color: #ffffff !important;
}
body.theme-light .excel-header-bar .excel-title-tag {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}
body.theme-light .excel-header-bar .excel-subtitle {
    color: rgba(255, 255, 255, 0.88) !important;
}
body.theme-light .excel-header-bar .excel-tabs-pill {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.25);
}
body.theme-light .excel-header-bar .btn-excel-tab {
    color: rgba(255, 255, 255, 0.85);
}
body.theme-light .excel-header-bar .btn-excel-tab:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}
body.theme-light .excel-header-bar .btn-excel-tab.active {
    background: #ffffff;
    color: #107c41 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
body.theme-light .excel-header-bar .btn-action-outline {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.35);
}
body.theme-light .excel-header-bar .btn-action-outline:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff !important;
}

/* Barra de Fórmulas no Tema Claro */
body.theme-light .excel-fx-bar {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}
body.theme-light .excel-fx-namebox {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #0284c7;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}
body.theme-light .excel-fx-icon {
    color: #94a3b8;
}
body.theme-light .excel-fx-content {
    color: #334155;
}
body.theme-light .excel-fx-val-total {
    color: #0f172a !important;
}
body.theme-light .excel-fx-val-rec {
    color: #047857 !important;
}
body.theme-light .excel-fx-val-pend {
    color: #b45309 !important;
}
body.theme-light .excel-fx-stats {
    color: #64748b;
}

/* Grid e Células da Tabela */
body.theme-light .excel-grid-table th,
body.theme-light .excel-grid-table td {
    border-color: #e2e8f0 !important;
}
body.theme-light .excel-grid-table thead tr {
    background: #f1f5f9;
    border-bottom: 2px solid #cbd5e1;
}
body.theme-light .excel-th-corner {
    background: #e2e8f0;
    color: #475569;
    border-right-color: #cbd5e1 !important;
}
body.theme-light .excel-th-client {
    background: #f1f5f9;
    color: #0f172a !important;
    border-right-color: #cbd5e1 !important;
}
body.theme-light .excel-th-mes {
    background: #f8fafc;
    color: #334155 !important;
    border-right-color: #e2e8f0 !important;
}
body.theme-light .excel-th-mes .excel-th-col-letter,
body.theme-light .excel-th-mes .excel-th-col-ver {
    color: #94a3b8;
}
body.theme-light .excel-th-mes.mes-atual {
    background: #e0f2fe;
    color: #0284c7 !important;
}
body.theme-light .excel-th-mes:hover {
    background: #e0f2fe !important;
    color: #0284c7 !important;
}
body.theme-light .excel-th-mes.mes-ativo {
    background: #bae6fd !important;
    color: #0369a1 !important;
    box-shadow: inset 0 -3px 0 #0284c7 !important;
}
body.theme-light .excel-th-dot-atual {
    background: #0284c7;
}
body.theme-light .excel-th-total {
    background: #f0fdf4;
    color: #15803d !important;
    border-left-color: #86efac !important;
    border-bottom: 2px solid #86efac;
}
body.theme-light .excel-th-total .excel-th-col-letter {
    color: #16a34a;
}

/* Linhas e Células Tbody */
body.theme-light .excel-row {
    background: #ffffff;
    border-bottom-color: #e2e8f0 !important;
}
body.theme-light .excel-row:hover td {
    background: #f8fafc !important;
}
body.theme-light .excel-td-num {
    background: #f8fafc;
    color: #64748b;
    border-right-color: #cbd5e1 !important;
}
body.theme-light .excel-td-client {
    background: #ffffff;
    color: #0f172a !important;
    border-right-color: #cbd5e1 !important;
    box-shadow: 3px 0 6px rgba(0, 0, 0, 0.02);
}
body.theme-light .excel-row:hover .excel-td-client {
    background: #f8fafc !important;
}
body.theme-light .excel-portal-badge {
    background: #eff6ff;
    color: #2563eb;
    border-color: #bfdbfe;
}
body.theme-light .excel-client-count {
    background: #f1f5f9;
    color: #64748b;
}

/* Células Mensais */
body.theme-light .excel-cell {
    border-right-color: #e2e8f0 !important;
}
body.theme-light .excel-cell:hover {
    outline-color: #107c41 !important;
    background: #f0fdf4 !important;
}
body.theme-light .excel-cell.vazia {
    background: transparent;
}
body.theme-light .excel-dash-empty {
    color: #94a3b8 !important;
    font-weight: 500;
}
body.theme-light .excel-cell.status-pago {
    color: #047857 !important;
    background: #ecfdf5;
}
body.theme-light .excel-cell.status-pendente {
    color: #b45309 !important;
    background: #fffbeb;
}
body.theme-light .excel-cell.status-emitida {
    color: #0369a1 !important;
    background: #f0f9ff;
}
body.theme-light .excel-cell.status-misto {
    color: #6d28d9 !important;
    background: #faf5ff;
}
body.theme-light .excel-td-client-total {
    background: #f0fdf4;
    color: #15803d !important;
    border-left-color: #bbf7d0 !important;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.02);
}
body.theme-light .excel-row:hover .excel-td-client-total {
    background: #dcfce7 !important;
}

/* Rodapé Totalizador Matriz */
body.theme-light .excel-tfoot-row {
    background: #f8fafc;
    border-top: 2px solid #107c41;
}
body.theme-light .excel-tfoot-corner {
    background: #e2e8f0;
    color: #475569;
    border-right-color: #cbd5e1 !important;
}
body.theme-light .excel-tfoot-client {
    background: #f8fafc;
    color: #0f172a !important;
    border-right-color: #cbd5e1 !important;
}
body.theme-light .excel-tfoot-mes {
    color: #0f172a !important;
    border-right-color: #e2e8f0 !important;
}
body.theme-light .excel-tfoot-rec {
    color: #047857 !important;
}
body.theme-light .excel-tfoot-total {
    background: #dcfce7;
    color: #14532d !important;
    border-left-color: #86efac !important;
}

/* Aba 2 Consolidada em Tema Claro */
body.theme-light .excel-thead-tr {
    background: #f1f5f9;
    border-bottom: 2px solid #cbd5e1;
    color: #334155;
}
body.theme-light .excel-thead-tr th {
    color: #334155 !important;
}
body.theme-light .excel-row-filtered {
    background: #f0fdf4;
}
body.theme-light .excel-td-month-name .month-title {
    color: #0f172a !important;
}
body.theme-light .cell-val-emitir {
    color: #b45309 !important;
}
body.theme-light .cell-val-emitida {
    color: #0284c7 !important;
}
body.theme-light .cell-val-recebido {
    color: #047857 !important;
}
body.theme-light .cell-val-total {
    color: #0f172a !important;
}
body.theme-light .excel-progress-bg {
    background: #e2e8f0;
}
body.theme-light .excel-consolidado-tfoot {
    background: #f8fafc;
    border-top: 2px solid #107c41;
}
body.theme-light .excel-cons-title {
    color: #0f172a !important;
}
body.theme-light .excel-cons-pendente {
    color: #b45309 !important;
}
body.theme-light .excel-cons-recebido {
    color: #047857 !important;
}
body.theme-light .excel-cons-total {
    color: #15803d !important;
}

/* Barra de Status Inferior */
body.theme-light .excel-statusbar {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
}
body.theme-light .excel-status-dot {
    color: #107c41;
}
body.theme-light .excel-statusbar-val {
    color: #0f172a !important;
}
body.theme-light .excel-statusbar-sum {
    color: #15803d !important;
}

/* Banner de Mês Expandido */
body.theme-light .excel-month-banner {
    background: #ffffff;
    border: 1px solid #86efac;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
body.theme-light .excel-banner-title {
    color: #0f172a !important;
}
body.theme-light .excel-banner-tag {
    background: #ecfdf5;
    color: #047857;
    border-color: #a7f3d0;
}
body.theme-light .excel-banner-sub {
    color: #64748b;
}

body.theme-light .view-navigation-bar {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
body.theme-light .btn-tab-view {
    color: #64748b;
}
body.theme-light .btn-tab-view:hover {
    color: #0f172a;
    background: #f1f5f9;
}
body.theme-light .btn-tab-view.active {
    background: #eff6ff;
    color: #2563eb;
    border-color: #bfdbfe;
}
body.theme-light .mes-grid-card {
    background: #ffffff;
    border-color: #e2e8f0;
}
body.theme-light .mes-grid-card:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Universal File Previewer in Light Mode */
body.theme-light .win-preview-modal-window {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.2);
}
body.theme-light .win-preview-header {
    background: #f8fafc;
    border-bottom-color: #e2e8f0;
}
body.theme-light .win-preview-filename {
    color: #0f172a;
}
body.theme-light .win-preview-footer {
    background: #f8fafc;
    border-top-color: #e2e8f0;
    color: #64748b;
}

/* Text and Elements Overrides in Light Mode */
body.theme-light h1,
body.theme-light h2,
body.theme-light h3,
body.theme-light h4,
body.theme-light strong,
body.theme-light b {
    color: var(--text-primary);
}

body.theme-light [style*="color: #fff"]:not(.badge-status):not(.badge-prio):not(.badge-cat):not(.btn-admin-primary):not(.btn-excel-tab.active):not([style*="background: #ef4444"]):not([style*="background:#ef4444"]):not([style*="background: #10b981"]):not([style*="background:#10b981"]):not([style*="background: var(--blue)"]):not([style*="background: var(--emerald)"]):not([style*="background: var(--rose)"]),
body.theme-light [style*="color:#fff"]:not(.badge-status):not(.badge-prio):not(.badge-cat):not(.btn-admin-primary):not(.btn-excel-tab.active):not([style*="background: #ef4444"]):not([style*="background:#ef4444"]):not([style*="background: #10b981"]):not([style*="background:#10b981"]):not([style*="background: var(--blue)"]):not([style*="background: var(--emerald)"]):not([style*="background: var(--rose)"]),
body.theme-light [style*="color: #ffffff"]:not(.badge-status):not(.badge-prio):not(.badge-cat):not(.btn-admin-primary):not(.btn-excel-tab.active),
body.theme-light [style*="color:#ffffff"]:not(.badge-status):not(.badge-prio):not(.badge-cat):not(.btn-admin-primary):not(.btn-excel-tab.active) {
    color: var(--text-primary) !important;
}

body.theme-light [style*="background: rgba(255, 255, 255, 0.0"],
body.theme-light [style*="background:rgba(255, 255, 255, 0.0"],
body.theme-light [style*="background: rgba(255,255,255,0.0"],
body.theme-light [style*="background:rgba(255,255,255,0.0"] {
    background: rgba(15, 23, 42, 0.03) !important;
    border-color: #e2e8f0 !important;
}

body.theme-light [style*="background: #0d1527"],
body.theme-light [style*="background:#0d1527"],
body.theme-light [style*="background: #111827"],
body.theme-light [style*="background:#111827"],
body.theme-light [style*="background: #0f172a"],
body.theme-light [style*="background:#0f172a"],
body.theme-light [style*="background: #1e293b"],
body.theme-light [style*="background:#1e293b"] {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
}

body.theme-light select.form-control[style*="background: rgba(0,0,0,0.5)"],
body.theme-light select.form-control[style*="background: rgba(0, 0, 0, 0.5)"],
body.theme-light select.form-control[style*="background:rgba(0,0,0,0.5)"] {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

/* Minha Empresa Page Elements in Light Mode */
body.theme-light .empresa-hero {
    background: linear-gradient(135deg, #ffffff, #f8fafc) !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}
body.theme-light .empresa-hero::before {
    background: radial-gradient(circle, rgba(2, 132, 199, 0.08), transparent 70%) !important;
}
body.theme-light .empresa-brand-avatar {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.12), rgba(37, 99, 235, 0.15)) !important;
    border-color: #0284c7 !important;
    color: #0284c7 !important;
    box-shadow: 0 0 15px rgba(2, 132, 199, 0.15) !important;
}
body.theme-light .info-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
}
body.theme-light .info-card:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06) !important;
}
body.theme-light .info-card-header {
    border-bottom-color: #e2e8f0 !important;
}
body.theme-light .info-card-header h3 {
    color: #0f172a !important;
}
body.theme-light .empresa-doc-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
}
body.theme-light .empresa-doc-card:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

/* Login Card in Light Mode */
body.theme-light .login-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08) !important;
}
body.theme-light .login-card h1 {
    color: #0f172a !important;
}
body.theme-light .login-card p {
    color: #64748b !important;
}




