form.quiz {
  padding: 24px;
  font-family: "Inter", sans-serif;
  color: #0f2a43;
  background: #fff;
  max-width: 560px;
  margin-inline: auto;
  box-shadow: 0 18px 50px rgba(15, 42, 67, 0.16);
  text-align: center;
  border-radius: 16px;
}

.quiz-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.dot {
  height: 6px;
  flex: 1;
  border-radius: 99px;
  background: #e2e8ef;
  transition: background 0.2s;
}
.dot.active {
  background: #10b981;
}

.step h2 {
  font-size: 19px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  text-align: center;
  margin-bottom: 4px;
}

.step p {
  text-align: center;
  color: #5a6a7d;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 12px;
}

form.quiz .last-input {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
}
form.quiz .input {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 10px;
  width: 100%;
}
form.quiz .address .input:nth-child(2),
form.quiz .address .input:nth-child(3) {
  width: 48%;
}

form.quiz .btn button,
form.quiz input {
  display: block;
  width: 100%;
  background: #fff;
  color: inherit;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 16px;
  border: 1px solid #e2e8ef;
  border-radius: 12px;
  padding: 16px 30px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.12s ease;
}
form.quiz input {
  cursor: text;
}

form.quiz .btn button:hover,
form.quiz input:focus-visible {
  border-color: #10b981;
  background: #eef5f1;
  transform: translateY(-1px);
  border-radius: 12px;
}
form.quiz input:focus-visible {
  outline: none;
}
form.quiz .step .btn {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

form.quiz .next,
form.quiz .form-submit {
  background: #10b981;
  color: #fff;
  border-color: #10b981;
  box-shadow: 0 10px 26px rgba(16, 185, 129, 0.35);
  margin-top: 6px;
  width: 100%;
}
form.quiz .next:hover,
form.quiz .form-submit:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.back-btn {
  margin-top: 14px;
  font-size: 16px;
  text-align: center;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  width: 100%;
  max-width: 80px;
  margin-inline: auto;
}
.back-btn:before {
  content: "←";
  position: absolute;
  left: -4px;
  top: 50%;
  transform: translateY(-50%);
}

p.disclaimer {
  font-size: 12px;
  line-height: 1.5;
  margin-top: 14px;
  margin-bottom: 0;
}

.thank-you {
  text-align: center;
}

h2.thank-you-headline {
  font-family: "Poppins", serif;
  font-size: 24px;
  font-weight: 600;
  color: #0f1b2d;
  margin-bottom: 10px;
  text-align: center;
}

.thank-you p strong {
  color: #10b981;
}

.form-div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.error {
  color: red !important;
  width: 100%;
}

.final {
  text-align: center;
}
.final h3 {
  font-family: "Fraunces", serif;
  font-size: 24px;
  margin: 0 0 10px;
}

form.quiz .callbig {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  background: #f3ebdd;
  border-radius: 12px;
  padding: 16px;
  color: inherit;
}
form.quiz .callbig span {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}
form.quiz .callbig strong {
  font-family: "Fraunces", serif;
  font-size: 28px;
  color: #0f1b2d;
}

@media (max-width: 767px) {
  form.quiz {
    padding: 18px;
  }
  .step h2 {
    font-size: 18px;
  }
  .progress {
    margin-bottom: 14px;
  }
  form.quiz .btn button,
  form.quiz .form-div input {
    padding: 10px 16px;
  }
}
