/* assets/style.css */
body {
    background: linear-gradient(135deg, rgba(0, 0, 0) 0%, rgba(201, 177, 36, 1) 100%), #1a1f2e !important;
    color: #f8fafc !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.dashboard-container {
    background: linear-gradient(135deg, rgba(252, 211, 77, 0.1) 0%, rgba(251, 146, 60, 0.1) 100%);
    min-height: 100vh;
    padding: 24px;
}

.metric-card {
    background: rgba(0,0,0) !important;
    border: 2px solid rgba(163,142,25,1) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    color: #f8fafc !important;
}

.metric-card:hover {
    box-shadow: 0 0 20px rgba(252, 211, 77, 0.3) !important;
    transform: scale(1.05) !important;
}

.chart-container {
    background: rgba(255,255,255, 1) !important;
    border: 2px solid rgba(0,0,0,1) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.chart-container:hover {
    box-shadow: 0 0 15px rgba(217, 188, 29, 1) !important;
}

.chart-placeholder {
    background: rgba(64, 64, 64, 0.2) !important;
    border: 2px dashed #404040 !important;
    border-radius: 8px !important;
    min-height: 200px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #9ca3af !important;
}

.metric-title {
    color: #9ca3af !important;
    font-size: 0.875rem !important;
    font-weight: 1000 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

.metric-value {
    color: #fcd34d !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
}

.metric-subtitle {
    color: #9ca3af !important;
    font-size: 0.75rem !important;
}

.chart-title {
    color: black  !important;
    font-size: 1.125rem !important;
    font-weight: bold !important;
    margin-bottom: 0.5rem !important;
}

.chart-description {
    color: grey !important;
    font-weight: 1200 !important;
    font-size: 0.875rem !important;
}

.dashboard-title {
    color: #f8fafc !important;
    font-size: 1.875rem !important;
    font-weight: 900 !important;
    margin-bottom: 0.5rem !important;
}

.dashboard-subtitle {
    color: #9ca3af !important;
    margin-bottom: 2rem !important;
}

.custom-graphic {
    color: rgba(0, 0, 0, 1);
    height: 300px;
}

.auth-wrap {
    min-height: 100vh;
    align-items: center;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.auth-container {
    max-width: 360px;
    width: 100%;
}

.auth-logo {
    max-width: 200px;
    height: auto;
}


.auth-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: rgba(0, 0, 0, 0.6);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(163, 142, 25, 0.5);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}


.auth-title {
    text-align: center;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #f8fafc;
}


.auth-label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
    color: #ced4da;
}


.auth-input {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border-radius: 0.375rem;
    border: 1px solid #ced4da;
    box-sizing: border-box;
    font-size: 1rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    background: #f8fafc;
    color: #212529;
}

.auth-input:focus {
    outline: none;
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.15);
}

.auth-button {
    width: 100%;
    color: black;
    background-color: #fcd34d;
    border-color: #fcd34d;
    padding: 0.6rem;
    font-size: 1rem;
    border-radius: 0.375rem;
    font-weight: 600;
}

.auth-button:hover,
.auth-button:focus,
.auth-button:active,
.auth-button:focus-visible {
    background-color: #fde68a !important;
    border-color: #fde68a !important;
    color: black !important;
    filter: brightness(1.03) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
    outline: none !important;
}

.auth-message {
    color: #d9534f;
    text-align: center;
    min-height: 1.2em;
    font-size: 1.0rem;
}

/* RESPONSIVIDADE STYLE*/
@media (max-width: 480px) {
    .auth-container {padding: 0 8px; }
    .auth-title { font-size: 1.25rem; }
    .auth-form { padding: 16px; }
}

.filter-panel {
    /* Base do seu metric-card */
    background: rgba(0,0,0) !important;
    border: 2px solid rgba(163,142,25,1) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    color: #f8fafc !important; /* Cor do texto dentro do painel */
}

.filter-panel .fw-bold {
    color: #fcd34d !important; /* Cor dos labels "Selecione uma Data/Tipo" */
    font-size: 0.95rem;
}

.filter-panel .text-muted {
    color: #9ca3af !important; /* Cor do label "Período Atual" */
    font-size: 1.0rem;
}

/* Cor do texto do Período Atual */
.filter-panel .text-primary {
    color: #fcd34d !important;
    font-size: 1.25rem;
}

/* --- ESTILOS DOS COMPONENTES DCC/INPUTS --- */

/* Estilo do Dropdown (Campo de seleção 'Mensal/Quinzenal/Diário') */
.dash-dropdown {
    /* Cor de fundo do campo */
    background-color: #f8fafc !important;
    /* Cor da borda */
    border-color: #a38e19 !important;
}

/* Estilo da área do dropdown quando o menu está aberto */
.Select-menu-outer {
    background-color: #1c1c1c !important; /* Fundo escuro do menu */
    border: 1px solid #fcd34d !important;
}

/* Estilo das opções no menu do dropdown */
.Select-option {
    color: #f8fafc !important; /* Cor do texto das opções */
    background-color: #1c1c1c !important;
}

/* Estilo da opção selecionada ou em hover no dropdown */
.Select-option.is-focused {
    background-color: #fcd34d !important; /* Fundo amarelo para o hover */
    color: black !important;
}

/* Estilo do DatePickerSingle */
.DateInput_input {
    color: black !important; /* Texto da data */
}
.SingleDatePickerInput {
    border-color: #a38e19 !important; /* Borda do DatePicker */
    border-radius: 6px !important;
    background-color: #f8fafc !important;
}
.SingleDatePickerInput__focused {
    border-color: #fcd34d !important;
}

/* Estilo do calendário (menu pop-up do DatePicker) */
.CalendarDay__selected,
.CalendarDay__selected:hover {
    background: #fcd34d !important; /* Fundo amarelo para a data selecionada */
    border: 1px solid #fcd34d !important;
    color: black !important;
}
.CalendarDay__today {
    border: 2px solid #a38e19 !important; /* Borda para 'Hoje' */
}