
:root {

  --btn3: hsl(160, 86%, 63%);
}



.jela {
    position: relative;
    padding: .5rem 1.5rem;
    border-radius: 3.75rem;
    line-height: 2.0rem;
    font-size: calc(12px + 2vw);
    font-weight: 600;
    min-width: 40%;

    border: 1px solid #66FF99;
    background-image: linear-gradient(-180deg, #66FF99 0%, #009933 100%);
    box-shadow:
        0 1rem 1.25rem 0 rgba(0, 102, 51, 0.50),
        0 -0.25rem 1.5rem rgba(0, 153, 51, 1) inset,
        0 0.25rem 0.5rem 0 rgba(102, 255, 153, 1) inset;
}

.jela span {
    color: #013220;
    text-shadow:
        1px 1px 0 rgba(0, 0, 0, 0.6),
        -1px -1px 0 rgba(255, 255, 255, 0.4);
}

.jela::before {
    display: none;
}


.jelb {
    position: relative;
    padding: 0.5rem 1.5rem;
    border-radius: 3.75rem;
    line-height: 2.0rem;
    font-size: calc(12px + 2vw);
    font-weight: 600;
    min-width: 40%;

    border: 1px solid #99CCFF;
    background-image: linear-gradient(-180deg, #99CCFF 0%, #0066CC 100%);
    box-shadow:
        0 1rem 1.25rem 0 rgba(0, 51, 153, 0.5),
        0 -0.25rem 1.5rem rgba(0, 102, 204, 1) inset,
        0 0.25rem 0.5rem 0 rgba(153, 204, 255, 1) inset;
}

.jelb span {
    color: #003366;
    text-shadow:
        1px 1px 0 rgba(0, 0, 0, 0.6),
        -1px -1px 0 rgba(255, 255, 255, 0.4);
}

.jelb::before {
    display: none;
}


.jelc {
    position: relative;
    padding: 0.5rem 1.5rem;
    border-radius: 3.75rem;
    line-height: 2.0rem;
    font-size: calc(12px + 2vw);
    font-weight: 600;
    min-width: 40%;

    border: 1px solid #FFC94A;
    background-image: linear-gradient(-180deg, #FFC94A 0%, #8B6508 100%);
    box-shadow:
        0 1rem 1.25rem 0 rgba(139, 101, 8, 0.5),
        0 -0.25rem 1.5rem rgba(184, 134, 11, 1) inset,
        0 0.25rem 0.5rem 0 rgba(255, 200, 74, 1) inset;
}

.jelc span {
    color: #4F3201;
    text-shadow:
        1px 1px 0 rgba(0, 0, 0, 0.6),
        -1px -1px 0 rgba(255, 255, 255, 0.4);
}

.jelc::before {
    display: none;
}


.jeld {
    position: relative;
    padding: 0.5rem 1.5rem;
    border-radius: 3.75rem;
    line-height: 2.0rem;
    font-size: calc(12px + 2vw);
    font-weight: 600;
    min-width: 40%;

    border: 1px solid #FF6666;
    background-image: linear-gradient(-180deg, #FF6666 0%, #CC0000 100%);
    box-shadow:
        0 1rem 1.25rem 0 rgba(139, 0, 0, 0.5),
        0 -0.25rem 1.5rem rgba(204, 0, 0, 1) inset,
        0 0.25rem 0.5rem 0 rgba(255, 102, 102, 1) inset;
}

.jeld span {
    color: #660000;
    text-shadow:
        1px 1px 0 rgba(0, 0, 0, 0.6),
        -1px -1px 0 rgba(255, 255, 255, 0.4);
}

.jeld::before {
    display: none;
}

.jele {
    position: relative;
    padding: 0.5rem 1.5rem;
    border-radius: 3.75rem;
    line-height: 2.0rem;
    font-size: calc(12px + 2vw);
    font-weight: 600;
    min-width: 40%;

    border: 1px solid #ff6a1a;
    background-image: linear-gradient(-180deg, #e85d00 0%, #7a2f00 100%);
    box-shadow:
       0 1rem 1.25rem 0 rgba(100, 30, 0, 0.6),
       0 -0.25rem 1.5rem rgba(90, 25, 0, 1) inset,
       0 0.25rem 0.5rem 0 rgba(230, 100, 20, 1) inset;
}

.jele span {
    color: #290000;
    text-shadow:
       1px 1px 0 rgba(0, 0, 0, 0.6),
       -1px -1px 0 rgba(255, 180, 120, 0.4);
}

.jele::before {
    display: none;
}

.jelf {
    position: relative;
    padding: 0.5rem 1.5rem;
    border-radius: 3.75rem;
    line-height: 2.0rem;
    font-size: calc(12px + 2vw);
    font-weight: 600;
    min-width: 40%;

    border: 1px solid #2f6fd1;
    background-image: linear-gradient(-180deg, #2f6fd1 0%, #0d2e5e 100%);
    box-shadow:
       0 1rem 1.25rem 0 rgba(10, 40, 90, 0.6),
       0 -0.25rem 1.5rem rgba(5, 25, 60, 1) inset,
       0 0.25rem 0.5rem 0 rgba(80, 140, 255, 0.9) inset;
}

.jelf span {
    color: #a8c6ef;
    text-shadow:
       1px 1px 0 rgba(0, 0, 0, 0.6),
       -1px -1px 0 rgba(120, 180, 255, 0.4);
}

.jelf::before {
    display: none;
}

.score-text {
        align-items: center;
        gap: 5px;

    }

.jelscore {
    cursor: pointer;
    position: relative;
    padding: 0.5rem 1.0rem;
    border-radius: 3.75rem;
    line-height: 2.0rem;
    font-size: calc(12px + 2vw);
    font-weight: 600;
    min-width: 6rem;


    border: 1px solid #5E008F; /* Darker violet border */
    background-image: linear-gradient(-180deg, #A64DFF 0%, #5E008F 100%); /* Gradient in Dark Violet tones */
    box-shadow:
        0 1rem 1.25rem 0 rgba(94, 0, 143, 0.5), /* Soft violet shadow */
        0 -0.25rem 1.5rem rgba(148, 0, 211, 1) inset, /* DarkViolet inset */
        0 0.75rem 0.5rem rgba(255, 255, 255, 0.4) inset, /* White glossy highlight */
        0 0.25rem 0.5rem 0 rgba(166, 77, 255, 1) inset; /* Soft violet inset */
}

.jelscore span {
    color: #E5DAF2; /* Soft lavender text */
    text-shadow:
        1px 1px 0 rgba(0, 0, 0, 0.6), /* Dark shadow for depth */
        -1px -1px 0 rgba(255, 255, 255, 0.4); /* Light highlight */
}

.jelscore::before {
    content: "";
    display: block;
    height: 0.25rem;
    position: absolute;
    top: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 6vw);
    background: #fff;
    border-radius: 100%;
    opacity: 0.7;
    background-image: linear-gradient(
        -270deg,
        rgba(255, 255, 255, 0) 0%,
        #FFFFFF 20%,
        #FFFFFF 80%,
        rgba(255, 255, 255, 0) 100%
    );
}

@keyframes blurr3 {
  0%,
  100% {
    box-shadow: 0 0 10px var(--btn3);
  }

  50% {
    box-shadow: 0 0 36px var(--btn3);
  }
}


.halscore {
  font-size: calc(12px + 1vw);
  line-height: calc(12px + 2vw);
/*   text-shadow: 0 0 5px #f562ff, 0 0 15px #f562ff, 0 0 25px #f562ff,
    0 0 20px #f562ff, 0 0 30px #890092, 0 0 80px #890092, 0 0 80px #890092;
  color: #fccaff; */
  text-shadow: 0 0 5px #ffa500, 0 0 15px #ffa500, 0 0 20px #ffa500, 0 0 40px #ffa500, 0 0 60px #ff0000, 0 0 10px #ff8d00, 0 0 98px #ff0000;
    color: #fff6a9;

  text-align: center;
  animation: blink 12s infinite;
  -webkit-animation: blink 12s infinite;
}

@-webkit-keyframes blink {
  20%,
  24%,
  55% {
    color: #111;
    text-shadow: none;
  }

  0%,
  19%,
  21%,
  23%,
  25%,
  54%,
  56%,
  100% {
/*     color: #fccaff;
    text-shadow: 0 0 5px #f562ff, 0 0 15px #f562ff, 0 0 25px #f562ff,
      0 0 20px #f562ff, 0 0 30px #890092, 0 0 80px #890092, 0 0 80px #890092; */
  text-shadow: 0 0 5px #ffa500, 0 0 15px #ffa500, 0 0 20px #ffa500, 0 0 40px #ffa500, 0 0 60px #ff0000, 0 0 10px #ff8d00, 0 0 98px #ff0000;
    color: #fff6a9;
  }
}

@keyframes blink {
  20%,
  24%,
  55% {
    color: #111;
    text-shadow: none;
  }

  0%,
  19%,
  21%,
  23%,
  25%,
  54%,
  56%,
  100% {
/*     color: #fccaff;
    text-shadow: 0 0 5px #f562ff, 0 0 15px #f562ff, 0 0 25px #f562ff,
      0 0 20px #f562ff, 0 0 30px #890092, 0 0 80px #890092, 0 0 80px #890092; */
  text-shadow: 0 0 5px #ffa500, 0 0 15px #ffa500, 0 0 20px #ffa500, 0 0 40px #ffa500, 0 0 60px #ff0000, 0 0 10px #ff8d00, 0 0 98px #ff0000;
    color: #fff6a9;
  }
}

/* The Modal Background */
.voice-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

/* The Modal Content Box */
.voice-modal-content {
    background-color: #FFDEAD;
    margin: 15% auto;
    padding: 20px;
    border-radius: 12px;
    width: 320px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid #8b7355;

    box-sizing: border-box; /* Ensures padding doesn't mess up the width */
}

/* 3D Styled Select Box */
.select-3d {
    width: 100%;
    padding: 10px;
    margin: 20px 0px;
    background: linear-gradient(to bottom, #B0C4DE 0%, #8ea7c7 100%);
    border-top: 2px solid #d1dbe9;
    border-left: 2px solid #d1dbe9;
    border-right: 3px solid #465a75;
    border-bottom: 3px solid #465a75;
    border-radius: 6px;
    box-shadow: inset 1px 1px 2px rgba(255, 255, 255, 0.8), 2px 2px 5px rgba(0, 0, 0, 0.2);
    font-weight: bold;
    color: #2c3e50;
    cursor: pointer;
    outline: none;

    /* Centering the text inside the box */
    text-align: left;
    text-align-last: left;
}


/* Base Button Style */
.btn-3d {
    padding: 10px 25px;
    color: white;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.1s ease;
    box-shadow: 2px 3px 0px rgba(0, 0, 0, 0.3);
}

/* Save Button Specifics */
.btn-save {
    background: linear-gradient(to bottom, #28a745 0%, #1e7e34 100%);
    border-top: 2px solid #34ce57;
    border-left: 2px solid #34ce57;
    border-right: 2px solid #145523;
    border-bottom: 2px solid #145523;
}

/* Cancel Button Specifics */
.btn-cancel {
    background: linear-gradient(to bottom, #dc3545 0%, #a71d2a 100%);
    border-top: 2px solid #f14c5d;
    border-left: 2px solid #f14c5d;
    border-right: 2px solid #721c24;
    border-bottom: 2px solid #721c24;
}

/* The "Pressed" Effect */
.btn-3d:active {
    transform: translateY(2px);
    box-shadow: 1px 1px 0px rgba(0, 0, 0, 0.3);
}
