.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    position: relative;
    width: 80%;
    max-width: 800px;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 0px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

#termos-modal .modal-content {
    width: 350px;
}

div#termos-modal img, div#termos-completo-modal img {
    width: 100px;
    margin: 20px auto;
}

div#termos-modal p {
    width: 300px;
    text-align: justify;
    margin: 10px auto;
}

div#termos-modal p a {
    color: var(--btn-color);
    cursor: pointer;
}

a#termos-completo-btn:hover {
    color: #103b75;
}

div#termos-completo-modal p {
    text-align: justify;
    margin: 10px auto;
}

.modal-text {
    position: relative;
    max-width: 90%;
    max-height: 60vh;
    margin: 20px auto;
    overflow: auto;
    padding-right: 15px;
}

#negar-termos {
    border: solid 1px #4589ff;
    background-color: transparent;
    color: #4589ff;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
}

#negar-termos.go-button:hover, #negar-termos.btn-icon-text:hover {
    background: #b8d2ff;
    text-decoration: none;
}

#close-termos {
    margin-left: 10px;
    background-color: #4589ff;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    color: #FFF;
}

#close-termos.go-button:hover, #close-termos.btn-icon-text:hover {
    background: #5c98ff;
    text-decoration: none;
}

#close-termos.disabled, #close-termos-completo.disabled {
    pointer-events: none;   /* Evita cliques */
    background-color: gray; /* Muda a cor para indicar que está desabilitado */
    cursor: default;        /* Muda o cursor para não mostrar que é clicável */
    text-decoration: none;  /* Remove o sublinhado */
}