/**
 * Estilos do player de músicas - Design escuro e minimalista
 * 
 * Características:
 * - Fundo totalmente escuro
 * - Elementos discretos e pequenos
 * - Controles minimalistas
 */

/**
 * Estilos do player de músicas - Design escuro e minimalista
 * 
 * IMPORTANTE: Estes estilos devem sobrescrever estilos do tema
 * usando alta especificidade e !important quando necessário
 */

/* Reset e base - Alta especificidade para sobrescrever tema */
body.reuniao-playlist-page,
body.page-playlist-reuniao-mediunica,
.reuniao-playlist-wrapper {
    box-sizing: border-box;
}

body.reuniao-playlist-page,
body.page-playlist-reuniao-mediunica {
    margin: 0 !important;
    padding: 0 !important;
    background: #000000 !important;
    color: #ffffff !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
    overflow: hidden !important;
}

/* Esconder elementos do tema na página de playlist */
body.reuniao-playlist-page #main,
body.reuniao-playlist-page .site-header,
body.reuniao-playlist-page .site-footer,
body.reuniao-playlist-page .site-navigation,
body.page-playlist-reuniao-mediunica #main,
body.page-playlist-reuniao-mediunica .site-header,
body.page-playlist-reuniao-mediunica .site-footer,
body.page-playlist-reuniao-mediunica .site-navigation {
    display: none !important;
}

/* Container principal */
.reuniao-playlist-wrapper {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    background: #000000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 99999 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Player */
.reuniao-player {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 40px;
    min-width: 300px;
}

/* Informação da música */
.reuniao-track-info {
    text-align: center;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.reuniao-track-info:hover {
    opacity: 1;
}

.reuniao-track-title {
    font-size: 14px;
    font-weight: 400;
    color: #999999;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: block;
}

/* Controles principais */
.reuniao-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

/* Botões base */
.reuniao-btn {
    background: transparent;
    border: none;
    color: #666666;
    cursor: pointer;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-radius: 50%;
    outline: none;
}

.reuniao-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.reuniao-btn:active {
    transform: scale(0.95);
}

.reuniao-btn:focus {
    outline: 1px solid rgba(255, 255, 255, 0.2);
    outline-offset: 2px;
}

/* Botão principal (play/pause) */
.reuniao-btn-primary {
    width: 64px;
    height: 64px;
    color: #999999;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.reuniao-btn-primary:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Botões de controle (anterior/próxima) */
.reuniao-btn-control {
    width: 48px;
    height: 48px;
    color: #666666;
}

.reuniao-btn-control:hover {
    color: #cccccc;
}

/* Botões secundários */
.reuniao-controls-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.reuniao-btn-secondary {
    width: 40px;
    height: 40px;
    color: #555555;
    opacity: 0.7;
}

.reuniao-btn-secondary:hover {
    opacity: 1;
    color: #999999;
}

/* Estado ativo do shuffle */
.reuniao-btn-shuffle.active {
    color: #ffffff;
    opacity: 1;
}

/* Ícones SVG */
.reuniao-btn svg {
    display: block;
    stroke: currentColor;
    fill: none;
}

/* Responsividade */
@media (max-width: 480px) {
    .reuniao-player {
        padding: 20px;
        gap: 25px;
    }
    
    .reuniao-track-title {
        font-size: 12px;
    }
    
    .reuniao-btn-primary {
        width: 56px;
        height: 56px;
    }
    
    .reuniao-btn-control {
        width: 44px;
        height: 44px;
    }
    
    .reuniao-btn-secondary {
        width: 36px;
        height: 36px;
    }
}

/* Animações sutis */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.reuniao-player {
    animation: fadeIn 0.5s ease;
}

/* Estados de loading (opcional) */
.reuniao-btn.loading {
    opacity: 0.5;
    cursor: wait;
}

.reuniao-btn.loading svg {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
