/* Modal Styling */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: transparent; /*(0,0,0,0.8); */
}

.modal-content {
  position: relative;
  margin: 15vh auto;
  padding: 20px;
  width: 90%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #111;
  border-radius: 12px;
  color: #CFB53B;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 32px;
  color: #CFB53B;
  cursor: pointer;
}

/* Logo Styling */
.plyr-branding {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background-color: rgba(0,0,0,0.6);
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.plyr-logo {
  height: 40px;
  width: auto;
}

.plyr-text {
  color: #CFB53B;
  font-size: 2.5rem;
  font-weight: 600;
  font-family: 'Tajawal', sans-serif;
}

/* Episode List Styling */
#episodeList {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

#episodeList li {
  padding: 10px;
  margin-bottom: 5px;
  background-color: #222;
  color: #CFB53B;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.3s;
}

#episodeList li:hover {
  background-color: #444;
}

/* Plyr Styling */
.plyr--audio .plyr__controls {
  background-color: #222;
  color: #CFB53B;
  border-radius: 8px;
}

.plyr__progress input[type='range'] {
  background: linear-gradient(to right, #f5b400, #e94e77);
}
.episode-scroll {
  width: 80%; /* or a fixed value like 500px */
  max-height: 170px; /* Adjust height as needed */
  overflow-y: auto;
  margin-bottom: 20px;
  padding-right: 10px; /* Optional: space for scrollbar */
  border: 1px solid #333;
  border-radius: 8px;
  background-color: #1a1a1a;
}

/* Optional: Custom scrollbar styling */
.episode-scroll::-webkit-scrollbar {
  width: 6px;
}

.episode-scroll::-webkit-scrollbar-thumb {
  background-color: #CFB53B;
  border-radius: 3px;
}

.plyr__controls button.plyr__control {
  font-size: 1rem;       /* Increases icon size */
  padding: 0.75rem 1rem;   /* Enlarges button area */
}

.plyr__controls button.plyr__control:hover svg path {
  fill: #CFB53B !important; /* Brighter gold on hover */
}

.plyr__progress input[type='range'] {
  height: 10px;            /* Default is ~5px */
}

.plyr__volume input[type='range'] {
  height: 10px;
}

.plyr__controls svg {
  width: 28px;
  height: 28px;
}
