/* Infocloud Quiz — colours follow the old AYS "classic light" theme (#5d6cf9 on white). */
.icq { max-width: 800px; margin: 20px auto 30px; font-size: 16px; line-height: 1.5; color: #000; }
.icq-box { padding: 24px; background: #fff; border: 1px solid #e4e6ef; border-radius: 8px; box-shadow: 0 2px 10px rgba(0, 0, 0, .08); }
.icq-title { margin: 0 0 12px; font-size: 24px; font-weight: 700; line-height: 1.3; text-align: center; }
.icq-desc { margin: 0 0 14px; text-align: center; }
.icq-meta { margin: 0 0 18px; font-size: 14px; color: #6c757d; text-align: center; }
.icq-start { text-align: center; }

.icq .icq-btn { display: inline-block; margin: 0; padding: 12px 28px; font-size: 16px; font-weight: 600; line-height: 1.3; color: #fff; background: #5d6cf9; border: 1px solid #5d6cf9; border-radius: 6px; box-shadow: none; text-transform: none; cursor: pointer; }
.icq .icq-btn:hover { background: #4655e0; border-color: #4655e0; color: #fff; }
.icq .icq-btn:disabled { opacity: .45; cursor: default; }
.icq .icq-btn-secondary { color: #5d6cf9; background: #fff; }
.icq .icq-btn-secondary:hover { color: #fff; }

.icq-head { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: #6c757d; }
.icq-timer { color: #dc3545; }
.icq-progress { height: 6px; margin-bottom: 20px; background: #eceefb; border-radius: 3px; overflow: hidden; }
.icq-progress-fill { height: 100%; background: #5d6cf9; transition: width .3s; }
.icq-text { margin-bottom: 18px; font-size: 19px; font-weight: 600; line-height: 1.4; }

.icq-answers { display: flex; flex-direction: column; gap: 10px; }
.icq .icq-answer { display: block; width: 100%; margin: 0; padding: 12px 16px; font-size: 16px; font-weight: 400; line-height: 1.4; text-align: left; text-transform: none; color: #000; background: #fff; border: 1px solid #c9cdf5; border-radius: 6px; box-shadow: none; cursor: pointer; }
.icq .icq-answer:hover:not(:disabled) { background: #f1f2fe; border-color: #5d6cf9; color: #000; }
.icq .icq-answer:disabled { cursor: default; opacity: 1; }
.icq .icq-answer.is-correct { background: #e6f6ec; border-color: #198754; color: #0f5132; font-weight: 600; }
.icq .icq-answer.is-wrong { background: #fdeaea; border-color: #dc3545; color: #842029; }

.icq-feedback { min-height: 24px; margin-top: 14px; }
.icq-feedback.is-correct, .icq-feedback.is-wrong { padding: 10px 14px; border-radius: 6px; }
.icq-feedback.is-correct { background: #e6f6ec; color: #0f5132; }
.icq-feedback.is-wrong { background: #fdeaea; color: #842029; }
.icq-nav { display: flex; justify-content: center; gap: 12px; margin-top: 18px; }

.icq-result { text-align: center; }
.icq-score { font-size: 48px; font-weight: 700; line-height: 1.2; color: #5d6cf9; }
.icq-score-note { margin: 6px 0 0; }
.icq-timeout { margin: 0 0 8px; font-weight: 600; color: #dc3545; }
.icq-share-title { margin: 22px 0 8px; font-size: 14px; color: #6c757d; }
.icq-share { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.icq .icq-share-link { padding: 6px 14px; font-size: 14px; color: #5d6cf9; border: 1px solid #c9cdf5; border-radius: 6px; text-decoration: none; }
.icq .icq-share-link:hover { background: #f1f2fe; }

.icq-review { margin-top: 26px; text-align: left; }
.icq-review-item { margin-bottom: 12px; padding: 12px 14px; border-left: 4px solid #198754; background: #f8f9fa; border-radius: 0 6px 6px 0; }
.icq-review-item.is-wrong { border-left-color: #dc3545; }
.icq-review-q { margin-bottom: 4px; font-weight: 600; }
.icq-review-c { color: #0f5132; font-weight: 600; }
.icq-review-item.is-wrong .icq-review-a { color: #842029; }
.icq-review-e { margin-top: 6px; font-size: 14px; color: #495057; }

@media (max-width: 600px) {
    .icq-box { padding: 16px; }
    .icq-title { font-size: 20px; }
    .icq-text { font-size: 17px; }
    .icq-score { font-size: 38px; }
}
