#regForm {
  margin: 2rem auto;
  padding: 1rem 1rem 2rem;
  margin: 0;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #E8E8E8;
}

.sim select {
  text-align: center;
  width: 100%;
}

.tab-active, .tab-active * {
  /* display: block; */
  -moz-transition: all 0.1s;
  transition: all 1s;
  max-height: 100%;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease-in 0.1s;
  
}
.tab-active {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.btn-form {
  margin: 1rem auto 0;
  background: #0FCF7D;
  border-radius: 6px;
  padding: 8px 12px;
  color: white;
}

.btn-form:hover{
  background: #0FCF7D !important;
  color: white !important;
  font-weight: initial !important;
  border: none !important;
}

.tab-inactive, .tab-inactive * {
    /* display: none; */
    max-height: 0px;
    padding: 0;
    left: 0;
    visibility: hidden;
    border: none;
    opacity: 0;
    
}

#regForm .tab input, #regForm .tab select {
  /* margin-bottom: .5rem; */
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
  padding: .4rem 0;
  border-radius: 10px;
  background-color: rgba(187, 187, 187, .3);
  border: 2px solid rgba(1, 42, 102, 0.5);
}

#amount-input {
  background-color: #ffffff !important;
}

.amount-box {
  gap: 3px;
  align-items: center;
}
button {
  background-color: #4caf50;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  font-size: 17px;
  width: fit-content;
  cursor: pointer;
}
.sim button:hover {
  background-color: var(--secondary-color);
  color: var(--main-color);
  transition: all 0.2s ease-in;
  font-weight: 700;
}
#prevBtn {
  background-color: #bbbbbb;
}
.step {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  border: none;
  border-radius: 50%;
  display: inline-block;
  opacity: 0.5;
}
.slider {
  margin-left: auto;
  margin-right: auto;
  min-height: 280px;
  justify-content: space-around;
}
.step.active {
  opacity: 1;
}
.step.finish {
  background-color: #4caf50;
}
.all-steps {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
  display: none;
}
.thanks-message {
  display: none;
}

.slider-col > input.invalid {
  border-color: #db1f1f;
}

form i {
  max-width: 30px;
}
#step-by-step {
  -webkit-box-shadow: -6px 6px 20px 5px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: -6px 6px 20px 5px rgba(0, 0, 0, 0.25);
  box-shadow: -6px 6px 20px 5px rgba(0, 0, 0, 0.25);
}
@media (max-width: 950px) {
  #step-by-step {
    padding-left: 10px;
    padding-right: 10px;
  }  
}
@media (max-width:600px) {
  .amount-box {
    gap: 5px;
  }
  
  .sim .amount button {
    font-size: 19px;
  }
  .slider > *{
    display: block;
  }
  .slider-col {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
  }
  .slider-col, .slider-col h2 {
    text-align: center;
  }
  #slider3 .slider-row {
    display: block;
  }
  #slider3 .vr {
    display: none;
  }
  #slider3 button {
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
  }
  #result .sim-sm-btn {
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
  }
  #fine-print {
    display: block;
  }
  #result {
    max-width: 100%;
    padding: 0;
  }
  #result h2 {
    margin: 0;
    text-align: center;
  }
}
p.data {
  text-align: left;
}
p.ingresado {
  text-align: right;
}

@media (min-width: 768px) {
  .sim {
    display: block;
  }

  #regForm .tab input {
    width: 60%;
  }
}

#regForm .tab input, #regForm .tab select {
  /* opacity: .5; */
}