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

body { 
    font-family: 'Inter', sans-serif; 
}

.hidden { 
    display: none !important; 
}

.fade-in { 
    animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
}

@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(10px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* Custom Scrollbar - Mais fina para mobile */
::-webkit-scrollbar { 
    width: 4px; /* Reduzido de 6px */
}
::-webkit-scrollbar-track { 
    background: transparent; 
}
::-webkit-scrollbar-thumb { 
    background: #cbd5e1; 
    border-radius: 10px; 
}

/* Chart Containers */
.chart-card { 
    min-height: 300px; 
}

/* Calendar Styles */
.calendar-day-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.day-header {
    text-align: center;
    font-weight: 600;
    color: #64748b;
    padding: 8px 0;
    font-size: 0.70rem; /* Reduzido levemente */
    text-transform: uppercase;
}

.day-cell {
    min-height: 80px; /* Padrão Desktop */
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.1s;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Responsividade Mobile para o Calendário */
@media (max-width: 768px) {
    .day-cell {
        min-height: 50px; /* Menor no celular */
        padding: 2px;
    }
    .day-num {
        font-size: 0.75rem !important;
    }
    /* Esconder bolinha ou ajustar tamanho no mobile se necessário */
}

.current-month {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
}

.other-month {
    background-color: #f1f5f9;
    color: #94a3b8;
    border: 1px solid #cbd5e1;
}

.today {
    border: 2px solid #0ea5e9;
    background-color: #f0f9ff !important;
}

.day-num {
    font-size: 0.875rem;
    font-weight: 700;
    display: block;
    margin-bottom: auto; /* Empurra conteúdo para baixo */
}
