body {
    font-family: 'Inter', sans-serif;
    background-color: #121212; /* Fundo bem escuro */
    color: #f8fafc;
}
.login-body {
    background: radial-gradient(circle at center, #1e1e1e 0%, #000000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.login-card {
    width: 100%;
    max-width: 420px;
}
.glass-input {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
}
.glass-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 229, 255, 0.25) !important;
    border-color: #00E5FF !important;
}
.text-light-50 { color: rgba(255, 255, 255, 0.6); }
.btn-glow {
    background: #00E5FF;
    color: #000;
    border: none;
    font-weight: 700;
    transition: all 0.3s;
}
.btn-glow:hover {
    background: #00b8cc;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 229, 255, 0.4);
}

/* Sidebar e Layout Geral */
.wrapper { display: flex; min-height: 100vh; }
.sidebar {
    width: 250px;
    background: #1e1e1e;
    border-right: 1px solid #333;
    padding: 1.5rem 1rem;
}
.sidebar-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #aaa;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: 0.2s;
    font-weight: 500;
}
.sidebar-link:hover, .sidebar-link.active {
    background: rgba(0, 229, 255, 0.1);
    color: #00E5FF;
}
.main-content {
    flex: 1;
    padding: 2rem;
    overflow-x: hidden;
}
.stat-card {
    padding: 1.5rem;
    border-radius: 12px;
    background: #1e1e1e;
    border: 1px solid #333;
}
.stat-card h3 { font-size: 2rem; font-weight: 700; margin: 0; color: #00E5FF;}
.stat-card p { margin: 0; color: #aaa; font-size: 0.9rem; }

/* Tabelas e Modais dark */
.table-dark {
    background-color: transparent !important;
    color: #e2e8f0;
}
.table-dark th { border-bottom: 1px solid #333; color: #00E5FF; font-weight: 600; }
.table-dark td { border-bottom: 1px solid #222; vertical-align: middle; }
.modal-content { background-color: #1e1e1e; color: white; border: 1px solid #333; }
.modal-header { border-bottom: 1px solid #333; }
.modal-footer { border-top: 1px solid #333; }

/* ======== RESPONSIVIDADE MOBILE ======== */
.mobile-navbar {
    display: none;
    background: #1e1e1e;
    padding: 10px 20px;
    border-bottom: 1px solid #333;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}
.mobile-navbar h4 { margin: 0; color: white; font-weight: bold; font-size: 1.2rem; }
.mobile-navbar button {
    background: transparent !important;
    border: none !important;
    color: #00E5FF;
    font-size: 1.5rem;
    padding: 0;
}

@media (max-width: 768px) {
    .wrapper { display: block; }
    
    .mobile-navbar {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }
    
    .sidebar {
        position: fixed;
        top: 0;
        left: -300px;
        width: 250px;
        height: 100vh;
        z-index: 2000;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0,0,0,0.8);
        padding: 1.5rem 1rem;
    }
    
    .sidebar.show { left: 0; }
    
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,0.7);
        z-index: 1999;
    }
    .sidebar-overlay.show { display: block; }
    
    .sidebar h4 { display: none; }
    .sidebar .btn-close-sidebar {
        display: block !important;
        text-align: right;
        color: white;
        background: none;
        border: none;
        font-size: 1.5rem;
        margin-bottom: 1rem;
        width: 100%;
    }

    .main-content {
        padding: 1rem;
        padding-top: 80px;
        width: 100%;
        margin-left: 0;
    }
    
    .stat-card { margin-bottom: 1rem; }
}
