/*!
 * ORCN quiz stiliai — pakeičia ari-stream-quiz theme.css (P-018, 2026-08-29).
 * Viskas po .oq-root, kad neliestų likusio puslapio.
 */

.oq-root { max-width: 860px; margin: 0 auto; font-size: 16px; line-height: 1.55; }

.oq-loading,
.oq-error { padding: 28px 0; color: #6b7280; text-align: center; }
.oq-error a { color: #0072C6; }

/* --- Įžanga --------------------------------------------------------------- */
.oq-intro { text-align: center; padding: 12px 0 24px; }
.oq-intro-text { color: #4b5563; margin-bottom: 18px; }

/* --- Mygtukai ------------------------------------------------------------- */
.oq-btn {
  display: inline-block; margin-top: 16px; padding: 12px 26px;
  background: #0072C6; color: #fff; border: 0; border-radius: 6px;
  font-size: 16px; font-weight: 600; cursor: pointer;
  transition: background .15s ease;
}
.oq-btn:hover { background: #005ba1; }
.oq-btn-start { padding: 14px 34px; font-size: 17px; }

/* --- Klausimas ------------------------------------------------------------ */
.oq-progress { color: #6b7280; font-size: 14px; margin-bottom: 6px; }
.oq-title { margin: 0 0 16px; font-size: 22px; line-height: 1.3; }
.oq-qimage { margin-bottom: 16px; }
.oq-qimage img { max-width: 100%; height: auto; border-radius: 6px; }

/* --- Atsakymai ------------------------------------------------------------ */
.oq-answers { display: grid; gap: 12px; grid-template-columns: 1fr; }
.oq-answers-img { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 700px) {
  .oq-answers-img { grid-template-columns: repeat(2, 1fr); }
  .oq-title { font-size: 19px; }
}
@media (max-width: 420px) {
  .oq-answers-img { grid-template-columns: 1fr; }
}

.oq-answer {
  display: block; width: 100%; padding: 10px;
  background: #fff; border: 2px solid #e5e7eb; border-radius: 8px;
  cursor: pointer; text-align: center; font-size: 15px; color: #111827;
  transition: border-color .15s ease, background .15s ease;
}
.oq-answer:hover:not(:disabled) { border-color: #0072C6; background: #f8fbff; }
.oq-answer:disabled { cursor: default; }
.oq-answer img { display: block; width: 100%; height: auto; border-radius: 4px; }
.oq-answer-label { display: block; margin-top: 6px; }

/* Teisingas visada pažymimas žaliai — net jei žmogus pasirinko kitą.
   Taip iš karto matyti, kuris buvo teisingas, ir nereikia skaityti paaiškinimo. */
.oq-answer.is-correct { border-color: #16a34a; background: #f0fdf4; }
.oq-answer.is-wrong   { border-color: #dc2626; background: #fef2f2; }

/* --- Grįžtamasis ryšys ---------------------------------------------------- */
.oq-feedback {
  margin-top: 20px; padding: 16px 18px; border-radius: 8px;
  border-left: 4px solid #9ca3af; background: #f9fafb;
}
.oq-feedback.ok { border-left-color: #16a34a; }
.oq-feedback.no { border-left-color: #dc2626; }
.oq-explanation { margin-top: 10px; color: #374151; }
.oq-explanation a { color: #0072C6; }
.oq-explanation img { max-width: 100%; height: auto; }

/* --- Rezultatas ----------------------------------------------------------- */
.oq-result { text-align: center; padding: 20px 0; }
.oq-score { font-size: 20px; margin-bottom: 10px; }
.oq-result-title { font-size: 26px; margin: 6px 0 10px; }
.oq-result-text { color: #4b5563; }
.oq-more { margin-top: 22px; font-size: 14px; color: #6b7280; }
.oq-more a { color: #0072C6; }
