#modal-termo-login.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    overflow: hidden;
}

#modal-termo-login .modal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

#modal-termo-login .modal-header {
    padding: 20px;
    border-bottom: 1px solid #ddd;
    background: #f8f9fa;
    border-radius: 8px 8px 0 0;
    flex-shrink: 0;
}

#modal-termo-login .modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

#modal-termo-login .modal-body {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#modal-termo-login .termo-texto {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

#modal-termo-login .modal-footer {
    padding: 20px;
    border-top: 1px solid #ddd;
    background: #f8f9fa;
    border-radius: 0 0 8px 8px;
    flex-shrink: 0;
}

#modal-termo-login .aceite-area {
    margin-bottom: 15px;
}

#modal-termo-login .aceite-area label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
}

#modal-termo-login .aceite-area input[type="checkbox"] {
    margin-right: 8px;
}

#modal-termo-login .botoes {
    text-align: right;
}

#modal-termo-login .botao {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

#modal-termo-login .botao.principal {
    background-color: #00BCFF;
    color: white;
}

#modal-termo-login .botao.principal:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

#modal-termo-login .botao.principal:not(:disabled):hover {
    background-color: #009EE3;
}

@media (max-width: 768px) {
    #modal-termo-login .modal-container {
        width: 95%;
        max-height: 90vh;
    }
    
    #modal-termo-login .modal-header,
    #modal-termo-login .modal-footer {
        padding: 15px;
    }
    
    #modal-termo-login .termo-texto {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    #modal-termo-login .modal-container {
        width: 98%;
        max-height: 95vh;
    }
    
    #modal-termo-login .modal-header h3 {
        font-size: 14px;
    }
    
    #modal-termo-login .termo-texto {
        font-size: 13px;
    }
    
    #modal-termo-login .botao {
        padding: 8px 16px;
        font-size: 13px;
    }
}
