/* WPForms fixes */
/* Initial field looks */
.wpforms-container input[type=date],
.wpforms-container input[type=datetime],
.wpforms-container input[type=datetime-local],
.wpforms-container input[type=email],
.wpforms-container input[type=month],
.wpforms-container input[type=number],
.wpforms-container input[type=password],
.wpforms-container input[type=range],
.wpforms-container input[type=search],
.wpforms-container input[type=tel],
.wpforms-container input[type=text],
.wpforms-container input[type=time],
.wpforms-container input[type=url],
.wpforms-container input[type=week],
.wpforms-container select,
.wpforms-container textarea {
    background: #fff;
    border-width: 0 0 1px 0;
    color: var(--ast-global-color-2);
    opacity: 0.5;
}
/* On focus */
.wpforms-container input:focus,
.wpforms-container select:focus,
.wpforms-container textarea:focus {
    outline: none;
    opacity: 1;
    border-color: var(--ast-global-color-0);
}
/* Don't allow resizing the Message box */
.wpforms-container textarea {
    resize: none;
}
/* Message box fixed height */
.wpforms-container .wpforms-field-textarea textarea.wpforms-field-medium {
    height: 136px;
}
/* Button size & font size */
.wpforms-container button {
    padding: 15px 34px;
    font-size: 15px;
}
/* WPForms done */
/* Footer 2 big columns on sides and 1 small one in the middle */
.ast-builder-grid-row-3-equal .ast-builder-grid-row {
    grid-template-columns: 3fr 1fr 3fr;
}
/* Cambiar fondo y texto del campo de mensaje en WPForms */
.wpforms-form textarea {
    background-color: #ffffff;  /* Cambia al color de fondo deseado */
    color: #000000;             /* Cambia al color del texto */
    font-family: 'Comfortaa', sans-serif; /* Tipografía personalizada si la usas */
}

/* Cambiar color del placeholder */
.wpforms-form textarea::placeholder {
    color: #777777;
}
@media (max-width: 768px) {
  .wpforms-form input,
  .wpforms-form textarea,
  .wpforms-form select {
    font-size: 16px;
    padding: 12px;
    width: 100% !important;
    box-sizing: border-box;
  }

  .wpforms-form button {
    font-size: 16px;
    padding: 14px 20px;
    width: 100%;
  }

  .wpforms-field {
    margin-bottom: 20px;
  }
}
