/* 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: auto;
}

#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); }
}



@keyframes quiet {
	 25% {
		 transform: scaleY(0.6);
	}
	 50% {
		 transform: scaleY(0.4);
	}
	 75% {
		 transform: scaleY(0.8);
	}
}
 @keyframes normal {
	 25% {
		 transform: scaleY(1);
	}
	 50% {
		 transform: scaleY(0.4);
	}
	 75% {
		 transform: scaleY(0.6);
	}
}
 @keyframes loud {
	 25% {
		 transform: scaleY(1);
	}
	 50% {
		 transform: scaleY(0.4);
	}
	 75% {
		 transform: scaleY(1.2);
	}
}

.prp-volume-control svg path {
    fill: #fff;
    
}

.prp-play-icon {
    height: 100%;
}

button:focus {
  outline: none;
  box-shadow: none;
}

:focus:not(:focus-visible) {
  outline: 0;
  box-shadow: none;
}

.prp-play-icon svg{
    width: 20px;
    height: 100%;
}

span.prp-volume-icon svg, span.prp-muted-icon svg {
    height: -webkit-fill-available;
    width: 20px;
}

span.prp-muted-icon {
    margin-top: -5px;
}



span.prp-volume-icon {
    height: -webkit-fill-available;
}

.prp-pause-icon svg{
        width: 27px;
    height: 40px;
}

.boxContainer {
    display: flex;
    justify-content: space-between;
    height: 5px;
    --boxSize: 3px;
    margin-right: 20px;
    --gutter: 4px;
    width: calc((var(--boxSize) + var(--gutter)) * 5);
}
.prp-playing .boxContainer{
    height: 34px;
}

.prp-playing .box{
animation-duration: 1.2s;
}

 .box {
	 transform: scaleY(0.4);
	 height: 100%;
	 width: var(--boxSize);
	 background: #fff;
	 animation-duration: 0s;
	 animation-timing-function: ease-in-out;
	 animation-iteration-count: infinite;
	 border-radius: 8px;
}
 .box1 {
	 animation-name: quiet;
}
 .box2 {
	 animation-name: normal;
}
 .box3 {
	 animation-name: quiet;
}
 .box4 {
	 animation-name: loud;
}
 .box5 {
	 animation-name: quiet;
}

div#cookie-law-info-bar {
    z-index: 9999999;
}

.transicionado div#cookie-law-info-bar {
    display: none!important;
}
 

@media (max-width:768px){
    #prp-volume-slider{
        display: none;
    }
  .prp-station-name {
    width: 180px;
    font-size: 14px;
}

    .prp-control-btn{
    margin-right: 0px;
}
.prp-play-icon {
    height: 40px;
    width: 40px;
}

.prp-playing .boxContainer {
    display: none!important;
}
.boxContainer {
    display: none;
}

}
