/* el-base.css — the base rules the site still used from the old theme (styles.min.css, main.css, courses.css,
   courses-details.css, pyq-library.css: ~480 KB). Extracted 24 Nov 2026 by matching every old rule against every
   public and dashboard page: only element defaults, .page-wrapper / main.main and the scrolling .modal-body were in
   use. Same order as before (after Bootstrap, before el-2026.css), so pages look exactly as they did. */

/* ---- from styles.min.css (Bootstrap 4 reboot + theme base) ---- */
:root { --main-color: #141821; --primary-color: #B01216; --white-color: #fff; }
*, ::after, ::before { box-sizing: border-box; }
html { font-family: sans-serif; line-height: 1.15; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
article, aside, figcaption, figure, footer, header, hgroup, main, nav, section { display: block; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; font-size: 1rem; font-weight: 400; line-height: 1.5; color: #141821; text-align: left; background-color: #fff; }
[tabindex="-1"]:focus { outline: 0 !important; }
hr { box-sizing: content-box; height: 0; overflow: visible; }
h1, h2, h3, h4, h5, h6 { margin-top: 0; margin-bottom: .5rem; }
p { margin-top: 0; margin-bottom: 1rem; }
abbr[data-original-title], abbr[title] { text-decoration: underline dotted; cursor: help; border-bottom: 0; text-decoration-skip-ink: none; }
address { margin-bottom: 1rem; font-style: normal; line-height: inherit; }
dl, ol, ul { margin-top: 0; margin-bottom: 1rem; }
ol ol, ol ul, ul ol, ul ul { margin-bottom: 0; }
dt { font-weight: 700; }
dd { margin-bottom: .5rem; margin-left: 0; }
blockquote { margin: 0 0 1rem; }
b, strong { font-weight: bolder; }
small { font-size: 80%; }
sub, sup { position: relative; font-size: 75%; line-height: 0; vertical-align: baseline; }
sub { bottom: -.25em; }
sup { top: -.5em; }
a { color: #007bff; text-decoration: none; background-color: transparent; }
a:hover { color: #0056b3; text-decoration: underline; }
a:not([href]):not([tabindex]) { color: inherit; text-decoration: none; }
a:not([href]):not([tabindex]):focus, a:not([href]):not([tabindex]):hover { color: inherit; text-decoration: none; }
a:not([href]):not([tabindex]):focus { outline: 0; }
code, kbd, pre, samp { font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 1em; }
pre { margin-top: 0; margin-bottom: 1rem; overflow: auto; }
figure { margin: 0 0 1rem; }
img { vertical-align: middle; border-style: none; }
svg { overflow: hidden; vertical-align: middle; }
table { border-collapse: collapse; }
caption { padding-top: .75rem; padding-bottom: .75rem; color: #6c757d; text-align: left; caption-side: bottom; }
th { text-align: inherit; }
label { display: inline-block; margin-bottom: .5rem; font-weight: 600; }
button { border-radius: 0; }
button:focus { outline: -webkit-focus-ring-color auto 5px; }
button, input, optgroup, select, textarea { margin: 0; font-family: inherit; font-size: inherit; line-height: inherit; }
button, input { overflow: visible; }
button, select { text-transform: none; }
select { overflow-wrap: normal; cursor: pointer; }
[type="button"], [type="reset"], [type="submit"], button { -webkit-appearance: button; appearance: button; }
[type="button"]:not(:disabled), [type="reset"]:not(:disabled), [type="submit"]:not(:disabled), button:not(:disabled) { cursor: pointer; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; }
input[type="date"], input[type="datetime-local"], input[type="month"], input[type="time"] { -webkit-appearance: listbox; appearance: listbox; }
textarea { overflow: auto; resize: vertical; }
fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
legend { display: block; width: 100%; max-width: 100%; padding: 0; margin-bottom: .5rem; font-size: 1.5rem; line-height: inherit; color: inherit; white-space: normal; }
progress { vertical-align: baseline; }
[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button { height: auto; }
[type="search"] { outline-offset: -2px; -webkit-appearance: none; appearance: none; }
[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
::-webkit-file-upload-button { font: inherit; -webkit-appearance: button; }
output { display: inline-block; }
summary { display: list-item; cursor: pointer; }
template { display: none; }
[hidden] { display: none !important; }
html { box-sizing: border-box; }
*, ::after, ::before { box-sizing: inherit; }
body { font-family: var(--el-font); color: #414a53; min-height: 100vh; overflow-x: hidden; display: flex; font-size: 16px; line-height: 1.6; }
.page-wrapper { flex: 1 1 auto; display: flex; flex-flow: column; min-height: 100vh; width: 100%; overflow-x: hidden; }
main.main { flex: 1 0 auto; }
::selection { color: #414a53; background-color: #9eccec; }
img { display: inline-block; max-width: 100%; height: auto; }
button { background: 0 0; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; letter-spacing: -.03em; }
h1 { font-size: 60px; }
h2 { font-size: 50px; }
h3 { font-size: 40px; }
h4 { font-size: 30px; }
h5 { font-size: 20px; letter-spacing: 0; }
h6 { font-size: 18px; letter-spacing: 0; }
a { color: #00589b; text-decoration: underline; }
a:hover { color: #00589b; text-decoration: none; }
mark { background: #9eccec; padding: 0 5px; }
p { margin-bottom: 1.5rem; }
@media (max-width: 500px) { label { display: inline-block; margin-bottom: 0; font-weight: 500; } }

/* ---- from main.css ---- */
small { font-size: 80%; font-weight: 400; }

/* ---- from courses.css ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root { --main-color: #141821; --primary-color: #B01216; --white-color: #ffffff; --off-white: #f0f2f8; --soft-gray: #e9ecf2; --text-dark: #181e2b; --text-soft: #4a505e; --card-bg: #ffffff; --red-soft: rgba(176, 18, 22, 0.04); --shadow-card: 0 25px 45px -18px rgba(0,0,0,0.2), 0 10px 20px -10px rgba(176,18,22,0.1); --transition-main: 0.4s cubic-bezier(0.2, 0.9, 0.3, 1); }
body { font-family: "Plus Jakarta Sans", sans-serif; background-color: var(--off-white); color: var(--text-dark); }
h1, h2, h3, h4, h5 { font-weight: 700; letter-spacing: -0.02em; }

/* ---- from courses-details.css ---- */
:root { --primary-bg: #ffffff; --secondary-bg: #f8fafd; --accent-red: #E03B3B; --accent-dark: #1a2639; --text-primary: #2d3a4f; --text-secondary: #5e6f8d; --border-light: #eef2f6; --shadow-soft: 0 10px 30px -15px rgba(0,0,0,0.1), 0 5px 15px -10px rgba(224,59,59,0.1); --shadow-hover: 0 20px 35px -18px rgba(224,59,59,0.2); --transition: all 0.25s ease; }
body { font-family: var(--el-font); background: var(--secondary-bg); color: var(--text-primary); line-height: 1.5; }
h1, h2, h3, h4, h5 { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 600; letter-spacing: -0.02em; }

/* ---- from pyq-library.css ---- */
:root { --accent-red: #E03B3B; --accent-dark: #1a2639; --secondary-bg: #f5f7fa; --text-primary: #2d3a4f; --text-secondary: #5e6f8d; --border-light: #eef2f6; --shadow-soft: 0 10px 30px -15px rgba(0,0,0,0.1); --shadow-hover: 0 20px 35px -18px rgba(224,59,59,0.15); --transition: all 0.25s ease; }
.modal-body { padding: 25px; max-height: 60vh; overflow-y: auto; }
.modal-body::-webkit-scrollbar { width: 6px; }
.modal-body::-webkit-scrollbar-track { background: var(--border-light); }
.modal-body::-webkit-scrollbar-thumb { background: var(--accent-red); border-radius: 10px; }
