/* --- 1. VARIÁVEIS E BASE (Padrão JG) --- */
:root {
    --primary: #022c6b; /* Marinho */
    --accent: #0ea5e9;  /* Ciano Moderno */
    --text: #1e293b;
    --bg: #f1f5f9;
    --border: #cbd5e1;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Inter', sans-serif; }

body { 
    margin: 0; 
    padding-top: 80px; 
    background-color: var(--bg); 
    color: var(--text); 
    min-height: 100vh;
}

/* --- 2. ESTRUTURA DE CONTAINERS --- */
#Geral { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    margin: 0 auto; 
    width: 95%; 
    max-width: 900px; 
}

#formulario { 
    background: #ffffff; 
    border: 1px solid var(--border); 
    padding: 40px; 
    border-radius: 15px; 
    width: 100%; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* --- 3. TIPOGRAFIA E TÍTULOS --- */
h1 { 
    color: var(--primary); 
    font-size: 26px; 
    margin-bottom: 30px; 
    border-bottom: 3px solid var(--accent);
    display: inline-block; 
    padding-bottom: 8px;
    text-transform: uppercase;
}

.centro {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    margin: 20px 0;
}

/* --- 4. FORMULÁRIO E CAMPOS (AMPLIADOS) --- */
label { 
    font-size: 12px; 
    font-weight: 700; 
    color: var(--primary); 
    text-transform: uppercase; 
    display: block;
    margin-bottom: 8px;
    text-align: left;
}

input:not([type="radio"]), select, textarea {
    width: 100% !important; 
    padding: 12px; 
    margin-bottom: 15px;
    border: 1.5px solid var(--border); 
    border-radius: 8px; 
    font-size: 15px;
    background: #fcfdfe; 
    transition: 0.2s;
    outline: none;
}

input:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1); }
input[readonly] { background-color: #f1f5f9; cursor: not-allowed; }

/* Sistema de Grid */
.form-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 15px 25px; 
    width: 100%;
}
.full { grid-column: 1 / -1; }

/* --- 5. BOTÕES PADRONIZADOS --- */
.botao {
    width: 100%; 
    padding: 16px; 
    background: var(--primary); 
    color: #ffffff; 
    border: none; 
    border-radius: 8px; 
    font-size: 16px; 
    font-weight: 700; 
    cursor: pointer; 
    transition: 0.3s; 
    text-transform: uppercase;
}

.botao:hover { background: #0d3878; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(2, 44, 107, 0.2); }

.btn-nav {
    background: #ffffff; color: var(--primary); font-weight: 600; 
    text-decoration: none; padding: 10px 20px; border: 1.5px solid var(--primary);
    border-radius: 6px; display: inline-block; transition: 0.2s;
}
.btn-nav:hover { background: var(--primary); color: #fff; }

/* --- 6. HEADER ADMINISTRATIVO --- */
.header-admin {
    width: 100%; height: 70px; background: #fff; padding: 0 5%;
    display: flex; justify-content: space-between; align-items: center;
    position: fixed; top: 0; left: 0; z-index: 1000; border-bottom: 1px solid var(--border);
}

.user-brand { display: flex; align-items: center; gap: 15px; }
.logo-header { height: 45px; }

/* --- 7. ELEMENTOS DE RODAPÉ --- */
#obFinal, #obMenu { width: 100%; border: none; }

/* Estilo para as caixas de rádio (Colaboradores/Faturamento) */
.form-box label { cursor: pointer; transition: 0.2s; }
.form-box label:hover { color: var(--accent); }

/* Limpeza */
.intro, .geral, .page { position: static; background: none; border-radius: 0; margin: 0; }
