/*
Theme Name: QuizBank
Theme URI: https://example.com/quizbank
Author: Kunal
Description: Subject-wise MCQ practice and exam theme (Maths, Physics, Chemistry, Biology). Question banks are stored as JSON in the database, logged-in students' attempts are saved and shown on a My Reports page. Built on Bootstrap 5.
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: qbank
*/

/* Bootstrap does almost everything. Only small additions below. */
:root { --qb-accent: #0d9488; }
.custom-logo { max-height: 44px; width: auto; }
.qb-page-content > :not(.alignfull) { max-width: 1140px; margin-inline: auto; padding-inline: 12px; }
.navbar-brand .bi { color: var(--qb-accent); }
.qb-hero { background: linear-gradient(135deg, rgba(13,148,136,.12), rgba(99,102,241,.12)); }
.qb-subject-icon { width: 3rem; height: 3rem; }
.qb-card-hover { transition: transform .15s, box-shadow .15s; }
.qb-card-hover:hover { transform: translateY(-3px); box-shadow: var(--bs-box-shadow) !important; }

/* Quiz */
.qb-option { text-align: left; white-space: normal; }
.qb-option:disabled { opacity: 1; }
.qb-option .qb-letter { width: 2rem; height: 2rem; flex: 0 0 2rem; }
.qb-palette { display: grid; grid-template-columns: repeat(auto-fill, minmax(2.6rem, 1fr)); gap: .35rem; max-height: 22rem; overflow-y: auto; }
.qb-palette .btn { padding: .3rem 0; font-size: .8rem; }
.qb-question-text { font-size: 1.1rem; line-height: 1.6; }
mjx-container { display: inline-block !important; }
