/*
 * Gurucharanam Online Exam - scoped under .gte-wrap.
 * Customize via the variables below (e.g. in Additional CSS):
 *   .gte-wrap { --gte-primary: #123456; }
 */
.gte-wrap {
	--gte-primary: #2b1a7a;
	--gte-accent: #e9513b;
	--gte-text: #1f2433;
	--gte-muted: #6b7280;
	--gte-border: #e6e8ef;
	--gte-answered: #12805c;
	--gte-unanswered: #d92d20;
	--gte-marked: #7c3aed;
	--gte-unvisited: #9ca3af;
	--gte-font: 'Reddit Sans', -apple-system, 'Segoe UI', Roboto, 'Noto Sans Devanagari', Arial, sans-serif;
	font-family: var(--gte-font);
	color: var(--gte-text);
	max-width: 1100px;
	margin: 0 auto;
}
.gte-wrap *, .gte-wrap *::before, .gte-wrap *::after { box-sizing: border-box; font-family: var(--gte-font); }

.gte-notice { padding: 12px 16px; border: 1px solid var(--gte-accent); border-radius: 8px; color: var(--gte-unanswered); }
.gte-qloading { color: var(--gte-muted); }

/* Intro */
.gte-intro { padding: 28px; border: 1px solid var(--gte-border); border-radius: 14px; background: #fff; }
.gte-intro-title { margin: 0 0 10px; font-size: 24px; font-weight: 700; }
.gte-intro-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 18px; color: var(--gte-accent); font-weight: 600; font-size: 14px; }
.gte-instructions { margin-bottom: 20px; color: var(--gte-muted); line-height: 1.7; }
.gte-intro-msg { margin-top: 14px; color: var(--gte-unanswered); font-weight: 600; }
.gte-intro-msg a { margin-left: 4px; color: var(--gte-primary); text-decoration: underline; }

.gte-btn, .gte-overlay .gte-btn {
	display: inline-block !important;
	visibility: visible !important;
	padding: 12px 28px !important;
	border: 0 !important;
	border-radius: 8px !important;
	background: var(--gte-primary, #2b1a7a) !important;
	color: #fff !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: normal !important;
	cursor: pointer !important;
	box-shadow: none !important;
	text-transform: none !important;
}
.gte-overlay .gte-btn:hover { opacity: .92; }
.gte-btn:disabled, .gte-overlay .gte-btn:disabled { opacity: .6 !important; cursor: not-allowed !important; }
.gte-overlay .gte-btn-ghost { background: #fff !important; border: 1px solid var(--gte-border, #e6e8ef) !important; color: var(--gte-text, #1f2433) !important; }
.gte-overlay .gte-btn-ghost.is-active { background: var(--gte-marked, #7c3aed) !important; border-color: var(--gte-marked, #7c3aed) !important; color: #fff !important; }
.gte-overlay .gte-save-next-btn { background: var(--gte-answered, #12805c) !important; }

/* [gte_exam_list] — every exam as a row, sharing the one popup */
.gte-list { display: flex; flex-direction: column; gap: 10px; }
.gte-list-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 22px;
	border-radius: 10px;
	background: #fff;
	border: 1px solid var(--gte-border, #e6e8ef);
}
.gte-list-row:hover { border-color: var(--gte-primary, #2b1a7a); }
.gte-list-info { min-width: 0; flex: 1; }
.gte-list-title { margin: 0 0 6px; font-size: 17px; font-weight: 700; color: var(--gte-text, #1f2433); }
.gte-list-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--gte-muted, #6b7280); }
.gte-list-subnames { margin-top: 6px; font-size: 12px; color: var(--gte-muted, #6b7280); }
.gte-list-status {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 20px;
	font-weight: 700;
	font-size: 11px;
	vertical-align: middle;
}
.gte-list-status-upcoming { background: #eaf4ff; color: #1d6fb8; }
.gte-list-status-completed { background: #f3f3f8; color: var(--gte-muted, #6b7280); }
.gte-list-status-inactive { background: #fdeceb; color: var(--gte-unanswered, #d92d20); }
.gte-list-free {
	padding: 2px 10px;
	border-radius: 20px;
	background: #fdeec2;
	color: #7a5b06;
	font-weight: 700;
}
.gte-list-opens { color: #1d6fb8; font-weight: 600; }
.gte-list-action { flex: none; text-align: right; }
.gte-list-msg { margin: 6px 0 0; max-width: 220px; color: var(--gte-unanswered, #d92d20); font-size: 13px; font-weight: 600; }
.gte-list-msg a { display: block; margin-top: 2px; color: var(--gte-primary, #2b1a7a); text-decoration: underline; }

@media (max-width: 560px) {
	.gte-list-row { flex-direction: column; align-items: stretch; }
	.gte-list-action { text-align: left; }
	.gte-list-start-btn { width: 100%; }
}

/* [gte_dashboard] — a student's own test history, also reused (server-side)
   by the admin's Student Dashboard screen for the same per-student table. */
.gte-dash { font-family: var(--gte-font, 'Reddit Sans', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif); color: var(--gte-text, #1f2433); }
.gte-dash *, .gte-dash *::before, .gte-dash *::after { box-sizing: border-box; }
.gte-dash-roll { margin: 0 0 16px; font-size: 14px; color: var(--gte-muted, #6b7280); }
.gte-dash-roll strong { color: var(--gte-primary, #2b1a7a); font-size: 16px; }
.gte-dash-summary {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
	gap: 14px;
	margin-bottom: 24px;
}
.gte-dash-summary > div {
	padding: 18px;
	border: 1px solid var(--gte-border, #e6e8ef);
	border-radius: 12px;
	background: #fff;
	text-align: center;
}
.gte-dash-summary span { display: block; font-size: 22px; font-weight: 700; color: var(--gte-primary, #2b1a7a); }
.gte-dash-summary label { font-size: 12px; color: var(--gte-muted, #6b7280); }
.gte-dash-table { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; }
.gte-dash-table th, .gte-dash-table td { padding: 10px 14px; border: 1px solid var(--gte-border, #e6e8ef); text-align: left; }
.gte-dash-table th { background: #f7f7fb; font-weight: 700; }
.gte-dash-pass { color: var(--gte-answered, #12805c); font-weight: 700; }
.gte-dash-fail { color: var(--gte-unanswered, #d92d20); font-weight: 700; }
.gte-dash-progress { color: var(--gte-muted, #6b7280); font-style: italic; }
.gte-view-report-btn { margin-left: 8px; padding: 3px 10px; font-size: 12px; border: 1px solid var(--gte-primary, #2b1a7a); color: var(--gte-primary, #2b1a7a); background: #fff; border-radius: 14px; cursor: pointer; }
.gte-view-report-btn:hover { background: var(--gte-primary, #2b1a7a); color: #fff; }
.gte-practice-again-btn { margin-left: 8px; padding: 3px 10px; font-size: 12px; border: 1px solid #0d9488; color: #0d9488; background: #fff; border-radius: 14px; cursor: pointer; }
.gte-practice-again-btn:hover { background: #0d9488; color: #fff; }
.gte-dash-practice-tag { display: inline-block; margin-left: 6px; padding: 1px 8px; font-size: 11px; border-radius: 10px; background: #fff7ed; color: #ea580c; border: 1px solid #fed7aa; }
.gte-practice-tag { display: inline-block; margin-left: 10px; padding: 2px 10px; font-size: 12px; font-weight: 600; border-radius: 12px; background: #fff7ed; color: #ea580c; border: 1px solid #fed7aa; vertical-align: middle; }
.gte-overlay .gte-btn-secondary { background: #fff !important; border: 1px solid #0d9488 !important; color: #0d9488 !important; }
.gte-overlay .gte-btn-secondary:hover { background: #0d9488 !important; color: #fff !important; }

.gte-portal-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; border-bottom: 1px solid var(--gte-border, #e6e8ef); }
.gte-portal-tab {
	padding: 10px 18px;
	border: 0;
	border-bottom: 3px solid transparent;
	background: none;
	color: var(--gte-muted, #6b7280);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}
.gte-portal-tab.is-active { color: var(--gte-primary, #2b1a7a); border-bottom-color: var(--gte-primary, #2b1a7a); }
.gte-portal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.gte-portal-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--gte-border, #e6e8ef);
	border-radius: 10px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	background: #fff;
	transition: box-shadow .15s;
}
.gte-portal-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.gte-portal-card-thumb { display: block; height: 120px; background-size: cover; background-position: center; background-color: #f3f3f8; }
.gte-portal-card-title { display: block; padding: 12px 14px; font-weight: 600; font-size: 14px; color: var(--gte-text, #1f2433); }
@media (max-width: 700px) {
	.gte-dash-table { display: block; overflow-x: auto; white-space: nowrap; }
}

/* Full-page popup: the actual attempt (question, timer, palette, result) runs
   here, filling the entire viewport like a real exam page rather than a
   centered card — matching the reference platform's layout. */
.gte-overlay {
	position: fixed;
	inset: 0;
	z-index: 999997;
	display: flex;
	flex-direction: column;
	background: #fff;
	font-family: var(--gte-font, 'Reddit Sans', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif);
}
.gte-overlay[hidden] { display: none !important; }
.gte-overlay *, .gte-overlay *::before, .gte-overlay *::after { box-sizing: border-box; font-family: inherit; }
body.gte-lock { overflow: hidden; }

.gte-topbar {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	padding: 12px 24px;
	border-bottom: 1px solid var(--gte-border, #e6e8ef);
}
.gte-topbar-left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.gte-brand { font-weight: 800; color: var(--gte-primary, #2b1a7a); font-size: 17px; white-space: nowrap; }
.gte-exam-title { color: var(--gte-text, #1f2433); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gte-topbar-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gte-topbar-right .gte-btn { padding: 9px 18px !important; font-size: 13px !important; }
.gte-overlay-close { background: #fff !important; }

/* Attention overlay: used both for "please return to full screen" and for
   "you switched away from the exam" warnings — a deterrent, not a technical
   block, since no browser lets a page truly prevent Alt-Tab or a new tab. */
.gte-attention-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(17, 12, 46, .72);
}
.gte-attention-overlay[hidden] { display: none !important; }
.gte-attention-box {
	max-width: 420px;
	width: 100%;
	background: #fff;
	border-radius: 14px;
	padding: 28px;
	text-align: center;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.gte-attention-msg { margin: 0 0 20px; color: var(--gte-text, #1f2433); font-weight: 600; line-height: 1.6; }

/* Submit confirmation (Yes/No) and the Test Summary review step shown
   before the attempt is actually sent to the server. */
.gte-confirm-overlay, .gte-summary-overlay {
	position: fixed;
	inset: 0;
	z-index: 999998;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(60, 60, 68, .55);
}
.gte-confirm-overlay[hidden], .gte-summary-overlay[hidden] { display: none !important; }
.gte-confirm-box {
	max-width: 420px;
	width: 100%;
	background: #fff;
	border-radius: 14px;
	padding: 32px 28px;
	text-align: center;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.gte-confirm-msg { margin: 0 0 24px; font-size: 18px; font-weight: 600; color: var(--gte-text, #1f2433); }
.gte-confirm-actions { display: flex; justify-content: center; gap: 14px; }
.gte-confirm-actions .gte-btn { min-width: 96px; }
.gte-confirm-yes { background: var(--gte-answered, #12805c) !important; }
.gte-confirm-no { background: var(--gte-unanswered, #d92d20) !important; }

.gte-summary-box {
	max-width: 440px;
	width: 100%;
	background: #fff;
	border-radius: 14px;
	padding: 32px 28px;
	text-align: center;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.gte-summary-box h3 { margin: 0 0 10px; font-size: 24px; }
.gte-summary-note { margin: 0 0 22px; color: var(--gte-muted, #6b7280); }
.gte-summary-grid { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.gte-summary-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gte-summary-row span { color: var(--gte-text, #1f2433); }
.gte-summary-row strong { min-width: 70px; padding: 8px 0; border-radius: 8px; background: #f3f3f8; font-size: 16px; }
.gte-summary-proceed { width: 100%; }

.gte-main-row {
	flex: 1;
	min-height: 0;
	display: flex;
	flex-direction: column;
}
.gte-main-row .gte-result { flex: 1; overflow-y: auto; border: 0; border-radius: 0; }

.gte-processing {
	flex: 1;
	min-height: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}
.gte-processing[hidden] { display: none !important; }
.gte-processing-box { max-width: 460px; width: 100%; padding: 24px; text-align: center; }
.gte-processing-title { margin: 0 0 10px; font-size: 20px; font-weight: 700; color: var(--gte-text, #1f2433); }
.gte-processing-sub { margin: 0; color: var(--gte-muted, #6b7280); }
.gte-processing-ring {
	--pct: 0;
	position: relative;
	width: 110px;
	height: 110px;
	margin: 28px auto 0;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: conic-gradient(var(--gte-answered, #12805c) calc(var(--pct) * 1%), #e6e8ef 0);
	font-weight: 700;
	font-size: 18px;
	color: var(--gte-text, #1f2433);
}
.gte-processing-ring::before {
	content: '';
	position: absolute;
	inset: 8px;
	border-radius: 50%;
	background: #fff;
}
.gte-processing-count { position: relative; z-index: 1; }

/* Instructions (two screens, shown before the server attempt is started —
   the timer only begins once "I am ready to begin" is clicked) */
.gte-instr1, .gte-instr2 {
	flex: 1;
	min-height: 0;
	display: flex;
	flex-direction: column;
}
.gte-instr1[hidden], .gte-instr2[hidden] { display: none !important; }
.gte-instr-band {
	flex: none;
	padding: 14px 24px;
	background: var(--gte-primary, #2b1a7a);
	color: #fff;
	font-weight: 800;
	letter-spacing: .04em;
}
.gte-instr-body { flex: 1; min-height: 0; overflow-y: auto; padding: 24px; }
.gte-instr-body h3 { margin: 0 0 10px; font-size: 18px; text-decoration: underline; }
.gte-instr-list, .gte-instr-list2 { margin: 0 0 20px; padding-left: 22px; line-height: 1.7; color: var(--gte-text, #1f2433); }
.gte-instr-legend { display: flex; flex-direction: column; gap: 16px; margin-top: 10px; }
.gte-instr-leg { display: flex; align-items: center; gap: 14px; }
.gte-instr-leg .gte-dot { width: 26px; height: 26px; border-radius: 4px; flex: none; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; }
.gte-dot-marked-answered::before { content: '\2713'; }
.gte-section-table { width: 100%; margin-bottom: 20px; border-collapse: collapse; font-size: 14px; }
.gte-section-table th, .gte-section-table td { padding: 10px 12px; border: 1px solid var(--gte-border, #e6e8ef); text-align: left; }
.gte-section-table th { background: #f7f7fb; font-weight: 700; }
.gte-instr-declare { flex: none; padding: 16px 24px; border-top: 1px solid var(--gte-border, #e6e8ef); background: #f7f8fc; }
.gte-instr-agree { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--gte-muted, #6b7280); line-height: 1.6; cursor: pointer; }
.gte-instr-agree input { margin-top: 3px; flex: none; accent-color: var(--gte-primary, #2b1a7a); }
.gte-instr-actions { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 24px; border-top: 1px solid var(--gte-border, #e6e8ef); }
.gte-instr1 .gte-instr-actions { justify-content: flex-end; }
.gte-instr-msg { margin: 0 24px 16px; color: var(--gte-unanswered, #d92d20); font-weight: 600; }

/* Subject section tabs (e.g. Physics / Chemistry / Biology) */
.gte-exam-tabs, .gte-subject-tabs {
	flex: none;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	padding: 10px 24px;
	border-bottom: 1px solid var(--gte-border, #e6e8ef);
	background: #f7f8fc;
}
.gte-exam-tabs[hidden], .gte-subject-tabs[hidden] { display: none !important; }
.gte-subject-label { margin-right: 6px; color: var(--gte-muted, #6b7280); font-size: 13px; font-weight: 600; }
.gte-subject-tab {
	padding: 7px 16px;
	border: 0;
	border-radius: 7px;
	background: #f3f3f8;
	color: var(--gte-text, #1f2433);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}
.gte-subject-tab.is-active { background: var(--gte-primary, #2b1a7a); color: #fff; }

/* Exam app — fills the full-page popup's remaining height. The question
   body (.gte-qbody) is the only part that scrolls; the header, options
   wrapper height and sidebar never resize as content changes, which is
   also what stops the whole popup visibly shrinking/growing when a tab
   switch briefly shows a shorter "Loading…" message. */
.gte-app {
	flex: 1;
	min-height: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
}
.gte-app[hidden] { display: none !important; }
.gte-app-main { height: 100%; min-width: 0; display: flex; flex-direction: column; border-right: 1px solid var(--gte-border, #e6e8ef); overflow: hidden; }
.gte-qheader {
	flex: none;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 14px 24px;
	background: #f7f8fc;
	border-bottom: 1px solid var(--gte-border, #e6e8ef);
	font-weight: 700;
	color: var(--gte-primary, #2b1a7a);
}
.gte-timer-pill {
	display: inline-flex !important;
	align-items: center !important;
	gap: 4px !important;
	padding: 7px 14px !important;
	border-radius: 6px !important;
	background: #eaf4ff !important;
	color: #1d6fb8 !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: normal !important;
}
.gte-timer-pill[hidden] { display: none !important; }
.gte-timer { display: inline !important; color: #1d6fb8 !important; font-variant-numeric: tabular-nums; }
.gte-qmarks { color: var(--gte-answered, #12805c); font-size: 13px; font-weight: 700; }
.gte-qbody { flex: 1; min-height: 0; overflow-y: auto; }
.gte-qcontent { padding: 20px 24px 0; margin-bottom: 20px; line-height: 1.7; }
.gte-qcontent img { max-width: 100%; height: auto; }
.gte-options { display: flex; flex-direction: column; margin-bottom: 4px; }
.gte-opt {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 14px 24px;
	border-top: 1px solid var(--gte-border, #e6e8ef);
	cursor: pointer;
}
.gte-opt:first-child { border-top: 0; }
.gte-opt:has(input:checked) { background: #f4f2fb; }
.gte-opt input { margin-top: 3px; accent-color: var(--gte-primary, #2b1a7a); }
.gte-subjective-input {
	width: 100%;
	box-sizing: border-box;
	margin: 0 24px 4px;
	padding: 12px 14px;
	border: 1px solid var(--gte-border, #e6e8ef);
	border-radius: 8px;
	font: inherit;
	line-height: 1.6;
	resize: vertical;
}
.gte-pending-review { max-width: 560px; margin: 24px auto; text-align: center; }
.gte-view-solutions-wrap { text-align: center; margin-top: 24px; }
.gte-view-solutions-wrap .gte-btn + .gte-btn { margin-left: 12px; }
.gte-solutions { display: flex; flex-direction: column; flex: 1; min-height: 0; padding: 20px 24px; overflow-y: auto; }
.gte-solutions[hidden] { display: none !important; }
.gte-solutions-header { flex: none; margin-bottom: 14px; }
.gte-solutions-list { flex: 1; overflow-y: auto; }
.gte-sol-item { border: 1px solid var(--gte-border, #e6e8ef); border-radius: 10px; padding: 16px 20px; margin-bottom: 14px; }
.gte-sol-qhead { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 10px; }
.gte-sol-marks { color: var(--gte-primary, #2b1a7a); }
.gte-sol-qcontent { margin-bottom: 10px; line-height: 1.6; }
.gte-sol-qcontent img { max-width: 100%; height: auto; }
.gte-sol-options { display: flex; flex-direction: column; gap: 6px; }
.gte-sol-opt { padding: 8px 12px; border-radius: 6px; border: 1px solid var(--gte-border, #e6e8ef); }
.gte-sol-opt.is-correct { background: #e7f7f0; border-color: #12805c; color: #12805c; font-weight: 600; }
.gte-sol-opt.is-wrong { background: #fdeceb; border-color: #d92d20; color: #d92d20; font-weight: 600; }
.gte-sol-opt.is-chosen { background: #f4f2fb; border-color: var(--gte-primary, #2b1a7a); }
.gte-sol-unattempted { color: var(--gte-muted, #6b7280); font-style: italic; margin-top: 6px; }
.gte-sol-answer p { white-space: pre-wrap; background: #f6f7f7; padding: 10px 14px; border-radius: 8px; margin-top: 6px; }
.gte-sol-explanation { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--gte-border, #e6e8ef); }
.gte-sol-explanation p { white-space: pre-wrap; color: var(--gte-muted, #6b7280); margin: 6px 0 0; }
.gte-sol-time { font-weight: 400; font-size: 12px; color: var(--gte-muted, #6b7280); }
.gte-rate-wrap { margin: 24px auto 0; max-width: 420px; text-align: center; padding: 16px; border: 1px solid var(--gte-border, #e6e8ef); border-radius: 10px; }
.gte-rate-wrap[hidden] { display: none; }
.gte-rate-title { margin: 0 0 8px; font-weight: 600; }
.gte-rate-stars { font-size: 28px; line-height: 1; margin-bottom: 10px; }
.gte-rate-star { background: none; border: 0; cursor: pointer; color: #d6d9e0; padding: 2px; }
.gte-rate-star.is-on { color: #f59e0b; }
.gte-rate-comment { width: 100%; min-height: 50px; padding: 8px 10px; border: 1px solid var(--gte-border, #e6e8ef); border-radius: 6px; font: inherit; resize: vertical; margin-bottom: 10px; }
.gte-rate-actions { display: flex; justify-content: center; gap: 10px; }
.gte-rate-thanks { margin: 0; color: #0d9488; font-weight: 600; }
.gte-scholarship-banner { margin: 16px 0; padding: 16px 20px; border-radius: 10px; background: linear-gradient(135deg, #fff7ed, #fef3c7); border: 1px solid #fed7aa; text-align: center; }
.gte-scholarship-title { margin: 0 0 6px; font-weight: 700; color: #9a3412; }
.gte-scholarship-code { margin: 0 0 6px; font-size: 18px; font-weight: 700; color: #7c2d12; }
.gte-scholarship-code code { background: #fff; padding: 2px 10px; border-radius: 6px; border: 1px dashed #c2410c; }
.gte-scholarship-note { margin: 0; font-size: 13px; color: #9a3412; }

/* [gte_achievers] — results/achievers wall */
.gte-achievers-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
	font-family: var(--gte-font, 'Reddit Sans', -apple-system, 'Segoe UI', Roboto, 'Noto Sans Devanagari', Arial, sans-serif);
	max-width: 1100px;
	margin: 0 auto;
}
.gte-achiever-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 20px 16px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid var(--gte-border, #e6e8ef);
}
.gte-achiever-photo {
	width: 84px;
	height: 84px;
	border-radius: 50%;
	overflow: hidden;
	margin-bottom: 12px;
	background: linear-gradient(135deg, var(--gte-primary, #2b1a7a), var(--gte-marked, #7c3aed));
	display: flex;
	align-items: center;
	justify-content: center;
}
.gte-achiever-photo img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; }
.gte-achiever-photo-empty { color: #fff; font-size: 32px; font-weight: 700; }
.gte-achiever-rank { font-size: 20px; font-weight: 800; color: var(--gte-primary, #2b1a7a); margin-bottom: 4px; }
.gte-achiever-name { margin: 0 0 4px; font-size: 15px; font-weight: 700; color: var(--gte-text, #1f2433); }
.gte-achiever-exam { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--gte-accent, #e9513b); margin-bottom: 8px; }
.gte-achiever-quote { margin: 0; font-size: 13px; font-style: italic; color: var(--gte-muted, #6b7280); line-height: 1.5; }

@media (max-width: 1100px) {
	.gte-achievers-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	.gte-achievers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
	.gte-achievers-grid { grid-template-columns: minmax(0, 1fr); }
}
.gte-report-wrap { margin-top: 10px; }
.gte-report-btn { background: none; border: 0; padding: 0; color: var(--gte-muted, #6b7280); font-size: 12px; text-decoration: underline; cursor: pointer; }
.gte-report-btn:hover { color: var(--gte-primary, #2b1a7a); }
.gte-report-form { margin-top: 8px; display: flex; flex-direction: column; gap: 8px; max-width: 420px; }
.gte-report-form[hidden] { display: none; }
.gte-report-text { width: 100%; min-height: 60px; padding: 8px 10px; border: 1px solid var(--gte-border, #e6e8ef); border-radius: 6px; font: inherit; resize: vertical; }
.gte-report-status { margin-top: 6px; font-size: 13px; }
.gte-report-status.is-ok { color: #0d9488; }
.gte-report-status.is-error { color: #dc2626; }
.gte-app-actions { flex: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 24px; border-top: 1px solid var(--gte-border, #e6e8ef); }

.gte-app-side { height: 100%; display: flex; flex-direction: column; padding: 18px; background: #fff; overflow-y: auto; }
.gte-stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.gte-stat {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px 10px;
	border-radius: 8px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.3;
}
.gte-stat-num { font-size: 15px; }
.gte-stat-attempted { background: #e7f7f0; color: var(--gte-answered, #12805c); }
.gte-stat-marked { background: #f3ebff; color: var(--gte-marked, #7c3aed); }
.gte-stat-notvisited { background: #f3f3f8; color: var(--gte-unvisited, #9ca3af); }
.gte-stat-notanswered { background: #fdeceb; color: var(--gte-unanswered, #d92d20); }
.gte-stat-markedanswered { grid-column: span 2; background: #fff7e0; color: #92610a; }
.gte-section-label { margin-bottom: 12px; font-size: 13px; color: var(--gte-muted, #6b7280); }
.gte-section-label strong { color: var(--gte-text, #1f2433); }
.gte-section-label[hidden] { display: none !important; }
.gte-palette-title { font-weight: 700; margin-bottom: 10px; }
.gte-palette { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: 8px !important; margin-bottom: 16px; }
.gte-pnum {
	display: block !important;
	visibility: visible !important;
	width: 100%;
	height: 36px !important;
	min-width: 0;
	border: 1px solid var(--gte-border, #e6e8ef) !important;
	border-radius: 6px !important;
	background: #fff !important;
	color: var(--gte-text, #1f2433) !important;
	font-weight: 600 !important;
	line-height: normal !important;
	cursor: pointer !important;
	box-shadow: none !important;
}
.gte-pnum.is-current { outline: 2px solid var(--gte-primary, #2b1a7a) !important; outline-offset: 1px; }
.gte-pnum.is-answered { background: var(--gte-answered, #12805c) !important; border-color: var(--gte-answered, #12805c) !important; color: #fff !important; }
.gte-pnum.is-unanswered { background: var(--gte-unanswered, #d92d20) !important; border-color: var(--gte-unanswered, #d92d20) !important; color: #fff !important; }
.gte-pnum.is-marked { background: var(--gte-marked, #7c3aed) !important; border-color: var(--gte-marked, #7c3aed) !important; color: #fff !important; }
.gte-pnum.is-unvisited { background: #fff !important; color: var(--gte-unvisited, #9ca3af) !important; }
.gte-legend { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; font-size: 13px; color: var(--gte-muted); }
.gte-leg { display: flex; align-items: center; gap: 8px; }
.gte-dot { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.gte-dot-answered { background: var(--gte-answered); }
.gte-dot-unanswered { background: var(--gte-unanswered); }
.gte-dot-marked { background: var(--gte-marked); }
.gte-dot-unvisited { background: #fff; border: 1px solid var(--gte-unvisited); }
.gte-submit-btn { width: 100%; background: var(--gte-accent); }

/* Result */
.gte-result { padding: 28px; border: 1px solid var(--gte-border); border-radius: 14px; background: #fff; }
.gte-result h3 { margin: 0 0 18px; font-size: 20px; }
.gte-result-note { padding: 10px 14px; margin-bottom: 16px; border-radius: 8px; background: #fff4e5; color: #92400e; font-weight: 600; }
.gte-result-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 16px; }
.gte-result-grid > div { padding: 16px; border: 1px solid var(--gte-border); border-radius: 10px; text-align: center; }
.gte-result-grid span { display: block; font-size: 22px; font-weight: 700; }
.gte-result-grid label { font-size: 12px; color: var(--gte-muted); }
.gte-result-grid .gte-pass { background: #ecfdf5; border-color: var(--gte-answered); }
.gte-result-grid .gte-pass span { color: var(--gte-answered); }
.gte-result-grid .gte-fail { background: #fef2f2; border-color: var(--gte-unanswered); }
.gte-result-grid .gte-fail span { color: var(--gte-unanswered); }
.gte-subject-table { width: 100%; margin-top: 20px; border-collapse: collapse; font-size: 14px; }
.gte-subject-table th, .gte-subject-table td { padding: 10px 12px; border: 1px solid var(--gte-border); text-align: left; }
.gte-subject-table th { background: #f7f7fb; font-weight: 700; }

/* Performance report (the result screen) — colourful stat cards, a
   leaderboard, a correct/wrong/unattempted donut, a "You vs Topper"
   comparison and a per-section breakdown. */
.gte-report-header { margin-bottom: 20px; }
.gte-report-header h3 { margin: 0; font-size: 18px; font-weight: 500; color: var(--gte-muted, #6b7280); }
.gte-report-header h3 span { color: var(--gte-primary, #2b1a7a); font-weight: 700; }

.gte-report-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 22px; }
.gte-stat-card { padding: 16px 18px; background: #fff; border-radius: 10px; border-left: 5px solid var(--card-color, #2b1a7a); box-shadow: 0 1px 3px rgba(0, 0, 0, .06); }
.gte-stat-card label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--card-color, #2b1a7a); text-transform: uppercase; margin-bottom: 8px; }
.gte-stat-card span { font-size: 20px; font-weight: 700; color: var(--gte-text, #1f2433); }

.gte-report-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 20px; align-items: start; }
.gte-report-panel { background: #fff; border-radius: 12px; padding: 18px; box-shadow: 0 1px 3px rgba(0, 0, 0, .06); }
.gte-report-panel h4 { margin: 0 0 14px; font-size: 15px; font-weight: 700; color: var(--gte-primary, #2b1a7a); }

.gte-leaderboard-list { display: flex; flex-direction: column; gap: 4px; max-height: 320px; overflow-y: auto; }
.gte-leaderboard-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 4px; border-bottom: 1px solid var(--gte-border, #e6e8ef); }
.gte-leaderboard-row:last-child { border-bottom: 0; }
.gte-leaderboard-row.is-you { background: #f4f2fb; border-radius: 8px; border-bottom-color: transparent; }
.gte-lb-name { font-weight: 600; font-size: 14px; }
.gte-lb-marks { padding: 4px 10px; border-radius: 20px; background: #f3f3f8; font-weight: 700; font-size: 13px; }

.gte-overview-chart { display: flex; justify-content: center; margin-bottom: 14px; }
.gte-overview-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; font-size: 13px; }
.gte-overview-legend .gte-leg { display: flex; align-items: center; gap: 6px; }

.gte-vstopper-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.gte-vstopper-table th, .gte-vstopper-table td { padding: 8px 6px; border-bottom: 1px solid var(--gte-border, #e6e8ef); text-align: left; }
.gte-vstopper-table th { color: var(--gte-muted, #6b7280); font-weight: 600; font-size: 11px; text-transform: uppercase; }

.gte-section-dist-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 18px; }
.gte-section-dist-table th, .gte-section-dist-table td { padding: 10px 12px; border: 1px solid var(--gte-border, #e6e8ef); text-align: left; }
.gte-section-dist-table th { background: #f7f7fb; font-weight: 700; }

.gte-marks-bars { display: flex; align-items: flex-end; gap: 18px; height: 160px; padding: 10px 6px 0; }
.gte-marks-bar-col { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; height: 100%; justify-content: flex-end; }
.gte-marks-bar { width: 100%; max-width: 52px; border-radius: 6px 6px 0 0; }
.gte-marks-bar-label { font-size: 12px; color: var(--gte-muted, #6b7280); text-align: center; }
.gte-marks-bar-value { font-size: 12px; font-weight: 700; }

@media (max-width: 900px) {
	.gte-report-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
	.gte-app { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; }
	.gte-app-main { border-right: 0; border-bottom: 1px solid var(--gte-border, #e6e8ef); }
	.gte-app-side { height: auto; max-height: 45vh; }
	.gte-palette { grid-template-columns: repeat(8, 1fr); }
	.gte-topbar-left .gte-exam-title { display: none; }
}
@media (max-width: 480px) {
	.gte-palette { grid-template-columns: repeat(6, 1fr); }
	.gte-app-actions { flex-direction: column; }
	.gte-app-actions .gte-btn { width: 100%; }
	.gte-topbar { padding: 10px 14px; }
	.gte-exam-tabs, .gte-subject-tabs { padding: 10px 14px; }
	.gte-qheader, .gte-app-actions { padding-left: 14px; padding-right: 14px; }
	.gte-qcontent, .gte-opt { padding-left: 14px; padding-right: 14px; }
}

/*
 * Best-effort: hide a theme sidebar on pages that contain the exam shortcode.
 * This only works if your theme's sidebar uses one of these common class names —
 * if your sidebar is still visible, the real fix is to open the page in the editor
 * and set its Page Attributes > Template to "Full Width" / "Elementor Canvas"
 * (whichever your theme offers), which removes the sidebar column properly.
 */
body:has(.gte-wrap) .sidebar,
body:has(.gte-wrap) .widget-area,
body:has(.gte-wrap) #sidebar,
body:has(.gte-wrap) .site-sidebar {
	display: none !important;
}
body:has(.gte-wrap) .content-area,
body:has(.gte-wrap) .site-content {
	width: 100% !important;
	max-width: 100% !important;
	flex: 0 0 100% !important;
}

/*
 * [gte_exam_list] / My Test Series / Scheduled Tests — filter sidebar + card
 * grid, styled to the same standard as gurucharanam-course-filter's course
 * grid (same Reddit Sans family, same --gte-primary brand colour) but written
 * standalone so this page never depends on that plugin being active.
 */
.gte-filter-wrap {
	font-family: var(--gte-font, 'Reddit Sans', -apple-system, 'Segoe UI', Roboto, 'Noto Sans Devanagari', Arial, sans-serif);
	color: var(--gte-text, #1f2433);
	max-width: 1100px;
	margin: 0 auto;
}
.gte-filter-wrap *, .gte-filter-wrap *::before, .gte-filter-wrap *::after { box-sizing: border-box; }
.gte-filter-form {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
	margin: 0;
}
.gte-filter-toggle { display: none; }

.gte-filter-search input[type="search"] {
	width: 100%;
	height: 48px;
	padding: 0 16px;
	border: 1px solid var(--gte-border, #e6e8ef);
	border-radius: 10px;
	font-size: 15px;
	color: var(--gte-text, #1f2433);
	margin: 0;
}
.gte-filter-search input[type="search"]:focus { outline: 2px solid var(--gte-primary, #2b1a7a); outline-offset: 0; }

.gte-filter-group { border: 0; margin: 22px 0 0; padding: 0 0 20px; min-width: 0; border-bottom: 1px solid var(--gte-border, #e6e8ef); }
.gte-filter-group legend { padding: 0; margin-bottom: 12px; font-size: 16px; font-weight: 700; color: var(--gte-text, #1f2433); }
.gte-filter-opt { display: flex; align-items: center; gap: 10px; padding: 5px 0; cursor: pointer; margin: 0; font-weight: 400; font-size: 14px; }
.gte-filter-opt input { width: 17px; height: 17px; margin: 0; flex: none; accent-color: var(--gte-primary, #2b1a7a); }
.gte-filter-opt-count { color: var(--gte-muted, #6b7280); font-size: 12px; }
.gte-filter-reset {
	margin-top: 20px;
	padding: 10px 16px;
	border: 1px solid var(--gte-border, #e6e8ef);
	border-radius: 8px;
	background: #fff;
	color: var(--gte-text, #1f2433);
	font-size: 14px;
	cursor: pointer;
}
.gte-filter-reset:hover { background: #f4f5fa; }

.gte-filter-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.gte-filter-count { font-weight: 600; }

.gte-filter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; transition: opacity .2s; }
.gte-filter-wrap.is-loading .gte-filter-grid { opacity: .45; pointer-events: none; }
.gte-filter-empty { grid-column: 1 / -1; padding: 40px 0; text-align: center; color: var(--gte-muted, #6b7280); }

.gte-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: #fff;
	border-radius: 12px;
	border: 1px solid var(--gte-border, #e6e8ef);
	padding: 0;
	flex-wrap: nowrap;
	align-items: stretch;
	justify-content: flex-start;
	gap: 0;
}
.gte-card:hover { border-color: var(--gte-primary, #2b1a7a); }
.gte-card-thumb {
	position: relative;
	aspect-ratio: 16 / 10;
	border-radius: 12px 12px 0 0;
	overflow: hidden;
	background: linear-gradient(135deg, var(--gte-primary, #2b1a7a), var(--gte-marked, #7c3aed));
}
.gte-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; }
.gte-card-thumb-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: rgba(255,255,255,.85);
	font-size: 48px;
	font-weight: 700;
}
.gte-card-thumb .gte-list-status { position: absolute; top: 12px; left: 12px; background: #fff; }
.gte-card-free {
	position: absolute;
	top: 12px;
	right: 12px;
	padding: 3px 12px;
	border-radius: 20px;
	background: #fdeec2;
	color: #7a5b06;
	font-weight: 700;
	font-size: 12px;
}
.gte-card-body { display: flex; flex-direction: column; flex: 1; padding: 16px; }
.gte-card-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.gte-card-chip {
	padding: 2px 10px;
	border-radius: 20px;
	background: #f4f5fa;
	color: var(--gte-muted, #6b7280);
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .02em;
}
.gte-card-title { margin: 0 0 10px; font-size: 17px; line-height: 1.35; font-weight: 700; color: var(--gte-text, #1f2433); }
.gte-card-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 10px; padding: 0; list-style: none; color: var(--gte-muted, #6b7280); font-size: 13px; }
.gte-card-meta li { margin: 0; padding: 0; }
.gte-card-subnames { margin: 0 0 12px; font-size: 12px; color: var(--gte-muted, #6b7280); }
.gte-card-foot { margin-top: auto; padding-top: 8px; }
.gte-card-foot .gte-btn { width: 100%; text-align: center; }
.gte-card .gte-list-msg { margin-top: 8px; }

/* Tablet */
@media (max-width: 1100px) {
	.gte-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Mobile and small tablet: sidebar becomes a collapsible panel */
@media (max-width: 900px) {
	.gte-filter-form { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.gte-filter-toggle {
		display: inline-flex;
		align-items: center;
		gap: 10px;
		justify-self: start;
		padding: 10px 18px;
		border: 1px solid var(--gte-border, #e6e8ef);
		border-radius: 8px;
		background: #fff;
		color: var(--gte-text, #1f2433);
		font-size: 15px;
		font-weight: 600;
		cursor: pointer;
	}
	.gte-filter-sidebar { display: none; padding: 16px; border: 1px solid var(--gte-border, #e6e8ef); border-radius: 12px; }
	.gte-filter-wrap.filters-open .gte-filter-sidebar { display: block; }
}
@media (max-width: 640px) {
	.gte-filter-grid { grid-template-columns: minmax(0, 1fr); }
}

/* "Ask a Doubt" floating chat widget (class-gte-doubts.php / gte-doubt.js) */
.gte-doubt-btn {
	position: fixed;
	left: 18px;
	bottom: 18px;
	z-index: 9999;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #2b1a7a;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
	cursor: pointer;
	transition: transform .15s ease;
}
.gte-doubt-btn:hover { transform: scale(1.08); }
.gte-doubt-badge {
	position: absolute;
	top: 2px;
	right: 2px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #e9513b;
	color: #fff;
	font-size: 10px;
	line-height: 14px;
}
.gte-doubt-panel {
	position: fixed;
	left: 18px;
	bottom: 86px;
	z-index: 9999;
	width: 320px;
	max-width: calc(100vw - 36px);
	height: 440px;
	max-height: calc(100vh - 120px);
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}
.gte-doubt-panel[hidden] { display: none; }
.gte-doubt-head {
	background: #2b1a7a;
	color: #fff;
	padding: 12px 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-weight: 700;
}
.gte-doubt-close { background: none; border: none; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.gte-doubt-messages { flex: 1; overflow-y: auto; padding: 12px; background: #f7f7fb; }
.gte-doubt-intro { color: #6b7280; font-size: 13px; text-align: center; margin-top: 20px; }
.gte-doubt-msg { margin-bottom: 10px; max-width: 80%; padding: 8px 12px; border-radius: 10px; font-size: 13px; line-height: 1.4; }
.gte-doubt-msg.is-student { background: #ececf5; }
.gte-doubt-msg.is-admin { background: #2b1a7a; color: #fff; margin-left: auto; }
.gte-doubt-msg small { display: block; margin-top: 4px; font-size: 10px; opacity: .65; }
.gte-doubt-form { display: flex; gap: 6px; padding: 10px; border-top: 1px solid #eee; }
.gte-doubt-input { flex: 1; resize: none; border: 1px solid #ddd; border-radius: 8px; padding: 8px 10px; font-size: 13px; font-family: inherit; max-height: 80px; }
.gte-doubt-send { background: #2b1a7a; color: #fff; border: none; border-radius: 8px; padding: 0 14px; font-size: 13px; cursor: pointer; }
@media (max-width: 480px) {
	.gte-doubt-btn { width: 50px; height: 50px; left: 14px; bottom: 14px; }
	.gte-doubt-panel { left: 14px; bottom: 78px; }
}

/* Live Class — instructor host screen (class-gte-live-admin.php) */
.gte-live-host { display: flex; gap: 20px; margin-top: 16px; flex-wrap: wrap; }
.gte-live-host-main { flex: 2 1 480px; }
#gte-live-local-video { width: 100%; max-width: 640px; background: #000; border-radius: 8px; aspect-ratio: 16/9; }
.gte-live-host-controls { margin-top: 10px; display: flex; align-items: center; gap: 10px; }
.gte-live-status-pill { padding: 3px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; background: #eee; color: #666; }
.gte-live-status-pill.is-live { background: #fdeaea; color: #c0392b; }
.gte-live-scale-warning { margin-top: 10px; padding: 8px 12px; background: #fff7e6; border: 1px solid #f1c232; border-radius: 6px; font-size: 13px; color: #7a5b06; max-width: 640px; }
.gte-live-host-side { flex: 1 1 280px; display: flex; flex-direction: column; gap: 16px; }
.gte-live-panel { border: 1px solid #ddd; border-radius: 8px; padding: 12px 14px; background: #fff; }
.gte-live-panel h3 { margin: 0 0 8px; font-size: 14px; }
.gte-live-panel ul { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.gte-live-panel ul li { padding: 4px 0; border-bottom: 1px solid #f0f0f0; }
.gte-live-chat-panel #gte-live-chat-messages { max-height: 220px; overflow-y: auto; font-size: 13px; margin-bottom: 8px; }
#gte-live-chat-form, #gte-live-join-chat-form { display: flex; gap: 6px; }
#gte-live-chat-input, #gte-live-join-chat-input { flex: 1; padding: 6px 8px; border: 1px solid #ddd; border-radius: 6px; }

/* Live Class — student card + join room (class-gte-live-render.php) */
.gte-live-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.gte-live-instructor { font-size: 12px; color: var(--gte-muted, #6b7280); margin: 2px 0; }
.gte-live-desc { font-size: 13px; color: var(--gte-muted, #6b7280); margin: 4px 0 8px; }
.gte-live-join-root { position: fixed; inset: 0; z-index: 100000; background: rgba(0,0,0,.75); display: flex; align-items: center; justify-content: center; }
.gte-live-join-root[hidden] { display: none; }
.gte-live-join-popup { background: #fff; border-radius: 10px; width: min(900px, 94vw); max-height: 90vh; display: flex; overflow: hidden; }
.gte-live-join-main { flex: 2 1 500px; padding: 16px; position: relative; }
#gte-live-remote-video { width: 100%; background: #000; border-radius: 8px; aspect-ratio: 16/9; }
.gte-live-join-controls { margin-top: 10px; display: flex; align-items: center; gap: 10px; }
.gte-live-hand-status { font-size: 13px; color: var(--gte-muted, #6b7280); }
.gte-live-close { margin-left: auto; background: none; border: none; font-size: 26px; cursor: pointer; line-height: 1; color: #888; }
.gte-live-join-chat { flex: 1 1 260px; border-left: 1px solid #eee; padding: 16px; display: flex; flex-direction: column; }
#gte-live-join-chat-messages { flex: 1; overflow-y: auto; font-size: 13px; margin-bottom: 8px; }
@media (max-width: 720px) {
	.gte-live-join-popup { flex-direction: column; width: 96vw; }
	.gte-live-join-chat { border-left: none; border-top: 1px solid #eee; }
}
