 /* scoreboard styles  */
.scoreboard-div-level-and-score {
  padding: 20px;
  display: inline-block;
  border-radius: 10px;
}

.center-div-level-and-score-inner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.m-l{
    margin-left: 15px;
}

.progress-bar-wrapper {
  display: flex;
  flex-direction: column;
  align-items: self-start;
}

/* THEMES  */

/* Classic */
.theme-classic {
  background: #ffffff;
  background-image: -webkit-linear-gradient(top, #ffffff, #dcdcdc);
  background-image: -moz-linear-gradient(top, #ffffff, #dcdcdc);
  background-image: -ms-linear-gradient(top, #ffffff, #dcdcdc);
  background-image: -o-linear-gradient(top, #ffffff, #dcdcdc);
  background-image: linear-gradient(to bottom, #ffffff, #dcdcdc);

  /* rounded corners */
  border-radius: 10px;

  /* solid black border */
  border: 1px solid #000000;

  /* inner padding & layout */
  padding: 10px 15px 7px 15px;
  display: inline-block;        /* shrink-wrap to content */
  margin: 5px;

  /* text styling */
  font-family: Arial, sans-serif;
  font-size: 16px;
  color: #000000;
  line-height: 1.4;
}

/* ---------------- NEON THEME ---------------- */
.scoreboard-div-level-and-score.theme-neon {
  background: linear-gradient(135deg, #1a0033, #22004d);
  border: 2px solid #3a0077;
  border-radius: 20px;
  padding: 20px;
  display: inline-block;
  box-shadow:
    0 0 10px rgba(58, 0, 119, 0.6),
    inset 0 0 20px rgba(58, 0, 119, 0.4);
}

/* Neon‐specific layout */
.theme-neon .neon-card {
  background: linear-gradient(135deg,#1a0033,#22004d);
  border: 2px solid #3a0077;
  border-radius: 20px;
  padding: 20px;
  box-shadow:
    0 0 10px rgba(0,224,255,0.6),
    inset 0 0 20px rgba(78,0,255,0.4);
  text-align: center;
  width: 300px;
  margin: auto;
}

.theme-neon .neon-header {
  display: inline-block;
  padding: 8px 24px;
  margin-bottom: 16px;
  /* background: linear-gradient(90deg,#4e00ff,#00e0ff); */
  border-radius: 24px;
  font: bold 1.1em "Segoe UI",sans-serif;
  color: #fff;
  text-shadow: 0 0 6px rgba(0,224,255,0.8);
  /* box-shadow: inset 0 0 8px rgba(78,0,255,0.4); */
}

.theme-neon .neon-bar {
  position: relative;
  background: #22004d;
  border-radius: 20px;
  overflow: hidden;
  height: 40px;
  margin: 0 auto 20px auto;
}

.theme-neon .neon-bar-fill {
  background: linear-gradient(90deg,#4e00ff,#00e0ff);
  height: 100%;
  transition: width 0.5s ease;
}

.theme-neon .neon-bar-label {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font: bold 1.4em "Segoe UI",sans-serif;
  color: #fff;
  text-shadow: 0 0 6px rgba(0,224,255,0.8);
}

.theme-neon .neon-stats {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 12px;
}

.theme-neon .neon-stats .stat {
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 8px;
}

.theme-neon .neon-stats .label {
  font: 0.8em "Segoe UI",sans-serif;
  color: #ccc;
}

.theme-neon .neon-stats .value {
  font: bold 1.2em "Segoe UI",sans-serif;
  color: #fff;
}


/* Make the text pop */
.scoreboard-div-level-and-score.theme-neon span {
  color: #fff;
  text-shadow: 0 0 8px #8a4cff;
  font-family: "Segoe UI", sans-serif;
  font-weight: 600;
  margin-left: 1em;
}

/* Bar overrides */
.scoreboard-div-level-and-score.theme-neon .scoreboard-progress-container {
  width: 200px;
  height: 24px;
  background: #22004d;
  border-radius: 12px;
  border: 1px solid #3a0077;
  box-shadow: inset 0 0 8px rgba(58,0,119,0.5);
}
.scoreboard-div-level-and-score.theme-neon .scoreboard-progress-fill {
  background: linear-gradient(90deg, #4e00ff, #00e0ff);
  box-shadow: 0 0 8px #00e0ff, inset 0 0 6px #8a4cff;
}

/* -------------------------------------- */

/* Progress‐bar container */
.scoreboard-progress-container {
  width: 100px;            
  height: 12px;
  background-color: #ddd;
  border: 1px solid #aaa;
  border-radius: 6px;
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.5em;
}

/* The colored fill */
.scoreboard-progress-fill {
  height: 100%;
  width: 0;
  background-color: #4caf50;
  transition: width 0.3s ease;
}

