/**
 * verstaendnischeck.css
 * ─────────────────────
 * Interaktive Multiple-Choice-Quiz-Cards für Lang-Module.
 * Klick → korrekt grün / falsch rot + shake, Feedback erscheint, Retry möglich.
 * Stil-konsistent zur Kurzversion (Navy/Grün-Akzent, weiche Schatten, rounded).
 */

.vc-quiz {
  margin: 24px 0;
  padding: 22px 24px;
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fbfd 0%, #ffffff 100%);
  border: 1px solid rgba(28, 36, 75, 0.10);
  box-shadow: 0 2px 12px rgba(15, 31, 61, 0.05);
}

.vc-quiz-label {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: #eef4f7;
  color: #1c244b;
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.vc-question {
  font-weight: 600;
  color: #0f1f3d;
  margin: 0 0 18px 0;
  line-height: 1.55;
  font-size: 1.02em;
}

.vc-options {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 4px 0 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vc-options li {
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}

.vc-options li::before {
  content: none !important;
}

.vc-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 16px;
  background: #ffffff;
  border: 2px solid rgba(28, 36, 75, 0.10);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: #0f1f3d;
  text-align: left;
  line-height: 1.45;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.vc-option:hover:not(:disabled) {
  border-color: #7496ac;
  background: #f4f8fb;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(15, 31, 61, 0.06);
}

.vc-option:active:not(:disabled) {
  transform: translateY(0);
}

.vc-option:disabled {
  cursor: default;
}

.vc-option-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eef4f7;
  color: #1c244b;
  font-weight: 700;
  font-size: 0.85em;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.vc-option-text {
  flex: 1;
}

.vc-option--correct {
  border-color: #0fb5a6 !important;
  background: rgba(15, 181, 166, 0.08) !important;
}

.vc-option--correct .vc-option-letter {
  background: #0fb5a6;
  color: #ffffff;
}

.vc-option--wrong {
  border-color: #e11d74 !important;
  background: rgba(225, 29, 116, 0.07) !important;
  animation: vcShake 0.4s ease-in-out;
}

.vc-option--wrong .vc-option-letter {
  background: #e11d74;
  color: #ffffff;
}

.vc-option--dimmed {
  opacity: 0.4;
  border-style: dashed !important;
}

.vc-feedback {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  line-height: 1.55;
  font-size: 0.95em;
}

.vc-feedback.is-visible {
  display: block;
}

.vc-feedback--correct {
  background: rgba(15, 181, 166, 0.08);
  border: 1px solid rgba(15, 181, 166, 0.30);
  color: #0f1f3d;
}

.vc-feedback--correct strong {
  color: #0a857a;
  display: block;
  margin-bottom: 4px;
  font-size: 1.02em;
}

.vc-feedback--wrong {
  background: rgba(225, 29, 116, 0.07);
  border: 1px solid rgba(225, 29, 116, 0.28);
  color: #0f1f3d;
}

.vc-feedback--wrong strong {
  color: #ab0d56;
  display: block;
  margin-bottom: 4px;
  font-size: 1.02em;
}

.vc-feedback p {
  margin: 4px 0 0 0;
}

.vc-retry {
  margin-top: 14px;
  padding: 8px 20px;
  border-radius: 999px;
  background: transparent;
  border: 2px solid #7496ac;
  color: #1c244b;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.85em;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}

.vc-retry:hover {
  background: #eef4f7;
  transform: translateY(-1px);
}

@keyframes vcShake {
  0%, 100% { transform: translateX(0); }
  25%      { transform: translateX(-5px); }
  50%      { transform: translateX(5px); }
  75%      { transform: translateX(-3px); }
}

@media (max-width: 600px) {
  .vc-quiz { padding: 18px 16px; }
  .vc-option { font-size: 0.9rem; padding: 11px 14px; }
}
