:root {
    --primary-blue: #0054A6;
    --gradient-blue: linear-gradient(90deg, #0054A6 0%, #003d7a 100%);
    --bg-gray: #f0f4f8;
    --white: #ffffff;
    --green-status: #2ecc71;
    --text-dark: #2c3e50;
    --border-radius: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-gray);
    color: var(--text-dark);
}

/* Header Unificado - Sem fundo branco no logo */
.main-header {
    background: var(--gradient-blue);
    padding: 10px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo-container img {
    height: 60px;
    width: auto;
    background: transparent !important;
    border: none !important;
    display: block;
}

/* Barra de Navegação Estilo Pílula */
.nav-bar {
    background: var(--white);
    margin: 20px auto;
    width: 95%;
    max-width: 1200px;
    padding: 8px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.nav-item {
    text-decoration: none;
    color: #666;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: 0.3s;
    font-size: 0.9rem;
}

.nav-item.active, .nav-item:hover {
    background: var(--primary-blue);
    color: white;
}

/* Layout de Dashboard e Admin */
.content-wrapper {
    max-width: 1250px;
    margin: 0 auto;
    padding: 20px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.data-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
    border-top: 5px solid var(--primary-blue);
}

/* Tabelas para o Admin */
.custom-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.custom-table th {
    background: #f8f9fa;
    padding: 15px;
    text-align: left;
    color: var(--primary-blue);
    font-weight: 700;
    border-bottom: 2px solid #eee;
}

.custom-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}