/***************************************************************************
 *                                                                         *
 *  css/podcast - F.E.G.l.P. e.V.                                         *
 *                                                                         *
 *  MIT LICENSE - siehe ./license.txt                                       *
 *                                                                         *
 ***************************************************************************/

.site-item-pod {
  margin-bottom: 15px;
  padding:5px;
}

.site-pod-container {
	border-radius: 15px;
	/*background: #383838f5;*/
	/*box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);*/
}

.img-cover > img {
  border: 3px solid #9b9b9b;
  border-color: #f0f0f0;
  border-radius: 50%;
  width: 150px; 
  height: 150px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0.4rem 0.4rem 0.6rem #00000040;
}

.player-img-con {
  display: block;
  height:160px ;
  margin-top: 30px;
  margin-bottom: auto;
}

.site-pod-txt {
  padding-top: 20px;
  padding-bottom: 1px;
}

.site-livepod-txt {
  padding-top: 100px;
  padding-bottom: 1px;
}

/**************************************************************************************/
/**************************************************************************************/

#myProgress {
  position: relative;   /* WICHTIG: Damit der Dot relativ zum Balken positioniert wird */
  width: 100%;
  background-color: #d9d9f2; 
  cursor: pointer;
  border-radius: 10px;
  height: 5px;
}

#bufferBar {
  position: absolute;
  top: 0; 
  left: 0; 
  height: 100%; 
  width: 0%; 
  background-color: #FFA500; 
  border-radius: 10px;
}

#playedBar {
  position: absolute; 
  top: 0; 
  left: 0; 
  height: 100%; 
  width: 0%; 
  background-color: #0779eb; 
  border-radius: 10px;
}

#realBufferBar {
  position: absolute; 
  top: 0; 
  left: 0; 
  height: 100%; 
  width: 0%; 
  background-color: #cd7918d5; 
  opacity:0.6; 
  border-radius:10px;
}

#bufferBar, #realBufferBar, #playedBar {
  transition: width 0.3s linear; /* sanftes Gleiten */
}

#myBar {
  width: 0%;
  height: 100%;
  background-color: #1874cd;
  border-radius: 10px;
  position: relative;
}

#myDot {
  position: absolute;
  top: -7px;
  left:0;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  background-color: #1874cd;
  border-radius: 50%;
  cursor: pointer;
}

#load-more-btn {
  text-align: center;
  margin-top: 8px;
  margin-bottom: 15px;
  transition: transform 0.2s ease;
}
#load-more-btn:hover {
  transform: scale(1.2);
}

.logo {
  fill: rgb(255, 255, 255);
}
    
.btn-action {
  cursor: pointer;
  padding-top: 10px;
}
 
.btn-ctn, .infos-ctn {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-ctn  {
  padding-top: 10px;
  padding-bottom: 5px;
}

.infos-ctn {
  padding-top: 20px;
}
    
.btn-ctn > div {
  padding: 5px;
  margin-left: 12px;
  margin-right: 12px;
  margin-top: 18px;
  margin-bottom: 18px;
}
    
.infos-ctn > div {
  margin-bottom: 8px;

}
    
.first-btn {
  margin-left: 3px;
}
    
.duration {
  margin-left: 10px;
}
    
.title {
  margin-left: 10px;
  width: 100%;
  text-align: center;
}
    
.player-ctn {
  border-radius: 15px;
  max-width: 952px;
  width: 100%;
  padding: 0px;
  /*background-color: #373737;*/
  margin:auto;
  margin-top: 20px;
}
    
.playlist-track-ctn {
  display: flex;
  align-items: center;   /* vertikal zentrieren */
  justify-content: space-between; /* Trackname links, Spinner rechts */
  background-color: #383838c7;
  backdrop-filter: blur(15px);
  margin-top: 3px;
  border-radius: 25px;
  cursor: pointer;
  box-shadow: 0.4rem 0.4rem 0.6rem #00000040;
}

.playlist-track-ctn:hover {
  background-color: #383838e3;
}

.active-track {
  background-color: #383838e3;
  font-weight: bold;
  border: 4px solid #3fa8ff;
  box-shadow: 0.1rem 0.1rem 0.3rem #00000040;
}

/*.playlist-track-ctn:last-child {
  border: 1px solid #ffc266;
}*/
    
.playlist-track-ctn > div{
  margin:10px;
  margin-right: 15px;
  margin-left: 15px;
}

.playlist-info-track {
  width: 80%;
}

.playlist-info-track, .playlist-duration {
  font-size: 14px;
  pointer-events: none;
}

.playlist-ctn {
  padding-bottom: 20px;
  transition: transform 0.9s ease;
}

.playlist-ctn-hidden {
  display: none !important;
}

.playlist-btn-play {
  pointer-events: none;
  padding-top: 7px;
  padding-bottom: 5px;
}

.fas {
  color: #ffffff;
  font-size: 25px;
}

.fas-play {
  font-size: 45px !important;
}

.fas:focus, .fas:active, .fas:visited {
  color: #81c0ff !important;
}

/* Neue Tracks erscheinen mit Fade-In */
.playlist-track-ctn {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.playlist-track-ctn.visible {
  opacity: 1;
  transform: translateY(0);
}

.preload-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: none; /* erst sichtbar, wenn Track lädt */
  flex-shrink: 0; /* Größe bleibt fix */
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.btn-mute {
  cursor: pointer;
}

/************************************ END **********************************/