.popup_newsletter_roda{
    position: fixed;
    top: 50%;
    left: 50%;
    background: #287fbb;
    z-index: 999999;
    transform: translate(-50%, -50%);
    max-height: 100vh;
    max-width: 95vw;
    overflow: hidden;
    border-radius: 20px;
    width: 700px;
    box-shadow: 0px 0px 11px #043462;

    h2{
        font-size: 25px;
        font-family: "Raleway";
        position: relative;
        /* text-transform: uppercase; */
        text-align: center;
        color: #fff;
        margin: 30px auto 0 auto;

        @media screen and (max-width: 992px){
            &{
                font-size: 20px;
            }
        }
    }
    .descricao{
        font-size: 14px;
        font-family: "Raleway";
        position: relative;
        /* text-transform: uppercase; */
        text-align: center;
        color: #fff;
        margin: 10px auto 20px auto;
    }
    .main-container {
        width: 100%;
        margin: 0 auto;
        max-height: 100vh;
        overflow: auto;
        border-radius: 20px;
        padding: 50px;

        .cabecalho{
            position: absolute;
            top: 30px;
            right: 30px;
            width: 30px;
            height: 30px;
            background: rgb(255 255 255 / 30%);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 20px;
            color: #fff;
        }

        /* width */
        &::-webkit-scrollbar {
            width: 10px;
        }

        &::-webkit-scrollbar:horizontal {
            height: 5px;
        }

        /* Track */
        &::-webkit-scrollbar-track {
            background: #f1f1f1;
        }

        /* Handle */
        &::-webkit-scrollbar-thumb {
            background: #000;
        }


        @media screen and (max-width: 992px){
            &{
                padding: 30px;
            }
        }

    }
    .content-wrapper {
        width: 100%;
    }

    .left-section,
    .right-section {
        max-width: 450px;
        margin: 0 auto;
    }

    .wheel-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        width: 100%;
    }

    .wheel-container {
        position: relative;
        width: 400px;
        height: 400px;
        aspect-ratio: 1;

        &:after{
            content: '';
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: #fff;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%,-50%);
            -moz-transform: translate(-50%,-50%);
            -webkit-transform: translate(-50%,-50%);
        }
        &:before{
            content: '';
            width: 20px;
            height: 9%;
            background: #fff;
            position: absolute;
            right: -16px;
            top: 50%;
            transform: translateY(-50%);
            -moz-transform: translateY(-50%);
            -webkit-transform: translateY(-50%);
        }
    }

    #wheelCanvas {
        width: 100%;
        height: 100%;
        border: 4px solid #fff;
        border-radius: 50%;
        background-color: #fff;
        cursor: pointer;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
        transition: transform 0.3s ease;
    }

    form{
        width: 100%;
        .single_input{
            margin-bottom: 10px;
            .input{
                width: 100%;
                padding: 10px 20px;
                font-size: 16px;
                color: #000;
                background: #fff;
                border: none;
                border-radius: 10px;
            }
            &.rgpd{
                label, a{
                    color: #191919;
                }
            }
            &.rgpd label .checkbox {
                border: 1px solid #191919;
            }
        }
    }
    /*#wheelCanvas:hover {
        transform: scale(1.02);
    }*/

    #spinButton {
        padding: 0.8rem 1.5rem;
        background: #003461;
        color: #fff;
        border: none;
        border-radius: 10px;
        cursor: pointer;
        transition: all 0.3s ease;
        text-transform: uppercase;
        width: 100%;
        outline: none;
    }
    .nao_girar{
        text-align: center;
        span{
            cursor: pointer;
            display: inline-block;
            font-weight: 500;
        }
    }

    #spinButton:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 52, 97, 0.6);
    }

    #result {
        width: 100%;
        min-height: 100px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-size: 1rem;
        font-weight: 600;
        text-align: center;
        color: #fff;
        opacity: 0;
        transform: translateY(20px) scale(0.9);
        transition: all 0.8s cubic-bezier(0.17, 0.67, 0.29, 1.01);
        padding: 1.5rem;
        border-radius: 20px;
        background: rgba(0, 0, 0, 0.4);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        border: 2px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }

    #result.show {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    .result-content {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.8rem;
    }

    .result-dot {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        display: inline-block;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        border: 2px solid rgba(255, 255, 255, 0.3);
    }

    @media (max-width: 900px) {
        body {
            padding: 1rem;
            height: auto;
        }

        .main-container {
            gap: 2rem;
        }

        .content-wrapper {
            flex-direction: column;
            min-height: unset;
            gap: 2rem;
        }

        .left-section,
        .right-section {
            width: 100%;
            max-width: 500px;
            gap: 1.5rem;
        }

        .wheel-container {
            width: min(350px, 80vw);
            height: min(350px, 80vw);
        }
    }

    @media (max-width: 480px) {
        body {
            padding: 0.5rem;
        }

        .main-container {
            gap: 1.5rem;
        }

        .content-wrapper {
            gap: 1.5rem;
        }

        .wheel-container {
            width: min(300px, 85vw);
            height: min(300px, 85vw);
        }

        .input-group {
            flex-direction: column;
        }

        .input-container {
            padding: 1rem;
        }

        #spinButton,
        .input-container button {
            width: 100%;
            max-width: none;
        }

        #spinButton {
            margin-top: 0.5rem;
        }
    }

    @media (max-height: 800px) {

        .wheel-container {
            width: 300px;
            height: 300px;
        }
    }
}