/* Estilo TRON Neon DISTRO - Refinado */
:root {
    --primary: #FF8C00 !important; /* Electric Orange */
    --primary-glow: rgba(255, 140, 0, 0.4);
    --primary-translucent: rgba(255, 140, 0, 0.08);

    --info: #00FFFF !important; /* TRON Blue / Cyan */
    --info-glow: rgba(0, 255, 255, 0.4);
    --info-translucent: rgba(0, 255, 255, 0.08);

    --success: #00FF41 !important; /* Matrix/TRON Green */
    --success-glow: rgba(0, 255, 65, 0.3);
    --success-translucent: rgba(0, 255, 65, 0.08);
    
    --sidebar-bg: #1a1a1a !important; /* Fundo Neutro (Deep Slate) */
}

/* Neutralização da Sidebar */
.sidebar, .off-canvas-sidebar {
    background: var(--sidebar-bg) !important;
    box-shadow: none !important;
}
.sidebar .sidebar-wrapper, .off-canvas-sidebar .sidebar-wrapper {
    background: var(--sidebar-bg) !important;
}
.sidebar .logo, .off-canvas-sidebar .logo {
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
}

.text-primary { color: var(--primary) !important; text-shadow: 0 0 5px rgba(255, 140, 0, 0.2); }
.text-info { color: var(--info) !important; text-shadow: 0 0 5px rgba(0, 255, 255, 0.2); }
.text-success { color: var(--success) !important; text-shadow: 0 0 5px rgba(0, 255, 65, 0.2); }

.bg-primary { background-color: var(--primary) !important; }
.bg-info { background-color: var(--info) !important; }
.bg-success { background-color: var(--success) !important; }

/* Botões Estilo TRON */
.btn-primary { 
    background: transparent !important; border: 1px solid var(--primary) !important; color: var(--primary) !important;
    box-shadow: 0 0 8px rgba(255, 140, 0, 0.1) !important; transition: all 0.3s ease !important;
}
.btn-primary:hover { background: var(--primary-translucent) !important; box-shadow: 0 0 15px rgba(255, 140, 0, 0.2) !important; }

.btn-info { 
    background: transparent !important; border: 1px solid var(--info) !important; color: var(--info) !important;
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.1) !important; transition: all 0.3s ease !important;
}
.btn-info:hover { background: var(--info-translucent) !important; box-shadow: 0 0 15px rgba(0, 255, 255, 0.2) !important; }

/* Seleção Lateral Translúcida (TRON style) */
.sidebar .nav li.active > a:not([data-toggle="collapse"]),
.sidebar .nav li.active > a[data-toggle="collapse"] {
    background: var(--primary-translucent) !important;
    color: var(--primary) !important;
    border-right: 3px solid var(--primary) !important;
    box-shadow: none !important;
}

.sidebar .nav li.active > a i { color: inherit !important; text-shadow: 0 0 8px currentColor; }
.sidebar .nav li.active > a p { color: inherit !important; font-weight: 600; }

/* Ícones de Menu Superior */
.navbar .navbar-nav .nav-item .nav-link i {
    transition: all 0.3s ease;
}
.navbar .navbar-nav .nav-item .nav-link:hover i {
    text-shadow: 0 0 8px var(--info-glow);
    color: var(--info) !important;
}

.card-chart .card-header .card-title i { color: inherit !important; }

/* --- TRON LIGHT MODE (White Content) --- */
body.white-content {
    background-color: #f4f5f7 !important;
}
body.white-content .sidebar, 
body.white-content .off-canvas-sidebar,
body.white-content .sidebar .sidebar-wrapper {
    background: #ffffff !important;
    box-shadow: 0 2px 22px 0 rgba(0,0,0,.05) !important;
}
body.white-content .sidebar .nav li:not(.active) > a p,
body.white-content .sidebar .nav li:not(.active) > a i {
    color: #666 !important;
}
body.white-content .main-panel {
    background-color: #f4f5f7 !important;
    border-top: 2px solid #eee !important;
}
body.white-content .navbar.navbar-transparent {
    background-color: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
body.white-content .navbar .navbar-brand,
body.white-content .navbar .nav-item .nav-link {
    color: #444 !important;
}
body.white-content .card {
    background: #ffffff !important;
    box-shadow: 0 1px 15px 0 rgba(0,0,0,.05) !important;
}
body.white-content .card .card-title,
body.white-content .card .card-category,
body.white-content .card body,
body.white-content .table thead th,
body.white-content .table td {
    color: #333 !important;
}
body.white-content .footer .nav-item .nav-link,
body.white-content .footer .copyright {
    color: #888 !important;
}

/* Ajustes para Sidebar Multi-Estado (Distro) */
@media (min-width: 992px) {
    body:not(.sidebar-mini) .sidebar { width: 230px !important; margin: 0 !important; top: 0 !important; height: 100vh !important; border-radius: 0 !important; z-index: 1050 !important; }
    body:not(.sidebar-mini) .main-panel { width: calc(100% - 230px) !important; min-height: 100vh !important; }
    body.sidebar-mini.sidebar-mini-fixed .sidebar { width: 80px !important; }
    body.sidebar-mini.sidebar-mini-fixed .main-panel { width: calc(100% - 80px) !important; }
    body.sidebar-mini.sidebar-mini-fixed .sidebar .nav p, body.sidebar-mini.sidebar-mini-fixed .sidebar .logo .logo-normal { display: none !important; }
    body.sidebar-mini:not(.sidebar-mini-fixed) .sidebar { width: 80px !important; transition: all 0.5s cubic-bezier(0.685, 0.0473, 0.346, 1); }
    body.sidebar-mini:not(.sidebar-mini-fixed) .sidebar:hover { width: 230px !important; }
    body.sidebar-mini:not(.sidebar-mini-fixed) .main-panel { width: calc(100% - 80px) !important; transition: all 0.5s cubic-bezier(0.685, 0.0473, 0.346, 1); }
}

.sidebar .logo { position: relative; display: flex; align-items: center; justify-content: space-between; }
.navbar-minimize { position: absolute; right: 10px; top: 12px; opacity: 1 !important; }
.sidebar-mini .logo-normal { display: none; }
.main-panel > .content { padding: 80px 30px 30px 30px !important; }
