body {
  font-family: Arial, sans-serif;
  background: rgba(43, 0, 255, 0.605);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.quiz-container,
.result-container {
  background: rgba(238, 255, 0, 0.963);
  padding: 25px;
  width: 50rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.options {
  margin-top: 15px;
}

.option-btn {
  display: block;
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  cursor: pointer;
}

.correct {
  background-color: #4CAF50;
  color: white;
}

.wrong {
  background-color: #f44336;
  color: white;
}

.info {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

a {
  text-decoration: none;
  color: #1900ff;
}

.submit-btn {
  width: 100%;
  padding: 10px;
  background-color: #ff5722;
  color: white;
  border: none;
  margin-top: 10px;
  cursor: pointer;
  border-radius: 4px;
}
.result-box {
  width: 400px;
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.result-box h1 {
  margin-bottom: 15px;
  color: #333;
}

.percentage {
  display: flex;
  justify-content: space-around;
  margin: 15px 0;
}

#correctPercent {
  color: green;
  font-weight: bold;
}

#wrongPercent {
  color: red;
  font-weight: bold;
}

.restart-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #007BFF;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}
.result-box {
  width: 420px;
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  text-align: center;
}

.score-text {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: bold;
}

.percent-box-container {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 20px;
}

.percent-box {
  flex: 1;
  padding: 15px;
  border-radius: 10px;
  color: white;
}

.percent-box h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.percent-box p {
  font-size: 22px;
  font-weight: bold;
}

/* Correct Box */
.correct-box {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
}

/* Wrong Box */
.wrong-box {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.restart-btn {
  display: inline-block;
  padding: 10px 22px;
  background: #007bff;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}
.quiz-complete-box {
  width: 420px;
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  text-align: center;
  .quiz-complete-box {
  width: 420px;
  background: #ffff00;
  padding: 30px;
  border-radius: 12px;

  /* ✅ YAHI LINE ADD KARO */
  text-align: center;
}

}

.quiz-complete-box h2 {
  margin-bottom: 20px;
  color: #333;
}

.result-line {
  font-size: 18px;
  margin: 10px 0;
  font-weight: bold;
}

.correct-text {
  color: green;
}

.wrong-text {
  color: red;
}

.restart-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 25px;
  background: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  .restart-btn {
  display: inline-block;
  margin: 20px auto 0;
}

}
.result-line {
  margin: 12px 0;
}


.cen{
  margin-left: 18rem;
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f4f6f8;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.result-box {
  width: 420px;
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.result-box h1 {
  margin-bottom: 15px;
  color: #333;
}

.score-text {
  font-size: 18px;
  margin-bottom: 20px;
}

.percentage-box {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.percent {
  flex: 1;
  padding: 15px;
  border-radius: 8px;
  color: white;
}

.percent h3 {
  margin: 0;
  font-size: 16px;
}

.percent p {
  font-size: 22px;
  font-weight: bold;
  margin: 10px 0 0;
}

.correct {
  background-color: #4CAF50;
}

.wrong {
  background-color: #f44336;
}

.restart-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 25px;
  background-color: #007BFF;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}
