/* Ôn thi bằng lái */
.gx-hero { padding: 22px 0 6px; }
.gx-hero .wrap { padding-top: 28px; padding-bottom: 26px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #0f766e, #115e59 55%, #134e4a); }
.gx-hero .wrap { padding-left: 30px; padding-right: 30px; max-width: calc(var(--wrap, 1240px)); }
.gx-hero .crumbs, .gx-hero .crumbs a { color: rgba(255,255,255,.8); font-size: 13px; }
.gx-hero h1 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); margin: 8px 0; }
.gx-hero p { color: rgba(255,255,255,.88); max-width: 720px; line-height: 1.6; }
.gx-classes { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 16px; }
.gx-classes span { font-weight: 700; margin-right: 4px; }
.gx-classes button { min-width: 48px; height: 36px; padding: 0 10px; border: 0; border-radius: 10px; background: rgba(255,255,255,.16); color: #fff; font: 800 14px/1 inherit; cursor: pointer; }
.gx-classes button.is-on { background: #fde047; color: #134e4a; }
.gx-modes { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 20px; }
@media (max-width: 900px) { .gx-modes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gx-mode { display: grid; gap: 4px; padding: 18px; border: 0; border-radius: 16px; background: var(--nv-card, #fff); box-shadow: var(--nv-shadow); text-align: left; font: inherit; color: var(--ink); cursor: pointer; }
.gx-mode:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.gx-mode b { font-size: 18px; color: #0f766e; }
.gx-mode span { font-size: 13.5px; color: var(--muted); }
.gx-mode:first-child { background: linear-gradient(135deg, #fef9c3, var(--nv-card, #fff)); }
.gx-progress { margin-top: 22px; }
.gx-progress > p { font-size: 14px; color: var(--muted); margin: 8px 0 14px; }
.gx-bar { display: block; height: 8px; border-radius: 4px; background: var(--soft, #e5e7eb); overflow: hidden; }
.gx-bar i { display: block; height: 100%; background: linear-gradient(90deg, #14b8a6, #0f766e); }
.gx-chaps { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.gx-chaps button { display: grid; gap: 6px; padding: 14px 16px; border: 0; border-radius: 14px; background: var(--nv-card, #fff); box-shadow: var(--nv-shadow); text-align: left; font: inherit; color: var(--ink); cursor: pointer; }
.gx-chaps button:hover { box-shadow: var(--shadow-hover); }
.gx-chaps b { font-size: 14.5px; line-height: 1.35; }
.gx-chaps small { color: var(--muted); }
.gx-stage { margin-top: 20px; }
.gx-top { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.gx-top b { font-size: 17px; flex: 1; }
.gx-back, .gx-submit { height: 38px; padding: 0 14px; border: 0; border-radius: 10px; font: 700 14px/1 inherit; cursor: pointer; }
.gx-back { background: var(--soft, #f3f4f6); color: var(--ink); }
.gx-submit { background: #dc2626; color: #fff; }
.gx-clock { padding: 8px 12px; border-radius: 10px; background: #0f172a; color: #fde047; font: 800 16px/1 var(--f, monospace); font-variant-numeric: tabular-nums; }
.gx-body { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr) 280px; align-items: start; }
@media (max-width: 900px) { .gx-body { grid-template-columns: 1fr; } }
.gx-q { padding: 20px 22px; border-radius: 16px; background: var(--nv-card, #fff); box-shadow: var(--nv-shadow); }
.gx-q__meta { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.gx-liet { padding: 2px 8px; border-radius: 6px; background: #dc2626; color: #fff; font-weight: 800; font-size: 11.5px; }
.gx-q h2 { font-size: 19px; line-height: 1.5; margin: 0 0 14px; }
.gx-img { display: block; max-width: 100%; max-height: 380px; margin: 0 auto 16px; border-radius: 10px; background: #fff; }
.gx-ans { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.gx-ans button { display: flex; gap: 12px; width: 100%; padding: 12px 14px; border: 0; border-radius: 12px; background: var(--soft, #f3f4f6); text-align: left; font: 500 15.5px/1.5 inherit; color: var(--ink); cursor: pointer; }
.gx-ans button span { flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; font-weight: 800; font-size: 13px; }
.gx-ans button:hover:not(:disabled) { background: #ccfbf1; }
.gx-ans button.is-picked { background: #dbeafe; }
.gx-ans button.is-ok { background: #dcfce7; box-shadow: inset 0 0 0 2px #16a34a; }
.gx-ans button.is-bad { background: #fee2e2; box-shadow: inset 0 0 0 2px #dc2626; }
.gx-ans button:disabled { cursor: default; }
.gx-verdict { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; font-weight: 700; }
.gx-verdict.ok { background: #dcfce7; color: #166534; } .gx-verdict.bad { background: #fee2e2; color: #991b1b; }
.gx-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; }
.gx-nav button { height: 40px; padding: 0 16px; border: 0; border-radius: 10px; background: #0f766e; color: #fff; font: 700 14px/1 inherit; cursor: pointer; }
.gx-nav button:disabled { opacity: .35; cursor: default; }
.gx-grid-nav { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; padding: 14px; border-radius: 16px; background: var(--nv-card, #fff); box-shadow: var(--nv-shadow); max-height: 70vh; overflow: auto; }
.gx-grid-nav > button { height: 34px; border: 0; border-radius: 8px; background: var(--soft, #f3f4f6); font: 700 13px/1 inherit; color: var(--ink); cursor: pointer; }
.gx-grid-nav > button.is-cur { outline: 2px solid #0f766e; }
.gx-grid-nav > button.is-ans { background: #dbeafe; }
.gx-grid-nav > button.is-ok { background: #bbf7d0; } .gx-grid-nav > button.is-bad { background: #fecaca; }
.gx-result { grid-column: 1 / -1; display: grid; gap: 4px; justify-items: center; margin-top: 8px; padding: 14px; border-radius: 12px; text-align: center; }
.gx-result.ok { background: #dcfce7; color: #166534; } .gx-result.bad { background: #fee2e2; color: #991b1b; }
.gx-result b { font-size: 26px; letter-spacing: .05em; }
.gx-result button { margin-top: 6px; height: 36px; padding: 0 14px; border: 0; border-radius: 10px; background: #0f766e; color: #fff; font: 700 13.5px/1 inherit; cursor: pointer; }
.gx-lessons { margin-top: 40px; margin-bottom: 40px; }
.gx-src { margin-top: 18px; font-size: 12.5px; color: var(--muted); }
:root[data-theme="dark"] .gx-ans button span { background: #1f2937; }
.gx-note { font-size: 13.5px !important; opacity: .9; } .gx-note a { color: #fde047; font-weight: 700; }
