/* ===================================================================
   Online Exam Admin – design system (sits on top of Bootstrap 5)
   =================================================================== */
:root {
    --oe-primary: #4f46e5;
    --oe-primary-600: #4338ca;
    --oe-primary-50: #eef2ff;
    --oe-ink: #0f172a;
    --oe-ink-2: #334155;
    --oe-muted: #64748b;
    --oe-line: #e2e8f0;
    --oe-bg: #f5f7fb;
    --oe-card: #ffffff;
    --oe-side: #0b1220;
    --oe-side-2: #111a2e;
    --oe-side-text: #a5b0c6;
    --oe-success: #059669;
    --oe-success-50: #ecfdf5;
    --oe-warning: #b45309;
    --oe-warning-50: #fffbeb;
    --oe-danger: #dc2626;
    --oe-danger-50: #fef2f2;
    --oe-radius: 14px;
    --oe-radius-sm: 10px;
    --oe-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 4px 16px rgba(15, 23, 42, .06);
    --bs-primary: var(--oe-primary);
    --bs-primary-rgb: 79, 70, 229;
    --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --bs-body-color: var(--oe-ink);
    --bs-border-color: var(--oe-line);
}

html { font-size: 15px; }
body { background: var(--oe-bg); color: var(--oe-ink); -webkit-font-smoothing: antialiased; }
a { color: var(--oe-primary); text-decoration: none; }
a:hover { color: var(--oe-primary-600); }
.ic { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -3px; }
.ic-lg { width: 22px; height: 22px; }

/* ---------- Buttons & forms ---------- */
.btn { border-radius: 10px; font-weight: 500; padding: .5rem 1rem; display: inline-flex; align-items: center; gap: .45rem; justify-content: center; }
.btn-sm { padding: .3rem .65rem; border-radius: 8px; font-size: .85rem; }
.btn-primary { background: var(--oe-primary); border-color: var(--oe-primary); }
.btn-primary:hover, .btn-primary:focus { background: var(--oe-primary-600); border-color: var(--oe-primary-600); }
.btn-light { background: #fff; border: 1px solid var(--oe-line); color: var(--oe-ink-2); }
.btn-light:hover { background: #f8fafc; border-color: #cbd5e1; }
.btn-ghost { background: transparent; border: 0; color: var(--oe-muted); padding: .35rem .5rem; }
.btn-ghost:hover { background: #f1f5f9; color: var(--oe-ink); }
.btn-ghost.danger:hover { background: var(--oe-danger-50); color: var(--oe-danger); }
.btn-icon { width: 34px; height: 34px; padding: 0; }
.form-control, .form-select { border-radius: 10px; border-color: var(--oe-line); padding: .55rem .8rem; }
.form-control:focus, .form-select:focus, .form-check-input:focus { border-color: #a5b4fc; box-shadow: 0 0 0 4px rgba(79, 70, 229, .12); }
.form-label { font-weight: 500; font-size: .88rem; color: var(--oe-ink-2); margin-bottom: .35rem; }
.form-text { color: var(--oe-muted); }
.form-check-input:checked { background-color: var(--oe-primary); border-color: var(--oe-primary); }
.field-validation-error, .validation-summary-errors { color: var(--oe-danger); font-size: .85rem; }
.validation-summary-errors ul { margin: 0; padding-left: 1.1rem; }
.input-icon { position: relative; }
.input-icon .ic { position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); color: var(--oe-muted); }
.input-icon .form-control { padding-left: 2.4rem; }

/* ---------- App shell ---------- */
.app { display: flex; min-height: 100vh; }
.sidebar { width: 260px; background: linear-gradient(180deg, var(--oe-side) 0%, var(--oe-side-2) 100%); color: var(--oe-side-text); position: fixed; inset: 0 auto 0 0; display: flex; flex-direction: column; z-index: 1030; transition: transform .2s ease; }
.brand { display: flex; align-items: center; gap: .7rem; padding: 1.25rem 1.25rem 1rem; color: #fff; }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, #6366f1, #8b5cf6); display: grid; place-items: center; color: #fff; box-shadow: 0 6px 16px rgba(99, 102, 241, .35); }
.brand-name { font-weight: 700; letter-spacing: -.01em; line-height: 1.1; }
.brand-sub { font-size: .72rem; color: var(--oe-side-text); text-transform: uppercase; letter-spacing: .08em; }
.nav-section { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: #64748b; padding: 1.1rem 1.4rem .4rem; }
.side-nav { list-style: none; margin: 0; padding: 0 .75rem; }
.side-nav a { display: flex; align-items: center; gap: .75rem; padding: .6rem .75rem; border-radius: 10px; color: var(--oe-side-text); font-weight: 500; font-size: .93rem; }
.side-nav a:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.side-nav a.active { background: rgba(99, 102, 241, .18); color: #fff; box-shadow: inset 3px 0 0 #818cf8; }
.side-footer { margin-top: auto; padding: 1rem; border-top: 1px solid rgba(255, 255, 255, .06); }
.side-user { display: flex; align-items: center; gap: .7rem; color: #e2e8f0; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: #312e81; color: #c7d2fe; display: grid; place-items: center; font-weight: 600; font-size: .85rem; flex: none; }
.side-user small { color: var(--oe-side-text); display: block; font-size: .75rem; }

.main { flex: 1; margin-left: 260px; min-width: 0; display: flex; flex-direction: column; }
.topbar { height: 64px; background: rgba(255, 255, 255, .85); backdrop-filter: blur(8px); border-bottom: 1px solid var(--oe-line); display: flex; align-items: center; gap: 1rem; padding: 0 1.75rem; position: sticky; top: 0; z-index: 1020; }
.topbar .crumbs { color: var(--oe-muted); font-size: .88rem; }
.topbar .crumbs b { color: var(--oe-ink); font-weight: 600; }
.menu-toggle { display: none; }
.content { padding: 1.75rem; max-width: 1400px; width: 100%; }

.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.page-head h1 { font-size: 1.55rem; font-weight: 700; letter-spacing: -.02em; margin: 0; }
.page-head p { color: var(--oe-muted); margin: .25rem 0 0; }

/* ---------- Cards ---------- */
.card-x { background: var(--oe-card); border: 1px solid var(--oe-line); border-radius: var(--oe-radius); box-shadow: var(--oe-shadow); }
.card-x + .card-x { margin-top: 1.25rem; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--oe-line); flex-wrap: wrap; }
.card-head h2, .card-head h3 { font-size: 1rem; font-weight: 600; margin: 0; }
.card-body-x { padding: 1.25rem; }
.card-foot { padding: .85rem 1.25rem; border-top: 1px solid var(--oe-line); display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--oe-muted); font-size: .88rem; }

.stat { padding: 1.15rem 1.25rem; display: flex; gap: 1rem; align-items: center; }
.stat-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.stat-icon.indigo { background: var(--oe-primary-50); color: var(--oe-primary); }
.stat-icon.green { background: var(--oe-success-50); color: var(--oe-success); }
.stat-icon.amber { background: var(--oe-warning-50); color: var(--oe-warning); }
.stat-icon.rose { background: #fff1f2; color: #e11d48; }
.stat-value { font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.stat-label { color: var(--oe-muted); font-size: .85rem; }

/* ---------- Tables ---------- */
.table-x { width: 100%; margin: 0; border-collapse: separate; border-spacing: 0; }
.table-x th { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--oe-muted); font-weight: 600; background: #f8fafc; padding: .7rem 1rem; border-bottom: 1px solid var(--oe-line); white-space: nowrap; }
.table-x td { padding: .8rem 1rem; border-bottom: 1px solid #f1f5f9; vertical-align: middle; font-size: .92rem; }
.table-x tr:last-child td { border-bottom: 0; }
.table-x tbody tr:hover td { background: #fafbff; }
.table-x .actions { white-space: nowrap; text-align: right; }
.cell-title { font-weight: 600; color: var(--oe-ink); }
.cell-sub { color: var(--oe-muted); font-size: .82rem; }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 560px; }
.empty { text-align: center; padding: 3rem 1rem; color: var(--oe-muted); }
.empty .ic { width: 40px; height: 40px; color: #cbd5e1; margin-bottom: .5rem; }

/* ---------- Badges ---------- */
.badge-x { display: inline-flex; align-items: center; gap: .35rem; padding: .22rem .6rem; border-radius: 999px; font-size: .76rem; font-weight: 600; white-space: nowrap; }
.badge-x::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-x.success { background: var(--oe-success-50); color: var(--oe-success); }
.badge-x.warning { background: var(--oe-warning-50); color: var(--oe-warning); }
.badge-x.muted { background: #f1f5f9; color: var(--oe-muted); }
.badge-x.danger { background: var(--oe-danger-50); color: var(--oe-danger); }
.badge-x.primary { background: var(--oe-primary-50); color: var(--oe-primary); }
.badge-x.plain::before { display: none; }
.grade { width: 30px; height: 30px; border-radius: 8px; display: inline-grid; place-items: center; font-weight: 700; font-size: .85rem; }
.grade-A { background: #dcfce7; color: #15803d; } .grade-B { background: #e0f2fe; color: #0369a1; }
.grade-C { background: #fef9c3; color: #a16207; } .grade-D { background: #ffedd5; color: #c2410c; } .grade-F { background: #fee2e2; color: #b91c1c; }

/* ---------- Toolbar / filters ---------- */
.toolbar { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.toolbar .form-control, .toolbar .form-select { min-width: 220px; }
.seg { display: inline-flex; background: #f1f5f9; border-radius: 10px; padding: 3px; }
.seg a { padding: .35rem .8rem; border-radius: 8px; color: var(--oe-muted); font-weight: 500; font-size: .86rem; }
.seg a.active { background: #fff; color: var(--oe-ink); box-shadow: 0 1px 3px rgba(15, 23, 42, .1); }

/* ---------- Pagination ---------- */
.pager { display: flex; gap: .3rem; align-items: center; }
.pager a, .pager span { min-width: 34px; height: 34px; padding: 0 .55rem; border-radius: 9px; display: inline-grid; place-items: center; border: 1px solid var(--oe-line); background: #fff; color: var(--oe-ink-2); font-size: .86rem; }
.pager a:hover { border-color: #a5b4fc; color: var(--oe-primary); }
.pager .current { background: var(--oe-primary); border-color: var(--oe-primary); color: #fff; font-weight: 600; }
.pager .disabled { opacity: .45; }

/* ---------- Question editor ---------- */
.option-card { border: 1px solid var(--oe-line); border-radius: 12px; padding: .9rem; background: #fff; transition: border-color .15s, box-shadow .15s; }
.option-card.correct { border-color: #34d399; box-shadow: 0 0 0 3px rgba(16, 185, 129, .12); background: #fbfffd; }
.option-letter { width: 28px; height: 28px; border-radius: 8px; background: #f1f5f9; display: grid; place-items: center; font-weight: 700; font-size: .85rem; color: var(--oe-ink-2); flex: none; }
.option-card.correct .option-letter { background: #10b981; color: #fff; }
.thumb { max-height: 90px; max-width: 100%; border-radius: 8px; border: 1px solid var(--oe-line); }
.dropzone { border: 1.5px dashed #cbd5e1; border-radius: 10px; padding: .55rem .75rem; font-size: .85rem; color: var(--oe-muted); background: #f8fafc; }

/* ---------- Question paper (report / answer sheet) ---------- */
.qblock { padding: 1.1rem 1.25rem; border-bottom: 1px solid #f1f5f9; page-break-inside: avoid; }
.qblock:last-child { border-bottom: 0; }
.qnum { font-weight: 700; color: var(--oe-primary); margin-right: .35rem; }
.qopts { list-style: none; padding: 0; margin: .7rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .5rem; }
.qopts li { border: 1px solid var(--oe-line); border-radius: 10px; padding: .5rem .75rem; display: flex; gap: .55rem; align-items: flex-start; }
.qopts li.is-answer { border-color: #34d399; background: #ecfdf5; }
.qopts li.is-wrong { border-color: #fca5a5; background: #fef2f2; }
.qopts img, .qblock img { max-width: 100%; max-height: 220px; border-radius: 6px; }

/* ---------- Auth pages ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.auth-art { background: radial-gradient(1200px 600px at -10% -10%, #6366f1 0%, transparent 60%), radial-gradient(900px 500px at 110% 110%, #8b5cf6 0%, transparent 55%), #0b1220; color: #e2e8f0; padding: 3rem; display: flex; flex-direction: column; justify-content: space-between; }
.auth-art h2 { font-size: 2.2rem; font-weight: 700; letter-spacing: -.03em; color: #fff; max-width: 460px; }
.auth-art p { color: #a5b0c6; max-width: 420px; }
.auth-points { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .8rem; }
.auth-points li { display: flex; gap: .7rem; align-items: center; color: #cbd5e1; }
.auth-points .ic { color: #a5b4fc; }
.auth-form { display: grid; place-items: center; padding: 2rem; background: #fff; }
.auth-card { width: 100%; max-width: 400px; }
.auth-card h1 { font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; }

/* ---------- Toast ---------- */
.toast-x { position: fixed; top: 1rem; right: 1rem; z-index: 2000; min-width: 300px; max-width: 420px; background: #fff; border: 1px solid var(--oe-line); border-radius: 12px; box-shadow: 0 12px 32px rgba(15, 23, 42, .16); padding: .85rem 1rem; display: flex; gap: .7rem; align-items: flex-start; animation: toast-in .25s ease; }
.toast-x.success { border-left: 4px solid var(--oe-success); }
.toast-x.error { border-left: 4px solid var(--oe-danger); }
.toast-x.success .ic { color: var(--oe-success); } .toast-x.error .ic { color: var(--oe-danger); }
@keyframes toast-in { from { transform: translateY(-8px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Bars (dashboard) ---------- */
.bar-row { display: grid; grid-template-columns: minmax(120px, 1.2fr) 3fr auto; gap: .8rem; align-items: center; padding: .45rem 0; font-size: .9rem; }
.bar-track { height: 10px; background: #f1f5f9; border-radius: 999px; overflow: hidden; position: relative; }
.bar-fill { height: 100%; background: #c7d2fe; border-radius: 999px; position: absolute; inset: 0 auto 0 0; }
.bar-fill.done { background: var(--oe-primary); }
.legend { display: flex; gap: 1rem; font-size: .8rem; color: var(--oe-muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: .35rem; vertical-align: -1px; }

/* ---------- Student portal ---------- */
.portal { min-height: 100vh; background: linear-gradient(180deg, #eef2ff 0%, #f5f7fb 340px); }
.portal-top { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.75rem; }
.portal-main { max-width: 1100px; margin: 0 auto; padding: 1rem 1.25rem 3rem; }
.hero-card { background: #fff; border-radius: 20px; box-shadow: var(--oe-shadow); border: 1px solid var(--oe-line); overflow: hidden; }
.hero-band { background: linear-gradient(135deg, #4f46e5, #7c3aed); color: #fff; padding: 2rem; }
.hero-band h1 { font-weight: 700; letter-spacing: -.02em; font-size: 1.8rem; margin: 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
.fact { border: 1px solid var(--oe-line); border-radius: 12px; padding: 1rem; }
.fact b { display: block; font-size: 1.35rem; }
.fact span { color: var(--oe-muted); font-size: .85rem; }
.rules li { margin-bottom: .4rem; color: var(--oe-ink-2); }

.exam-bar { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--oe-line); }
.exam-bar-inner { max-width: 1200px; margin: 0 auto; padding: .75rem 1.25rem; display: flex; align-items: center; gap: 1rem; }
.timer { display: inline-flex; align-items: center; gap: .5rem; font-variant-numeric: tabular-nums; font-weight: 700; font-size: 1.15rem; padding: .4rem .9rem; border-radius: 999px; background: var(--oe-primary-50); color: var(--oe-primary); }
.timer.low { background: var(--oe-danger-50); color: var(--oe-danger); animation: pulse 1s infinite; }
@keyframes pulse { 50% { opacity: .65; } }
.progress-thin { height: 4px; background: #eef2ff; }
.progress-thin > div { height: 100%; background: var(--oe-primary); transition: width .25s; }
.exam-layout { max-width: 1200px; margin: 0 auto; padding: 1.5rem 1.25rem 3rem; display: grid; grid-template-columns: 1fr 300px; gap: 1.5rem; align-items: start; }
.qcard { background: #fff; border: 1px solid var(--oe-line); border-radius: 18px; box-shadow: var(--oe-shadow); padding: 1.75rem; min-height: 420px; display: flex; flex-direction: column; }
.qcard .q-meta { display: flex; justify-content: space-between; color: var(--oe-muted); font-size: .85rem; margin-bottom: .8rem; }
.qcard .q-text { font-size: 1.2rem; font-weight: 600; line-height: 1.5; }
.qcard .q-text img { max-width: 100%; max-height: 300px; border-radius: 10px; margin-top: .5rem; }
.choice { display: flex; gap: .8rem; align-items: center; border: 1.5px solid var(--oe-line); border-radius: 14px; padding: .85rem 1rem; cursor: pointer; transition: all .12s; margin-bottom: .65rem; background: #fff; }
.choice:hover { border-color: #a5b4fc; background: #fafaff; }
.choice input { display: none; }
.choice .letter { width: 32px; height: 32px; border-radius: 9px; background: #f1f5f9; display: grid; place-items: center; font-weight: 700; flex: none; color: var(--oe-ink-2); }
.choice.selected { border-color: var(--oe-primary); background: var(--oe-primary-50); }
.choice.selected .letter { background: var(--oe-primary); color: #fff; }
.choice img { max-height: 120px; max-width: 100%; border-radius: 8px; }
.q-nav { margin-top: auto; padding-top: 1.25rem; display: flex; justify-content: space-between; gap: .75rem; }
.palette { display: grid; grid-template-columns: repeat(6, 1fr); gap: .4rem; }
.palette button { aspect-ratio: 1; border: 1px solid var(--oe-line); background: #fff; border-radius: 9px; font-weight: 600; font-size: .85rem; color: var(--oe-ink-2); }
.palette button.answered { background: #10b981; border-color: #10b981; color: #fff; }
.palette button.current { outline: 2px solid var(--oe-primary); outline-offset: 1px; }
.save-state { font-size: .8rem; color: var(--oe-muted); }

.score-ring { --p: 0; width: 160px; height: 160px; border-radius: 50%; background: conic-gradient(var(--oe-primary) calc(var(--p) * 1%), #e0e7ff 0); display: grid; place-items: center; margin: 0 auto; }
.score-ring > div { width: 124px; height: 124px; background: #fff; border-radius: 50%; display: grid; place-items: center; text-align: center; }
.score-ring b { font-size: 2rem; line-height: 1; display: block; }

/* ---------- Print (grade sheet, answer sheet, question report) ---------- */
.print-page { max-width: 900px; margin: 1.5rem auto; background: #fff; border: 1px solid var(--oe-line); border-radius: 16px; box-shadow: var(--oe-shadow); padding: 2.5rem; }
.print-head { text-align: center; border-bottom: 2px solid var(--oe-ink); padding-bottom: 1rem; margin-bottom: 1.5rem; }
.print-head h1 { font-size: 1.5rem; font-weight: 700; margin: 0; }
.print-head h2 { font-size: 1rem; font-weight: 600; color: var(--oe-ink-2); margin: .35rem 0 0; letter-spacing: .08em; text-transform: uppercase; }
.kv { width: 100%; border-collapse: collapse; }
.kv th, .kv td { border: 1px solid var(--oe-line); padding: .6rem .8rem; text-align: left; font-size: .93rem; }
.kv th { background: #f8fafc; width: 32%; font-weight: 600; }
.print-actions { max-width: 900px; margin: 1.5rem auto 0; display: flex; justify-content: flex-end; gap: .5rem; }
@media print {
    body { background: #fff; }
    .no-print, .sidebar, .topbar, .print-actions, .toast-x { display: none !important; }
    .main { margin: 0 !important; }
    .content { padding: 0 !important; }
    .print-page, .card-x { border: 0 !important; box-shadow: none !important; margin: 0 !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.open { transform: none; box-shadow: 0 0 0 100vmax rgba(15, 23, 42, .4); }
    .main { margin-left: 0; }
    .menu-toggle { display: inline-flex; }
    .auth { grid-template-columns: 1fr; }
    .auth-art { display: none; }
    .exam-layout { grid-template-columns: 1fr; }
    .content { padding: 1.1rem; }
}

/* ---------- Institution logo (Setup > Branding) ---------- */
.logo-plate { display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 12px; padding: .55rem .8rem; box-shadow: 0 4px 14px rgba(15, 23, 42, .18); }
.logo-plate img { display: block; max-width: 100%; max-height: 52px; object-fit: contain; }
.brand-logo { flex-direction: column; align-items: stretch; gap: .55rem; text-decoration: none; }
.brand-logo .brand-sub { text-align: center; }
.auth-logo { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; }
.auth-logo .logo-plate { padding: .7rem 1rem; }
.auth-logo .logo-plate img { max-height: 64px; max-width: 260px; }
.portal-logo { padding: .35rem .6rem; border-radius: 10px; box-shadow: none; }
.portal-logo img { max-height: 36px; max-width: 180px; }
.portal-brand-text { border-left: 1px solid var(--bs-border-color, #e2e8f0); padding-left: .75rem; margin-left: .25rem; }
.exam-logo { padding: .25rem .5rem; border-radius: 8px; box-shadow: none; }
.exam-logo img { max-height: 28px; max-width: 130px; }
.print-logo { display: inline-flex; margin: 0 auto .6rem; box-shadow: none; }
.print-logo img { max-height: 60px; max-width: 240px; }
.logo-plate { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.brand-preview-side { background: #0b1220; border-radius: 14px; padding: 1rem; display: flex; flex-direction: column; gap: .55rem; }
.brand-preview-side .brand-sub { text-align: center; }
.brand-preview .print-head { border: 1px dashed var(--bs-border-color, #e2e8f0); border-radius: 12px; padding: 1rem; }
@media (max-width: 575.98px) { .portal-brand-text { display: none; } }

/* ---------- Menu access ---------- */
.menu-option { display: flex; align-items: flex-start; gap: .65rem; padding: .7rem .85rem; border: 1px solid var(--bs-border-color, #e2e8f0); border-radius: 12px; cursor: pointer; height: 100%; }
.menu-option:hover { border-color: #c7d2fe; background: #f8faff; }
.menu-option:has(input:checked) { border-color: #6366f1; background: #eef2ff; }
.menu-option .form-check-input { margin-top: .2rem; flex-shrink: 0; }
.menu-option .ic { margin-top: .15rem; color: #6366f1; flex-shrink: 0; }
.menu-option small { display: block; color: var(--bs-secondary-color, #64748b); font-size: .78rem; }
