body {
  background-color: #0C1A24;
  color: #e6e6e6;
  font-family: Arial, sans-serif;
}

html {
  margin: 0;
  padding: 0;
  height: var(--app-height, 100vh);
  overflow: hidden;
}

body {
  margin: 0;
  padding: 0;
  position: relative;
  height: var(--app-height, 100vh);
  overflow-y: auto;
  overflow-x: hidden;
}
.show {
  font-size: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #8b8b8b00;
}

#show {
  position: absolute;
  top: 6%;
  left: 0%;
  width: 5.4%;
  height: 90%;
  border-radius: 4px;
  background-color: #162e3f00;
  user-select: none;
}

#show_game {
  position: absolute;
  top: 0%;
  left: 5%;
  width: 90%;
  height: 5%;
  border-radius: 4px;

  user-select: none;
}

#show_mode {
  position: absolute;
  top: 5.4%;
  left: 5%;
  width: 90%;
  height: 6%;
  border-radius: 4px;

  user-select: none;
}

#show_money {
  position: absolute;
  top: 17.5%;
  left: 5%;
  width: 90%;
  height: 6%;
  border-radius: 4px;
  user-select: none;
}

#show_bet {
  position: absolute;
  top: 43%;
  left: 5%;
  width: 90%;
  height: 6%;
  border-radius: 4px;
  user-select: none;
}

#show_multi {
  position: absolute;
  top: 67%;
  left: 0%;
  width: 99%;
  height: 6%;
  border-radius: 4px;
  user-select: none;
}

#show_round {
  position: absolute;
  top: 94%;
  left: 5%;
  width: 90%;
  height: 6%;
}

#show2 {

  position: absolute;
  top: 97%;
  left: 7%;
  width: 30%;
  height: 2.4%;
  display: grid;
  grid-template-columns: repeat(18, 1fr);
  grid-gap: 0%;
  font-size: 65%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.Ashow {
  padding: 1%;
  font-size: 100%;
  display: flex;
  justify-content: center;
  align-items: center;

}

.Bshow {
  width: 10;
  padding: 1%;
  border: #ffffff solid 1px;
  font-size: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nums {
  font-size: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#show_number {
  position: absolute;
  top: 28%;
  left: 5%;
  width: 90%;
  height: 6%;
}

#show_win {
  position: absolute;

  top: 37%;
  left: 5%;
  width: 90%;
  height: 6%;
}

#show_loss {
  position: absolute;

  top: 47%;
  left: 5%;
  width: 90%;
  height: 6%;
}

#show_onporfit {
  position: absolute;

  top: 56%;
  left: 5%;
  width: 90%;
  height: 6%;
}

#show_onloss {
  position: absolute;

  top: 66.6%;
  left: 5%;
  width: 90%;
  height: 6%;
}

#money {
  position: absolute;
  top: 0%;
  left: -1%;
  width: 101%;
  height: 6%;
  border-radius: 4px;
  background-color: rgba(30, 43, 55, 0.52);
  user-select: none;
}

#birr {
  position: absolute;
  color: rgb(0, 204, 41);
  font-size: 100%;
  width: 10%;
  height: 90%;
  top: 5.8%;
  left: 107%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#money_box {
  position: absolute;
  color: white;
  font-size: 100%;
  border: #8b8b8b solid 1px;
  width: 10%;
  height: 90%;
  top: 5.8%;
  left: 50%;
  background-color: #0C1A24;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#conves {
  position: absolute;
  background-color: rgb(30, 43, 55);
  width: 70%;
  height: 89%;
  top: 7%;
  left: 28.7%;
  border-radius: 0px 5px 5px 0px;
  user-select: none;
}

#add-ball {
  position: absolute;
  width: 93%;
  height: 10%;
  top: 40%;
  left: 3%;
  border: 0;
  background-color: rgb(29, 165, 15);
  font-size: 100%;
  cursor: pointer;
  border-radius: 7px;
}

#add-ball2,
#add-ball3 {
  position: absolute;
  width: 93%;
  height: 10%;
  top: 84%;
  left: 3%;
  border: 0;
  background-color: rgb(29, 165, 15);
  font-size: 100%;
  cursor: pointer;
  border-radius: 7px;
}

#box {
  position: absolute;
  width: 23%;
  height: 89%;
  top: 7%;
  left: 5.7%;
  background-color: rgb(40, 56, 72);
  border-radius: 10px 0px 0px 10px;
  user-select: none;
}

#balance {
  position: absolute;
  width: 55%;
  height: 3%;
  border-radius: 4px;
  padding: 10px;
  background-color: rgb(30, 43, 55);
  color: white;
  border: rgb(0, 115, 223);
  top: 17%;
  left: 3%;
  font-size: 150%;
}

#bet_amount {
  position: absolute;
  color: white;
  font-size: 130%;
  top: 12%;
  left: 3%;
  user-select: none;
}

#output {
  position: absolute;
  display: flex;
  flex-direction: row-reverse;
  gap: 8px;
  width: 78%;
  height: 10%;
  left: 22%;
  align-items: center;
  padding-right: 10px;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: hidden;
}

.output-item {
  background: rgb(34, 48, 62);
  color: #fff;
  min-width: 55px;
  height: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  font-size: 1.1em;
  font-weight: 600;
  transition: background 0.2s;
  text-align: center;
  opacity: 1;
  animation: slideInFromRight 0.4s cubic-bezier(.4, 1.7, .7, 1) backwards;
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(60px) scale(0.8);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes slideOutToLeft {
  from {
    opacity: 1;
    transform: translateX(0) scale(1);
  }

  to {
    opacity: 0;
    transform: translateX(-60px) scale(0.8);
  }
}

.output-item.removing {
  animation: slideOutToLeft 0.4s cubic-bezier(.4, 1.7, .7, 1) forwards;
}

#manual_auto {
  position: absolute;
  color: white;
  background-color: rgb(30, 43, 55);
  width: 98%;
  height: 10%;
  left: 1%;
  top: 2%;
  border-radius: 40px;
}

#manual {
  position: absolute;
  color: white;
  background-color: rgb(40, 56, 72);
  width: 48%;
  height: 80%;
  left: 2%;
  top: 10%;
  border: #0000000f solid 1px;
  cursor: pointer;
  border-radius: 40px;
}

#auto {
  position: absolute;
  color: white;
  background-color: rgb(30, 43, 55);
  width: 45%;
  height: 80%;
  left: 52%;
  top: 10%;
  border: #0000000f solid 1px;
  cursor: pointer;
  border-radius: 40px;
}

#incrementButton {
  position: absolute;
  color: white;
  background-color: rgb(30, 43, 55);
  font-size: 130%;
  width: 15%;
  height: 7%;
  top: 17%;
  left: 83%;
  cursor: pointer;
  border-radius: 7px;
}

#decrementButton {
  position: absolute;
  color: white;
  background-color: rgb(30, 43, 55);
  font-size: 130%;
  width: 15%;
  height: 7%;
  top: 17%;
  left: 66.8%;
  cursor: pointer;
  border-radius: 7px;
}

#Labelnumberofbet {
  position: absolute;
  font-size: 100%;
  width: 90%;
  height: 5%;
  left: 1%;
  top: 24%;
}

#numberofbet {
  position: absolute;
  font-size: 100%;
  justify-content: center;
  align-items: center;
  width: 95%;
  height: 5%;
  left: 1%;
  top: 27.5%;
  border-radius: 4px;
  background-color: rgb(30, 43, 55);
  color: white;
  border: rgb(0, 115, 223);
}

#Labelonwin {
  position: absolute;
  font-size: 100%;
  width: 90%;
  height: 5%;
  left: 1%;
  top: 33.5%;
}

#onwin {
  position: absolute;
  font-size: 100%;
  justify-content: center;
  align-items: center;
  width: 50%;
  height: 5%;
  left: 45%;
  top: 37%;
  border-radius: 4px;
  background-color: rgb(30, 43, 55);
  color: white;
  border: rgb(0, 115, 223);
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}

#reset1 {
  position: absolute;
  color: white;
  background-color: rgb(30, 43, 55);
  font-size: 1%;
  width: 15%;
  height: 6%;
  top: 37%;
  left: 1%;
  border: 0;
  font-size: 80%;
  cursor: pointer;
  border-radius: 7px;
  border: 1px solid rgb(255, 255, 255);
}

#Increase1 {
  position: absolute;
  color: white;
  background-color: rgb(30, 43, 55);
  font-size: 1%;
  width: 27%;
  height: 6%;
  top: 37%;
  left: 17%;
  border: 1px solid rgba(0, 0, 0, 0);
  font-size: 80%;
  cursor: pointer;
  border-radius: 7px;
}

#Labelonloss {
  position: absolute;
  font-size: 100%;
  width: 90%;
  height: 5%;
  left: 1%;
  top: 43%;
}

#onloss {
  position: absolute;
  font-size: 100%;
  justify-content: center;
  align-items: center;
  width: 50%;
  height: 5%;
  left: 45%;
  top: 46.5%;
  border-radius: 4px;
  background-color: rgb(30, 43, 55);
  color: white;
  border: rgb(0, 115, 223);
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}

#reset2 {
  position: absolute;
  color: white;
  background-color: rgb(30, 43, 55);
  font-size: 1%;
  width: 15%;
  height: 6%;
  top: 46.5%;
  left: 1%;
  border: 0;
  font-size: 80%;
  cursor: pointer;
  border-radius: 7px;
  border: 1px solid rgb(255, 255, 255);
}

#Increase2 {
  position: absolute;
  color: white;
  background-color: rgb(30, 43, 55);
  font-size: 1%;
  width: 27%;
  height: 6%;
  top: 46.5%;
  left: 17%;
  border: 1px solid rgba(0, 0, 0, 0);
  font-size: 80%;
  cursor: pointer;
  border-radius: 7px;
}

#Labelstoponprofit {
  position: absolute;
  font-size: 100%;
  width: 90%;
  height: 5%;
  left: 1%;
  top: 53%;
}

#onprofit {
  position: absolute;
  font-size: 100%;
  justify-content: center;
  align-items: center;
  width: 90%;
  height: 5%;
  left: 1%;
  top: 56.7%;
  border-radius: 4px;
  background-color: rgb(30, 43, 55);
  color: white;
  border: rgb(0, 115, 223);
}

#Labelstoponloss {
  position: absolute;
  font-size: 100%;
  width: 90%;
  height: 5%;
  left: 1%;
  top: 63.5%;
}

#stoponloss {
  position: absolute;
  font-size: 100%;
  justify-content: center;
  align-items: center;
  width: 90%;
  height: 5%;
  left: 1%;
  top: 67.2%;
  border-radius: 4px;
  background-color: rgb(30, 43, 55);
  color: white;
  border: rgb(0, 115, 223);
}

#spin_the_wheel {

  position: absolute;
  top: 23%;
  left: 25%;
  transform: translate(-50%, -50%);

}

#wheel {
  width: 74%;
  /* Set the desired width */
  height: 74%;
  /* Set the desired height */
  position: relative;
}

#spin {
  font-size: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 17%;
  left: 11.5%;
  width: 52%;
  height: 67%;


  box-shadow:
    0 0 0 5px currentColor,
    0 0px 15px 5px rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  transition: 0.8s;
}

#circle {
  position: absolute;
  top: -1%;
  left: -1%;
  width: 72%;
  height: 94%;
  border: black solid 7px;
  background-color: rgba(0, 0, 0, 0);
  border-radius: 50%;
}

#spin::after {
  content: "";
  position: absolute;
  top: -15px;
  border: 10px solid transparent;
  border-bottom-color: currentColor;
  border-top: none;
}

#Labelnumberofbet {
  position: absolute;
  font-size: 100%;
  width: 90%;
  height: 5%;
  left: 1%;
  top: 24%;
}

#spin::after {
  border-bottom-color: rgb(39 36 36);
}

#spin {
  box-shadow: 0 0 0 5px rgb(39 36 36), 0 0px 15px 5px rgba(0, 0, 0, 0.6);
}

@media (max-width: 900px) {
  #multiplier-display {
    left: 25%;
  }

  #valueBox4 {
    top: 8.5% !important;
    left: 2.4% !important;
    width: 39% !important;
    height: 18% !important;
  }

  #valueBox2 {
    top: 30% !important;
    left: 7% !important;
    width: 89% !important;
    height: 20% !important;
  }

  .output-item {

    min-width: 23px;
    height: 43%;
    font-size: 97%;
  }

  .allbox.green {
    top: 29.5%;
  }

  #multiplierP {
    top: 8%;
  }

  #multiplier {
    top: 13.98%;
  }

  #conves {
    width: 400px;
    height: 57%;
    top: 6.02%;
    left: 50%;
    transform: translateX(-50%);
  }

  #boxs {
    position: absolute;
    top: 21%;
    left: 7%;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 2px;
    width: 90%;
    height: 49%;
    padding: 1%;
    border: black solid 0px;
    cursor: pointer;
    user-select: none;
  }

  #box {
    position: absolute;
    width: 400px;
    height: 100%;
    top: 63%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgb(40, 56, 72);
    user-select: none;
    border-radius: 0%;
  }

  #money {
    position: absolute;
    width: 400px;
    height: 5.9%;
    top: 0%;
    left: 50%;
    transform: translateX(-50%);
  }

  #bet_amount {
    position: absolute;
    color: white;
    font-size: 150%;
    top: 0%;
    left: 3%;
    user-select: none;
  }

  #money_box {

    font-size: 100%;

    width: 25%;
    height: 90%;
    top: 5.8%;
    left: 45%;
  }

  #balance {
    width: 51%;
    height: 3.8%;
    top: 5%;
    top: 3.5%;
    font-size: 138%;
  }

  #decrementButton {
    font-size: 77%;
    width: 15%;
    height: 7%;
    top: 3%;
    left: 65.8%;
    border: 1px solid rgba(44, 43, 43, 0.224);
  }

  #add-ball {
    width: 94% !important;
    height: 8% !important;
    top: 17.9% !important;
    left: 3% !important;
    font-size: 100% !important;
  }

  #add-ball2,
  #add-ball3 {
    width: 94%;
    height: 8%;
    top: 17.9% !important;
    left: 3% !important;
    font-size: 100%;
  }

  #auto_view {
    position: absolute;
    top: 13%;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0 0 10px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
    z-index: 0;
  }

  #manual_auto {
    width: 98%;
    height: 10%;
    left: 1%;
    top: 26.8%;
    z-index: 1;
  }

  #incrementButton {
    font-size: 77%;
    width: 15%;
    height: 7%;
    top: 3%;
    left: 83%;
    border: 1px solid rgba(44, 43, 43, 0.224);
  }

  #show {
    background-color: #00000000;
  }

  #wheel {
    position: relative;
    width: 50%;
    height: 50%;
  }

  #clear {
    top: 10% !important;
  }

  #set_bet {
    top: 10% !important;
  }

  #circle {
    position: absolute;
    top: -4%;
    left: -1%;
    width: 61%;
    height: 95%;
    border: black solid 7px;
    background-color: rgba(0, 0, 0, 0);
    border-radius: 50%;
  }

  #spin {
    font-size: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 17%;
    left: 11.5%;
    width: 41%;
    height: 64%;
    border-radius: 50%;
    transition: 0.8s;
  }

  #spin_the_wheel {
    position: absolute;
    top: 23%;
    left: 34%;
    transform: translate(-50%, -50%);
  }

  #wheel {
    position: relative;
    width: 63%;
    height: 50%;
  }

  #valueBox {
    z-index: 2;
  }

  #value {
    width: 13.5%;
    left: 45.5%;
    FONT-SIZE: 207%;
  }

  img {
    width: 10px !important;
    height: 10px !important;
  }

  .allbox {
    font-size: 13px;
    height: 95%
  }

  #valueBox3 {
    top: 17%;
    width: 24%;
    height: 10%;
    left: 38%;
  }

  /* Mobile: Multiplier display */
  #inside2 {
    font-size: 1.2em !important;
    top: 28% !important;
  }

  /* Mobile: Profit amount display */
  #inside {
    font-size: 0.95em !important;
    top: 68% !important;
    padding: 4px 8px !important;
  }

  .boxs2 {
    font-size: 10px;
  }
}

@media (max-width: 400px) {
  #multiplier-display {
    left: 25%;
  }

  #valueBox4 {
    top: 8.5% !important;
    left: 2.4% !important;
    width: 39% !important;
    height: 18% !important;
  }

  #valueBox2 {
    top: 30% !important;
    left: 3% !important;
    width: 95% !important;
    height: 29% !important;
  }

  .output-item {
    min-width: 23px;
    height: 43%;
    font-size: 97%;
  }

  .allbox.green {
    top: 29.5%;
  }

  #multiplierP {
    top: 8%;
  }

  #multiplier {
    top: 13.98%;
  }

  #conves {
    width: 98%;
    height: 57%;
    top: 6.02%;
    left: 50%;
    transform: translateX(-50%);
  }

  #boxs {
    position: absolute;
    top: 21%;
    left: 7%;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 2px;
    width: 90%;
    height: 49%;
    padding: 1%;
    border: black solid 0px;
    cursor: pointer;
    user-select: none;
  }

  #box {
    position: absolute;
    width: 98%;
    height: 100%;
    top: 63%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgb(40, 56, 72);
    user-select: none;
    border-radius: 0%;
  }

  #money {
    position: absolute;
    width: 98%;
    height: 5.9%;
    top: 0%;
    left: 50%;
    transform: translateX(-50%);
  }

  #bet_amount {
    position: absolute;
    color: white;
    font-size: 150%;
    top: 0%;
    left: 3%;
    user-select: none;
  }

  #money_box {

    font-size: 100%;

    width: 25%;
    height: 90%;
    top: 5.8%;
    left: 45%;
  }

  #balance {
    width: 51%;
    height: 3.8%;
    top: 5%;
    top: 3.5%;
    font-size: 138%;
  }

  #decrementButton {
    font-size: 77%;
    width: 15%;
    height: 7%;
    top: 3%;
    left: 65.8%;
    border: 1px solid rgba(44, 43, 43, 0.224);
  }

  #add-ball {
    width: 94% !important;
    height: 8% !important;
    top: 17.9% !important;
    left: 3% !important;
    font-size: 100% !important;
  }

  #add-ball2,
  #add-ball3 {
    width: 94%;
    height: 8%;
    top: 17.9% !important;
    left: 3% !important;
    font-size: 100%;
  }

  #auto_view {
    position: absolute;
    top: 13%;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0 0 10px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
    z-index: 0;
  }

  #manual_auto {
    width: 98%;
    height: 10%;
    left: 1%;
    top: 26.8%;
    z-index: 1;
  }

  #incrementButton {
    font-size: 77%;
    width: 15%;
    height: 7%;
    top: 3%;
    left: 83%;
    border: 1px solid rgba(44, 43, 43, 0.224);
  }

  #show {
    background-color: #00000000;
  }

  #wheel {
    position: relative;
    width: 50%;
    height: 50%;
  }

  #clear {
    top: 10% !important;
  }

  #set_bet {
    top: 10% !important;
  }

  #circle {
    position: absolute;
    top: -4%;
    left: -1%;
    width: 61%;
    height: 95%;
    border: black solid 7px;
    background-color: rgba(0, 0, 0, 0);
    border-radius: 50%;
  }

  #spin {
    font-size: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 17%;
    left: 11.5%;
    width: 41%;
    height: 64%;
    border-radius: 50%;
    transition: 0.8s;
  }

  #spin_the_wheel {
    position: absolute;
    top: 23%;
    left: 34%;
    transform: translate(-50%, -50%);
  }

  #wheel {
    position: relative;
    width: 63%;
    height: 50%;
  }

  #valueBox {
    z-index: 2;
  }

  #value {
    width: 13.5%;
    left: 45.5%;
  }

  img {
    width: 10px !important;
    height: 10px !important;
  }

  .allbox {
    font-size: 13px;
    height: 95%
  }

  #valueBox3 {
    top: 17%;
    width: 24%;
    height: 10%;
    left: 38%;
  }

  /* Mobile small: Multiplier display */
  #inside2 {
    font-size: 1em !important;
    top: 25% !important;
  }

  /* Mobile small: Profit amount display */
  #inside {
    font-size: 0.85em !important;
    top: 70% !important;
    padding: 3px 6px !important;
  }

  .boxs2 {
    font-size: 10px;
  }
}