
#itemsList {
    margin-top: 20px;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 4px;
}

#itemsList ul {
    list-style: none;
    padding: 0;
}

#itemsList li {
    margin-bottom: 5px;
}

#wheelContainer {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

#wheel {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 2px solid #333;
    position: relative;
}

#canvas {
    width: 100%;
    height: 100%;
    transform-origin: center center;
}

#spinButton {
    position: absolute;
    top: 100%;
    left: 80%;
    transform: translate(-50%, -50%);
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 8px;
    z-index: 10;
    display: none;
}

#result {
    margin-top: 20px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

#arrow {
    position: absolute;
    top: 43%;
    left: 100%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-right: 40px solid rgb(0, 0, 0);
    z-index: 11;
}

.punto {
    position: absolute;
    top: 43.4%;
    left: 43%;
    padding: 20px;
    border-radius: 100%;
    border: 3px black solid;
    background-color: rgb(255, 255, 255);
}

.logo_rul {
    position: absolute;
    top: 41%;
    left: 41.5%;
    padding: 0px;
    border-radius: 100%;
    background-color: rgb(255, 255, 255);
    border: 2px black solid;
}

.reward-item {
    color: #28a745;
}

.loss-item {
    color: #dc3545;
}
/* 
.wheel-float-container {
    position: fixed;
    top: 20px;      
    right: 20px;     
    z-index: 9999;  
    background-color: rgba(248, 249, 250, 0.9);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.wheel-float-container .close-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #6c757d;
}

@media (max-width: 768px) {
    .wheel-float-container {
        width: 90%;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
} */

/* Overlay that covers entire screen */
.wheel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(253, 249, 249, 0.9);
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    padding-bottom: 50px;
    z-index: 9999;
  }

  .wheel-title {
    position: fixed;
    top: 20px;
  }
  
  /* Wrapper for centering */
  .wheel-wrapper {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
  }
  
  /* Close button */
  .wheel-close-btn {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
  }