:root {
  --height-bloques-form-ed: 700px;
}
.form_ed-layout {
  display: flex;
  min-height: var(--height-bloques-form-ed);          /* toda la pantalla */
  /*width: 100vw;*/
  margin: 0;
  padding: 0;
  margin-bottom: 20px;
}  
.form_ed-left {
  flex: 1; /* ocupa la mitad izquierda */
  background-image: url("/img/m24hv3/money24horas.png");
  background-size: auto var(--height-bloques-form-ed);
  background-position: top left;
  background-repeat: no-repeat;
  background-color: #fbfafe;
}
.div_form_ed_v3 {
  margin: 0px auto;
  padding: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  min-height: var(--height-bloques-form-ed);
  flex:1;
  background: linear-gradient(to right, #fbfafe, #fafbfd);
}
.div_form_ed_v3 h3 {
  text-align: left!important;
  margin: 20px auto 20px!important;
  width: 100%!important;
  max-width: 450px!important;
}
/* Contenedor para centrar el contenido del formulario */
.form_ed-right.div_form_ed_v3 > * {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}  
.div_form_ed_v3 form#model-ed-form{
  width: 100%;
}
.div_form_ed_v3 h2, .div_form_ed_v3 h3, .div_form_ed_v3 h4 {
  color: var(--color-m24h);
  text-align: center;
  font-weight: normal;
}
.div_form_ed_v3 .step {
  display: none; 
  padding: 1% 0;
  margin: 30px auto;
  border-radius: 8px;
}
.div_form_ed_v3 .step.active { 
  display: block; 
}
.div_form_ed_v3 .step{
  width:75%;
}
.div_form_ed_v3 > label, .div_form_ed_v3 form .form-group {
  display: flex;
  flex-direction: column;
  align-items: center;  /* centramos input respecto al label */
  margin: 0px auto;
  /*color: var(--color-m24h);*/
  font-weight: 500;
}
.div_form_ed_v3 input, .div_form_ed_v3 select {
  width: 100%;            /* ocupar todo el ancho disponible */
  /*max-width: 350px;*/       /* pero con un límite razonable */
  padding: 8px;
  margin-top: 0px;
  /*border: 1px solid var(--color-m24h);*/
  border-radius: 5px;
  background: #fff;
  /*color: var(--color-m24h);*/
  font-size: 1.5rem;
  font-weight: 500; 
}
.div_form_ed_v3 input::placeholder {
  color: var(--color-m24h);
}
.div_form_ed_v3 input:focus, .div_form_ed_v3 select:focus {
  border-color: var(--color-m24h);
  outline: none;
}
.div_form_ed_v3 .buttons.final_buttons div, .div_form_ed_v3 .buttons {
  margin-top: 10px;
  width: 100%;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.div_form_ed_v3 .buttons.final_buttons div{
  font-size:1.2rem;
  justify-content: space-around;
}
.div_form_ed_v3 .buttons.final_buttons div:nth-child(2) {
  margin-top: 0px;
  width: 100%;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: space-around;
}
.div_form_ed_v3 .final_buttons button {
  /*flex: 1;*/             /* que todos tengan el mismo ancho */
  /*min-width: 120px;*/    /* ancho mínimo */
  text-align: center;
}
.div_form_ed_v3 button {
  background: var(--color-m24h);
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  border: 1px solid var(--color-m24h);
  font-weight: 600;
  text-transform: uppercase;
}
.div_form_ed_v3 button:hover {
  background: white;
  color: var(--color-m24h);
  border: 1px solid var(--color-m24h);
}
.div_form_ed_v3 button.enviar {
  background-color: #d5441c;
  border: 1px solid #d5441c;
}
.div_form_ed_v3 button.enviar:hover {
  background: white;
  color: #d5441c;
  border: 1px solid #d5441c;
}
.div_form_ed_v3 button.volver:hover {
  background: white;
  color: var(--color-m24h);
  border: 1px solid var(--color-m24h);
}
.div_form_ed_v3 button.volver {
  background-color: var(--color-m24h);
}
.div_form_ed_v3 .summary {
  background: white;
  padding: 1.5rem 2rem;
  border-left: 4px solid white;
  margin-bottom: 15px;
  color: var(--color-m24h);
  border-radius: 4px;
  font-size:1.2rem;
}
.div_form_ed_v3 strong {
  color: var(--color-m24h);
}
.div_form_ed_v3 .progress-container {
  display: flex; 
  justify-content: space-between;
  position: relative;
  margin: 40px auto 40px;
  width: 80%;
  max-width: 400px;
}
.div_form_ed_v3 .progress-container::before {
    content: '';
    background-color: #dcdcdc;
    position: absolute;
    top: 25%;
    left: 0;
    transform: translateY(-50%);
    height: 3px;
    width: 100%;
    z-index: 0;
    border-radius: 2px;
}
.div_form_ed_v3 .progress {
    background-color: var(--color-m24h);
    position: absolute;
    top: 25%;
    left: 0;
    transform: translateY(-50%);
    height: 3px;
    width: 0%;
    z-index: 1;
    transition: width 0.3s ease;
    border-radius: 2px;
    margin-left: 2px;
}
.div_form_ed_v3 .circle {
    background-color: white;
    border: 4px solid grey;
    border-radius: 50%;
    height: 20px;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s ease;
    color: var(--color-m24h);
    position: relative;
    font-size: 12px;
  }
  .div_form_ed_v3 .circle.active {
    background-color: orange;
    border: 4px solid var(--color-m24h);
    /*transform: scale(1.1);*/
  }
  .div_form_ed_v3 .circle.active span.label {
        color:var(--color-m24h);
  }
  .div_form_ed_v3 .circle.completed {
    background-color: #a3d4e3;
    color: var(--color-m24h);
    border: 4px solid var(--color-m24h);
  }
  .div_form_ed_v3 .circle .label {
    position: absolute;
    top: 30px;
    font-size: 14px;
    color: gray;
    width: max-content;
    left: 50%;
    transform: translateX(-50%);
    font-weight: normal;
  }
  .select2-container--krajee .select2-selection--single .select2-selection__rendered {
    color: var(--color-m24h)!important;
    font-size: 1.4rem!important;
    font-weight: 500!important;
  }
@media (min-width: 991px) {
    .div_form_ed_v3 .final_buttons button {
        flex:1;
    }
}
@media (max-width: 767px) {
  .div_form_ed_v3 form#model-ed-form {
    width: 100%;
    padding: 2.5rem;
  }
  .form_ed-right.div_form_ed_v3 {
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    padding: 0;
    margin: 0;
    justify-content: flex-start;
    background: linear-gradient(to bottom, #1945521c, #fafbfd);
  }
  .form_ed-layout, .div_form_ed_v3 {  
    min-height: 0;
  }
}