/* /admin/admin.css */
:root { --blue-tars: #18aae6; --dark-tars: #0f172a; }
body { background-color: #f8fafc; font-family: 'Inter', sans-serif; overflow-x: hidden; }

/* Sidebar Padrão (Desktop) */
.sidebar { 
    background: var(--dark-tars); 
    min-height: 100vh; 
    color: white; 
    padding-top: 20px; 
    transition: all 0.3s ease-in-out;
    z-index: 1050;
}
.sidebar-wrapper { display: flex; flex-direction: column; height: 100%; position: sticky; top: 0; }
.sidebar a { color: rgba(255,255,255,0.7); text-decoration: none; padding: 12px 20px; display: block; transition: 0.3s; }
.sidebar a:hover, .sidebar a.active { color: white; background: rgba(255,255,255,0.1); border-left: 4px solid var(--blue-tars); }
.btn-logout { color: #ff4d4d !important; margin-top: auto; }
.main-content { padding: 40px; }

/* Visual do Cabeçalho Mobile (Sua exibição é controlada pelo HTML) */
.admin-mobile-header {
    background: var(--dark-tars);
    padding: 15px 20px;
    color: white;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.admin-mobile-header h5 { margin: 0; font-size: 1.2rem; font-weight: 600; }

/* Sombra de Fundo para o Mobile */
.sidebar-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.5); z-index: 1040; opacity: 0; transition: opacity 0.3s ease-in-out;
}

/* Regras de Deslizamento para Celulares */
@media (max-width: 768px) {
    .sidebar { position: fixed; top: 0; left: -260px; width: 260px; height: 100vh; box-shadow: 4px 0 15px rgba(0,0,0,0.5); }
    .sidebar.show { left: 0; }
    .sidebar-overlay.show { display: block; opacity: 1; }
    .main-content { padding: 20px 15px; }
}