/* smp_contacto.css */

#wpforms-130 {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.wpforms-field-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
}

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

.wpforms-one-half {
  width: calc(50% - 10px);
}

.wpforms-one-third {
  width: calc(33.33% - 10px);
}

.wpforms-field-label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.wpforms-required-label {
  color: #e74c3c;
  margin-left: 3px;
}

.wpforms-field-medium,
.wpforms-field-small,
.wpforms-field-large {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

.wpforms-field-medium:focus,
.wpforms-field-small:focus,
.wpforms-field-large:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

textarea.wpforms-field-small {
  min-height: 100px;
  resize: vertical;
}

.wpforms-field-description {
  font-size: 12px;
  color: #666;
  margin-top: 8px;
}

.wpforms-submit-container {
  margin-top: 20px;
}

.wpforms-submit {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 12px 30px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.wpforms-submit:hover {
  background-color: #0056b3;
}

.wpforms-submit:disabled {
  background-color: #6c757d;
  cursor: not-allowed;
}

/* Checkbox styling */
input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  margin-right: 8px;
}

.wpforms-field-label-inline {
  display: inline;
  font-weight: normal;
}

/* Alert messages */
.alert {
  text-align: center;
  padding: 20px;
  border-radius: 4px;
  font-size: 16px;
  margin: 20px 0;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Campo Nombre - ancho completo en primera fila */
#wpforms-130-field_0-container {
  width: calc(50% - 10px);
}

/* Campo Email - ancho completo en primera fila */
#wpforms-130-field_1-container {
  width: calc(50% - 10px);
}

/* Campo Teléfono - mismo ancho que los campos de arriba */
#wpforms-130-field_tel-container {
  width: 100%;
}

/* Campo Mensaje - ancho completo */
#wpforms-130-field_2-container {
  width: 100%;
}

/* Campo Legal - ancho completo */
#wpforms-130-field_legal-container {
  width: 100%;
}

/* Estilos para el texto blanco (cuando se usa en fondos oscuros) */
.texto_blanco {
  color: inherit;
}

.texto_blanco a {
  color: #007bff;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .wpforms-one-half,
  .wpforms-one-third {
    width: 100%;
  }

  #wpforms-130-field_0-container,
  #wpforms-130-field_1-container,
  #wpforms-130-field_tel-container {
    width: 100%;
  }
}

/* Hide honeypot field completely */
.wpforms-field-container1 {
  display: none !important;
  visibility: hidden !important;
  position: absolute;
  left: -9999px;
}

/* Estilos para página específica si se requiere texto blanco */
.page-id-1338139 .wpforms-field-label,
.page-id-1338139 .wpforms-field-label-inline,
.page-id-1338139 .wpforms-field-description,
.page-id-1338139 .wpforms-required-label,
.page-id-1338139 .texto_blanco {
  color: #ffffff !important;
}

.page-id-1338139 a {
  color: #ffffff !important;
  text-decoration: underline;
}