body {
  font-family: 'Poppins', sans-serif;
  background-color: #f8f9fa;
  color: #333;
  margin: 0;
  padding: 0;
}

.u-section-1 .u-sheet-1 {
  text-align: center;
  padding: 20px 0;
}

.u-section-1 .u-text-1 {
  font-weight: 700;
  font-size: 28px;
  color: #222;
  text-transform: uppercase;
  margin: 20px auto;
}

.u-section-2 .u-sheet-1 {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
  padding: 40px;
  max-width: 800px;
  margin: 20px auto;
}

.u-section-2 .u-image-1 {
  display: block;
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  margin: 20px auto;
}

.u-section-2 .u-text-1 {
  font-weight: 600;
  font-size: 20px;
  color: #444;
  margin: 20px auto;
}

.u-section-2 .u-text-2 {
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  margin: 20px auto;
}

.u-section-2 .u-form-1 {
  max-width: 600px;
  margin: 20px auto;
}

.u-section-2 .u-btn-1 {
  background: #28a745;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  padding: 12px 20px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.u-section-2 .u-btn-1:hover {
  background: #218838;
}

.u-form-radio-button-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.answer-option {
  display: flex;
  align-items: center;
  background: #f8f9fa;
  padding: 12px 16px;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid #ddd;
  transition: background 0.3s ease, border-color 0.3s ease;
  width: 100%;
  max-width: 600px;
  margin: 8px auto;
}

.answer-option:hover {
  background: #e9ecef;
  border-color: #bbb;
}

.answer-option input[type="radio"] {
  margin-right: 12px;
  transform: scale(1.3);
}

.answer-option span {
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

.answer-option input[type="radio"] {
  opacity: 0;
  position: absolute;
}

.answer-option input[type="radio"]:checked + span {
  font-weight: 600;
  color: #007bff;
}

.quiz-results-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
  background: #f9f9f9;
  padding: 20px;
}

.results-box {
  max-width: 800px;
  width: 100%;
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
}

.quiz-score-container {
  background: #c4daf2;
  padding: 12px;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 15px;
}

.quiz-score {
  font-size: 22px;
  font-weight: bold;
  color: #2c3e50;
}

.score-label {
  font-weight: bold;
  font-size: 18px;
  color: #34495e;
}

.score-value {
  font-size: 24px;
  font-weight: bold;
  color: #1e3a5f;
}


.image-container {
  width: 100%;
  max-width: 100%;
  margin-bottom: 10px;
}

.question-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
  max-height: 400px;
}

.content-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.question-progress-text {
  font-size: 25px !important;
  font-weight: bold !important;
}

.question-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  width: 100%;
  max-width: 800px;
}

.question-number {
  font-size: 25px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
  text-align: center;
}

.question-text {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
  text-align: center;
}

.answer-section {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.answer-list {
  width: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
  align-items: center;
}

.result-answer-option {
  width: 100%;
  max-width: 600px;
  padding: 8px;
  background: #f1f1f1;
  border-radius: 5px;
  word-wrap: break-word;
  text-align: center;
  font-size: 16px;
  transition: 0.3s;
}

.correct-answer {
  background: #d4edda !important;
  color: #155724 !important;
  font-weight: bold;
}

.incorrect-answer {
  background: #f8d7da !important;
  color: #721c24 !important;
  font-weight: bold;
}

.explanation {
  font-style: italic;
  color: #555;
  margin-top: 10px;
  word-break: break-word;
  text-align: center;
}

.return-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 20px;
  background: #5580af;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: 0.3s;
}

.return-btn:hover {
  background: #35506d;
  color: white;
}

.user-stats-container {
  display: flex;
  justify-content: space-around;
  margin: 20px 0;
  padding: 15px;
  background: #eaf4fc;
  border-radius: 10px;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1);
}

.stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  border-radius: 8px;
  background: white;
  box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.1);
  width: 45%;
}

.stat-icon {
  font-size: 30px;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 16px;
  font-weight: bold;
  color: #555;
}

.stat-value {
  font-size: 22px;
  font-weight: bold;
  color: #1e3a5f;
}

.first-attempt-message {
  background: #e6f0fa;
  color: #2c3e50;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  margin: 20px auto;
  max-width: 600px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.first-attempt-message strong {
  color: #d9534f;
}

.text-container {
  width: 100%;
  padding: 0 10px;
}

.question-text,
.question-number {
  word-wrap: break-word;
  text-align: center;
}

@media (max-width: 768px) {
  .results-box {
    max-width: 95%;
    padding: 20px;
  }

  .question-block {
    padding: 15px;
  }

  .question-text {
    font-size: 16px;
  }

  .question-image {
    max-height: 250px;
  }

  .answer-section {
    max-width: 100%;
  }

  .result-answer-option {
    font-size: 14px;
    padding: 6px;
  }

  .return-btn {
    width: 100%;
  }

  .quiz-completed-title {
    font-size: 28px;
  }

  .quiz-score {
    font-size: 24px;
    padding: 10px 16px;
  }

  .user-stats-container {
    flex-direction: column;
    gap: 10px;
  }

  .stat-box {
    width: 100%;
  }

  .quiz-score {
    font-size: 20px;
  }

  .stat-label {
    font-size: 14px;
  }

  .stat-value {
    font-size: 20px;
  }
}

@media (max-width: 575px) {
  .first-attempt-message {
    font-size: 14px;
    padding: 10px;
  }
}