body {
  margin: 0;
  padding: 0;
  font-family: Onest, sans-serif;
  background: #1a2c3f;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.quiz-container {
  background: #122334;
  padding: 20px;
  border-radius: 12px;
  width: 400px;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  position: relative;
  min-height: 100vh;
}

@media screen and (max-width: 500px) {
  .quiz-container {
    width: 100%;
  }
}

.quiz-step {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.quiz-step.active {
  display: flex;
}

.quiz-image {
  width: 100%;
  border-radius: 10px;
}

.quiz-logo-image {
  width: 200px;
  margin: auto;
  margin-top: 40px;
  margin-bottom: 20px;
}

.quiz-text {
  color: black;
  background: white;
  font-size: 16px;
  margin: 10px 0;
  border-radius: 15px;
  padding: 25px;
  width: 84%;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.btn {
  background: #2ed4c7;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #1fb4a9;
}

.first-step {
  padding-top: 100px;
}

.first-step .quiz-text {
  color: white;
  background: #4BBFAC;
}

.first-quiz-container {
  background: url(../images/bg1.png);
  background-size: cover;
}

.next {
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
}

.next img {
  width: 200px;
}

.first-step .next {
  padding: 25px;
  border-radius: 15px;
  background: #2ed4c7;
  color: #fff;
  border: none;
}

.progress-indicator {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
}

.circle {
  width: 12px;
  height: 12px;
}

.last-quiz-step {
  padding: 0;
}

.quiz-footer-image {
  width: 100%;
}

.hidden {
  display: none;
}

.footer-text {
  color: white;
  text-align: center;
  font-size: 28px;
  line-height: 20px;
  margin: 10px 0 20px;
  font-weight: 700;
  padding-left: 15px;
  padding-right: 15px;
}

.loader-block,
.result-block {
  width: 100%;
  text-align: center;
  margin-top: 10px;
}

.loader-block {
  background: #00C9C1;
  padding: 4px;
  border-radius: 15px;
  width: 90%;
}

.result-block {
  margin-top: -15px;
}

.loader-label {
  color: white;
  font-weight: bold;
  margin: 10px 0;
}

.loader-bar {
  width: 80%;
  height: 14px;
  background: transparent;
  border-radius: 10px;
  margin: 0 auto 10px;
  overflow: hidden;
  box-shadow: inset 0 0 3px #000;
}

.loader-fill {
  height: 100%;
  width: 0%;
  background: #263846;
  transition: width 0.1s;
}

.loader-fill.done {
  width: 100%;
}

.earning-info,
.instruction {
  color: white;
  background-color: #2ed4c7;
  border-radius: 12px;
  padding: 15px;
  margin: 10px;
}

.result-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  width: 80%;
  margin: auto;
  background: linear-gradient(to bottom, #00C9C1, #5BE1D5);
  border-radius: 25px;
}

.result-form input {
  padding: 10px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
}

.result-form .note {
  font-size: 12px;
  color: white;
  margin-top: 5px;
  margin-bottom: 0;
}

.result-form .btn {
  background-color: #1F9C92;
  color: white;
  font-size: 16px;
  padding: 12px;
  border: none;
  border-radius: 8px;
  margin-top: 2px;
  cursor: pointer;
}

