/* assets/style.css */

#radio-player-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #2C2C2C; /* Cor de fundo da barra */
    color: white;
    padding: 10px 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.5);
    z-index: 10000;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

.player-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 960px;
    margin: 0 auto;
}

.info {
    display: flex;
    align-items: center;
}

.info .text {
    margin-left: 15px;
    display: flex;
    flex-direction: column;
}

.info .text strong {
    font-size: 0.95em;
    font-weight: bold;
}

.info .text span {
    font-size: 0.75em;
    color: #B0B0B0;
}

.actions {
    display: flex;
    align-items: center;
}

.actions button,
.actions input[type="range"],
.radio-popup-shortcode-button { /* Estilo para o botão do shortcode */
    margin-left: 12px;
}

/* Estilo para o botão de Play/Pause do rodapé */
#play-btn {
    background-color: #ADD8E6; /* Azul claro (lightblue) */
    color: #2C3E50; /* Cor do ícone - um azul escuro/cinza */
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 20px; /* Ajuste o tamanho do ícone ▶️ e ⏸️ */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

#play-btn:hover {
    background-color: #9ACEEB; /* Azul claro um pouco mais escuro no hover */
    transform: scale(1.05);
}
#play-btn:active {
    transform: scale(0.95);
}


/* Estilos para os outros botões (ex: Abrir Pop-up) e volume */
.actions button,
.radio-popup-shortcode-button {
    background-color: #4A4A4A;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.85em;
    transition: background-color 0.3s ease;
}

.actions button:hover,
.radio-popup-shortcode-button:hover {
    background-color: #6A6A6A;
}

#volume-slider {
    width: 80px;
    cursor: pointer;
    accent-color: #ADD8E6; /* Cor do controle de volume no Chrome/Edge */
}
/* Para Firefox - track */
#volume-slider::-moz-range-track {
    background: #ccc;
    border-radius: 4px;
}
/* Para Firefox - thumb */
#volume-slider::-moz-range-thumb {
    background: #ADD8E6;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    height: 16px;
    width: 16px;
}
/* Para Webkit (Chrome, Safari, Edge) - thumb */
#volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: #ADD8E6;
    border-radius: 50%;
    cursor: pointer;
    margin-top: -5px; /* Ajuste para alinhar o thumb com o track no Webkit */
}


/* Responsividade */
@media (max-width: 768px) {
    .player-container {
        flex-direction: column;
        align-items: center;
    }
    .info {
        margin-bottom: 10px;
        width: 100%;
        justify-content: center;
    }
    .actions {
        width: 100%;
        justify-content: center;
    }
    #play-btn {
         margin-bottom: 5px; /* Pequeno ajuste para quando quebrar linha */
    }
    .info .text {
        text-align: left;
        margin-left: 10px;
    }
}

@media (max-width: 480px) {
    #radio-player-bar {
        padding: 10px;
    }
    .info .text strong {
        font-size: 0.9em;
    }
    .info .text span {
        font-size: 0.7em;
    }
    .actions button, .radio-popup-shortcode-button {
        padding: 7px 10px;
        font-size: 0.8em;
        margin-left: 8px;
    }
    #play-btn {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
    #volume-slider {
        width: 70px;
    }
}