*, *:before, *:after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    /* --color-bg-1: #008080;
    --color-bg-2: #FEF9E7; */
    --color-btn: #5c61ee;
    --color-header-step: #5c61ee;
    /* --color-shadow: #222; */
    --color-border-input: #ddd;
}
/* Contenedor principal */
.root {
    display: flex;
    justify-content: center;
    align-items: center;
    /* min-height: 100vh; */
    font-size: 16px;
    font-family: sans-serif;
    /* background-image: linear-gradient(var(--color-bg-1), var(--color-bg-2)); */
    overflow: hidden;
}

/* Formulario */
.form-register {
    padding: 20px 15px;
    width: 100%;
    max-width: 600px;
}

/* Header del formulario */

/* Progressbar */
.progressbar {
    display: flex;
    list-style: none;
    margin-bottom: 15px;
    counter-reset: step;
}

.progressbar__option {
    width: 100%;
    text-align: center;
    font-size: .7rem;
    text-transform: uppercase;
    position: relative;
}

.progressbar__option:before {
    display: flex;
    content: counter(step);
    counter-increment: step;
    width: 20px;
    height: 20px;
    background-color: white;
    margin: 0 auto 5px;
    border-radius: 3px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    border-radius: 50%;
}


.progressbar__option:after {
    display: block;
    content: '';
    width: 100%;
    height: 2px;
    background-color: white;
    position: absolute;
    top: 10px;
    left: -50%;
    z-index: 1;
}

.progressbar__option:first-child:after {
    content: none;
}

.progressbar__option.active:before, .progressbar__option.active:after {
    background-color: var(--color-header-step);
    border-radius: 5rem;
    color:white;
}

/* Título del formulario */
.form-register__title {
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 15px;
}

/* body del formulario */
.form-register__body {
    display: flex;
    align-items: flex-start;
}

/* step */
/* .step {
    width: 100%;
    display: none;
    background-color: white;
    box-shadow: 0px 1px 11px 3px #22222238;
    border-radius: 30px;
    min-width: 100%;
    opacity: 0;
    transition: all .2s linear;
} */
.step {
  width: 100%;
  display: none;
  background-color: white;
  box-shadow: 0px 1px 11px 3px #22222238;
  border-radius: 30px;
  min-width: 100%;
  opacity: 0;
  transform: translateX(30px);
}

.step.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
  animation: fadeSlideIn .45s ease forwards;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.step.to-left {
    margin-left: -100%;
}

.step.inactive {
    animation-name: scale;
    animation-duration: .2s;
    animation-direction: alternate;
    animation-iteration-count: 2;
}

@keyframes scale {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

/* header de step */
.step__header {
    padding: 20px 15px;
    background-color: var(--color-header-step);
    border-radius: 30px 30px 0 0;
}

.step__title {
  color:#fff;
    font-size: 1.9rem;
    text-align: center;
}

/* body de step */
.step__body {

    padding: 20px 15px 0;
}
/* .step__body h3 {

  color: #0191f7;
} */

.step__body h4 {
  color: #636363;
  font-weight: 900;
}
.step__body h5 {

color: #757575;
}




.step__body .form-check-input {
    height: 1.2rem;
    width: 1.2rem;
    position: absolute;
    margin-top: .3rem;
    margin-left: -1.9rem;
    /* border-radius: 100%; */
}
/* step inputs */
.step__input {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 30px;
    border: 1px solid var(--color-border-input);
}

/* step footer */
.step__footer {
    padding: 20px 15px;
    text-align: center;
}

/* step botones */
.step__button {
    display: inline-block;
    padding: 10px;
    background-color: var(--color-btn);
    border: none;
    color: white;
    border-radius: 3px;
    cursor: pointer;
}


.btn-principales{
  /* opacity: 30%; */
  border-radius: 2rem;
    color: #fff;
    background-color: #5c61ee;;
    border-color: #5c61ee;;
    letter-spacing: 0.2rem;
    padding: 20px;
}

.completar{
  border: 2px solid #ef2424;
}

.datos{
      color: #636363;
      font-weight: 900;
      text-transform: uppercase;
}


.upload-box {
  width: 100%;
  min-height: 130px;
  border: 2px dashed #ccc;
  border-radius: 20px;
  background: #f7f7f7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  text-align: center;
  color: #555;
  padding: 20px;
}

.upload-box.dragover {
  border-color: #5b5ef0;
  background: #eeeeff;
}

.upload-icon {
  font-size: 32px;
}

.upload-box small {
  opacity: .7;
}

.preview-imagenes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.preview-imagenes img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.enviando-formulario {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  color: #555;
  font-weight: 600;
}

.spinner-ekeko {
  width: 22px;
  height: 22px;
  border: 3px solid #ddd;
  border-top-color: #000;
  border-radius: 50%;
  animation: spinEkeko .8s linear infinite;
}

@keyframes spinEkeko {
  to {
    transform: rotate(360deg);
  }
}