#FPWNotification {
  display: none;
  position: fixed;
  color: #000000;
  height: calc(100% - 20px);
  width: calc(100% - 20px);
  z-index: 6;
  top: 0px;
  left: 0px;
  margin: 10px;
  background-color: rgba(208, 255, 0, .8);
 }
 .TFP {
  min-width: 200px;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  transition-duration: .5s;
  display: flex; /* Enables flexbox */
  align-items: center; /* Vertically center */
  justify-content: center; /* Horizontally center */
  font-size: 20px;
}
.CenteredContainer {
  top: 50%;
  left: 50%;
  height: auto;
  width: 350px;
  max-width: 100%;
  transform: translate(-50%, -50%) scale(.9);
  position: absolute;
  font-family: Lancaster;
  text-align: center;
}
.PaypalSignup {
  text-align: center;
  width: 350px;
  line-height: 50px;
  border: solid 1px #ffffff;
  background-color: #000000;
  border-radius: 90px;
}
#PaypalVideo {
  width: 350px;
  height: 150px;
  border-radius: 30px;
}
.LancasterMusicPlayer {
  width: calc(100% - 12px);
  border: solid 1px #ffffff;
  height: auto;
  font-size: 18px;
  text-align: center;
  color: #d3d3d3;
  background-color: #713406;
  background-image: url('musicplayer/FosterLancasterLogoMusicPlayer.png'), url('');
  background-size: auto 200px, cover;
  background-position: top left, center center;
  background-repeat: no-repeat, no-repeat;
  font-family: Lancaster;
  position: relative;
  border-radius: 10px;
}
.audio-player {
  width: 100%;
  background-color: transparent;
  border: none;
}
.volume-btn {
  border: inline-block;
  cursor: pointer;
  width: auto;
  height: 20px;
}
#playBtn {
  position: relative;
  z-index: 4;
  left: 0px;
  cursor: pointer;
  height: 90px;
  margin: 10px;
  opacity: 1;
  border-radius: 50%;
  transition-duration: .3s;
  border: solid 2px #00ff00;
}
.VolumeBar {
  position: absolute;
  top: 75px;
  left: calc(50% - 98px);
}
.volume-btn {
  position: relative;
  bottom: -5px;
  height: 50px;
  width: 50px;
}
#volume-control {
  position: relative;
  display: inline-block;
  height: 20px;
  color: #ffffff;
  width: 20vw;
  max-width: 80px;
  box-sizing: border-box;
  overflow: visible; /* Ensure child elements aren't clipped */
}
.volume-container {
  background: #000000;
  border: solid 1px #ffffff;
  border-radius: 10px;
  padding: 20px;
  width: 300px;
  text-align: center;
  overflow: visible;
}
.volume-container label {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}
/* Hide default audio controls */
audio {
  display: none;
}
.audio-player-container img.default-image {
  display: block;
}
.audio-player-container img.playing {
  display: none;
}
.song-selection {
  position: relative;
  border-top: solid .5px #ffffff;
  width: 100%;
  height: auto;
}
.song-button {
  color: #ffffff;
  position: relative;
  width: calc(100% - 22px);
  overflow: hidden;
  height: 38px;
  line-height: 10px;
  margin: 1px;
  font-size: 16px;
  border: solid 0.5px rgba(255, 255, 255, 0.5);
  background-color: transparent;
  font-family: Lancaster;
  text-align: left;
  padding-left: 3em;
  border-radius: 5px;
}
.AlbumThumbnail {
  height: 38px; /* Fill the height of the button */
  width: 38px; /* Maintain the aspect ratio */
  margin: 0px;
  padding: 0px;
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 0;
}
.song-button:hover {
width: calc(100% - 4px);
background-color: #000000;
}
.TimingBar {
  position: absolute;
  top: 115px;
  left: calc(50% - 148px);
  height: 40px;
  overflow: hidden;
}
.progress-bar {
  width: 200px;
  height: 10px;
  background-color: transparent;
  border-radius: 10px;
  border: solid 1px #ffffff;
  cursor: pointer;
  overflow: hidden;
}
.progress-bar span {
  display: block;
  height: 100%;
  background-color: #000000;
  width: 0;
}
.nextprev-btn {
  width: 40px;
  height: 40px;
  cursor: pointer;
  margin-bottom: -5px;
}
.ListenStats {
  font-size: 16px;
  margin: 5px;
  font-family: Arial;
  color: #ffffff;
  background-color: transparent;
}
.PasswordBar {
  font-size: 18px;
  height: 18px;
  line-height: 1;
  color: #000000;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-sizing: border-box;
  width: calc(100% - 10px);
}
.PasswordLabel {
  max-height: 18px;
  color: #ffffff;
}
.Password {
  height: 22px;
  line-height: 22px;
  font-size: 16px;
  padding: 0 12px;
  margin: 0;
  border: 1px solid #00ff00;
  background-color: #000000;
  width: 100%; /* allow it to grow as wide as it can */
  max-width: 100%; /* prevent overflow */
  color: #ffffff;
  border-radius: 90px;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  flex-grow: 1; /* if in a flex container */
  min-width: 0; /* prevent overflow in flex */
  animation: PW .75s linear infinite;
}
.Password:hover {
  animation: none;
}
.PasswordSubmit {
  height: auto;
  max-height: 18px;
  padding: 4px;
  font-size: 16px;
  font-family: Lancaster;
  color: #ffffff;
  background-color: #713406;
  border: solid 1px #ffffff;
  text-align: center;
  width: 150px;
  cursor: pointer;
  user-select: none; /* prevent highlighting text */
  pointer-events: auto;
}
.PasswordSubmit:hover {
  background-color: #000000;
}
.UnlockerBand {
  position: relative;
  top: 0px;
  right: 0px;
  width: 100%;
  background-image: linear-gradient(to top, rgba(113, 52, 6, 1),  transparent);
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center; /* optional: centers horizontally too */
  border-top: solid .5px #ffffff;
  height: 34px;
  max-height: 34px;
  line-height: 34px;
  overflow: hidden;
  right: 0px;
}
.MusicHeader {
  text-align: left;
  height: 149px;
  overflow-y: visible;
}
 .CloseFPWNotification {
  color: #000000; 
  cursor: pointer; 
  z-index: 7; 
  position: absolute; 
  top: 0px; 
  right: 0px; 
  margin: 0px; 
  font-size: 1em; 
  padding: .4em;
  margin: .4em;
  width: 2em; 
  height: 2em;
  background-color: #ffffff;
  border: solid 1px #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial;
}
.CloseFPWNotification:hover {
  filter: invert(1);
}
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  -webkit-appearance: none;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  height: 5px;
  border-radius: 5px;
  cursor: pointer;
  background-color: #ffffff;
  border: solid 1px #ffffff;
}
/* Range input styling */
input[type="range"] {
  background-color: transparent;
  -webkit-appearance: none;
  appearance: none;
  height: 5px;
  border-radius: 5px;
  cursor: pointer;
  border: none;
}
input[type=range]::-webkit-slider-runnable-track {
  background-color: transparent;
  width: 100%;
  height: 5px;
  border: solid 1px #ffffff;
  border-radius: 5px;
  cursor: pointer;
}
input[type=range] {
  width: 100%;
  margin: 0; /* Prevent extra margin */
  padding: 0;
  overflow: visible;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -7px; /* Center thumb vertically */
  background: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
}

@media screen and (max-width: 550px) and (max-height: 500px) {
  .Password {
    width: 50px;
  }
  .PasswordSubmit {
    width: 50px;
  }
}

@media (orientation: portrait) {
  .UnlockerBand {
    height: 45px;
    max-height: 45px;
    line-height: 45px;
  }
  .PasswordSubmit {
    height: 35px;
    max-height: 35px;
    line-height: 35px;
    padding: 0px;
    font-size: 19px;
  }
  .Password {
    height: 35px;
    text-indent: 10px;
    max-height: 35px;
    line-height: 35px;
    padding: 0px;
    font-size: 19px;
  }
  .PasswordLabel {
    height: 35px;
    max-height: 35px;
    line-height: 35px;
    padding: 0px;
    font-size: 19px;
  }
}

@media screen and (max-height: 500px) {
  .CenteredContainer {
    transform: translate(-50%, -50%) scale(.6);
  }
}
@media screen and (max-height: 400px) {
  .CenteredContainer {
    transform: translate(-50%, -50%) scale(.5);
  } 
}
@media screen and (max-height: 300px) {
  .CenteredContainer {
    transform: translate(-50%, -50%) scale(.4);
  } 
}