/* Credit to bootsnipp.com for the css for the color graph */
.colorgraph {
  height: 5px;
  border-top: 0;
  background: #c4e17f;
  border-radius: 5px;
  background-image: -webkit-linear-gradient(
    left,
    #c4e17f,
    #c4e17f 12.5%,
    #f7fdca 12.5%,
    #f7fdca 25%,
    #fecf71 25%,
    #fecf71 37.5%,
    #f0776c 37.5%,
    #f0776c 50%,
    #db9dbe 50%,
    #db9dbe 62.5%,
    #c49cde 62.5%,
    #c49cde 75%,
    #669ae1 75%,
    #669ae1 87.5%,
    #62c2e4 87.5%,
    #62c2e4
  );
  background-image: -moz-linear-gradient(
    left,
    #c4e17f,
    #c4e17f 12.5%,
    #f7fdca 12.5%,
    #f7fdca 25%,
    #fecf71 25%,
    #fecf71 37.5%,
    #f0776c 37.5%,
    #f0776c 50%,
    #db9dbe 50%,
    #db9dbe 62.5%,
    #c49cde 62.5%,
    #c49cde 75%,
    #669ae1 75%,
    #669ae1 87.5%,
    #62c2e4 87.5%,
    #62c2e4
  );
  background-image: -o-linear-gradient(
    left,
    #c4e17f,
    #c4e17f 12.5%,
    #f7fdca 12.5%,
    #f7fdca 25%,
    #fecf71 25%,
    #fecf71 37.5%,
    #f0776c 37.5%,
    #f0776c 50%,
    #db9dbe 50%,
    #db9dbe 62.5%,
    #c49cde 62.5%,
    #c49cde 75%,
    #669ae1 75%,
    #669ae1 87.5%,
    #62c2e4 87.5%,
    #62c2e4
  );
  background-image: linear-gradient(
    to right,
    #c4e17f,
    #c4e17f 12.5%,
    #f7fdca 12.5%,
    #f7fdca 25%,
    #fecf71 25%,
    #fecf71 37.5%,
    #f0776c 37.5%,
    #f0776c 50%,
    #db9dbe 50%,
    #db9dbe 62.5%,
    #c49cde 62.5%,
    #c49cde 75%,
    #669ae1 75%,
    #669ae1 87.5%,
    #62c2e4 87.5%,
    #62c2e4
  );
}

body {
  padding: 10px;
}

#exTab1 .tab-content {
  color: black;
  background-color: #f3f3f3;
  padding: 5px 15px;
}

#exTab2 h3 {
  color: white;
  background-color: #428bca;
  padding: 5px 15px;
}

/* remove border radius for the tab */

#exTab1 .nav-pills > li > a {
  border-radius: 0;
}

/* change border radius for the tab , apply corners on top*/

#exTab3 .nav-pills > li > a {
  border-radius: 4px 4px 0 0;
}

#exTab3 .tab-content {
  color: white;
  background-color: #428bca;
  padding: 5px 15px;
}

.inactive {
  cursor: none;
}

.isDisabled {
  color: currentColor !important;
  cursor: not-allowed !important;
  opacity: 0.5 !important;
  text-decoration: none !important;
}

.loginbox-social {
  padding-top: 25px;
}

select.input-lg {
  height: 25px !important;
}

.row {
  margin-bottom: 5px;
}

.question_text {
  font-size: 16px !important;
  font-weight: 400;
}

.questions input {
  width: 50%;
  height: 30px;
  font-size: 16px;
  color: #908f8f;
}

.btn {
  font-size: 16px !important;
  font-weight: 500;
  text-transform: uppercase;
  padding: 10px;
}

.form-control {
  height: calc(2.25rem + 10px);
  font-size: 16px !important;
}

/* --- STEP BAR --- */
.nav.stepper {
  position: relative;
  counter-reset: step;
  display: flex;
  flex-wrap: wrap;
  overflow-x: visible;
  gap: 10px 14px;
  -webkit-overflow-scrolling: touch;
}

.nav.stepper .nav-item {
  position: relative;
  flex: 0 1 auto;        /* ← evita forzar cada item a ocupar toda la fila */
  min-width: 160px;      /* puedes subir o bajar este valor */
  text-align: center;
}

.nav.stepper .nav-item::after {
  content: none !important;
}

.nav.stepper .nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 50rem;
  padding: 0.6rem 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav.stepper .nav-link .step-index {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  background: #e9ecef;
  color: #495057;
}

.nav.stepper .nav-link.active {
  background: #28a745;
  color: #fff;
  border-color: #28a745;
}

.nav.stepper .nav-link.active .step-index {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.nav.stepper .nav-link.isDisabled {
  pointer-events: none;
  opacity: 0.5;
}

/* Conector entre pasos */
.nav.stepper .nav-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -12px;
  width: 24px;
  height: 2px;
  background: #dee2e6;
  transform: translateY(-50%);
}

@media (max-width: 576px) {
  .nav.stepper .nav-item {
    min-width: 180px;
  }
}

.badge {
  font-size: 14px !important;
}
