/* ========== MODO NOTURNO - PÁGINA DE EVENTOS ========== */

/* Títulos e textos do header */
body.dark-mode .container h2 {
    color: #f1f5f9 !important;
}

body.dark-mode .container h2 i {
    color: #f87171 !important;
}

body.dark-mode .container > .mb-5 p {
    color: #94a3b8 !important;
}

/* Botões de categoria */
body.dark-mode .btn-categoria {
    background: #1e293b !important;
    color: #e2e8f0 !important;
    border-color: #334155 !important;
}

body.dark-mode .btn-categoria:hover {
    background: #273549 !important;
}

body.dark-mode .btn-hoje:hover {
    border-color: #ef4444 !important;
    color: #f87171 !important;
}

body.dark-mode .btn-hoje.active {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%) !important;
    color: white !important;
    border-color: #ef4444 !important;
}

body.dark-mode .btn-proximos:hover {
    border-color: #10b981 !important;
    color: #34d399 !important;
}

body.dark-mode .btn-proximos.active {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
    color: white !important;
    border-color: #10b981 !important;
}

body.dark-mode .btn-anteriores:hover {
    border-color: #6b7280 !important;
    color: #9ca3af !important;
}

body.dark-mode .btn-anteriores.active {
    background: linear-gradient(135deg, #4b5563 0%, #6b7280 100%) !important;
    color: white !important;
    border-color: #6b7280 !important;
}

/* Header do dia */
body.dark-mode .dia-header {
    background: linear-gradient(135deg, #1e293b 0%, #273549 100%) !important;
    border: 1px solid #334155 !important;
}

body.dark-mode .dia-semana {
    color: #f1f5f9 !important;
}

/* Cards de eventos */
body.dark-mode .col-12.col-md-6.col-lg-4 > div[style*="background: white"] {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
}

body.dark-mode .col-12.col-md-6.col-lg-4 > div[style*="background: white"]:hover {
    background: #273549 !important;
}

/* Título do evento */
body.dark-mode .col-12.col-md-6.col-lg-4 h5 {
    color: #f1f5f9 !important;
}

/* Local do evento - cores ajustadas para tema escuro */
body.dark-mode .col-12.col-md-6.col-lg-4 div[style*="background: #fef2f2"] {
    background: rgba(239, 68, 68, 0.15) !important;
}

body.dark-mode .col-12.col-md-6.col-lg-4 div[style*="background: #f0fdf4"] {
    background: rgba(16, 185, 129, 0.15) !important;
}

body.dark-mode .col-12.col-md-6.col-lg-4 div[style*="background: #f3f4f6"] {
    background: rgba(156, 163, 175, 0.15) !important;
}

body.dark-mode .col-12.col-md-6.col-lg-4 small[style*="color: #991b1b"] {
    color: #fca5a5 !important;
}

body.dark-mode .col-12.col-md-6.col-lg-4 small[style*="color: #065f46"] {
    color: #6ee7b7 !important;
}

body.dark-mode .col-12.col-md-6.col-lg-4 small[style*="color: #6b7280"] {
    color: #d1d5db !important;
}

/* Alert de informação */
body.dark-mode .alert-info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0.1) 100%) !important;
    border-left-color: #60a5fa !important;
    color: #93c5fd !important;
}

body.dark-mode .alert-info strong {
    color: #bfdbfe !important;
}

/* Nenhum evento */
body.dark-mode .categoria-eventos .text-center h4 {
    color: #94a3b8 !important;
}

body.dark-mode .categoria-eventos .text-center i {
    color: #475569 !important;
}

/* Estado vazio */
body.dark-mode .text-center h3[style*="color: #6b7280"] {
    color: #94a3b8 !important;
}

body.dark-mode .text-center p[style*="color: #9ca3af"] {
    color: #64748b !important;
}

body.dark-mode .text-center div[style*="color: #d1d5db"] {
    color: #475569 !important;
}

/* Category Buttons */
.btn-categoria {
    background: white;
    color: #4b5563;
    border: 2px solid #e5e7eb;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.btn-categoria:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Eventos de Hoje - Vermelho */
.btn-hoje:hover {
    border-color: #ef4444;
    color: #ef4444;
}

.btn-hoje.active {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
    border-color: #ef4444;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.3);
}

/* Próximos Eventos - Verde */
.btn-proximos:hover {
    border-color: #10b981;
    color: #10b981;
}

.btn-proximos.active {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: white;
    border-color: #10b981;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

/* Eventos Anteriores - Cinza */
.btn-anteriores:hover {
    border-color: #6b7280;
    color: #6b7280;
}

.btn-anteriores.active {
    background: linear-gradient(135deg, #4b5563 0%, #6b7280 100%);
    color: white;
    border-color: #6b7280;
    box-shadow: 0 4px 16px rgba(107, 114, 128, 0.3);
}

.dia-header {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.dia-badge {
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-align: center;
}

.dia-numero {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.dia-texto {
    font-size: 0.9rem;
    margin-top: 0.25rem;
    opacity: 0.95;
}

.dia-semana {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
}