/* ============================================================
   SMKBISA / SMKNUM — Clean Blue-Green (Biru-Hijau) Design System
   Tipografi ringan & nyaman dilihat, tampilan tenang & rapi
   ============================================================ */
:root {
  --blue: #0284c7;
  --blue2: #0284c7;
  --green: #0b57d0;
  --green2: #eff6ff;
  --bg: #f8fafc;
  --text: #1e293b;
  --muted: #64748b;
  --line: #e2e8f0;
  --danger: #dc2626;
  --warn: #d97706;
  --white: #ffffff;
  --shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  --v6-blue: #0b57d0;
  --v6-blue2: #0284c7;
  --v6-sky: #38bdf8;
  --v6-ink: #1e293b;
  --v6-muted: #64748b;
  --v6-line: #e2e8f0;
  --v6-soft: #f8fafc;
  --v6-navy: #1e3a8a;
  --v6-green: #059669;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: 'Plus Jakarta Sans', 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue2); text-decoration: none; }
b, strong { font-weight: 600; }
h1, h2, h3, h4, h5, h6 { font-weight: 600; letter-spacing: -0.015em; color: #0f172a; }

/* App Shell */
.app { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; background: var(--bg); }
.sidebar {
  background: linear-gradient(180deg, #1e3a8a 0%, #0b57d0 52%, #0b57d0 100%);
  color: #fff;
  padding: 20px 16px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.logo { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.logo-mark, .brand-badge {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, #ffffff, #e0f2fe);
  color: var(--green);
  display: grid; place-items: center;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.logo strong { display: block; font-weight: 600; }
.logo small { opacity: 0.8; font-weight: 400; }
.nav a {
  display: flex; gap: 10px; align-items: center;
  padding: 10px 12px; border-radius: 10px;
  color: #e0f2fe; margin: 4px 0; font-weight: 400;
  transition: background 0.16s ease;
}
.nav a:hover, .nav a.active { background: rgba(255, 255, 255, 0.15); color: #fff; }
.sidebar .foot { position: absolute; bottom: 18px; left: 16px; right: 16px; font-size: 12px; opacity: 0.8; }
.main { min-width: 0; }
.topbar {
  height: 68px; background: #fff; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; position: sticky; top: 0; z-index: 9;
}
.userbox { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--green2); color: var(--green);
  display: grid; place-items: center; font-weight: 600;
}
.content { padding: 24px; max-width: 1380px; margin: auto; width: 100%; }
.hero {
  background: linear-gradient(125deg, #1e3a8a 0%, #0b57d0 55%, #0b57d0 100%);
  color: #fff; border-radius: 18px; padding: 26px;
  box-shadow: var(--shadow); margin-bottom: 20px;
}
.hero h1 { margin: 0 0 8px; font-size: 26px; font-weight: 600; color: #fff; }
.hero p { margin: 0; opacity: 0.9; font-weight: 400; }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.col-3 { grid-column: span 3; } .col-4 { grid-column: span 4; } .col-6 { grid-column: span 6; } .col-8 { grid-column: span 8; } .col-12 { grid-column: span 12; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); }
.stat b { font-size: 24px; font-weight: 600; color: var(--green); }
.stat small { display: block; color: var(--muted); margin-top: 4px; }
.course-card { padding: 0; overflow: hidden; }
.course-cover { height: 118px; background: linear-gradient(135deg, #e0f2fe, #dbeafe); display: flex; align-items: flex-end; padding: 18px; }
.course-cover b { font-size: 18px; font-weight: 600; }
.course-body { padding: 18px; }
.pill { display: inline-flex; padding: 5px 10px; border-radius: 999px; background: #e0f2fe; color: #0369a1; font-size: 12px; font-weight: 500; }
.pill.green { background: var(--green2); color: var(--green); }
.btn { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 10px; padding: 10px 15px; font-weight: 500; font-size: 13px; cursor: pointer; transition: 0.16s ease; }
.btn.primary { background: var(--green); color: #fff; }
.btn.primary:hover { background: #1e3a8a; }
.btn.green { background: #059669; color: #fff; }
.btn.ghost { background: #eef6f8; color: var(--text); }
.btn.danger { background: #fef2f2; color: var(--danger); }
.btn.block { width: 100%; }
.table-wrap { overflow: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { font-size: 11.5px; text-transform: uppercase; color: var(--muted); font-weight: 500; background: #f8fafc; }
label { font-weight: 500; font-size: 13px; color: #334155; }
input, select, textarea { width: 100%; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; font: inherit; margin-top: 6px; color: var(--text); }
input:focus, select:focus, textarea:focus { outline: none; border-color: #0b57d0; box-shadow: 0 0 0 3px rgba(11, 87, 208, 0.12); }
textarea { min-height: 104px; }
.stack { display: grid; gap: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.alert { padding: 12px 14px; border-radius: 10px; margin: 12px 0; font-weight: 500; }
.alert.success { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.alert.danger { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.alert.info { background: #f0f9ff; color: #0369a1; border: 1px solid #bae6fd; }
.muted { color: var(--muted); }
.tiny { font-size: 12px; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 18px 0 12px; }
.section-head h2 { margin: 0; font-weight: 600; }
.tabs { display: flex; gap: 8px; overflow: auto; margin: 0 0 16px; }
.tabs a { white-space: nowrap; padding: 8px 13px; border-radius: 10px; background: #fff; border: 1px solid var(--line); color: var(--text); font-weight: 400; }
.tabs a.active { background: var(--green); color: #fff; border-color: var(--green); font-weight: 500; }
.lesson { border-left: 4px solid var(--blue2); padding: 14px 16px; margin-bottom: 12px; background: #fff; border-radius: 12px; box-shadow: var(--shadow); }
.lesson.done { border-left-color: var(--green); }
.progress { height: 8px; background: #e2e8f0; border-radius: 999px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue2), var(--green)); border-radius: 999px; }

/* Public Landing Page & Auth (SIGAP V6 Clean Blue-Green) */
.site-public { margin: 0; background: #f8fafc; color: var(--v6-ink); font-family: 'Plus Jakarta Sans', 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif; }
.site-public * { box-sizing: border-box; }
.site-public a { text-decoration: none; color: inherit; }
.site-header {
  position: sticky; left: 0; right: 0; top: 0; z-index: 80;
  border-top: 3px solid #3b82f6;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(90deg, rgba(30, 58, 138, 0.96), rgba(11, 87, 208, 0.96));
  backdrop-filter: blur(12px);
}
.site-header-inner { height: 74px; width: min(1280px, 100% - 36px); margin: auto; display: flex; align-items: center; gap: 24px; color: #fff; }
.site-brand { height: 50px; min-width: 260px; padding-right: 22px; border-right: 1px solid rgba(255, 255, 255, 0.18); display: flex; align-items: center; gap: 12px; }
.site-brand-mark { width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 auto; background: #fff; border-radius: 11px; padding: 4px; }
.site-brand-mark img { max-width: 36px; max-height: 36px; object-fit: contain; }
.site-brand-fallback { display: none; width: 42px; height: 42px; border-radius: 11px; background: #fff; color: #0b57d0; font-weight: 600; place-items: center; }
.site-brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.site-brand-copy strong { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; color: #fff; }
.site-brand-copy small { font-size: 11px; opacity: 0.85; margin-top: 2px; max-width: 210px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 400; }
.site-nav { display: flex; align-items: center; gap: 24px; height: 100%; }
.site-nav > a, .site-nav summary { font-size: 13px; font-weight: 400 !important; letter-spacing: 0.01em; color: rgba(255, 255, 255, 0.92); list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; height: 74px; position: relative; }
.site-nav summary::-webkit-details-marker { display: none; }
.site-nav > a:after, .site-nav summary:after { content: ""; position: absolute; left: 0; right: 100%; height: 2px; bottom: 16px; background: #93c5fd; transition: 0.2s; }
.site-nav > a:hover:after, .site-nav > a.active:after, .site-nav details:hover summary:after { right: 0; }
.site-nav details { height: 100%; position: relative; }
.site-dropdown { position: absolute; top: 66px; left: -12px; width: 280px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12); color: var(--v6-ink); display: none; }
.site-nav details[open] .site-dropdown { display: block; }
.site-dropdown a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; font-size: 12.5px; font-weight: 400; color: #334155; }
.site-dropdown a:hover { background: #eff6ff; color: #0b57d0; }
.site-dropdown small { font-size: 10px; color: #64748b; background: #f1f5f9; padding: 2px 7px; border-radius: 999px; }
.site-dropdown.compact { width: 230px; }
.site-actions { margin-left: auto; display: flex; align-items: center; height: 100%; gap: 10px; }
.login-register, .account-entry { height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 9px; background: rgba(255, 255, 255, 0.12); color: #fff; font-size: 12.5px; font-weight: 500; }
.login-register:hover, .account-entry:hover { background: rgba(255, 255, 255, 0.2); }
.account-copy { display: flex; flex-direction: column; max-width: 150px; line-height: 1.15; }
.account-copy small { font-size: 9px; opacity: 0.8; text-transform: uppercase; }
.account-copy b { font-size: 11.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.account-icon { width: 18px; height: 18px; border: 1.6px solid currentColor; border-radius: 50%; position: relative; display: inline-block; flex: 0 0 auto; }
.logout-mini { font-size: 11.5px; font-weight: 400; padding: 7px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.12); color: #fff; }
.logout-mini:hover { background: rgba(255, 255, 255, 0.2); }
.site-search-btn { width: 42px; height: 40px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, 0.1); cursor: pointer; position: relative; }
.site-search-btn span { position: absolute; width: 15px; height: 15px; border: 1.8px solid #fff; border-radius: 50%; left: 12px; top: 10px; }
.site-search-btn span:after { content: ""; position: absolute; width: 6px; height: 1.8px; background: #fff; right: -5px; bottom: -2px; transform: rotate(45deg); border-radius: 2px; }
.site-menu-btn { display: none; width: 40px; height: 40px; border: 0; background: transparent; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.site-menu-btn i { width: 20px; height: 2px; background: #fff; border-radius: 3px; }

.site-search-layer { position: fixed; inset: 0; z-index: 120; background: rgba(30, 58, 138, 0.94); backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; padding: 30px; }
.site-search-layer.open { display: flex; }
.search-layer-close { position: absolute; right: 32px; top: 24px; border: 0; background: none; color: #fff; font-size: 36px; cursor: pointer; }
.search-layer-box { width: min(760px, 92%); text-align: center; color: #fff; }
.search-layer-box input { width: 100%; border: 0; border-bottom: 2px solid rgba(255, 255, 255, 0.45); border-radius: 0; background: transparent; color: #fff; font-size: 24px; font-weight: 400; padding: 14px 4px; outline: none; }
.search-layer-box input::placeholder { color: rgba(255, 255, 255, 0.6); }
.search-layer-box p { font-size: 13px; opacity: 0.75; margin-top: 10px; }

.site-hero {
  min-height: 280px; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; color: #fff;
  background: linear-gradient(125deg, #1e3a8a 0%, #0b57d0 50%, #0b57d0 100%);
  padding: 44px 20px;
}
.site-hero-bg { position: absolute; inset: 0; background: radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.1), transparent 55%); }
.site-hero-art { display: none; }
.site-hero-content { position: relative; z-index: 2; text-align: center; width: min(980px, 94%); }
.hero-label { font-size: 11px; font-weight: 500; letter-spacing: 0.16em; opacity: 0.88; background: rgba(255, 255, 255, 0.12); padding: 5px 12px; border-radius: 999px; display: inline-block; }
.site-hero h1 { margin: 14px auto 6px; font-size: clamp(28px, 3.6vw, 42px); font-weight: 600; letter-spacing: -0.02em; color: #fff; }
.site-hero-content > p { margin: 0; font-size: 15px; font-weight: 400; opacity: 0.9; }
.site-breadcrumb { display: flex; justify-content: center; gap: 8px; margin-top: 10px; font-size: 12px; opacity: 0.8; }
.hero-buttons { display: flex; justify-content: center; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.hero-btn { min-height: 40px; padding: 0 18px; border-radius: 9px; display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 500; transition: 0.16s ease; }
.hero-btn.primary { background: #fff; color: #0b57d0; }
.hero-btn.primary:hover { background: #eff6ff; }
.hero-btn.glass { border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.1); color: #fff; }
.hero-btn.glass:hover { background: rgba(255, 255, 255, 0.18); }

.site-courses { padding: 56px 0 72px; background: #f8fafc; }
.site-container { width: min(1240px, calc(100% - 40px)); margin: auto; }
.site-section-title { text-align: center; max-width: 700px; margin: 0 auto 30px; }
.site-section-title > span { display: block; width: 36px; height: 3px; background: #0b57d0; border-radius: 5px; margin: 0 auto 12px; }
.site-section-title h2 { font-size: 24px; font-weight: 600; margin: 0; color: #0f172a; letter-spacing: -0.02em; }
.site-section-title p { font-size: 13.5px; color: #64748b; line-height: 1.65; margin: 8px 0 0; }
.course-filter-row { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.course-filter { border: 1px solid #d5e3e8; background: #fff; border-radius: 999px; padding: 7px 14px; font-size: 11.5px; font-weight: 500; color: #475569; cursor: pointer; transition: 0.16s ease; }
.course-filter em { font-style: normal; margin-left: 5px; background: #f1f5f9; border-radius: 12px; padding: 2px 7px; font-size: 10px; }
.course-filter.active, .course-filter:hover { background: #0b57d0; color: #fff; border-color: #0b57d0; }
.course-filter.active em, .course-filter:hover em { background: rgba(255, 255, 255, 0.2); color: #fff; }

.site-course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.site-course-card { border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; overflow: hidden; box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04); transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.site-course-card:hover { transform: translateY(-3px); border-color: #bfdbfe; box-shadow: 0 12px 26px rgba(11, 87, 208, 0.09); }
.site-course-card[hidden] { display: none; }
.site-course-thumb { height: 176px; display: block; position: relative; background: #e0f2fe; overflow: hidden; }
.site-course-thumb > img { width: 100%; height: 100%; object-fit: cover; display: block; transition: 0.35s; }
.site-course-card:hover .site-course-thumb > img { transform: scale(1.03); }
.site-cover-placeholder { position: absolute; inset: 0; padding: 20px; color: #fff; display: flex; align-items: flex-end; overflow: hidden; }
.site-cover-placeholder:after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(30, 58, 138, 0.55), transparent 65%); }
.site-cover-placeholder strong { position: relative; z-index: 2; font-size: 17px; font-weight: 600; line-height: 1.3; max-width: 88%; }
.tone-1 { background: linear-gradient(135deg, #1e3a8a, #0284c7); }
.tone-2 { background: linear-gradient(135deg, #1e3a8a, #0b57d0); }
.tone-3 { background: linear-gradient(135deg, #155e75, #0284c7); }
.tone-4 { background: linear-gradient(135deg, #065f46, #059669); }
.tone-5 { background: linear-gradient(135deg, #0b57d0, #0284c7); }
.tone-6 { background: linear-gradient(135deg, #164e63, #0b57d0); }
.course-illustration { position: absolute; right: 10px; top: 22px; width: 140px; height: 120px; opacity: 0.55; }
.course-illustration i { position: absolute; border: 2px solid rgba(255, 255, 255, 0.22); border-radius: 50%; }
.course-illustration i:nth-child(1) { width: 110px; height: 110px; right: 0; }
.course-illustration i:nth-child(2) { width: 68px; height: 68px; right: 20px; top: 20px; }
.course-illustration i:nth-child(3) { width: 28px; height: 28px; right: 40px; top: 40px; background: rgba(255, 255, 255, 0.12); }
.site-course-tag { position: absolute; left: 14px; top: 14px; z-index: 3; background: rgba(11, 87, 208, 0.92); color: #fff; border-radius: 6px; padding: 5px 10px; font-size: 10px; font-weight: 500; letter-spacing: 0.04em; }
.site-course-overlay { position: absolute; inset: 0; background: rgba(30, 58, 138, 0.68); display: flex; align-items: center; justify-content: center; color: #fff; opacity: 0; transition: 0.2s; }
.site-course-overlay b { border: 1px solid rgba(255, 255, 255, 0.75); padding: 8px 14px; border-radius: 8px; font-size: 11.5px; font-weight: 500; }
.site-course-card:hover .site-course-overlay { opacity: 1; }
.site-course-details { padding: 18px; }
.site-teacher { display: flex; align-items: center; gap: 9px; color: #64748b; }
.teacher-dot { width: 28px; height: 28px; border-radius: 50%; background: #eff6ff; color: #0b57d0; border: 1px solid #dbeafe; display: grid; place-items: center; font-size: 11px; font-weight: 600; }
.site-teacher > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.site-teacher small { font-size: 9px; text-transform: uppercase; letter-spacing: 0.06em; color: #94a3b8; }
.site-teacher b { font-size: 11.5px; font-weight: 500; color: #475569; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px; }
.site-course-details h3 { font-size: 16px; font-weight: 600; line-height: 1.38; margin: 10px 0 8px; color: #0f172a; }
.site-course-details h3 a:hover { color: #0b57d0; }
.site-course-details > p { font-size: 12.5px; line-height: 1.6; color: #64748b; min-height: 52px; margin: 0 0 14px; }
.site-course-footer { border-top: 1px solid #eef4f6; padding-top: 12px; display: flex; justify-content: space-between; gap: 10px; color: #64748b; font-size: 10.5px; font-weight: 500; }
.site-notice, .site-empty { grid-column: 1 / -1; text-align: center; padding: 32px; border: 1px dashed #cbd5e1; background: #fff; border-radius: 12px; color: #64748b; }
.site-empty[hidden] { display: none; }

.site-flow { padding: 56px 0; background: #fff; border-top: 1px solid #e6f0f3; }
.flow-wrap { display: grid; grid-template-columns: 0.9fr 1.5fr; gap: 40px; align-items: center; }
.flow-title > span { font-size: 10px; letter-spacing: 0.14em; color: #0b57d0; font-weight: 600; }
.flow-title h2 { font-size: 24px; font-weight: 600; line-height: 1.3; margin: 8px 0 10px; color: #0f172a; }
.flow-title p { font-size: 13.5px; color: #64748b; line-height: 1.65; }
.flow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.flow-card { border: 1px solid #e2e8f0; background: #f8fafc; border-radius: 12px; padding: 14px; display: grid; grid-template-columns: 34px 1fr; gap: 2px 10px; align-items: center; }
.flow-card > span { grid-row: 1 / 3; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #dbeafe; color: #0b57d0; font-size: 11px; font-weight: 600; }
.flow-card b { font-size: 12.5px; font-weight: 600; color: #1e293b; }
.flow-card small { font-size: 11px; color: #64748b; }
.site-footer-v6 { background: #1e3a8a; color: #fff; min-height: 88px; padding: 22px max(24px, calc((100% - 1240px) / 2)); display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 28px; }
.footer-brand { display: flex; flex-direction: column; }
.footer-brand b { font-size: 15px; font-weight: 600; }
.footer-brand span, .site-footer-v6 small { font-size: 11px; opacity: 0.75; }
.footer-links { display: flex; gap: 18px; font-size: 12px; opacity: 0.88; }

/* Authentication (Clean Blue-Green) */
.auth-page-v6 { margin: 0; min-height: 100vh; font-family: 'Plus Jakarta Sans', 'Inter', ui-sans-serif, system-ui, sans-serif; background: #f8fafc; color: var(--v6-ink); }
.auth-page-v6 * { box-sizing: border-box; }
.auth-page-v6 a { text-decoration: none; }
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(400px, 0.9fr) minmax(500px, 1.1fr); }
.auth-showcase { position: relative; overflow: hidden; padding: 40px 48px; color: #fff; background: linear-gradient(140deg, #1e3a8a 0%, #0b57d0 52%, #0b57d0 100%); }
.auth-brand { display: flex; align-items: center; gap: 12px; color: #fff; position: relative; z-index: 2; }
.auth-logo { width: 46px; height: 46px; border-radius: 12px; background: #fff; color: #0b57d0; display: grid; place-items: center; font-weight: 600; }
.auth-brand > span:last-child { display: flex; flex-direction: column; }
.auth-brand b { font-size: 19px; font-weight: 600; }
.auth-brand small { font-size: 11px; opacity: 0.82; }
.auth-showcase-copy { position: relative; z-index: 2; max-width: 480px; margin-top: 18vh; }
.auth-showcase-copy > span { font-size: 11px; letter-spacing: 0.16em; font-weight: 500; opacity: 0.88; }
.auth-showcase-copy h1 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 600; line-height: 1.15; margin: 14px 0; color: #fff; }
.auth-showcase-copy p { font-size: 14px; line-height: 1.65; opacity: 0.9; }
.role-strip { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.role-strip i { font-style: normal; font-size: 11px; font-weight: 500; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 999px; background: rgba(255, 255, 255, 0.1); }
.auth-decoration { position: absolute; right: -100px; bottom: -120px; width: 460px; height: 460px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 50%; }
.auth-decoration i { position: absolute; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 50%; }
.auth-decoration i:nth-child(1) { inset: 70px; }
.auth-decoration i:nth-child(2) { inset: 140px; }
.auth-decoration i:nth-child(3) { inset: 205px; background: rgba(255, 255, 255, 0.04); }
.auth-form-side { display: grid; place-items: center; padding: 40px; }
.auth-form-card { width: min(480px, 100%); background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; padding: 32px; box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05); }
.auth-form-card.wide { width: min(600px, 100%); }
.auth-back { display: inline-flex; color: #64748b; font-size: 12px; font-weight: 500; margin-bottom: 24px; }
.auth-back:hover { color: #0b57d0; }
.auth-eyebrow { font-size: 11px; letter-spacing: 0.14em; font-weight: 600; color: #0b57d0; }
.auth-form-card h2 { font-size: 26px; font-weight: 600; margin: 6px 0 4px; letter-spacing: -0.02em; color: #0f172a; }
.auth-muted { font-size: 13px; color: #64748b; margin: 0 0 20px; }
.login-guide { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.login-guide div { border: 1px solid #e2e8f0; background: #f8fafc; border-radius: 10px; padding: 11px 12px; }
.login-guide b { display: block; font-size: 12px; font-weight: 600; color: #0f172a; }
.login-guide span { font-size: 10.5px; color: #64748b; }
.auth-form { display: grid; gap: 14px; }
.auth-form label { font-size: 12px; font-weight: 500; color: #334155; }
.auth-form input, .auth-form select { margin-top: 6px; width: 100%; height: 46px; padding: 0 13px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; outline: none; font: inherit; color: #1e293b; }
.auth-form input:focus, .auth-form select:focus { border-color: #0b57d0; box-shadow: 0 0 0 3px rgba(11, 87, 208, 0.12); }
.input-wrap { position: relative; }
.input-wrap input { padding-left: 42px; }
.input-user, .input-lock { position: absolute; left: 14px; top: 21px; width: 15px; height: 15px; border: 1.6px solid #64748b; border-radius: 50%; z-index: 2; }
.input-user:after { content: ""; position: absolute; width: 17px; height: 8px; border: 1.6px solid #64748b; border-bottom: 0; border-radius: 10px 10px 0 0; left: 50%; top: 12px; transform: translateX(-50%); }
.input-lock { border-radius: 3px; height: 12px; top: 25px; }
.input-lock:before { content: ""; position: absolute; width: 9px; height: 8px; border: 1.6px solid #64748b; border-bottom: 0; border-radius: 8px 8px 0 0; left: 1px; top: -8px; }
.auth-submit { height: 46px; border: 0; border-radius: 10px; background: linear-gradient(90deg, #0b57d0, #0284c7); color: #fff; font-weight: 500; font-size: 13px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; cursor: pointer; box-shadow: 0 6px 18px rgba(11, 87, 208, 0.18); transition: 0.16s ease; }
.auth-submit:hover { filter: brightness(1.04); }
.auth-submit.link { margin-top: 14px; text-decoration: none; }
.auth-register-row { display: flex; justify-content: center; gap: 6px; margin-top: 18px; font-size: 12px; color: #64748b; }
.auth-register-row a { color: #0b57d0; font-weight: 600; }
.auth-note { text-align: center; font-size: 11px; color: #94a3b8; line-height: 1.55; margin-top: 12px; }
.auth-alert { border-radius: 10px; padding: 11px 13px; margin-bottom: 14px; font-size: 12px; font-weight: 500; }
.auth-alert.error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.auth-alert.success { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.auth-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

@media (max-width: 1100px) {
  .site-header-inner { width: calc(100% - 28px); gap: 16px; }
  .site-brand { min-width: 220px; }
  .site-course-grid { grid-template-columns: repeat(2, 1fr); }
  .account-copy { display: none; }
  .flow-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .site-header-inner { height: 68px; }
  .site-brand { min-width: 0; flex: 1; border: 0; padding-right: 0; }
  .site-nav { display: none; position: absolute; left: 12px; right: 12px; top: 64px; height: auto; background: #fff; color: #1e293b; border-radius: 12px; padding: 10px; box-shadow: 0 14px 34px rgba(15, 23, 42, 0.16); flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav.open { display: flex; }
  .site-nav > a, .site-nav summary { color: #1e293b; height: auto; padding: 10px 12px; border-radius: 8px; }
  .site-nav > a:hover, .site-nav summary:hover { background: #eff6ff; color: #0b57d0; }
  .site-nav > a:after, .site-nav summary:after { display: none; }
  .site-nav details { height: auto; }
  .site-dropdown { position: static; width: auto; box-shadow: none; border-radius: 8px; background: #f8fafc; margin: 4px 6px 8px; }
  .site-menu-btn { display: flex; }
  .login-register span:last-child { display: none; }
  .logout-mini { display: none; }
  .site-course-grid { grid-template-columns: 1fr; }
  .site-container { width: calc(100% - 28px); }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer-v6 { grid-template-columns: 1fr; gap: 12px; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-showcase { min-height: 240px; padding: 28px; }
  .auth-showcase-copy { margin-top: 32px; }
  .auth-form-side { padding: 24px 16px; }
  .auth-form-card { padding: 22px; }
  .auth-form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
  .site-brand-copy small { display: none; }
  .site-courses { padding: 40px 0 52px; }
  .course-filter-row { justify-content: flex-start; overflow: auto; flex-wrap: nowrap; padding-bottom: 5px; }
  .course-filter { flex: 0 0 auto; }
  .flow-grid { grid-template-columns: 1fr; }
  .login-guide { grid-template-columns: 1fr; }
}
