/* Reduzir o espaço vertical entre as linhas de campos */
.wpforms-container .wpforms-field {
    padding: 10px 0 !important;
    margin-bottom: 0 !important;
}

/* Reduzir o espaço horizontal entre as colunas */
@media only screen and (min-width: 600px) {
    .wpforms-field.wpforms-one-third {
        margin-left: 2% !important; /* Diminui o espaço entre colunas */
        width: 32% !important;     /* Ajusta a largura para compensar */
    }
    
    .wpforms-field.wpforms-first {
        margin-left: 0 !important;
    }
}

/* Estilizar os inputs para ficarem mais finos e modernos */
.wpforms-container input[type="text"],
.wpforms-container input[type="email"],
.wpforms-container input[type="tel"],
.wpforms-container select {
    background-color: #fff !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    padding: 8px 12px !important;
    height: auto !important;
}

/* Ajustar o botão enviar */
.wpforms-submit-container {
    padding-top: 10px !important;
}

/* FUNDO ESCURO */
#newsletter-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
}

/* CAIXA */
.modal-box {
  position: relative;
  max-width: 520px;
  margin: 8% auto;
  background: #fff;
  padding: 32px;
  border-radius: 10px;
  z-index: 2;
  font-family: sans-serif;
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}

/* BOTÃO FECHAR */
.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 20px;
  cursor: pointer;
  color: #666;
}

/* TÍTULO */
.modal-box h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
}

/* TEXTO */
.modal-box p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* INPUTS */
#newsletter-form input {
  width: 100%;
  padding: 14px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
}

/* FOCO IGUAL AO PRINT */
#newsletter-form input:focus {
  border-color: #000;
  outline: none;
}

/* BOTÃO */
#newsletter-form button {
  width: 100%;
  padding: 14px;
  background: #2e7d4f;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

#newsletter-form button:hover {
  background: #256a43;
}

/* MENSAGEM */
#form-message {
  margin-top: 10px;
  font-size: 13px;
}
