
.roulette-modal-body-open {
    overflow: hidden;
}

.roulette {
    font-family: 'Work Sans', sans-serif;
    display: block;
    position: absolute;
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    margin-top: -200px;
    margin-left: -200px;
}

.roulette.android {
    transform: scale(0.75);
}

.roulette.android .button {
    line-height: 7em;
}

.roulette .shadow {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    box-shadow: 0 0.3em 0 rgba(0, 0, 0, 0.25) inset;
}

.roulette .markers {
    display: block;
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    overflow: hidden;
    border-radius: 100%;
}

.roulette .markers .marker {
    position: absolute;
    width: 0;
    height: 0;
    top: -200px;
    left: 200px;
    transform-origin: 0% 400px;
    border: 0 solid transparent;
}

.roulette .markers .triangle {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 1em 0 1em 1em;
    border-color: transparent transparent transparent #007bff;
    position: absolute;
    border-left-color: #FFF;
    top: 50%;
    left: -1px;
    margin-top: -1em;
    filter: drop-shadow(0 0.25em 0 rgba(0, 0, 0, 0.25));
}

.roulette .spinner {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    overflow: hidden;
    transform: rotateZ(0deg);
    backface-visibility: hidden;
}

.roulette .spinner .item {
    position: absolute;
    width: 0;
    height: 0;
    top: -200px;
    left: 200px;
    transform-origin: 0% 400px;
    border: 0 solid transparent;
}

.roulette .spinner .item .label {
    display: block;
    position: absolute;
    color: #FFF;
    font-weight: 800;
    top: 0;
    left: 0;
    white-space: nowrap;
    transform-origin: 0 0;
    font-size: 0.7em;
}

.roulette .spinner .item .label i,
.roulette .spinner .item .label .text {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
    font-size: 0.8em;
    text-indent: 0;
}

.roulette .spinner .item .label i {
    margin-right: 0.1em;
}

.roulette .button {
    width: 7em;
    height: 7em;
    line-height: 10em;
    top: 50%;
    left: 50%;
    margin-left: -3.5em;
    margin-top: -3.5em;
    font-weight: 800;
    z-index: 998;
    position: absolute;
    background: #FFF;
    border: none;
    border-radius: 100%;
    color: #999;
    outline: none;
    cursor: pointer;
    user-select: none;
    box-shadow: 0 0.4em 0 rgba(0, 0, 0, 0.25);
    text-align: center;
    transition: transform 0.15s;
    transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.roulette .button:hover {
    color: inherit;
}

.roulette .button span {
    font-size: 1em;
    letter-spacing: -0.05em;
}

.roulette.busy .button {
    transform: scale(0.9);
    box-shadow: 0 0.15em 0 rgba(0, 0, 0, 0.25);
    color: #999;
    cursor: default;
}

/* Custom Labels */
.roulette .spinner .item[data-type="quiz"] .label {
    font-size: 1em;
}

.roulette .spinner .item[data-type="question"] .label {
    font-size: 1em;
    font-weight: 600;
}

.roulette .spinner .item[data-type="replay"] .label .text {
    font-size: 0.6em;
    white-space: initial;
    width: 1em;
    text-align: center;
    line-height: 1.2;
}

.roulette .spinner .item[data-type="replay"] .label i {
    font-size: 1.5em;
}

.roulette .spinner .item[data-type="time"] .label i {
    font-size: 1.5em;
}

/* Estilos do Modal */
#modal {
    display: none;
    /* inicia oculto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;

    justify-content: center;
    align-items: center;
}

#modalContent {
    position: relative;
    width: 400px;
    height: 400px;
}

#closeModal {
    position: absolute;
    top: 0;
    right: -50px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

@media (max-width: 767px) {
    #closeModal {
        right: 10px;
        top: -40px;
    }
}

/* Área para exibir o resultado abaixo da roleta */
#result {
    position: absolute;
    bottom: -75px; /* Positioned below the roulette */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 1.5em;
    color: #FFF;
    z-index: 10000;
    background: linear-gradient(45deg, #3f297e, #1d61ac);
    border-radius: 20px;
    padding: 15px 30px;
    min-height: 25px;
    white-space: nowrap;
    box-shadow: 0 0 15px rgba(128, 0, 128, 0.8);
}

#notification {
    display: none;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #3f297e;
    color: white;
    padding: 15px;
    border-radius: 5px;
    z-index: 10001;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

@media (min-width: 768px) {
    .roulette {
        width: 500px;
        height: 500px;
        margin-top: -250px;
        margin-left: -250px;
    }

    .roulette .markers .marker,
    .roulette .spinner .item {
        top: -250px;
        left: 250px;
        transform-origin: 0% 500px;
    }

    .roulette .button {
        width: 9em;
        height: 9em;
        line-height: 9em;
        margin-left: -4.5em;
        margin-top: -4.5em;
    }
}