/* Caixa do formulário */
.form-box {
    background: #fff3f3;
    padding: 30px;
    width: fit-content;
    border-radius: 25px;
    border: 2px solid #7a1b1b;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 366px;
    width: 730px;
}

.form-doacao{
    width: auto;
}

.group-inline{
    display: flex;
    gap: 32px;
}

.group-inline .form-group{
    width: 50%;
}

.form-box label{
    display: block;
    text-align: left;
}

/* Inputs */
.form-box input,
.form-box select,
.form-box textarea{
    padding: 12px;
    border-radius: 15px;
    border: none;
    outline: none;
    background: #fff;
    font-size: 14px;
    transition: 0.2s;
    width: 100%;
    margin-top: 8px;
}

.form-box input:focus,
.form-box select:focus,
.form-box textarea:focus{
    background: #ffffff;
    box-shadow: 0 0 5px rgba(122, 27, 27, 0.4);
}

.g-recaptcha{
    margin-inline: auto;
}

/* Botão enviar */
.btn-enviar {
    margin-top: 10px;
    padding: 12px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: white;
    background-color: #7a1b1b;
    transition: 0.3s;
    width: 100%;
}

.btn-enviar:hover {
    background-color: #5e1111;
}

/* Container geral */
.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

/* Imagem */
.form-img {
    width: 370px;
    max-width: 100%;
}

/*Popup mensagem*/
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.popup {
    background: #ffffff;
    padding: 24px;
    max-width: 400px;
    width: 90%;
    border-radius: 6px;
    text-align: center;
    font-family: Arial, sans-serif;
}

.popup h2 {
    margin-bottom: 12px;
    font-size: 18px;
}

.popup p {
    font-size: 14px;
    margin-bottom: 20px;
}

.popup .btn {
    display: inline-block;
    padding: 10px 16px;
    background: #4CAF50;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    border: 0;
    margin: 0;
}

form .erro {
    color: red;
    font-size: 13px;
    margin-left: 8px;
}
