body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #000000;
}

#resultOverlay {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.99);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000; /* Ensure it's on top */
  color: white;
  text-align: center;
  padding: 20px;
}

.container {
  text-align: center;
  position: relative;
}

/* Ikona ustawień */
.settings-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 32px;
  cursor: pointer;
  color: #ffffff;
  z-index: 1001;
}

/* Nakładka ustawień */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 1);
  display: none;
  /* justify-content: center;
  align-items: center; */
  z-index: 1000;
}

.overlay-content {
  /* background-color: #222; */
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  color: #fff;
  overflow-y: auto;
  /* max-height: 80%; */
}

.overlay-content h2 {
  margin-top: 0;
  text-align: center;
}

.overlay-content button {
  margin: 10px 5px;
}

.settings-buttons {
  text-align: center;
}

#closeSettings {
  background-color: #ff0000;
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
}

/* #saveSettings {
  background-color: #00ff00;
  color: #000;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
} */

.tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.tablink {
  background-color: #242424;
  color: #fff;
  padding: 10px 20px;
  cursor: pointer;
  border: none;
  outline: none;
  margin: 0 5px;
  border-radius: 100px;
}

.tablink.active {
  background-color: #888;
}

.tabcontent {
  display: none;
}

.tabcontent.active {
  display: block;
}

.input-row {
  /* display: flex;
  align-items: center; */
  margin-bottom: 10px;
}

.input-row input {
  flex: 1;
  padding: 5px;
  margin-right: 5px;
}

.input-row button {
  padding: 5px 10px;
  cursor: pointer;
}

.wheel {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  border: 0px solid #333;
  transition: transform 7s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.center {
  width: 25px;
  height: 25px;
  background: rgb(0,0,0);
  background: radial-gradient(circle, rgba(0,0,0,1) 0%, rgba(40,40,40,1) 50%, rgba(0,0,0,1) 100%);
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1000;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); /* Subtle shadow for 3D effect */
}

.center-large{
  width: 250px;
  height: 250px;
  position: absolute;
  /* background: rgba(255, 255, 255, 0); */
  /* background: radial-gradient(circle, rgba(149,26,26,0.5046393557422969) 0%, rgba(40,40,40,0.25) 50%, rgba(255,255,255,0) 100%);   */
  
  /* background: radial-gradient(circle, rgba(255,209,0,0.5046393557422969) 0%, rgba(255,179,0,0.25) 50%, rgba(255,255,255,0) 100%); */
  top: 50%;
  left: 50%;
  z-index: 1000;
  border-radius: 50%;
  transform: translate(-50%, -50%);

}


.segment {
  position: absolute;
  width: 50%;
  height: 50%;
  transform-origin: 100% 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  border: 1px solid black;
}

.segment span {
  transform: skew(-45deg) rotate(-55.5deg);
  padding-top: 65%;
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 1);
}

button {
  height: 60px;
  padding: 0 20px;
  font-size: 18px;
  cursor: pointer;
  border: none;
  background-color: #00ff08;
  color: rgb(0, 0, 0);
  position: fixed;
  bottom: 35px;
  left: 0;
  right: 0;
  overflow: hidden;
  margin: 0px 55px;
  border-radius: 100px;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

button:focus,
button:active {
  outline: none;
  border-radius: 100px;
}

.close {
  font-size: 36px;
  cursor: pointer;
  border: none;
  background-color: #00ff08;
  color: rgb(0, 0, 0);
  position: fixed;
  bottom: 65px;
  left: 0;
  right: 0;
  overflow: hidden;
  width: 45px;
  height: 45px;
  line-height: 45px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 100px;
}

.button-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background-color: rgba(255, 255, 255, 0.3);
  transition: width 0.1s linear;
  border-radius: inherit;
}

.button-text {
  position: relative;
  z-index: 1;
}

#spin-progress {
  width: 0;
  height: 5px;
  background-color: #ffd700;
  position: absolute;
  bottom: 60px;
  left: 0;
  transition: width 0.1s linear;
}

#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 100;
}

.pointer {
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 40px solid red;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  transform-origin: 50% 0%;
  z-index: 10;
}

.pointer::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 24px solid transparent;
  border-right: 20px solid transparent;
  border-top: 48px solid rgba(0, 0, 0, 0.3); /* półprzezroczysty cień */
  position: absolute;
  top: -40px; /* regulacja położenia cienia */
  left: 2px;
  transform: translateX(-50%);
  /* transform-origin: 50% -50%; */
  z-index: 9; /* cień pod elementem */
}

.pointer-tilt {
  animation: pointer-tilt 0.2s ease-out;
}

@keyframes pointer-tilt {
  0% {
    transform: translateX(-50%) rotate(0deg);
  }
  50% {
    transform: translateX(-50%) rotate(-15deg);
  }
  100% {
    transform: translateX(-50%) rotate(0deg);
  }
}



.item-container input {
  width: 100%;
  margin-bottom: 5px;
  background-color: #191919;
  color: white;
  border-radius: 5px;
  border: 0px solid #515151;
}

.item-container input {
  width: 100%;
  padding: 5px;
  margin-bottom: 5px;
}

.item-container button {
  padding: 5px 10px;
  cursor: pointer;
}

#nagrodyList hr,
#motywatoryList hr {
  border: none;
  border-top: 0px solid #555;
  margin: 10px 0;
}


.glow {
  filter: brightness(1.2);
  box-shadow: 0 0 15px 5px rgba(255, 255, 255, 0.2);
}

#addNagroda, #addMotywator {
  background-color: #00ff08;
  color: rgb(0, 0, 0);
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 100px;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  margin-bottom:65px;
}

.nagroda{
  font-size: 2.5rem;
  padding: 35px;
  text-align: left;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-weight: 600;
}

.podpis{
  font-size: 1.5rem;
  padding: 35px;
  text-align: left;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-weight: 600;
}