/* ================================================
   BankersClub Course Engine — Steel Teal Design
   Fonts: Sora (headings) + Lora (body)
   Teal: #0a9e9e  Navy: #0d4f4f  Cream: #f5f0e8
   ================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body.bc-course-page {
	font-family: 'Lora', Georgia, serif;
	background: #f4f6f8;
	color: #1a2533;
	line-height: 1.7;
	min-height: 100vh;
}

/* ---- App Shell ---- */
.bc-app { display: flex; flex-direction: column; min-height: 100vh; }

/* ---- Top Nav ---- */
.bc-nav {
	position: fixed; top: 0; left: 0; right: 0; z-index: 200;
	background: #0d4f4f;
	display: flex; align-items: center; gap: 1.5rem;
	padding: 0 1.5rem;
	height: 56px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.bc-nav__logo {
	font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.1rem;
	text-decoration: none; white-space: nowrap;
}
.bc-nav__logo-bc   { color: #fff; }
.bc-nav__logo-club { color: #0a9e9e; }

.bc-nav__links { display: flex; gap: 1.25rem; }
.bc-nav__links a {
	color: rgba(255,255,255,0.8); text-decoration: none;
	font-family: 'Sora', sans-serif; font-size: 0.85rem; font-weight: 500;
	transition: color 0.15s;
}
.bc-nav__links a:hover { color: #fff; }

.bc-nav__right {
	margin-left: auto; display: flex; align-items: center; gap: 1rem;
}
.bc-nav__tier {
	background: rgba(10,158,158,0.25); color: #a8eeee;
	font-family: 'Sora', sans-serif; font-size: 0.72rem; font-weight: 600;
	padding: 0.2rem 0.6rem; border-radius: 20px; white-space: nowrap;
}
.bc-nav__user { color: rgba(255,255,255,0.75); font-size: 0.85rem; }
.bc-nav__logout {
	color: rgba(255,255,255,0.5); font-size: 0.8rem; text-decoration: none;
}
.bc-nav__logout:hover { color: #fff; }

/* Bell + Notification Dropdown */
.bc-bell {
	background: none; border: none; cursor: pointer; position: relative;
	font-size: 1.1rem; color: rgba(255,255,255,0.8); padding: 0.25rem;
}
.bc-badge {
	position: absolute; top: -4px; right: -4px;
	background: #e74c3c; color: #fff;
	font-family: 'Sora', sans-serif; font-size: 0.65rem; font-weight: 700;
	width: 16px; height: 16px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
}
.bc-notif-dropdown {
	display: none; position: absolute; top: 56px; right: 1.5rem;
	background: #fff; border: 1px solid #e2e8f0; border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.12); width: 320px; z-index: 300;
	max-height: 360px; overflow-y: auto;
}
.bc-notif-dropdown.bc-open { display: block; }
.bc-notif-dropdown ul { list-style: none; }
.bc-notif-item {
	padding: 0.85rem 1rem; border-bottom: 1px solid #f0f4f8;
	cursor: pointer; transition: background 0.1s;
}
.bc-notif-item:hover { background: #f8fafb; }
.bc-notif-item.bc-read { opacity: 0.5; }
.bc-notif-msg { display: block; font-size: 0.88rem; color: #1a2533; }
.bc-notif-time { display: block; font-size: 0.75rem; color: #94a3b8; margin-top: 0.25rem; }
.bc-notif-empty { padding: 1rem; color: #94a3b8; font-size: 0.88rem; text-align: center; }

/* ---- Body + Sidebar ---- */
.bc-body {
	display: flex;
	margin-top: 56px; /* nav height */
	min-height: calc(100vh - 56px);
}

.bc-sidebar {
	position: fixed; top: 56px; left: 0; bottom: 0;
	width: 240px; background: #0d4f4f;
	overflow-y: auto; z-index: 100;
	display: flex; flex-direction: column;
	padding-bottom: 2rem;
}
.bc-sidebar__tier {
	padding: 1rem 1.25rem 0.75rem;
	border-bottom: 1px solid rgba(255,255,255,0.1);
}
.bc-sidebar__tier-label {
	font-family: 'Sora', sans-serif; font-size: 0.72rem; font-weight: 600;
	color: #0a9e9e; text-transform: uppercase; letter-spacing: 0.08em;
}
.bc-sidebar__nav { padding: 0.75rem 0; }
.bc-sidebar__link {
	display: block; padding: 0.6rem 1.25rem;
	color: rgba(255,255,255,0.7); text-decoration: none;
	font-family: 'Sora', sans-serif; font-size: 0.82rem; font-weight: 500;
	transition: all 0.15s;
}
.bc-sidebar__link:hover,
.bc-sidebar__link.active { color: #fff; background: rgba(10,158,158,0.2); }

.bc-sidebar__module { margin-top: 0.5rem; }
.bc-sidebar__module-name {
	padding: 0.5rem 1.25rem 0.25rem;
	font-family: 'Sora', sans-serif; font-size: 0.7rem; font-weight: 700;
	color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.1em;
}
.bc-sidebar__chapter {
	display: block; padding: 0.45rem 1.25rem 0.45rem 1.75rem;
	color: rgba(255,255,255,0.65); text-decoration: none;
	font-size: 0.8rem; line-height: 1.4; transition: all 0.15s;
}
.bc-sidebar__chapter:hover,
.bc-sidebar__chapter.active {
	color: #a8eeee; background: rgba(10,158,158,0.15);
}
.bc-sidebar__chapter--locked {
	color: rgba(255,255,255,0.35);
	display: flex; align-items: center; justify-content: space-between;
}
.bc-sidebar__chapter--locked:hover { color: rgba(255,255,255,0.5); background: transparent; }
.bc-sidebar__lock { font-size: 0.7rem; opacity: 0.7; }

/* ---- Main Content Area ---- */
.bc-main {
	margin-left: 240px;
	flex: 1;
	padding: 2rem;
	max-width: 100%;
}

/* ---- Page headings ---- */
.bc-page-title {
	font-family: 'Sora', sans-serif; font-size: 1.5rem; font-weight: 700;
	color: #0d4f4f; margin-bottom: 0.5rem;
}
.bc-page-subtitle {
	font-size: 0.9rem; color: #64748b; margin-bottom: 1.75rem;
}

/* ---- Banner / Alert ---- */
.bc-banner {
	padding: 0.85rem 1.25rem; border-radius: 6px;
	font-size: 0.9rem; margin-bottom: 1.5rem; display: none;
}
.bc-banner--error   { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }
.bc-banner--success { background: #f0fdf4; border: 1px solid #86efac; color: #166534; }
.bc-banner--info    { background: #e6f7f7; border: 1px solid #0a9e9e; color: #0d4f4f; }
#bc-banner { display: block; }

/* ---- Stat Cards ---- */
.bc-stat-grid {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
	margin-bottom: 1.75rem;
}
@media (max-width: 900px) { .bc-stat-grid { grid-template-columns: repeat(2, 1fr); } }

.bc-stat-card {
	background: #fff; border-radius: 10px;
	padding: 1.25rem 1.5rem; box-shadow: 0 1px 4px rgba(0,0,0,0.06);
	border-left: 4px solid #0a9e9e;
}
.bc-stat-card__value {
	font-family: 'Sora', sans-serif; font-size: 1.8rem; font-weight: 700;
	color: #0d4f4f; line-height: 1;
}
.bc-stat-card__label {
	font-size: 0.78rem; color: #64748b; margin-top: 0.35rem;
	font-family: 'Sora', sans-serif; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em;
}

/* ---- Card ---- */
.bc-card {
	background: #fff; border-radius: 10px;
	padding: 1.5rem; box-shadow: 0 1px 4px rgba(0,0,0,0.06);
	margin-bottom: 1.5rem;
}
.bc-card__title {
	font-family: 'Sora', sans-serif; font-size: 0.95rem; font-weight: 700;
	color: #0d4f4f; margin-bottom: 1rem;
	padding-bottom: 0.6rem; border-bottom: 2px solid #e6f7f7;
}

/* ---- Welcome Banner ---- */
.bc-welcome {
	background: linear-gradient(135deg, #0d4f4f 0%, #0a9e9e 100%);
	border-radius: 10px; padding: 1.5rem 2rem; margin-bottom: 1.5rem;
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	box-shadow: 0 4px 16px rgba(13,79,79,0.25);
}
.bc-welcome__name {
	font-family: 'Sora', sans-serif; font-size: 1.25rem; font-weight: 700; color: #fff;
}
.bc-welcome__meta { color: rgba(255,255,255,0.8); font-size: 0.88rem; margin-top: 0.25rem; }
.bc-welcome__meta strong { color: #a8eeee; }
.bc-welcome__cta {
	background: rgba(255,255,255,0.15); color: #fff; border: 1.5px solid rgba(255,255,255,0.4);
	padding: 0.6rem 1.25rem; border-radius: 6px;
	font-family: 'Sora', sans-serif; font-size: 0.85rem; font-weight: 600;
	text-decoration: none; white-space: nowrap; transition: all 0.15s;
}
.bc-welcome__cta:hover { background: rgba(255,255,255,0.25); }

/* ---- Streak ---- */
.bc-streak-dots { display: flex; gap: 6px; margin: 0.75rem 0; }
.bc-streak-dot {
	width: 14px; height: 14px; border-radius: 50%;
	background: #e2e8f0; transition: background 0.2s;
}
.bc-streak-dot.active { background: #0a9e9e; }
.bc-streak-numbers { display: flex; gap: 2rem; margin-top: 0.5rem; }
.bc-streak-num { font-family: 'Sora', sans-serif; font-size: 1.5rem; font-weight: 700; color: #0d4f4f; }
.bc-streak-label { font-size: 0.75rem; color: #64748b; }

/* ---- Exam Countdown ---- */
.bc-countdown-val {
	font-family: 'Sora', sans-serif; font-size: 2rem; font-weight: 700;
	color: #0a9e9e;
}
.bc-exam-edit-btn {
	background: none; border: none; cursor: pointer; color: #0a9e9e;
	font-size: 0.8rem; text-decoration: underline; padding: 0;
	font-family: 'Sora', sans-serif;
}
#bc-exam-date-form { margin-top: 0.75rem; display: none; }
#bc-exam-date-form input[type="date"] {
	border: 1.5px solid #0a9e9e; border-radius: 4px; padding: 0.35rem 0.6rem;
	font-size: 0.9rem; margin-right: 0.5rem;
}
#bc-exam-date-form button {
	background: #0a9e9e; color: #fff; border: none; border-radius: 4px;
	padding: 0.4rem 0.9rem; font-family: 'Sora', sans-serif; font-size: 0.85rem;
	cursor: pointer; font-weight: 600;
}

/* ---- Module Progress List ---- */
.bc-module-list { display: flex; flex-direction: column; gap: 0.75rem; }
.bc-module-item {
	border: 1px solid #e2e8f0; border-radius: 8px; padding: 1rem 1.25rem;
	transition: box-shadow 0.15s;
}
.bc-module-item:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.bc-module-item__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.6rem; }
.bc-module-item__name {
	font-family: 'Sora', sans-serif; font-weight: 600; font-size: 0.92rem; color: #0d4f4f;
}
.bc-module-item__pct { font-family: 'Sora', sans-serif; font-size: 0.85rem; color: #64748b; }
.bc-progress-bar { background: #e2e8f0; border-radius: 99px; height: 6px; }
.bc-progress-fill { background: #0a9e9e; border-radius: 99px; height: 100%; transition: width 0.4s ease; }
.bc-module-status {
	font-size: 0.75rem; font-family: 'Sora', sans-serif; font-weight: 600;
	margin-top: 0.4rem;
}
.bc-module-status--done     { color: #059669; }
.bc-module-status--progress { color: #0a9e9e; }
.bc-module-status--started  { color: #64748b; }
.bc-module-status--locked   { color: #94a3b8; }

/* ---- Activity Feed ---- */
.bc-activity-feed { list-style: none; }
.bc-activity-feed li {
	display: flex; justify-content: space-between; align-items: flex-start;
	padding: 0.6rem 0; border-bottom: 1px solid #f0f4f8; font-size: 0.85rem;
}
.bc-activity-feed li:last-child { border-bottom: none; }
.bc-act-desc { color: #1a2533; }
.bc-act-time { color: #94a3b8; font-size: 0.78rem; white-space: nowrap; margin-left: 1rem; }

/* ---- Leaderboard Snippet ---- */
.bc-leaderboard-pos {
	font-family: 'Sora', sans-serif; font-size: 1.4rem; font-weight: 700;
	color: #0d4f4f;
}
.bc-leaderboard-sub { font-size: 0.85rem; color: #64748b; margin-top: 0.25rem; }

/* ---- MCQ Score Card (per module) ---- */
.bc-score-table { width: 100%; border-collapse: collapse; font-size: 0.87rem; }
.bc-score-table th {
	text-align: left; font-family: 'Sora', sans-serif; font-weight: 600;
	font-size: 0.75rem; color: #fff; background: #0d4f4f;
	padding: 0.5rem 0.75rem;
}
.bc-score-table td { padding: 0.5rem 0.75rem; border-bottom: 1px solid #f0f4f8; }
.bc-green  { color: #059669; font-weight: 600; }
.bc-amber  { color: #d97706; font-weight: 600; }
.bc-red    { color: #dc2626; font-weight: 600; }

/* ================================================
   CHAPTER PAGE
   ================================================ */
.bc-chapter-wrap { max-width: 780px; }

.bc-breadcrumb {
	font-size: 0.8rem; color: #64748b; margin-bottom: 1.25rem;
	font-family: 'Sora', sans-serif;
}
.bc-breadcrumb a { color: #0a9e9e; text-decoration: none; }
.bc-breadcrumb a:hover { text-decoration: underline; }
.bc-breadcrumb span { margin: 0 0.4rem; }

.bc-chapter-title {
	font-family: 'Sora', sans-serif; font-size: 1.75rem; font-weight: 700;
	color: #0d4f4f; margin-bottom: 0.35rem; line-height: 1.3;
}
.bc-chapter-meta { font-size: 0.82rem; color: #64748b; margin-bottom: 2rem; }
.bc-chapter-meta span { margin-right: 1rem; }

/* Chapter content typography */
.bc-chapter-content { position: relative; }
.bc-chapter-content h2 {
	font-family: 'Sora', sans-serif; font-size: 1.2rem; font-weight: 700;
	color: #0d4f4f; margin: 2rem 0 0.75rem;
}
.bc-chapter-content h3 {
	font-family: 'Sora', sans-serif; font-size: 1rem; font-weight: 600;
	color: #0d4f4f; margin: 1.5rem 0 0.5rem;
}
.bc-chapter-content p { margin-bottom: 1rem; }
.bc-chapter-content ul, .bc-chapter-content ol {
	margin: 0 0 1rem 1.5rem;
}
.bc-chapter-content li { margin-bottom: 0.35rem; }
.bc-chapter-content table {
	width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: 0.9rem;
}
.bc-chapter-content table th {
	background: #0d4f4f; color: #fff;
	padding: 0.6rem 0.85rem; text-align: left;
	font-family: 'Sora', sans-serif; font-weight: 600; font-size: 0.82rem;
}
.bc-chapter-content table td { padding: 0.5rem 0.85rem; border-bottom: 1px solid #e2e8f0; }
.bc-chapter-content table tr:nth-child(even) td { background: #f8fafb; }

/* Steel Teal content boxes */
.bc-info-box {
	border-left: 4px solid #0a9e9e; background: #e6f7f7;
	padding: 1rem 1.25rem; border-radius: 0 6px 6px 0; margin: 1.25rem 0;
}
.bc-warning-box {
	border-left: 4px solid #d97706; background: #fffbeb;
	padding: 1rem 1.25rem; border-radius: 0 6px 6px 0; margin: 1.25rem 0;
}
.bc-warning-box .bc-box-label { color: #b45309; }
.bc-definition-box {
	border: 1.5px solid #0a9e9e; border-radius: 6px;
	padding: 1rem 1.25rem; margin: 1.25rem 0; background: #fff;
}
.bc-definition-box p { font-style: italic; }
.bc-box-label {
	font-family: 'Sora', sans-serif; font-size: 0.72rem; font-weight: 700;
	color: #0a9e9e; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.5rem;
}

/* Step process box */
.bc-step-box { margin: 1.25rem 0; }
.bc-step {
	display: flex; gap: 1rem; margin-bottom: 0.75rem; align-items: flex-start;
}
.bc-step-num {
	flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
	background: #0a9e9e; color: #fff;
	font-family: 'Sora', sans-serif; font-size: 0.8rem; font-weight: 700;
	display: flex; align-items: center; justify-content: center;
}
.bc-step-text { padding-top: 0.25rem; font-size: 0.9rem; }

/* One-Liner Panel */
.bc-oneliners {
	background: #0d4f4f; border-radius: 8px; padding: 1.5rem 1.75rem; margin: 2rem 0;
}
.bc-oneliners__title {
	font-family: 'Sora', sans-serif; font-size: 0.8rem; font-weight: 700;
	color: #0a9e9e; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem;
}
.bc-oneliners ul { list-style: none; }
.bc-oneliners li {
	color: rgba(255,255,255,0.9); font-size: 0.88rem; padding: 0.35rem 0;
	padding-left: 1.25rem; position: relative; border-bottom: 1px solid rgba(255,255,255,0.07);
	line-height: 1.5;
}
.bc-oneliners li:last-child { border-bottom: none; }
.bc-oneliners li::before {
	content: '›'; color: #0a9e9e; font-size: 1.1rem; font-weight: 700;
	position: absolute; left: 0; top: 0.3rem;
}

/* ================================================
   MCQ BLOCKS
   ================================================ */
.bc-mcq-section { margin: 2.5rem 0; }
.bc-mcq-section__title {
	font-family: 'Sora', sans-serif; font-size: 1rem; font-weight: 700;
	color: #0d4f4f; margin-bottom: 1.25rem;
	padding-bottom: 0.5rem; border-bottom: 2px solid #e6f7f7;
}
.bc-mcq-section__meta { font-size: 0.8rem; color: #64748b; margin-bottom: 1.25rem; }

.bc-mcq-block {
	background: #fff; border: 1.5px solid #e2e8f0; border-radius: 8px;
	padding: 1.25rem; margin-bottom: 1rem; transition: border-color 0.2s;
}
.bc-mcq-block:hover { border-color: #cbd5e1; }

.bc-mcq-difficulty {
	font-family: 'Sora', sans-serif; font-size: 0.68rem; font-weight: 700;
	text-transform: uppercase; letter-spacing: 0.08em;
	padding: 0.15rem 0.5rem; border-radius: 20px; margin-bottom: 0.75rem; display: inline-block;
}
.bc-diff-easy   { background: #dcfce7; color: #166534; }
.bc-diff-medium { background: #fef3c7; color: #92400e; }
.bc-diff-hard   { background: #fee2e2; color: #991b1b; }

.bc-mcq-q {
	font-size: 0.95rem; font-weight: 500; color: #1a2533; margin-bottom: 0.85rem; line-height: 1.55;
}
.bc-mcq-q strong { color: #0d4f4f; }

.bc-opt {
	display: flex; align-items: flex-start; gap: 0.6rem;
	padding: 0.55rem 0.75rem; border-radius: 6px; margin-bottom: 0.4rem;
	cursor: pointer; transition: background 0.1s;
	border: 1.5px solid transparent;
}
.bc-opt:hover { background: #f8fafb; border-color: #e2e8f0; }
.bc-opt input[type="radio"] { margin-top: 0.2rem; accent-color: #0a9e9e; flex-shrink: 0; }
.bc-opt label { cursor: pointer; font-size: 0.9rem; line-height: 1.45; }

.bc-opt.bc-correct { background: #f0fdf4 !important; border-color: #86efac !important; }
.bc-opt.bc-correct label { color: #166534; font-weight: 600; }
.bc-opt.bc-wrong   { background: #fef2f2 !important; border-color: #fca5a5 !important; }
.bc-opt.bc-wrong   label { color: #991b1b; }

.bc-explanation {
	display: none; margin-top: 0.85rem;
	background: #f0fdf4; border-left: 3px solid #059669;
	padding: 0.75rem 1rem; border-radius: 0 6px 6px 0; font-size: 0.87rem; color: #1a2533;
}
.bc-explanation strong { color: #059669; font-family: 'Sora', sans-serif; }

.bc-mcq-error { color: #dc2626; font-size: 0.82rem; margin-top: 0.4rem; display: none; }

.bc-mcq-actions { margin-top: 0.85rem; display: flex; gap: 0.6rem; align-items: center; }

.bc-btn {
	font-family: 'Sora', sans-serif; font-size: 0.85rem; font-weight: 600;
	padding: 0.55rem 1.25rem; border-radius: 6px; cursor: pointer; border: none;
	transition: all 0.15s; text-decoration: none; display: inline-block;
}
.bc-btn--primary { background: #0a9e9e; color: #fff; }
.bc-btn--primary:hover { background: #089090; }
.bc-btn--primary:disabled { background: #94a3b8; cursor: not-allowed; }
.bc-btn--outline {
	background: transparent; color: #0a9e9e;
	border: 1.5px solid #0a9e9e;
}
.bc-btn--outline:hover { background: #e6f7f7; }
.bc-btn--ghost {
	background: transparent; color: #64748b;
	border: 1.5px solid #e2e8f0;
}
.bc-btn--ghost:hover { border-color: #94a3b8; color: #1a2533; }
.bc-btn--sm { padding: 0.35rem 0.75rem; font-size: 0.78rem; }
.bc-btn--done { background: #059669; color: #fff; cursor: default; }

.bc-bookmark-btn { font-size: 1rem; background: none; border: none; cursor: pointer; color: #94a3b8; }
.bc-bookmark-btn.bc-bookmarked { color: #0a9e9e; }
.bc-flag-btn { font-size: 0.75rem; background: none; border: none; cursor: pointer; color: #94a3b8; text-decoration: underline; }

/* Quiz group */
.bc-quiz-result {
	background: #e6f7f7; border: 1.5px solid #0a9e9e; border-radius: 8px;
	padding: 1rem 1.25rem; font-family: 'Sora', sans-serif; font-size: 1rem;
	font-weight: 700; color: #0d4f4f; margin-top: 1rem; display: none;
}
.bc-score-history { margin-top: 1rem; }
.bc-score-row { font-size: 0.85rem; padding: 0.3rem 0; color: #475569; }

/* Chapter navigation */
.bc-chapter-nav {
	display: flex; justify-content: space-between; align-items: center;
	margin-top: 2.5rem; padding-top: 1.5rem; border-top: 2px solid #e6f7f7;
}

/* Free preview badge */
.bc-free-badge {
	background: #dcfce7; color: #166534;
	font-family: 'Sora', sans-serif; font-size: 0.72rem; font-weight: 700;
	padding: 0.15rem 0.55rem; border-radius: 20px; letter-spacing: 0.04em;
}

/* Teaser fade before paywall */
.bc-chapter-teaser {
	max-height: 120px; overflow: hidden; position: relative;
	-webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
	mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

/* Upgrade wall */
.bc-upgrade-wall {
	margin: 2rem 0;
	background: linear-gradient(135deg, #f0fdf4 0%, #e6f7f7 100%);
	border: 2px solid #0a9e9e; border-radius: 12px;
	padding: 2.5rem 2rem; text-align: center;
}
.bc-upgrade-wall__icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.bc-upgrade-wall__title {
	font-family: 'Sora', sans-serif; font-size: 1.2rem; font-weight: 700;
	color: #0d4f4f; margin-bottom: 0.75rem;
}
.bc-upgrade-wall__desc {
	color: #475569; font-size: 0.95rem; max-width: 440px;
	margin: 0 auto 1.25rem; line-height: 1.6;
}
.bc-upgrade-wall__price {
	font-family: 'Sora', sans-serif; font-size: 2.25rem; font-weight: 700;
	color: #0d4f4f; line-height: 1;
}
.bc-upgrade-wall__price-sub {
	font-size: 0.8rem; color: #64748b; margin: 0.35rem 0 1.5rem;
}
.bc-upgrade-wall__btn {
	font-size: 1rem; padding: 0.75rem 2.5rem;
	box-shadow: 0 4px 16px rgba(10,158,158,0.3);
}

/* Complete button */
.bc-complete-bar {
	position: sticky; bottom: 1.5rem; margin-top: 2rem;
	display: flex; justify-content: center;
}
#bc-complete-btn {
	padding: 0.75rem 2.5rem; font-size: 1rem;
	box-shadow: 0 4px 16px rgba(10,158,158,0.3);
}

/* Flag modal */
.bc-modal-overlay {
	display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5);
	z-index: 500; align-items: center; justify-content: center;
}
.bc-modal-overlay.bc-open { display: flex; }
.bc-modal {
	background: #fff; border-radius: 10px; padding: 1.75rem;
	width: 100%; max-width: 440px; box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.bc-modal h3 { font-family: 'Sora', sans-serif; color: #0d4f4f; margin-bottom: 1rem; }
.bc-modal label { font-size: 0.85rem; color: #475569; display: block; margin-bottom: 0.3rem; margin-top: 0.75rem; }
.bc-modal select, .bc-modal textarea {
	width: 100%; border: 1.5px solid #e2e8f0; border-radius: 6px;
	padding: 0.5rem 0.75rem; font-size: 0.9rem; font-family: 'Lora', serif;
	transition: border-color 0.15s;
}
.bc-modal select:focus, .bc-modal textarea:focus { border-color: #0a9e9e; outline: none; }
.bc-modal textarea { min-height: 80px; resize: vertical; }
.bc-modal-actions { display: flex; gap: 0.75rem; margin-top: 1.25rem; justify-content: flex-end; }
#bc-flag-close { background: none; border: none; cursor: pointer; color: #64748b; font-size: 1.25rem; float: right; }

/* ================================================
   MODULE PAGE
   ================================================ */
.bc-chapter-grid { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1.25rem; }
.bc-chapter-card {
	display: flex; align-items: center; gap: 1rem;
	padding: 0.9rem 1.25rem; background: #fff;
	border: 1.5px solid #e2e8f0; border-radius: 8px;
	text-decoration: none; color: #1a2533; transition: all 0.15s;
}
.bc-chapter-card:hover { border-color: #0a9e9e; box-shadow: 0 2px 8px rgba(10,158,158,0.12); }
.bc-chapter-card.bc-chapter-done { border-color: #86efac; }
.bc-chapter-card__num {
	width: 32px; height: 32px; border-radius: 50%; border: 2px solid #e2e8f0;
	display: flex; align-items: center; justify-content: center; flex-shrink: 0;
	font-family: 'Sora', sans-serif; font-size: 0.8rem; font-weight: 700; color: #64748b;
}
.bc-chapter-card.bc-chapter-done .bc-chapter-card__num {
	background: #059669; border-color: #059669; color: #fff;
}
.bc-chapter-card__title { font-family: 'Sora', sans-serif; font-weight: 600; font-size: 0.9rem; color: #0d4f4f; }
.bc-chapter-card__meta  { font-size: 0.78rem; color: #64748b; margin-top: 0.15rem; }
.bc-chapter-card__arrow { margin-left: auto; color: #94a3b8; }

/* ================================================
   MOCK TEST PAGE
   ================================================ */
.bc-mock-wrap { max-width: 900px; }

.bc-mock-header {
	display: flex; align-items: center; justify-content: space-between;
	background: #0d4f4f; color: #fff;
	padding: 0.85rem 1.5rem; border-radius: 8px 8px 0 0; margin-bottom: 0;
}
.bc-timer {
	font-family: 'Sora', sans-serif; font-size: 1.5rem; font-weight: 700;
	color: #a8eeee; letter-spacing: 0.05em;
}
.bc-timer--warning { color: #fca5a5 !important; }
.bc-mock-title { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1rem; }
.bc-mock-controls { display: flex; gap: 0.75rem; }

/* Question navigator */
.bc-q-navigator {
	display: flex; flex-wrap: wrap; gap: 6px;
	padding: 1rem 1.25rem; background: #fff;
	border: 1.5px solid #e2e8f0; border-top: none; margin-bottom: 1.5rem; border-radius: 0 0 8px 8px;
}
.bc-nav-item {
	width: 32px; height: 32px; border-radius: 4px;
	display: flex; align-items: center; justify-content: center;
	font-family: 'Sora', sans-serif; font-size: 0.75rem; font-weight: 600;
	cursor: pointer; background: #f0f4f8; color: #64748b; border: none;
	transition: all 0.15s;
}
.bc-nav-item:hover { background: #e6f7f7; color: #0d4f4f; }
.bc-nav-item.bc-answered { background: #0a9e9e; color: #fff; }
.bc-nav-item.bc-flagged-q { background: #fef3c7; color: #92400e; }

/* Mock question */
.bc-mock-question {
	background: #fff; border: 1.5px solid #e2e8f0; border-radius: 8px;
	padding: 1.5rem; margin-bottom: 1rem;
}
.bc-mock-question.bc-flagged { border-color: #fbbf24; }
.bc-mock-q-top {
	display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.85rem;
}
.bc-mock-q-num {
	font-family: 'Sora', sans-serif; font-size: 0.75rem; font-weight: 700;
	color: #64748b; text-transform: uppercase; letter-spacing: 0.06em;
}
.bc-flag-q-btn {
	background: none; border: 1.5px solid #e2e8f0; border-radius: 4px;
	padding: 0.2rem 0.5rem; cursor: pointer; font-size: 0.75rem; color: #64748b;
	font-family: 'Sora', sans-serif; transition: all 0.15s;
}
.bc-flag-q-btn:hover,
.bc-mock-question.bc-flagged .bc-flag-q-btn {
	border-color: #fbbf24; background: #fef3c7; color: #92400e;
}
.bc-mock-q-text { font-size: 0.95rem; margin-bottom: 1rem; line-height: 1.55; }
.bc-mock-option {
	display: flex; align-items: flex-start; gap: 0.6rem;
	padding: 0.55rem 0.75rem; border-radius: 6px; margin-bottom: 0.4rem;
	border: 1.5px solid transparent; cursor: pointer; transition: background 0.1s;
}
.bc-mock-option:hover { background: #f8fafb; border-color: #e2e8f0; }
.bc-mock-option input { margin-top: 0.2rem; accent-color: #0a9e9e; flex-shrink: 0; }
.bc-mock-option label { cursor: pointer; font-size: 0.9rem; }

/* Paused state */
.bc-mock-paused {
	display: none; text-align: center; padding: 4rem 2rem;
	background: #fff; border-radius: 10px;
}
.bc-mock-paused h2 { font-family: 'Sora', sans-serif; color: #0d4f4f; margin-bottom: 0.5rem; }
.bc-mock-paused p { color: #64748b; margin-bottom: 1.5rem; }
.bc-mock-footer { margin-top: 1.5rem; display: flex; justify-content: flex-end; gap: 1rem; }

/* ================================================
   MOCK RESULT PAGE
   ================================================ */
.bc-result-hero {
	background: linear-gradient(135deg, #0d4f4f, #0a9e9e);
	border-radius: 10px; padding: 2rem; color: #fff;
	text-align: center; margin-bottom: 1.5rem;
}
.bc-result-score {
	font-family: 'Sora', sans-serif; font-size: 3.5rem; font-weight: 700; line-height: 1;
}
.bc-result-total { font-size: 1.25rem; opacity: 0.8; margin-bottom: 0.5rem; }
.bc-result-pct { font-size: 1.5rem; font-weight: 600; color: #a8eeee; }
.bc-result-meta { margin-top: 0.75rem; opacity: 0.8; font-size: 0.9rem; }

.bc-subject-breakdown { width: 100%; border-collapse: collapse; font-size: 0.87rem; }
.bc-subject-breakdown th {
	background: #0d4f4f; color: #fff; text-align: left;
	padding: 0.6rem 0.85rem; font-family: 'Sora', sans-serif; font-weight: 600; font-size: 0.78rem;
}
.bc-subject-breakdown td { padding: 0.55rem 0.85rem; border-bottom: 1px solid #f0f4f8; }
.bc-subject-breakdown tr:nth-child(even) td { background: #f8fafb; }

.bc-wrong-item {
	border: 1.5px solid #e2e8f0; border-radius: 8px; padding: 1.25rem; margin-bottom: 1rem;
}
.bc-wrong-item__q { font-size: 0.9rem; font-weight: 500; margin-bottom: 0.75rem; }
.bc-wrong-item__chosen { color: #dc2626; font-size: 0.85rem; }
.bc-wrong-item__correct { color: #059669; font-size: 0.85rem; margin-top: 0.25rem; }
.bc-wrong-item__exp {
	margin-top: 0.75rem; background: #f0fdf4; border-left: 3px solid #059669;
	padding: 0.6rem 0.85rem; font-size: 0.85rem; border-radius: 0 6px 6px 0;
}

/* ================================================
   REVISION PAGE
   ================================================ */
.bc-revision-filters {
	display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem;
}
.bc-revision-filters select {
	border: 1.5px solid #e2e8f0; border-radius: 6px; padding: 0.45rem 0.75rem;
	font-size: 0.85rem; font-family: 'Sora', sans-serif; color: #1a2533; background: #fff;
}
.bc-revision-empty {
	text-align: center; padding: 3rem; color: #64748b; display: none;
}
.bc-revision-empty p { font-size: 0.95rem; margin-bottom: 1rem; }

/* ================================================
   LEADERBOARD PAGE
   ================================================ */
.bc-leaderboard-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.bc-leaderboard-table th {
	background: #0d4f4f; color: #fff; padding: 0.65rem 1rem; text-align: left;
	font-family: 'Sora', sans-serif; font-size: 0.78rem; font-weight: 700;
}
.bc-leaderboard-table td { padding: 0.6rem 1rem; border-bottom: 1px solid #f0f4f8; }
.bc-leaderboard-you { background: #e6f7f7 !important; font-weight: 700; }
.bc-leaderboard-you td { color: #0d4f4f; }
.bc-rank-medal { font-size: 1.1rem; }

/* ================================================
   AUTH PAGES (register / login)
   ================================================ */
.bc-auth-page {
	background: linear-gradient(160deg, #0d4f4f 0%, #0a3535 100%);
	min-height: 100vh; display: flex; align-items: center; justify-content: center;
}
.bc-auth-wrap {
	width: 100%; max-width: 440px; padding: 2rem 1rem;
}
.bc-auth-brand {
	text-align: center; margin-bottom: 1.75rem;
}
.bc-auth-tagline {
	color: rgba(255,255,255,0.55); font-size: 0.85rem; margin-top: 0.4rem;
}
.bc-auth-card {
	background: #fff; border-radius: 12px;
	padding: 2rem 2rem 1.5rem;
	box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.bc-auth-title {
	font-family: 'Sora', sans-serif; font-size: 1.3rem; font-weight: 700;
	color: #0d4f4f; margin-bottom: 0.35rem;
}
.bc-auth-sub { font-size: 0.88rem; color: #64748b; margin-bottom: 1.5rem; }

.bc-auth-errors {
	background: #fef2f2; border: 1px solid #fca5a5; border-radius: 6px;
	padding: 0.75rem 1rem; margin-bottom: 1.25rem;
}
.bc-auth-error-item { font-size: 0.85rem; color: #991b1b; padding: 0.15rem 0; }

.bc-auth-form { display: flex; flex-direction: column; gap: 1rem; }
.bc-auth-field { display: flex; flex-direction: column; gap: 0.3rem; }
.bc-auth-field label {
	font-family: 'Sora', sans-serif; font-size: 0.82rem; font-weight: 600;
	color: #374151; display: flex; justify-content: space-between; align-items: center;
}
.bc-auth-field input,
.bc-auth-field select {
	border: 1.5px solid #e2e8f0; border-radius: 6px;
	padding: 0.65rem 0.85rem; font-size: 0.95rem;
	font-family: 'Lora', serif; color: #1a2533;
	transition: border-color 0.15s; background: #fff;
}
.bc-auth-field input:focus,
.bc-auth-field select:focus { border-color: #0a9e9e; outline: none; box-shadow: 0 0 0 3px rgba(10,158,158,0.1); }
.bc-auth-hint { font-size: 0.75rem; color: #94a3b8; font-weight: 400; }
.bc-auth-forgot { font-size: 0.78rem; color: #0a9e9e; text-decoration: none; font-weight: 400; }
.bc-auth-forgot:hover { text-decoration: underline; }

.bc-auth-submit {
	width: 100%; padding: 0.8rem; font-size: 0.95rem;
	margin-top: 0.25rem;
}
.bc-auth-switch {
	text-align: center; font-size: 0.85rem; color: #64748b; margin-top: 0.5rem;
}
.bc-auth-switch a { color: #0a9e9e; text-decoration: none; font-weight: 600; }
.bc-auth-switch a:hover { text-decoration: underline; }

.bc-auth-footer-note {
	text-align: center; font-size: 0.75rem; color: rgba(255,255,255,0.4);
	margin-top: 1.25rem;
}
.bc-auth-footer-note a { color: rgba(255,255,255,0.55); }

/* ================================================
   DASHBOARD — Getting Started (no purchase yet)
   ================================================ */
.bc-getting-started {
	background: #fff; border-radius: 10px; padding: 2rem;
	margin-bottom: 1.5rem;
}
.bc-getting-started__title {
	font-family: 'Sora', sans-serif; font-size: 1.1rem; font-weight: 700;
	color: #0d4f4f; margin-bottom: 0.4rem;
}
.bc-getting-started__sub { font-size: 0.88rem; color: #64748b; margin-bottom: 1.5rem; }

.bc-scale-cards {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem;
}
.bc-scale-card {
	border: 1.5px solid #e2e8f0; border-radius: 8px; padding: 1.25rem;
	transition: all 0.15s; position: relative;
}
.bc-scale-card:hover { border-color: #0a9e9e; box-shadow: 0 2px 12px rgba(10,158,158,0.12); }
.bc-scale-card--preferred {
	border-color: #0a9e9e; background: linear-gradient(135deg, #f0fdfd 0%, #e6f7f7 100%);
}
.bc-scale-card--preferred::before {
	content: 'Your Scale';
	position: absolute; top: -10px; left: 1rem;
	background: #0a9e9e; color: #fff;
	font-family: 'Sora', sans-serif; font-size: 0.65rem; font-weight: 700;
	padding: 0.15rem 0.6rem; border-radius: 20px; letter-spacing: 0.06em; text-transform: uppercase;
}
.bc-scale-card__name {
	font-family: 'Sora', sans-serif; font-weight: 700; font-size: 0.9rem; color: #0d4f4f;
	margin-bottom: 0.25rem;
}
.bc-scale-card__price {
	font-family: 'Sora', sans-serif; font-size: 1.2rem; font-weight: 700; color: #0a9e9e;
	margin-bottom: 0.75rem;
}
.bc-scale-card__free {
	font-size: 0.78rem; color: #059669; font-weight: 600; margin-bottom: 0.75rem;
}
.bc-scale-card__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 768px) {
	.bc-sidebar { width: 0; overflow: hidden; transition: width 0.3s; }
	.bc-sidebar.open { width: 240px; }
	.bc-main { margin-left: 0; padding: 1rem; }
	.bc-stat-grid { grid-template-columns: repeat(2, 1fr); }
	.bc-welcome { flex-direction: column; align-items: flex-start; }
	.bc-mock-wrap { max-width: 100%; }
}
