.quiz {
  font-family: "Satoshi", Sans-serif !important;
  padding: 48px 32px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 16px 2px #0b1f3c1a;
  position: relative;
}
.quiz:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 18px;
  z-index: -1;
  left: 0;
  bottom: -8px;
  background-image: linear-gradient(to right, #4CABE6, #265cd9);
  border-radius: 0 0 12px 12px;
}
.quiz > * {
  transition: all 0.3s ease;
  color: #000;
}
.progress {
  display: flex;
  flex-direction: column-reverse;
  gap: 24px;
  margin-bottom: 10px;
}
.progress p {
  margin-bottom: 0;
}
.bar,
.bar-fill {
  position: relative;
  background-color: #e5e7eb;
  width: 100%;
  max-width: 250px;
  margin-inline: auto;
  height: 26px;
  border-radius: 10px;
}
.bar-fill {
  position: absolute;
  height: 26px;
  z-index: 1;
  background-color: var(--e-global-color-primary);
}
.percent {
  position: absolute;
  color: #000;
  font-weight: 600;
  z-index: 2;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
}
.step {
  margin: 24px 0 0;
}
.step h2 {
  font-size: 28px;
  line-height: 34px;
  margin: 16px 0;
  text-align: center;
}
.step h3 {
  font-size: 20px;
  line-height: 24px;
  margin: 0 0 20px;
  text-align: center;
}

.step.thank-you {
  margin: 0;
}
.step.thank-you h2 {
  margin-top: 0;
}

.btn {
  display: flex;
  flex-direction: column;
  max-width: 620px;
  margin: 0 auto;
}
.btn button,
.final-box a {
  text-align: center;
  padding: 10px 4px;
  margin: 10px 0 0;
  color: #fff;
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  text-decoration: none;
  display: block;
  cursor: pointer;
  width: 100%;
  background: var(--e-global-color-primary);
  border-color: #fff;
  border-radius: 64px;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  white-space: normal;
}
.btn button:hover,
.final-box a:hover {
  background: var(--e-global-color-a5e4e97);
  color: #fff;
}

@media (max-width: 767px) {
  .step h2 {
    font-size: 24px;
    line-height: 28px;
  }
  .step h3 {
    font-size: 18px;
    line-height: 22px;
  }

  .btn button {
    font-size: 16px;
    line-height: 20px;
  }
  .final-box a{
    font-size: 16px;
	}
}

.auto {
  display: flex;
  align-items: center;
  justify-content: center;
}
.box p {
  color: #000;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 12px;
}
.final-box h2 {
  font-size: 36px;
  line-height: 1.3;
  font-weight: 600;
  text-align: center;
  color: #000;
}
.final-box h3 {
  font-size: 20px;
  margin: 10px 0 20px;
  line-height: 1.3;
  font-weight: 600;
  color: #000;
}

.thank-you-cntent {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 20px;
}
.thank-you-cntent div {
  width: 100%;
}
@media (min-width: 768px) {
  .thank-you-cntent > * {
    width: 50%;
    flex-grow: 1;
  }
}
.thank-you-cntent a {
  margin: 0;
  /* max-width: 200px;
  margin-inline: auto; */
}
.thank-you p {
  line-height: 1.3;
  text-align: center;
}

.thank-you-cntent ul {
  list-style: none;
  padding-left: 10px;
}
.thank-you-cntent ul li {
  text-align: left;
  position: relative;
  padding: 2px;
}
.thank-you-cntent ul li:before {
  content: "";
  position: absolute;
  left: -20px;
  top: 9px;
  width: 18px;
  height: 18px;
  background: url(https://hemqyuwg.elementor.cloud/wp-content/uploads/2025/10/check-green.svg) center/cover no-repeat;
}
.last-time {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-top: 0.5rem;
}
.last-time h5 {
  color: #333;
  font-size: 16px;
  font-weight: 500;
  margin-top: 0;
  margin-bottom: 0;
}
#timer,
.timer {
  color: #ff0000;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}
@media (max-width: 767px) {
  .quiz {
    padding: 35px 16px 16px;
  }
  .box {
    padding: 10px;
  }
  .final-box h2 {
    font-size: 27px;
  }
  .last-time {
    flex-direction: column;
    gap: 0;
  }
}

/* hider class*/
.hide {
  display: none;
  transition: all 0.5s ease;
}
@media (max-width: 767px) {
  .thank-you-cntent {
    flex-direction: column;
    gap: 10px;
  }
  .last-time {
    margin-top: 20px;
  }
  .thank-you {
    margin-top: 0;
  }
}
.go-back-btn {
  color: #1b38ef;
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
.go-back-btn:before {
  content: "";
  width: 24px;
  height: 24px;
  background: url(https://hemqyuwg.elementor.cloud/wp-content/uploads/2025/10/arrow-back.svg) center/cover no-repeat;
}

/*Form CSS*/
form#user-info {
  max-width: 400px;
  margin: 0 auto;
}
form#user-info h3 {
  text-align: center;
}
form#user-info input {
  display: block;
  width: 100%;
  margin: 0 0 8px;
}
form#user-info button {
  display: block;
  width: 100%;
  background: #198754;
  border-color: #198754;
  color: #fff;
}
form#user-info small {
  display: block;
  text-align: center;
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 16px;
}
form#user-info .form-sub a {
  color: #000;
  text-decoration: underline;
}
form#user-info input:focus,
form#user-info button:focus {
  outline: none;
}

#schedule {
  background: #e2e4e6;
  max-width: 380px;
  margin: 16px auto 12px;
  padding: 24px 8px;
  border-radius: 3px;
}
#schedule h4 {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 8px;
}
#schedule label {
  display: inline-block;
  position: relative;
  margin: 0 2px 4px;
  cursor: pointer;
  min-width: 128px;
}
#schedule label input {
  visibility: hidden;
  position: absolute;
}
#schedule label span {
  display: block;
  background: #003b71;
  padding: 12px 24px;
  border-radius: 3px;
  transition: 200ms;
  color: #fff;
}
#schedule label input:checked + span {
  background: #81d4fa;
}

#schedule:not(.active) + #userinfo {
  display: none;
}

#userinfo {
  max-width: 350px;
  margin: 16px auto 0;
}
#userinfo label {
  display: block;
  width: 100%;
  margin: 0 0 8px;
}
#userinfo input[type="text"],
#userinfo input[type="email"],
#userinfo input[type="tel"],
#userinfo input[type="datetime-local"] {
  display: block;
  appearance: none;
  width: 100%;
  margin: 0 0 8px;
  border: 1px solid #666;
  border-radius: 3px;
  padding: 0.5rem 1rem;
}

#userinfo button {
  display: block;
  width: 100%;
  background: #16ca92;
  border-color: #16ca92;
  color: #fff;
}

#userinfo small {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  margin: 12px 0 0;
}
#userinfo small a {
  display: inline;
  padding: 0;
  background: none;
  color: #16ca92;
  font-size: inherit;
  font-weight: 400;
}

#userinfo .air-datepicker.-inline- {
  margin: 0 0 8px;
  width: 100%;
  max-width: none;
}

#userinfo .disclaimer {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.4;
}
#userinfo .disclaimer button {
  background: none;
  margin: 0 auto;
  padding: 0;
  border: 0;
  width: 32px;
}
#userinfo .disclaimer button img {
  display: block;
  transition: 300ms;
}
#userinfo .disclaimer.open button img {
  transform: rotate(180deg);
}
#userinfo .disclaimer small {
  display: none;
  margin: 0;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

#userinfo {
  position: relative;
}
#userinfo.loading:before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.75);
  z-index: 10;
}
#userinfo.loading:after {
  content: "";
  position: absolute;
  left: calc(50% - 24px);
  top: calc(50% - 24px);
  width: 48px;
  height: 48px;
  border: 3px solid;
  border-color: #003b71 transparent;
  border-radius: 50%;
  z-index: 11;
  animation: 800ms spin infinite;
  animation-timing-function: linear;
}
