/* CSS PARA VARIABLES GENERALES */
:root {
	--primaryFont: 'Outfit', sans-serif;
    --colorFont: #0E0142;
    --colorBlue: #1968FF;
    --colorBlueSecondary: #BCD2FB;
    --colorGreen: #00B16D;
    --colorGreenSecondary: #DDF6E3;
}

* {
    box-sizing: border-box;
    scroll-behavior: smooth
}
body {
    background-color: #F8f8f8 !important;
    font-family: var(--primaryFont)!important;
}
html, body {
    height: 100%;
    margin: 0;
}

.img-form-cont{
    border-radius: 10px;
    height: 100%;
}

.img-form{
    border-radius: 10px;
    border: 1px lightgray solid;
}

.btn-primary {
    background-color: var(--colorBlue) !important;
    transition: color .2s ease-in-out !important;
}

.forms-edited {
    padding: 40px 64px !important;
    color: var(--colorFont);
}

.alert-light {
    border: #E8E8E8 1px solid !important;
}

.full-height-img {
    width: 100%;
    height: 100dvh !important; 
    object-fit: cover;
}

.img-form-cont img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.container-formulario {
  padding-top: 100px;
}


@media (max-width: 768px) {
    .full-height-img {
        width: 100%;
        height: 100% !important;
        object-fit: cover; /* Asegura que la imagen se escale proporcionalmente y cubra todo el contenedor */
    }
}

.form-control   {
   text-align: start;
}

.form-label   {
   text-align: start;
}

.img-fluid{
    border: 1px lightgray solid;
    border-radius: 5px;

}

#form-sect{
    max-width: 1200px;
}

.container-formulario{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
}

.object-fit-cover {
  object-fit: cover;
}

.step {
  display: none;
}

.step.active {
  display: block;
}

@media (max-width:992px){
   .img-form-cont {
    width: 100%;
    margin: 0 auto;
    padding: 0 10%;
    padding-bottom: 30px;
  }

  .img-form-cont img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  /* Ajustar también el form */
  #form-sect .card.shadow-sm.mb-3 {
    margin: 0 10%;
  }
    .img-fluid{
    min-height: auto;
  }
    .card.shadow-sm.mb-3{
        margin: 0px 10% 0px 10%;
  }

    /* Step1 */
  #form-sect .card.shadow-sm.mb-3 {
    margin: 0 10%;
  }

  /* Step2 */
  #form-sect .card.h-100.shadow-sm {
    margin: 0 10%;
  }
   
}

@media (min-width:992px){

.inp label {
  display: flex;
  justify-content: start;
}

.inp{
    flex: 0 0 auto;
    width: 50%;
}
}

/* ===== Indicador de pasos ===== */
.step-progress {
  align-items: flex-start;
  gap: 0.5rem;
}

.step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  opacity: 0.55;
  transition: opacity 0.2s ease;
}

.step-indicator.active {
  opacity: 1;
}

.step-indicator-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e9ecef;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.step-indicator.active .step-indicator-circle {
  background: var(--colorBlue);
  color: #fff;
}

.step-indicator-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: #6c757d;
  white-space: nowrap;
}

.step-indicator.active .step-indicator-label {
  color: var(--colorFont);
}

.step-progress-line {
  width: 56px;
  height: 2px;
  background: #e9ecef;
  margin-top: 12px;
}

/* ===== Resumen de plan (paso 1) =====
   Grid en vez de flex + space-between: cada columna queda explicitamente
   acotada (1fr / auto), no puede "spillear" fuera de la caja. */
.plan-resumen-mini {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  box-sizing: border-box;
  background: #f8fafc;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 0.6rem 0.9rem;
}

.plan-resumen-mini > div {
  min-width: 0;
}

.plan-resumen-cambiar {
  font-size: 0.72rem;
  color: var(--colorBlue);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}

.plan-resumen-cambiar:hover {
  text-decoration: underline;
}

/* ===== Encabezados de sección dentro del form ===== */
.form-section-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6c757d;
  margin: 0.75rem 0 0.4rem;
}

.form-section-title:first-of-type {
  margin-top: 0;
}

.form-section-title .material-symbols-outlined {
  font-size: 0.95rem;
  color: var(--colorBlue);
}