/* ══════════════════════════════════════
   Ziapy MCQ Quiz — Frontend Styles
══════════════════════════════════════ */
wp_enqueue_style( 'zquiz-style', ZQUIZ_URL . 'assets/quiz.css', [], ZQUIZ_VER );

.zquiz-wrap {
    max-width: 960px !important;
    width: 100% !important;
    margin: 0 auto 30px !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    box-sizing: border-box;
}

/* ── Header ── */
.zquiz-header {
    margin-bottom: 22px;
}

.zquiz-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.zquiz-back-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f1f5f9;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 7px 14px;
    font-family: inherit;
    font-size: 13px;
    color: #475569;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: all 0.18s;
}
.zquiz-back-link:hover,
.zquiz-back-link:focus {
    border-color: #667eea;
    background: #f0f4ff;
    color: #4338ca;
}

.zquiz-badge {
    background: #f0f4ff;
    color: #667eea;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 50px;
    border: 1px solid #d0d8f8;
}

.zquiz-main-title,
.zquiz-title {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 22px;
}

.zquiz-main-sub {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 20px;
}

.zquiz-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12.5px;
    color: #64748b;
}

.zquiz-meta-bar span { display: flex; align-items: center; gap: 4px; }

/* ── Meta description block ── */
.zquiz-meta-desc {
    font-size: 14px;
    color: #242424;
    line-height: 1.8;
    background: #f8faff;
    border: 1px solid #e0e8f8;
    border-left: 4px solid #667eea;
    border-radius: 7px;
    padding: 14px 18px;
    margin: 0 0 22px;
}

.zquiz-meta-desc p {
    margin: 0;
}

.zquiz-meta-desc strong {
    color: 	#6082B6;
    font-weight: 500;
}

/* ── Category Grid ── */
.zquiz-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px;
}

.zquiz-cat-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 2px solid #e8edf5;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.5s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    text-align: left;
    cursor: pointer;
}

.zquiz-cat-card:hover {
    border-color: #667eea;
    box-shadow: 0 4px 16px rgba(102,126,234,0.15);
    transform: translateY(-2px);
}

.zquiz-cat-media {
    width: 100%;
    height: 190px;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.zquiz-cat-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.zquiz-cat-icon { font-size: 42px; line-height: 1; }

.zquiz-cat-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.zquiz-cat-name { font-size: 15.5px; font-weight: 700; color: #1e293b; line-height: 1.3; }
.zquiz-cat-count { font-size: 12.5px; color: #94a3b8; }

/* ── Progress ── */
.zquiz-progress-wrap {
    background: #f1f5f9;
    border-radius: 50px;
    height: 6px;
    margin-bottom: 6px;
    overflow: hidden;
}

.zquiz-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 50px;
    transition: width 0.4s ease;
}

.zquiz-progress-text {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 16px;
}

/* ── Score bar ── */
.zquiz-scorebar {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    color: #15803d;
    margin-bottom: 16px;
}

/* ── Question card ── */
.zquiz-question {
    display: none;
    background: #fff;
    border: 1.5px solid #e8edf5;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    animation: zquiz-fadein 0.3s ease;
}

.zquiz-question.active { display: block; }

@keyframes zquiz-fadein {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.zquiz-q-number {
    font-size: 11.5px;
    font-weight: 600;
    color: #667eea;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

.zquiz-q-text {
    font-size: 15.5px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.55;
    margin-bottom: 20px;
}

/* ── Options ── */
.zquiz-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.zquiz-option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 11px 16px;
    font-size: 14px;
    color: #334155;
    cursor: pointer;
    text-align: left;
    transition: all 0.18s;
    font-family: inherit;
}

.zquiz-option:hover:not(:disabled) {
    border-color: #667eea;
    background: #f0f4ff;
    color: #1e293b;
}

.zquiz-opt-key {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: #e8edf5;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    transition: all 0.18s;
}

.zquiz-opt-val { flex: 1; line-height: 1.4; }

/* States */
.zquiz-option.correct {
    border-color: #22c55e;
    background: #f0fdf4;
    color: #15803d;
}
.zquiz-option.correct .zquiz-opt-key {
    background: #22c55e;
    color: #fff;
}

.zquiz-option.wrong {
    border-color: #ef4444;
    background: #fff1f1;
    color: #b91c1c;
}
.zquiz-option.wrong .zquiz-opt-key {
    background: #ef4444;
    color: #fff;
}

.zquiz-option.show-correct {
    border-color: #22c55e;
    background: #f0fdf4;
    color: #15803d;
    opacity: 0.75;
}
.zquiz-option.show-correct .zquiz-opt-key {
    background: #22c55e;
    color: #fff;
}

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

/* ── Question type badge (MSQ / NAT) ── */
.zquiz-qtype-badge {
    display: inline-block;
    background: #eef2ff;
    color: #4338ca;
    border: 1px solid #c7d2fe;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 11.5px;
    font-weight: 600;
    margin-bottom: 12px;
}

/* ── Question image ── */
.zquiz-q-image {
    margin-bottom: 16px;
    text-align: center;
}
.zquiz-q-image img {
    max-width: 100%;
    max-height: 360px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    object-fit: contain;
}

/* ── Option image (inline inside an option button) ── */
.zquiz-opt-val { display: flex; flex-direction: column; gap: 6px; }
.zquiz-opt-image {
    max-width: 100%;
    max-height: 160px;
    border-radius: 6px;
    object-fit: contain;
    align-self: flex-start;
}

/* ── MSQ: checkbox-style selection before submit ── */
.zquiz-option-msq.selected {
    border-color: #667eea;
    background: #eef2ff;
}
.zquiz-option-msq.selected .zquiz-opt-key {
    background: #667eea;
    color: #fff;
}
.zquiz-msq-actions { margin-top: 4px; margin-bottom: 4px; }

/* ── NAT: numeric answer input ── */
.zquiz-nat-wrap {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.zquiz-nat-input {
    flex: 1;
    min-width: 200px;
    padding: 11px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
}
.zquiz-nat-input:focus { outline: none; border-color: #667eea; }
.zquiz-nat-input.correct { border-color: #22c55e; background: #f0fdf4; color: #15803d; }
.zquiz-nat-input.wrong   { border-color: #ef4444; background: #fff1f1; color: #b91c1c; }
.zquiz-submit-btn { white-space: nowrap; }


/* ── Explanation ── */
.zquiz-explanation {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 16px;
    animation: zquiz-fadein 0.3s ease;
}

.zquiz-exp-label {
    font-size: 12px;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.zquiz-exp-text {
    font-size: 13.5px;
    color: #78350f;
    line-height: 1.6;
}

/* ── Nav buttons ── */
.zquiz-nav { margin-top: 4px; }

.zquiz-next-btn,
.zquiz-finish-btn {
    background: linear-gradient(135deg, #667eea, #4f46e5);
    color: #fff;
    border: none;
    border-radius: 9px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.2s, transform 0.2s;
    box-shadow: 0 3px 10px rgba(102,126,234,0.35);
}

.zquiz-next-btn:hover,
.zquiz-finish-btn:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

/* ── Result screen ── */
.zquiz-result {
    background: #fff;
    border: 1.5px solid #e8edf5;
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.zquiz-result-icon { font-size: 52px; margin-bottom: 10px; }
.zquiz-result-title { font-size: 22px; font-weight: 700; color: #1e293b; margin-bottom: 10px; }
.zquiz-result-score { font-size: 16px; color: #475569; margin-bottom: 6px; }
.zquiz-result-pct { font-size: 36px; font-weight: 800; color: #667eea; margin-bottom: 8px; }
.zquiz-result-msg { font-size: 14px; color: #64748b; margin-bottom: 24px; }

.zquiz-result-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.zquiz-retry-btn,
.zquiz-cats-btn,
.zquiz-mock-btn {
    padding: 10px 20px;
    border-radius: 9px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    border: none;
    font-family: inherit;
    transition: transform 0.18s, opacity 0.18s;
}

.zquiz-retry-btn {
    background: linear-gradient(135deg, #667eea, #4f46e5);
    color: #fff;
    box-shadow: 0 3px 10px rgba(102,126,234,0.3);
}

.zquiz-cats-btn {
    background: #f1f5f9;
    color: #475569;
    border: 1.5px solid #e2e8f0;
}

.zquiz-mock-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    box-shadow: 0 3px 10px rgba(16,185,129,0.3);
}

.zquiz-retry-btn:hover,
.zquiz-cats-btn:hover,
.zquiz-mock-btn:hover { transform: translateY(-1px); opacity: 0.9; }

/* ── Empty / back ── */
.zquiz-empty { text-align: center; padding: 40px 20px; color: #64748b; }
.zquiz-back-btn {
    display: inline-block;
    margin-top: 14px;
    padding: 9px 18px;
    background: #667eea;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

/* ── Start label on cat card ── */
.zquiz-cat-start {
    font-size: 11px;
    color: #667eea;
    font-weight: 600;
    margin-top: 2px;
    opacity: 0;
    transition: opacity 0.2s;
}
.zquiz-cat-card:hover .zquiz-cat-start { opacity: 1; }
.zquiz-cat-card { cursor: pointer; }
a.zquiz-cat-card { display: block; text-decoration: none; color: inherit; }
a.zquiz-cat-card:visited { color: inherit; }

/* ── Feature tags row ── */
.zquiz-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 28px;
}
.zquiz-tag {
    background: #f0f4ff;
    border: 1px solid #d0d8f8;
    border-radius: 50px;
    padding: 2px 9px;
    font-size: 10.5px;
    color: #4f5f8a;
    font-weight: 500;
    white-space: nowrap;
    display: inline-block;
}

/* ── Download store promo banner ── */
.zquiz-promo-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    background: linear-gradient(120deg, #0f1c2e 0%, #1b3155 100%);
    border-radius: 12px;
    border: 1px solid rgba(251,191,36,0.35);
    padding: 16px 20px;
    margin-top: 22px;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.zquiz-promo-left {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1 1 180px;
}
.zquiz-promo-icon {
    font-size: 26px;
    flex-shrink: 0;
    line-height: 1;
}
.zquiz-promo-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 3px;
    display: block;
}
.zquiz-promo-sub {
    font-size: 11.5px;
    color: #7f9ab5;
    line-height: 1.5;
    display: block;
    margin: 0;
}
.zquiz-promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #667eea, #4f46e5);
    color: #fff;
    text-decoration: none;
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 3px 12px rgba(102,126,234,0.4);
    transition: transform 0.18s, box-shadow 0.18s;
    flex-shrink: 0;
    border: none;
}
.zquiz-promo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(102,126,234,0.5);
    color: #fff;
    text-decoration: none;
}

/* ── Mobile ── */
@media (max-width: 600px) {
  
    .zquiz-wrap { padding: 0 14px; box-sizing: border-box; }
    .zquiz-question { padding: 18px 16px; }
    .zquiz-q-text { font-size: 14.5px; }
    .zquiz-cat-grid { grid-template-columns: 1fr; gap: 16px; }
    .zquiz-cat-media { height: 250px; }
    .zquiz-cat-icon { font-size: 36px; }
    .zquiz-cat-name { font-size: 16px; }
    .zquiz-cat-count { font-size: 13px; }
    .zquiz-result { padding: 24px 18px; }
    .zquiz-result-btns { flex-direction: column; align-items: stretch; }
    .zquiz-retry-btn,
    .zquiz-cats-btn,
    .zquiz-mock-btn { text-align: center; }
    .zquiz-promo-banner { flex-direction: column; align-items: stretch; }
    .zquiz-promo-btn { text-align: center; justify-content: center; width: 100%; }
    .zquiz-meta-desc { font-size: 12px; }
    .zquiz-tag { font-size: 10px; }
}
@media (max-width: 600px) {
    .zquiz-promo-banner { flex-direction: column; align-items: stretch; }
    .zquiz-promo-left { flex: 1 1 auto; }
    .zquiz-promo-btn { text-align: center; justify-content: center; width: 100%; }
}
/* ══════════════════════════════════════
   Ziapy Reviews — Frontend Styles
══════════════════════════════════════ */

.zquiz-reviews-wrap {
    max-width: 960px;
    margin: 86px auto 30px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.zquiz-reviews-title {
    font-size: 19px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px;
}

/* ── Rating summary ── */
.zquiz-rating-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.zquiz-rating-avg {
    font-size: 26px;
    font-weight: 800;
    color: #1e293b;
}

.zquiz-stars-display {
    color: #f59e0b;
    letter-spacing: 2px;
    line-height: 1;
}

.zquiz-rating-count {
    font-size: 13px;
    color: #64748b;
}

/* ── Notices ── */
.zquiz-review-notice {
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 16px;
}
.zquiz-review-success {
    background: #e6ffed;
    color: #155724;
    border: 1px solid #bbf7d0;
}
.zquiz-review-error {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #fde68a;
}

/* ── Review form ── */
.zquiz-review-form-wrap {
    background: #fff;
    border: 1.5px solid #e8edf5;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 22px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.zquiz-review-form-toggle {
    font-size: 14px;
    font-weight: 600;
    color: #4f46e5;
    cursor: pointer;
    list-style: none;
    user-select: none;
}
.zquiz-review-form-toggle::-webkit-details-marker { display: none; }

.zquiz-review-form {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.zquiz-form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.zquiz-form-row label {
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
}

.zquiz-form-row input[type="text"],
.zquiz-form-row textarea {
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    font-family: inherit;
    color: #1e293b;
    background: #f8fafc;
}

.zquiz-form-row input[type="text"]:focus,
.zquiz-form-row textarea:focus {
    outline: none;
    border-color: #667eea;
    background: #fff;
}

.zquiz-form-row textarea {
    min-height: 90px;
    resize: vertical;
}

/* ── Star rating input ── */
.zquiz-star-input {
    display: flex;
    flex-direction: row-reverse;
    gap: 4px;
    font-size: 26px;
    color: #cbd5e1;
    line-height: 1;
    width: max-content;
}

.zquiz-star-choice {
    cursor: pointer;
    transition: color 0.15s, transform 0.1s;
}

.zquiz-star-choice:hover,
.zquiz-star-choice:hover ~ .zquiz-star-choice {
    color: #f59e0b;
}

.zquiz-star-choice.selected,
.zquiz-star-choice.selected ~ .zquiz-star-choice {
    color: #f59e0b;
}

.zquiz-star-choice:active {
    transform: scale(1.15);
}

.zquiz-review-submit-btn {
    align-self: flex-start;
    background: linear-gradient(135deg, #667eea, #4f46e5);
    color: #fff;
    border: none;
    border-radius: 9px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.2s, transform 0.2s;
    box-shadow: 0 3px 10px rgba(102,126,234,0.35);
}
.zquiz-review-submit-btn:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

/* ── Review list ── */
.zquiz-review-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.zquiz-review-card {
    background: #fff;
    border: 1.5px solid #e8edf5;
    border-radius: 10px;
    padding: 14px 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.zquiz-review-card-top {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.zquiz-review-author {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
}

.zquiz-review-card-top .zquiz-stars-display {
    font-size: 13px;
}

.zquiz-review-date {
    font-size: 11.5px;
    color: #94a3b8;
    margin-left: auto;
}

.zquiz-review-content {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.6;
    white-space: pre-line;
}

.zquiz-review-empty {
    font-size: 13.5px;
    color: #94a3b8;
    text-align: center;
    padding: 16px 0;
}

/* ── Mobile ── */
@media (max-width: 600px) {
    .zquiz-review-date { margin-left: 0; }
    .zquiz-rating-avg { font-size: 22px; }
}

/* ── NEET / Class 12 Banner (added to shortcode) ── */
.neet-ad-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f8faff;
    border: 1px solid #d0d9f8;
    border-radius: 12px;
    padding: 14px 18px;
    text-decoration: none;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    margin-bottom: 20px;
    box-sizing: border-box;
    width: 100%;
}
.neet-ad-banner:hover {
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
    transform: translateY(-1px);
    border-color: #818cf8;
}
.neet-ad-banner.zquiz-inline-banner {
    margin-bottom: 14px;
}

.neet-ad-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #e0e7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.neet-ad-text {
    flex: 1;
    min-width: 0;
}
.neet-ad-text strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1e1b4b;
    line-height: 1.35;
    margin-bottom: 2px;
}
.neet-ad-text span {
    display: block;
    font-size: 12px;
    color: #4b5563;
    line-height: 1.4;
}

.neet-ad-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #4f46e5;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .neet-ad-banner {
        flex-direction: column;
        align-items: stretch;
        padding: 14px 16px;
        gap: 10px;
    }
    .neet-ad-icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        font-size: 16px;
    }
    .neet-ad-text strong {
        font-size: 13px;
    }
    .neet-ad-text span {
        font-size: 11.5px;
        margin-bottom: 6px;
    }
    .neet-ad-btn {
        justify-content: center;
        color: #fff;
        background: #4f46e5;
        border-radius: 8px;
        padding: 9px;
        font-size: 12.5px;
    }
}
/* ── Static crawlable question preview (SEO) ── */
.zquiz-static-preview {
    max-width: 960px !important;
    width: 100% !important;
    margin: 40px auto 40px !important;
    padding: 0 !important;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.zquiz-static-preview-inner {
    border-top: 1px solid #e8edf5;
    padding-top: 28px;
}
.zquiz-static-preview h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #1a1a2e;
    letter-spacing: -0.01em;
}
.zquiz-static-q {
    background: #fff;
    border: 1.5px solid #e8edf5;
    border-radius: 12px;
    margin-bottom: 12px;
    padding: 18px 22px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.zquiz-static-q:hover {
    border-color: #c7d2fe;
    box-shadow: 0 3px 12px rgba(102,126,234,0.08);
}
.zquiz-static-q[open] {
    border-color: #667eea;
}
.zquiz-static-q summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.5;
    color: #1a1a2e;
    list-style: none;
    padding-right: 8px;
}
.zquiz-static-q summary::-webkit-details-marker { display: none; }
.zquiz-static-q summary::before {
    content: '▸';
    display: inline-block;
    width: 16px;
    margin-right: 8px;
    color: #667eea;
    font-weight: 700;
    transition: transform 0.15s ease;
}
.zquiz-static-q[open] summary::before { transform: rotate(90deg); }
.zquiz-static-opts {
    list-style: none;
    margin: 14px 0 0 24px;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 20px;
}
.zquiz-static-opts li {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.5;
}
.zquiz-static-answer {
    margin: 14px 0 0 24px;
    font-size: 14px;
    color: #15803d;
    padding: 8px 12px;
    background: #f0fdf4;
    border-radius: 7px;
    display: inline-block;
}
.zquiz-static-explain {
    margin: 10px 0 0 24px;
    font-size: 13.5px;
    color: #6b7280;
    line-height: 1.65;
}
@media (max-width: 560px) {
    .zquiz-static-preview { padding: 0 16px !important; }
    .zquiz-static-opts { grid-template-columns: 1fr; margin-left: 0; }
    .zquiz-static-answer, .zquiz-static-explain { margin-left: 0; }
}
