.modal_forms {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,.78);
}

.modal_forms .modal-content {
    background: #fff;
    max-width: 400px;
    margin: 10% auto;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,.2);
    position: relative;
}

.modal_forms .close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 26px;
    color: #555;
    cursor: pointer;
}

.modal_forms .close:hover {
    color: #000;
}

.modal_forms .modal-content h2 {
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: bold;
}

.modal_forms #listaErros p {
    background: #ffe6e6;
    color: #a30000;
    border-left: 2px solid #ff4d4d;
    padding: 10px;
    margin-bottom: 5px;
}

.modal_forms .sucesso h2 {
    color: #27ae60;
}

.modal_forms .sucesso p {
    font-size: 14px;
}