/* Container principal */
#premium-radio-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    transition: transform 0.3s ease;
}

/* Iframe de conteúdo */
#prp-content-iframe {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    border: none;
    z-index: -1;
    background: #fff;
}

/* Player styles */
#prp-player {
    background: linear-gradient(135deg, #1a2a6c, #0044a3, #7ec784);
    color: white;
    padding: 10px 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    height: 70px;
}

.prp-player-main {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Botões de controle */
.prp-control-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 15px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.prp-control-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.05);
}

.prp-pause-icon, 
.prp-muted-icon {
    display: none;
}

/* Informações da rádio */
.prp-player-info {
    flex-grow: 1;
    margin: 0 20px;
}

.prp-station-name {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 3px;
}

.prp-song-title {
    font-size: 14px;
    opacity: 0.8;
}

/* Controle de volume */
.prp-volume-control {
    display: flex;
    align-items: center;
    min-width: 150px;
}

#prp-volume-slider {
    width: 100px;
    margin-left: 10px;
    accent-color: white;
}

/* Estados */
.prp-hidden #prp-content-iframe {
    display: none;
}

.prp-playing .prp-play-icon,
.prp-muted .prp-volume-icon {
    display: none;
}

.prp-playing .prp-pause-icon,
.prp-muted .prp-muted-icon {
    display: block;
}

/* Quando o iframe estiver ativo */
body.prp-iframe-active .wp-theme-Newspaper {
    overflow: hidden;
}

/* Esconde o conteúdo principal quando iframe está ativo */
body.prp-iframe-active .td-main-content-wrap {
    display: none !important;
}


body.body-loading {
    pointer-events: none;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    overflow: hidden;
}

body.body-loading::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid rgba(0,0,0,0.3);
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    z-index: 9999;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
