O /* Spec 002 — Frontend minimalista para diretoria */

/* ===== Seção de Gauges (100vh) ===== */
.gauges-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 1rem;
}

/* Garantir que gráficos Plotly fiquem centralizados */
.gauges-section .dash-graph {
    margin: 0 auto;
}

/* ===== Card sombreado para gauges ===== */
.gauge-card {
    background-color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 1rem 0.5rem;
    transition: box-shadow 0.2s ease;
}

.gauge-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
}

/* ===== Card sombreado leve para tabelas ===== */
.table-card {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 1rem;
}

/* ===== Headers da tabela com sombreamento ===== */
.table-header-styled thead th {
    background-color: #e9ecef;
    text-align: center;
    font-weight: 600;
    vertical-align: middle;
    border-bottom: 2px solid #dee2e6;
}

/* ===== Espaçamento e tipografia minimalista ===== */
.section-title {
    font-weight: 300;
    letter-spacing: 0.02em;
    color: #495057;
}

.detail-section {
    padding: 2rem 0;
}

/* ===== Menu secundário (engrenagem) ===== */
.settings-btn {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1050;
    font-size: 0.9rem;
    padding: 0.4rem 0.75rem;
    border-radius: 0.375rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.settings-btn:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transform: scale(1.05);
}

/* ===== Responsividade ===== */

/* Tablet (768px - 991px) */
@media (max-width: 991.98px) {
    .gauges-section {
        min-height: auto;
        padding: 1.5rem 0.5rem;
    }
}

/* Celular (< 768px) */
@media (max-width: 767.98px) {
    .gauges-section {
        min-height: auto;
        padding: 1rem 0.5rem;
    }

    .section-title {
        font-size: 1.2rem;
    }
}
