/* --- 1. ANIMAÇÕES GERAIS --- */
.tela {
    display: none;
    animation: slideUp 0.4s ease-out;
}
.tela.ativa { 
    display: block; 
}

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

/* Pequeno ajuste para garantir que os links não fiquem sem estilo se a navegação falhar */
body {
    background-color: #f8fafc !important; /* Cor de fundo suave padrão */
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* --- 2. CUSTOMIZAÇÃO FULLCALENDAR --- */
.fc {
    --fc-border-color: #e2e8f0;
    --fc-today-bg-color: rgba(13, 110, 253, 0.05);
    font-family: inherit;
}

/* Container principal */
.fc .fc-toolbar.fc-header-toolbar {
    margin-bottom: 1.5rem;
    padding: 0.5rem 0;
}

/* Título do Calendário */
.fc .fc-toolbar-title {
    font-weight: 700;
    font-size: 1.25rem;
    color: #1e293b;
    text-transform: capitalize;
}

/* Botões do cabeçalho */
.fc .fc-button-primary {
    background-color: #fff !important;
    border-color: #cbd5e1 !important;
    color: #475569 !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important;
    text-transform: capitalize;
    transition: all 0.2s ease !important;
}

.fc .fc-button-primary:not(:disabled):active,
.fc .fc-button-primary:not(:disabled).fc-button-active {
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
    border-color: #94a3b8 !important;
    box-shadow: inset 0 3px 5px rgba(0,0,0,0.05) !important;
}

.fc .fc-button-primary:hover {
    background-color: #f8fafc !important;
    color: #334155 !important;
}

/* Cabeçalho dos dias da semana */
.fc-col-header-cell-cushion {
    font-weight: 600;
    color: #64748b;
    padding: 10px 0 !important;
    text-transform: uppercase;
    font-size: 0.85rem;
}

/* Estilo dos Eventos */
.fc-event {
    border-radius: 4px !important;
    border: none !important;
    border-left: 4px solid !important;
    padding: 2px 6px;
    font-size: 0.8rem;
    font-weight: 600 !important;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.fc-event:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    z-index: 5;
}


/* Remover bordas feias nas linhas */
.fc-theme-bootstrap5 td, .fc-theme-bootstrap5 th {
    border-color: var(--fc-border-color);
}