/* ==============================================================================
   PALETA DE CORES SISTEMA BARRA 2026 - TEMA CLARO (ALTO CONTRASTE)
   Localização: /public_html/plataforma/dashboard/barra_2026_gestao/barra_theme.css
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;800&display=swap');

:root {
    /* Cores de Fundo */
    --bg-body: #f1f5f9; /* Cinza muito claro */
    --bg-card: #ffffff; /* Branco puro */
    --bg-input: #ffffff;
    
    /* Cores de Texto */
    --text-primary: #0f172a; /* Slate 900 (Quase preto) */
    --text-secondary: #334155; /* Slate 700 (Mais escuro para leitura longa) */
    --text-on-accent: #ffffff;
    
    /* Cores de Destaque (Azul mais escuro e legível) */
    --color-accent: #0284c7; /* Sky 600 - Azul profundo */
    --color-accent-hover: #0369a1; /* Sky 700 - Hover mais escuro */
    --bg-accent-subtle: rgba(2, 132, 199, 0.1);
    
    /* Bordas e Elementos Gráficos */
    --border-color: #e2e8f0; /* Slate 200 */
    --border-input: #cbd5e1; /* Slate 300 */
}

body {
    background-color: var(--bg-body);
    font-family: 'Poppins', sans-serif;
    color: var(--text-primary);
    font-size: 16px; /* Define a base para o rem escalar corretamente */
    margin: 0;
    min-height: 100vh;
}

.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 35px; /* Respiro um pouco maior para as fontes maiores */
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.header {
    text-align: center;
    margin-bottom: 35px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 25px;
}

h1 {
    margin: 0;
    color: var(--text-primary);
    font-size: 2.2rem; /* Aumentado de 1.8rem */
    font-weight: 800;
}

h2 {
    margin: 8px 0 0 0;
    color: var(--color-accent);
    font-size: 1.2rem; /* Aumentado de 1rem */
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Painéis de Status (Fora do prazo) */
.status-panel {
    text-align: center;
    padding: 40px;
}
.status-icon {
    font-size: 4.5rem; /* Aumentado */
    margin-bottom: 20px;
    display: block;
}
.status-closed { color: #dc2626; } /* Vermelho forte */
.status-wait { color: #d97706; } /* Laranja escuro */

/* Títulos de Bloco */
.bloco-titulo {
    background: var(--bg-accent-subtle);
    color: var(--color-accent);
    padding: 12px 18px;
    font-weight: 800;
    border-radius: 6px;
    margin-top: 30px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 1.1rem; /* Aumentado de 0.9rem */
    border-left: 5px solid var(--color-accent);
}

/* Formulários */
.form-group { margin-bottom: 18px; }
label {
    display: block;
    color: var(--text-primary);
    margin-bottom: 6px;
    font-size: 1rem; /* Aumentado de 0.85rem */
    font-weight: 600;
}

input[type="text"], 
input[type="email"], 
input[type="file"], 
select {
    width: 100%;
    padding: 14px; /* Mais área de clique */
    background: var(--bg-input);
    border: 1px solid var(--border-input);
    color: var(--text-primary);
    border-radius: 6px;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem; /* Fonte base dos inputs aumentada */
    font-weight: 500;
    transition: 0.2s;
}

input:focus, select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2); /* Sombra atualizada para o novo azul */
}

input::placeholder {
    color: #94a3b8;
}

/* Grid */
.row { display: flex; gap: 15px; flex-wrap: wrap; }
.col { flex: 1; min-width: 250px; }

/* Botões */
.btn-submit {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
    color: var(--text-on-accent);
    font-weight: 800;
    padding: 18px; /* Botão mais robusto */
    border: none;
    border-radius: 50px;
    cursor: pointer;
    width: 100%;
    font-size: 1.25rem; /* Aumentado de 1.1rem */
    transition: 0.3s;
    margin-top: 35px;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.5);
}

/* Alertas */
.alert {
    padding: 18px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 1.05rem; /* Aumentado */
    font-weight: 500;
    border: 1px solid transparent;
}
.alert-error {
    background: #fef2f2; 
    color: #dc2626;
    border-color: #fecaca;
}
.alert-success {
    background: #f0fdf4; 
    color: #16a34a;
    border-color: #bbf7d0;
    text-align: center;
}
.alert-warning {
    background: #fffbeb; 
    color: #b45309; 
    border: 1px dashed #f59e0b;
}

/* Checkboxes e Radios */
.check-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f8fafc; 
    padding: 15px; /* Mais respiro */
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 1.05rem; /* Aumentado de 0.9rem */
    line-height: 1.4;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}
input[type="checkbox"], input[type="radio"] {
    margin-top: 4px;
    transform: scale(1.3); /* Checkboxes maiores */
    cursor: pointer;
    accent-color: var(--color-accent);
}

/* Caixas de Upload */
.upload-box {
    border: 2px dashed var(--color-accent);
    padding: 25px;
    text-align: center;
    border-radius: 10px;
    background: var(--bg-accent-subtle);
    margin-top: 5px;
    transition: 0.2s;
    font-size: 1.05rem; /* Texto do upload maior */
}
.upload-box:hover {
    background: rgba(2, 132, 199, 0.15);
    border-color: var(--color-accent-hover);
}