/* ========== FORMULARIO VENDER - ESTILO MINIMALISTA ========== */

.block-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.vender-page {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto !important;
  padding: 60px 20px !important;
  overflow-x: hidden;
}

/* Sección formulario */
.formulario-vender-section {
  background: transparent;
  padding: 0 !important;
  width: 100%;
}

.formulario-vender-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

/* Título con línea naranja */
.formulario-vender-wrapper h3 {
  font-size: 32px;
  font-weight: 700;
  color: #555151;
  margin: 0 0 15px 0;
  text-align: center;
  line-height: 1.4;
}

.formulario-vender-wrapper h3::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #e6764e;
  margin: 20px auto 50px;
}

/* Contenedor wpforms */
.wpforms-container {
  width: 100%;
}

.wpforms-field-container,
.wpforms-field-container1 {
  margin-bottom: 0;
}

.wpforms-field {
  margin-bottom: 30px;
  position: relative;
}

/* Labels */
.wpforms-field-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #555151;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.texto_blanco {
  color: #555151 !important;
}

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

/* Inputs - Estilo línea inferior */
.wpforms-field-medium,
.wpforms-field-large,
select.wpforms-field-medium,
textarea.wpforms-field-medium,
input[type="text"].wpforms-field-medium,
input[type="email"].wpforms-field-medium,
input[type="tel"].wpforms-field-medium,
input[type="number"].wpforms-field-medium {
  width: 100%;
  height: 50px;
  padding: 12px 0;
  border: none;
  border-bottom: 2px solid #e0e0e0;
  border-radius: 0;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
  box-sizing: border-box;
  background: transparent;
  color: #555151;
  line-height: 1.5;
}

/* Select con flecha personalizada naranja */
select.wpforms-field-medium {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23E6764E' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 5px center;
  background-color: transparent;
  padding-right: 30px;
}

/* Textarea */
textarea.wpforms-field-medium {
  min-height: 100px;
  height: auto;
  resize: vertical;
  padding-top: 12px;
  line-height: 1.6;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px;
  margin-top: 5px;
}

textarea.wpforms-field-medium:focus {
  border-color: #e6764e;
}

/* Focus states - Línea naranja */
.wpforms-field-medium:focus,
.wpforms-field-large:focus,
select.wpforms-field-medium:focus,
input[type="text"].wpforms-field-medium:focus,
input[type="email"].wpforms-field-medium:focus,
input[type="tel"].wpforms-field-medium:focus,
input[type="number"].wpforms-field-medium:focus {
  border-bottom-color: #e6764e;
  outline: none;
}

/* Placeholders */
.wpforms-field-medium::placeholder,
select.wpforms-field-medium::placeholder,
textarea.wpforms-field-medium::placeholder {
  color: #aaa;
  opacity: 1;
}

/* Grid responsive base */
.wpforms-one-half {
  width: 100%;
}

.wpforms-one-third {
  width: 100%;
}

.wpforms-one-fourth {
  width: 100%;
}

/* Grid desktop */
@media (min-width: 768px) {
  .wpforms-field-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px 40px;
  }

  .wpforms-one-half {
    grid-column: span 2;
  }

  .wpforms-one-third {
    grid-column: span 1;
  }

  .wpforms-one-fourth {
    grid-column: span 1;
  }

  #wpforms-119-field_20-container,
  #wpforms-119-field_34-container,
  #wpforms-119-field_35-container {
    grid-column: span 3;
  }

  #wpforms-119-field_33-container {
    grid-column: span 3;
  }

  #wpforms-119-field_40-container,
  #wpforms-119-field_41-container,
  #wpforms-119-field_42-container {
    grid-column: span 1;
  }
}

/* Checkboxes personalizados */
.wpforms-field-checkbox ul,
.wpforms-list-3-columns {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
}

.wpforms-field-checkbox li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wpforms-field-checkbox input[type="checkbox"] {
  width: 22px;
  height: 22px;
  cursor: pointer;
  accent-color: #e6764e;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
}

.wpforms-field-label-inline {
  font-size: 15px;
  color: #555151;
  cursor: pointer;
  user-select: none;
}

/* Field description */
.wpforms-field-description {
  font-size: 13px;
  color: #888;
  line-height: 1.7;
  margin-top: 15px;
  padding: 20px;
  background: #fafafa;
  border-left: 3px solid #e6764e;
  border-radius: 0 8px 8px 0;
}

/* Honeypot field */
.wpforms-field-hp {
  position: absolute !important;
  left: -9000px !important;
}

/* Submit button */
.wpforms-submit-container {
  margin-top: 50px;
  text-align: center;
}

.wpforms-submit , .elementor-button {
  display: inline-block;
  padding: 18px 70px;
  background-color: transparent !important;
  background-image: linear-gradient(
    180deg,
    #e6764e 0%,
    #e6764e 100%
  ) !important;
  color: #ffffff !important;
  border-radius: 55px !important;
  border: 2px solid #e6764e;
  font-weight: 100;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.wpforms-submit::before , .elementor-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  border: 2px solid linear-gradient(180deg, #e6764e 0%, #cc572d 86%) !important;
  background-color: transparent !important;
  background-image: linear-gradient(180deg, #e6764e 0%, #cc572d 86%) !important;
  color: #ffffff !important;
  transition: all 0.4s ease;
  z-index: -1;
}

.wpforms-submit:hover , .elementor-button:hover {
  border: 2px solid linear-gradient(180deg, #e6764e 0%, #cc572d 86%) !important;
  background-color: transparent !important;
  background-image: linear-gradient(180deg, #e6764e 0%, #cc572d 86%) !important;
}

.wpforms-submit:hover::before {
  left: 0;
}

.wpforms-submit:active {
  transform: scale(0.98);
}

/* Separador visual entre secciones */
#wpforms-119-field_33-container {
  padding-top: 20px;
  margin-top: 10px;
  border-top: 1px solid #f0f0f0;
}

#wpforms-119-field_35-container {
  padding-top: 30px;
  margin-top: 20px;
  border-top: 1px solid #f0f0f0;
}

/* Links dentro del formulario */
.formulario-vender-wrapper a {
  color: #e6764e;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.formulario-vender-wrapper a:hover {
  color: #555151;
  text-decoration: underline;
}

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

.alert-success {
  background: #fff;
  color: #555151;
  border-left: 4px solid #e6764e;
}

.alert-danger {
  background: #fff5f5;
  color: #c0392b;
  border-left: 4px solid #c0392b;
}

/* Responsive mobile */
@media (max-width: 768px) {
  .vender-page {
    padding: 40px 20px !important;
  }

  .formulario-vender-wrapper h3 {
    font-size: 24px;
  }

  .formulario-vender-wrapper h3::after {
    margin: 15px auto 35px;
  }

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

  .wpforms-submit {
    padding: 16px 50px;
    font-size: 13px;
    width: 100%;
  }

  .wpforms-field-description {
    padding: 15px;
  }
}
