/* ========== MODO NOTURNO - PÁGINA DE ÁUDIOS ========== */

/* Container principal */
body.dark-mode #example-1,
body.dark-mode .container-fluid[style*="background: linear-gradient"] {
    background: linear-gradient(to bottom, #0f172a 0%, #1e293b 100%) !important;
}

/* Títulos e textos */
body.dark-mode h2 {
    color: #f1f5f9 !important;
}

body.dark-mode h2 i {
    color: #10b981 !important;
}

body.dark-mode p {
    color: #94a3b8 !important;
}

/* Cards de áudio */
body.dark-mode .audio-card {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
}

body.dark-mode .audio-card:hover {
    background: #273549 !important;
    border-color: #10b981 !important;
}

/* Card body */
body.dark-mode .audio-card > div:last-child {
    background: #1e293b !important;
}

/* Título do card */
body.dark-mode .audio-card h5 {
    color: #f1f5f9 !important;
}

/* Categoria badge */
body.dark-mode .audio-card span[style*="background: #d1fae5"] {
    background: rgba(16, 185, 129, 0.2) !important;
    color: #10b981 !important;
}

/* Player inline */
body.dark-mode .audio-player-inline {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
}

body.dark-mode .audio-player-inline:hover {
    background: #1e293b !important;
}

body.dark-mode .audio-player-inline:active {
    background: #273549 !important;
}

/* Texto do player */
body.dark-mode .audio-card div[style*="color: #10b981"] {
    color: #34d399 !important;
}

/* Info box de paginação */
body.dark-mode div[style*="background: white"][style*="border-radius: 12px"] {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
}

body.dark-mode div[style*="background: white"][style*="border-radius: 12px"] span {
    color: #94a3b8 !important;
}

body.dark-mode div[style*="background: white"][style*="border-radius: 12px"] strong {
    color: #f1f5f9 !important;
}

/* Paginação */
body.dark-mode .pagination .page-item .page-link {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #e2e8f0 !important;
}

body.dark-mode .pagination .page-item .page-link:hover {
    background: #10b981 !important;
    border-color: #10b981 !important;
    color: white !important;
}

/* Pagination Styles */
.pagination {
    gap: 8px;
}
.pagination .page-item .page-link {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    color: #374151;
    font-weight: 500;
    padding: 10px 16px;
    transition: all 0.2s ease;
    min-width: 44px;
    text-align: center;
}
.pagination .page-item .page-link:hover {
    background: #10b981;
    color: white;
    border-color: #10b981;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}
.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-color: #10b981;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}
.pagination .page-item.disabled .page-link {
    background: #f3f4f6;
    color: #9ca3af;
    border-color: #e5e7eb;
    cursor: not-allowed;
}

/* Efeito hover nos botões */
.audio-card:hover .btn {
    transform: translateY(-2px);
}

/* Player inline - Modo claro (padrão) */
.audio-player-inline {
    background: #f1f5f9;
}

.audio-player-inline:hover {
    background: #e2e8f0;
}

.audio-player-inline:active {
    background: #cbd5e1;
}

/* Animação suave para os cards */
.audio-card {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover no ícone de áudio */
.audio-card:hover .fa-volume-up {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Campo de pesquisa responsivo */
@media (max-width: 991px) {
    .nav-item form input[type="text"] {
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 10px;
    }
    
    .nav-item.ms-lg-3 {
        margin-left: 0 !important;
        width: 100%;
    }
}

/* Estilo do placeholder */
.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}