body {
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center;

  background-image: url("../images/background/woodwrights-shop.jpg");
  /* */
}

#ClockHolder {
  position: absolute;
  width: 390px;
  height: 150px;
  /* background: #063; */
  /* bottom: 0px; */
  right: 25%;
  left: 50%;
  margin-left: -145px;
}

.NewLine {
  width: 100%;
  display: inline-block;
  height: 0;
}

.NewLineMobile {
  width: 100%;
  display: none;
  height: 0;
}

#RadioHolder {
  display: inline-block;
  overflow: hidden;
  width: 592px;
  height: 280px;
}

/* MOBILE STYLES (Applies when viewport is 1024 or less) */
@media (max-width: 1024px) {
  .NewLineMobile {
    display: inline-block;
  }

  #RadioHolder {
    height: 430px;
  }
}

/* MOBILE STYLES (Applies when viewport is 768px or less) */
@media (max-width: 768px) {
  .NewLineMobile {
    width: 100%;
    display: inline-block;
  }

  .user-control-box {
    padding: 12px 16px;
    margin: 15px 0;
    display: block;
    width: 100%;
  }

  .user-info {
    margin-bottom: 15px;
    margin-right: 0;
    display: block;
  }

  .user-info h2 {
    font-size: 1.2em;
  }

  .button-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
}
.radioButton {
  display: inline-table;
  height: 128px;
  width: 128px;
  float: left;
  text-indent: -9999px;
  /* sends the text off-screen */
  white-space: nowrap;
  margin-left: 10px;
  margin-right: 10px;
  overflow: hidden;
  background-position-x: 0;
  background-position-y: 128px;
}

/* Override for LightRadu button to show SVG content */
#LightRadu {
  text-indent: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  cursor: pointer;
}
.radioButton:hover {
  background-position-y: 0px;
}

.Online {
  background-position-y: 0px;
}

.radioButton.Cluj {
  background-image: url("../images/radio-cluj.png");
}

.radioButton.RRASate {
  background-image: url("../images/antena-satelor.png");
}

.radioButton.RRA {
  background-image: url("../images/radio-romania-actualitati.png");
}

.radioButton.EuropaFM {
  background-image: url("../images/europa-fm.png");
}

.radioButton.MagicFM {
  background-image: url("../images/magic-fm.png");
}

.radioButton.Impuls {
  background-image: url("../images/radio-impuls-cluj.png");
}

.radioButton.Guerrilla {
  background-image: url("../images/radio-guerrilla.png");
}

.radioButton.ProFM {
  background-image: url("../images/profm.png");
}

.radioButton.KissFM {
  background-image: url("../images/kiss-fm.png");
}

.radioButton.DigiFM {
  background-image: url("../images/radio-digiFM.png");
}

.radioButton.Digi24FM {
  background-image: url("../images/radio-digi24FM.png");
}

.radioButton.RadioRenastereaCluj {
  background-image: url("../images/radio-renasterea.png");
}

.radioButton.RadioZU {
  background-image: url("../images/radio-zu.png");
}

.radioButton.RadioTransilvania {
  background-image: url("../images/radio-transilvania-cluj.png");
}

.radioButton.QueVivaMexico {
  background-image: url("../images/queVivaMexico.png");
}

#StopRadio {
  background-image: url("../images/on-off-icons.png");
  background-repeat: no-repeat;
  width: 100px;
  height: 40px;
  margin: 44px 10px 44px 10px;
  overflow: hidden;
  background-position: 0px 1px;
}

#StopRadio:hover {
  background-position-y: -44px;
}


#Radio {
  background-image: url("../images/Radio_PNG_38221.png");
  background-position-y: 128px;
}

#Home {
  background-image: url("../images/Home.png");
  background-position-y: 117px;
  height: 115px;
  margin-top: 12px;
}

#Home:hover {
  background-position-y: 0px;
}

#SystemStatus {
  background-image: url("../images/SystemStatus.png");
  background-position-y: 148px;
  height: 135px;
  /* margin-top: 12px; */
}

#SystemStatus:hover {
  background-position-y: -10px;
}

#Scan {
  background-image: url("../images/scan-icon.svg");
  background-position-y: 128px;
  height: 128px;
}

#Scan:hover {
  background-position-y: 0px;
}
#Heater {
  background-image: url("../images/radiator-heater.svg");
  background-position-y: 128px;
  height: 128px;
}

#Heater:hover {
  background-position-y: 0px;
}
#Radio:hover {
  background-position-y: 0px;
}

#RadioHolder.Opened {
  /* width: 450px; */
  height: auto;
  padding-right: 3px;
}

#RadioHolder.Opened>#Radio {
  background-position-y: 0px;
}


.reloadPage {
  background-image: url("../images/Recycle-icon.png");
  background-position-y: 64px;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  /* float: right; */
  right: 0;
  z-index: 300;
  top: 0;
  overflow: hidden;
  text-indent: -9999px;
  /* sends the text off-screen */
  white-space: nowrap;
}

.reloadPage:hover {
  background-position-y: 0px;
}

#RadioVolumeHolder {
  display: inline-block;
  width: 450px;
  border: 1px solid yellow;
  height: 15px;
  margin-top: 15px;
}

#RadioVolume {
  height: 100%;
  float: left;
  /* margin-right: -50px; */
  background-color: aqua;
}
/* Background Image Styles */
body {
  position: relative;
}

#background {
  width: 100vw;
  height: 100vh;
  position: fixed;
  left: 0px;
  top: 0px;
  z-index: -1;
}

.stretch {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* User Control Box - matches chart header styling */
.user-control-box {
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.15) 0%,
      rgba(255, 255, 255, 0.05) 50%,
      rgba(255, 255, 255, 0.1) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 20px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: auto;
  max-width: 100%;
}

.user-control-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.user-control-box:hover::before {
  left: 100%;
}

.user-control-box:hover {
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15),
    0 0 20px rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.user-info {
  margin-bottom: 0;
  margin-right: 20px;
  display: inline-block;
  vertical-align: middle;
}

.user-info h2 {
  color: #ffffff;
  font-size: 1.2em;
  font-weight: 300;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.logout-link {
  font-size: 0.7em;
  color: #ff6666;
  text-decoration: none;
  margin-left: 10px;
  transition: color 0.3s ease;
}

.logout-link:hover {
  color: #ff9999;
  text-shadow: 0 0 8px rgba(255, 102, 102, 0.5);
}

.button-container {
  display: inline-flex;
  gap: 10px;
  flex-wrap: nowrap;
  vertical-align: middle;
}