/* === UCAT Quiz Styles === */

body {
  font-family: 'Segoe UI', Roboto, sans-serif;
  background-color: #f9f9fb;
  color: #333;
  margin: 0;
  padding: 0;
}

.ucat-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.ucat-question {
  font-size: 1.2rem;
  margin-bottom: 16px;
  font-weight: 600;
}

.ucat-table {
  margin: 20px 0;
  border-collapse: collapse;
  width: 100%;
}

.ucat-table th, .ucat-table td {
  border: 1px solid #ccc;
  padding: 8px 12px;
  text-align: left;
}

.ucat-options {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.ucat-options li {
  margin-bottom: 10px;
}

.ucat-options input[type="radio"] {
  margin-right: 10px;
}

.ucat-submit-btn {
  background-color: #0078d4;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.ucat-submit-btn:hover {
  background-color: #005fa3;
}

.ucat-feedback {
  margin-top: 20px;
  padding: 15px;
  border-left: 4px solid #0078d4;
  background-color: #eef6ff;
  font-size: 1rem;
}

.ucat-benchmark {
  margin-top: 30px;
  padding: 15px;
  background-color: #f0fff4;
  border-left: 4px solid #28a745;
  font-weight: 500;
}

.ucat-score {
  font-size: 1.4rem;
  font-weight: bold;
  margin-top: 20px;
  color: #0078d4;
}

/* === Responsive === */
@media (max-width: 600px) {
  .ucat-container {
    padding: 15px;
  }

  .ucat-question {
    font-size: 1rem;
  }

  .ucat-submit-btn {
    width: 100%;
  }
}

.ucat-quiz.full-mock h2.ucat-section-heading {
  margin-top: 60px;
  margin-bottom: 20px;
  font-size: 1.5em;
  font-weight: bold;
  border-bottom: 2px solid #ccc;
  padding-bottom: 10px;
}

.ucat-quiz.full-mock .ucat-question {
  margin-bottom: 30px;
}

.ucat-quiz.full-mock hr {
  margin: 40px 0;
  border: none;
  border-top: 1px solid #eee;
}

.ucat-quiz.full-mock .ucat-section {
  background-color: #fcfcfc;
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 50px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.ucat-launchpad {
  max-width: 600px;
  margin: 40px auto;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
}

.ucat-launchpad h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #0078d4;
}

.ucat-progress-bar {
  background: #eee;
  border-radius: 8px;
  overflow: hidden;
  height: 20px;
  margin-bottom: 10px;
  position: relative;
}

.ucat-progress-fill {
  background: #0078d4;
  height: 100%;
  transition: width 0.4s ease;
}

.ucat-launchpad p {
  font-size: 1rem;
  color: #333;
}

/* === Results Page Enhancements === */
.ucat-results {
  font-family: Arial, sans-serif;
  max-width: 800px;
  margin: 0 auto;
}

.ucat-result-question {
  padding: 1em;
  border-radius: 6px;
  margin-bottom: 1em;
  background-color: #f9f9f9;
  border-left: 6px solid #ccc;
}

.ucat-result-question.correct {
  border-left-color: #4CAF50;
  background-color: #e8f5e9;
}

.ucat-result-question.incorrect {
  border-left-color: #F44336;
  background-color: #ffebee;
}

.correct-answer {
  font-weight: bold;
  color: #4CAF50;
}

.user-answer {
  text-decoration: underline;
}

/* Highlight if correct and selected */
.correct-answer.user-answer {
  background-color: #d0f0c0;
  padding: 4px 8px;
  border-radius: 4px;
}

/* Explanation hover effect */
.ucat-explanation {
  margin-top: 0.5em;
  font-style: italic;
  color: #555;
  transition: background-color 0.3s ease;
}

.ucat-explanation:hover {
  background-color: #f0f0f0;
  cursor: help;
}

.ucat-feedback {
  font-weight: bold;
  margin-top: 0.5em;
}

/* Optional spacing between questions */
.ucat-result-question hr {
  margin-top: 20px;
  border: none;
  border-top: 1px solid #ddd;
}