/* === Indicador de pasos === */
.form-steps-indicator {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 40px;
}

.form-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #8B8B8B;
}

.form-step-item .text {
  width: 44px;
  height: 44px;
  background-color: #DADADA;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  margin: 0;
  transition: background-color 0.3s, color 0.3s;
}

.form-step-item.active .text {
  background-color: #733EF6;
  color: #fff;
  line-height: normal;
}

.form-step-item span {
  margin-top: 8px;
  font-size: 14px;
  color: #DADADA;
}

.form-step-item.active span {
  color: #733EF6;
  font-weight: 600;
}

/* === Formulario === */
.form-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.form-column {
  flex: 1;
  min-width: 250px;
}

.form-column label {
  margin-bottom: 10px;
}

.form-column.full-width {
  flex: 0 0 100%;
}

.form-column p {
  height: auto;
  margin-bottom: 15px;
}

.cf7mls-btns .cf7mls_next {
  background-color: #733EF6;
  color: #fff;
  font-weight: 700;
  font-style: normal;
  font-size: 16px;
  line-height: 100%;
  min-width: 110px;
}

.cf7mls-btns .cf7mls_back,
#cf7mls-back-btn-cf7mls_step-4 {
  background-color: #733EF6;
  color: #fff;
  font-weight: 700;
  font-style: normal;
  font-size: 16px;
  line-height: 100%;
  min-width: 110px;
}

.submit-button {
  background-color: #733EF6;
  color: #fff;
  font-weight: 700;
  font-style: normal;
  font-size: 16px;
  line-height: 100%;
  min-width: 110px;
  border: none;
}

.submit-button:hover {
  background-color: #733EF6;
  color: #fff;
  opacity: 0.7 !important;
  transition: all 0.3s ease !important;
}

#cf7mls-back-btn-cf7mls_step-4 {
  display: none;
}

.form-column #cf7mls-back-btn-cf7mls_step-4 {
  display: block;
}

.container-file p {
  display: flex;
  justify-content: space-between;
}

.wpcf7-list-item {
  margin: 0px;
}

.form-terms label {
  display: flex;
  align-items: center;
  gap: 8px;
}

input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

/* Estilos base del mensaje */
.wpcf7 form .wpcf7-response-output {
  margin: 2em 0;
  padding: 1em 1.5em;
  border: 2px solid transparent;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
  background-color: #f9f9fb;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
}

/* Éxito */
.wpcf7 form.sent .wpcf7-response-output {
  border-color: #733EF6;
  background-color: rgba(115, 62, 246, 0.08);
  color: #4b2cb3;
}

/* Error */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
  border-color: #e74c3c;
  background-color: rgba(231, 76, 60, 0.08);
  color: #a93226;
}

/* Aviso (campos requeridos, etc.) */
.wpcf7 form.spam .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  border-color: #f1c40f;
  background-color: rgba(241, 196, 15, 0.08);
  color: #8a6d3b;
}

/* Animación sutil */
.wpcf7 form .wpcf7-response-output {
  animation: fadeInMessage 0.4s ease forwards;
}

@keyframes fadeInMessage {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.select2-container{
  min-height: 43px;
}

.select2-container--default .select2-selection--multiple{
  min-height: 43px !important;
  padding-left: 10px !important;
}

.select2-search__field{
  margin: 0 !important;
}

/* 🔽 Flecha visible para Select2 multiselect (como los de CF7) */
.select2-container--default .select2-selection--multiple {
  position: relative;
  padding-right: 2rem; /* espacio para la flecha */
}

/* Pseudo-elemento para la flecha */
.select2-container--default .select2-selection--multiple::after {
  content: "▾"; /* puedes cambiar por un icono Unicode o SVG */
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  font-size: 1rem;
  pointer-events: none;
}

/* Opcional: cambia color al enfocar */
.select2-container--default.select2-container--focus .select2-selection--multiple::after {
  color: #733EF6; /* tu color morado personalizado */
}

form h1{
	text-align:center;
	margin-bottom: 40px;
}