:root {
    --primary-color: #007bff; /* Change to your desired primary color */
    --text-color: #ffffff; /* Change to your desired text color */
}

/* Center everything on the page */
.spin-to-win-wheel-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
}

.spin-to-win-wheel-form {
    margin-bottom: 20px;
    width: 100%;
    max-width: 400px;
}

.spin-to-win-wheel-form input,
.spin-to-win-wheel-form button {
    display: block;
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    box-sizing: border-box;
    font-size: 16px;
}

.spin-to-win-wheel-button {
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 10px;
    margin-top: 10px;
    text-align: center;
    border-radius: 5px;
}

.spin-to-win-wheel-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px; /* Set a maximum width */
    max-height: 600px; /* Set a maximum height */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.spin-to-win-wheel-canvas {
    width: 100%; /* Ensure it fills the wrapper */
    height: auto; /* Maintain aspect ratio */
    border-radius: 50%; /* Make it round */
}

.spin-to-win-wheel-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    border-radius: 50%;
}

.spin-to-win-wheel-pointer {
    position: absolute;
    top: -30px; /* Adjust this value to move the pointer down */
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
}

@media (max-width: 768px) {
    .spin-to-win-wheel-wrapper {
        width: 100%;
        max-width: 450px; /* Smaller width for mobile */
        max-height: 450px; /* Smaller height for mobile */
    }

    .spin-to-win-wheel-canvas {
        width: 100%;
        height: auto;
    }

    .spin-to-win-wheel-logo {
        width: 100px; /* Smaller logo for mobile */
        height: 100px; /* Smaller logo for mobile */
    }

    .spin-to-win-wheel-pointer {
        top: -28px; /* Adjust this value for mobile pointer position */
        left: calc(50%); /* Move right for mobile */
    }

    .spin-to-win-wheel-form input,
    .spin-to-win-wheel-form button {
        font-size: 14px; /* Slightly smaller font for mobile */
    }
}
