/* SafetyChex — Shared Quiz Engine Styles */
.scq-container {
  max-width: 800px;
  margin: 30px auto 0;
  padding: 0 16px 40px;
}
.scq-header {
  text-align: center;
  margin-bottom: 24px;
  padding: 20px;
  background: linear-gradient(135deg, #013369 0%, #1a4a8a 100%);
  border-radius: 16px;
  color: #fff;
}
.scq-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 0 6px;
}
.scq-subtitle {
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.8;
}
.scq-question {
  background: #fff;
  border: 1px solid #e0e6f0;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 14px;
}
.scq-q-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #13274a;
  line-height: 1.5;
  margin-bottom: 12px;
}
.scq-q-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #013369;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  margin-right: 8px;
  flex-shrink: 0;
}
.scq-options { display: grid; gap: 8px; }
.scq-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 2px solid #e0e6f0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s;
  font-size: 0.88rem;
  color: #1e293b;
  line-height: 1.45;
}
.scq-option:hover { background: #f5f8ff; border-color: #b0c4e8; }
.scq-option.selected {
  border-color: #2563eb;
  background: #eff4ff;
}
.scq-option.correct {
  border-color: #16a34a;
  background: #dcfce7;
}
.scq-option.wrong {
  border-color: #dc2626;
  background: #fef2f2;
}
.scq-radio {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 50%;
  border: 2px solid #c0cad8;
  margin-top: 2px;
  transition: all 0.15s;
  position: relative;
}
.scq-option.selected .scq-radio {
  border-color: #2563eb;
  background: #2563eb;
}
.scq-option.selected .scq-radio::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
}
.scq-option.correct .scq-radio {
  border-color: #16a34a;
  background: #16a34a;
}
.scq-option.correct .scq-radio::after {
  content: '✓';
  position: absolute;
  top: -1px; left: 2px;
  font-size: 12px;
  color: #fff;
  font-weight: 700;
}
.scq-option.wrong .scq-radio {
  border-color: #dc2626;
  background: #dc2626;
}
.scq-option.wrong .scq-radio::after {
  content: '✕';
  position: absolute;
  top: -1px; left: 2px;
  font-size: 12px;
  color: #fff;
  font-weight: 700;
}
.scq-submit {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 24px auto 0;
  padding: 14px 24px;
  background: #ffa500;
  color: #013369;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s;
}
.scq-submit:hover { background: #e69500; transform: translateY(-1px); }
.scq-results {
  text-align: center;
  padding: 30px 20px;
  border-radius: 16px;
  margin-top: 24px;
}
.scq-passed {
  background: linear-gradient(135deg, #dcfce7 0%, #f0fdf4 100%);
  border: 2px solid #86efac;
}
.scq-failed {
  background: linear-gradient(135deg, #fef2f2 0%, #fff5f5 100%);
  border: 2px solid #fca5a5;
}
.scq-results-icon { font-size: 3rem; margin-bottom: 10px; }
.scq-results-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #13274a;
  margin-bottom: 6px;
}
.scq-results-score {
  font-size: 1rem;
  font-weight: 600;
  color: #4a5a8a;
  margin-bottom: 12px;
}
.scq-results p {
  color: #5f6f86;
  font-size: 0.92rem;
  margin: 0 0 16px;
}
.scq-retry {
  padding: 12px 28px;
  background: #013369;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}
.scq-retry:hover { background: #01275a; }
