/* CyberGov Learn — sistem de design după mockup (design/mockup) */
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('/static/fonts/inter-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('/static/fonts/inter-latin-ext-wght-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #f4f7fc; --surface: #ffffff; --surface-2: #f7f9fd; --line: #e4e9f2; --line-2: #eef2f8;
  --text: #0f1b33; --text-2: #3b4a63; --muted: #6b7a93;
  --primary: #1463ff; --primary-600: #0f55e8; --primary-50: #eaf1ff; --primary-100: #d9e6ff;
  --green: #12a150; --green-50: #e6f7ee; --red: #e5383b; --red-50: #fdecec; --amber: #d98a00; --amber-50: #fff4dc;
  --purple: #7c4dff; --purple-50: #f0ebff;
  --radius: 16px; --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 32, 72, .04), 0 6px 24px rgba(16, 32, 72, .05);
  --sidebar: 264px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.55 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; background: var(--bg); color: var(--text); }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--text); letter-spacing: -.01em; }
h1 { font-size: 2.1rem; line-height: 1.15; margin: 0; font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: 1.15rem; margin: 0 0 12px; font-weight: 700; }
h3 { font-size: 1rem; margin: 16px 0 6px; }
p { margin: 0 0 10px; }
code { font-size: .85em; background: var(--surface-2); padding: 1px 6px; border-radius: 6px; border: 1px solid var(--line-2); }
.muted { color: var(--muted); }
.small, small { font-size: 13px; }
.center { text-align: center; }
.prewrap { white-space: pre-wrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.spacer { flex: 1; }
.ok { color: var(--green); display: inline-flex; gap: 6px; align-items: center; }
.bad { color: var(--red); }
.warn { color: var(--amber); }

/* Iconițe */
.icon { width: 20px; height: 20px; flex: none; stroke-width: 2; vertical-align: -4px; }
.icon.go { margin-left: auto; color: var(--muted); }

/* Siglă */
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.logo-mark { width: 38px; height: 42px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-name { color: var(--navy); font-weight: 800; font-size: 1.45rem; letter-spacing: -.02em; }
.logo-name b { color: #ef1b3d; font-weight: 800; }
.logo-domain { font-size: 12.5px; color: #7b88a1; letter-spacing: .01em; }

/* Cadrul aplicației */
body.app { display: grid; grid-template-columns: var(--sidebar) 1fr; min-height: 100vh; background: linear-gradient(90deg, var(--surface) var(--sidebar), var(--bg) var(--sidebar)); }
.sidebar { background: var(--surface); padding: 22px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.sidebar .brand { display: block; padding: 0 10px 22px; }
.sidebar .brand:hover { text-decoration: none; }
.side-nav { display: flex; flex-direction: column; gap: 4px; }
.side-nav a { display: flex; align-items: center; gap: 14px; padding: 11px 14px; border-radius: 12px; color: var(--text-2); font-weight: 500; }
.side-nav a .icon { width: 22px; height: 22px; color: var(--text-2); }
.side-nav a:hover { background: var(--surface-2); text-decoration: none; }
.side-nav a.active { background: var(--primary-50); color: var(--primary); font-weight: 650; }
.side-nav a.active .icon { color: var(--primary); }
.nav-badge { margin-left: auto; font-style: normal; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; border-radius: 99px; padding: 1px 7px; }
.nav-section { margin: 18px 14px 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.nav-section small { display: block; text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 12px; color: var(--primary); }
.shell { min-width: 0; display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.topbar { display: flex; align-items: center; gap: 16px; padding: 14px 32px; background: rgba(255,255,255,.85); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.search { display: flex; align-items: center; gap: 10px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; width: min(520px, 100%); }
.search .icon { color: var(--muted); }
.search input { border: 0; background: transparent; padding: 11px 0; width: 100%; font: inherit; color: var(--text); outline: none; }
.search.inline { width: min(420px, 100%); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.bell { position: relative; color: var(--text-2); display: inline-flex; padding: 8px; border-right: 1px solid var(--line); padding-right: 20px; }
.bell .icon { width: 24px; height: 24px; }
.bell em { position: absolute; top: 2px; right: 14px; background: var(--red); color: #fff; font-style: normal; font-size: 10px; font-weight: 700; min-width: 16px; height: 16px; border-radius: 99px; display: grid; place-items: center; padding: 0 4px; }
.user-menu { position: relative; }
.user-menu summary { list-style: none; display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; }
.user-menu summary::-webkit-details-marker { display: none; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px; flex: none; }
.avatar.sm { width: 32px; height: 32px; font-size: 12px; }
.user-menu .menu { position: absolute; right: 0; top: calc(100% + 10px); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 12px; min-width: 240px; z-index: 10; }
.user-menu .menu p { padding: 4px 8px 10px; border-bottom: 1px solid var(--line-2); margin-bottom: 6px; }
.user-menu .menu a, .user-menu .menu button { display: flex; gap: 10px; align-items: center; width: 100%; padding: 9px 8px; border-radius: 8px; color: var(--text-2); background: none; border: 0; font: inherit; cursor: pointer; text-align: left; }
.user-menu .menu a:hover, .user-menu .menu button:hover { background: var(--surface-2); text-decoration: none; }
.content { padding: 32px; max-width: 1360px; width: 100%; }
.app-foot { margin-top: auto; padding: 18px 32px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }

/* Antet de pagină */
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.page-head .subtitle, .subtitle { font-size: 1.15rem; color: var(--text-2); margin: 6px 0 0; }
.page-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.crumbs { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.crumbs .icon { width: 16px; height: 16px; }

/* Carduri */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin-bottom: 20px; }
.card.flush { padding: 0; overflow: hidden; }
.card.tinted { background: linear-gradient(180deg, #f4f8ff, #fff); }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.card-head h2 { margin: 0; display: flex; gap: 8px; align-items: center; }
.narrow { max-width: 560px; margin: 40px auto; }
.narrow-left { max-width: 760px; }
.center h1 { margin: 12px 0; }
.empty { padding: 20px 24px; margin: 0; }
.empty-state { text-align: center; padding: 40px; }
.empty-state .bubble { margin: 0 auto 12px; }
.link-more { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 14px; white-space: nowrap; }
.link-more .icon { width: 16px; height: 16px; }

/* Bule de iconițe */
.bubble { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.bubble.sm { width: 36px; height: 36px; }
.bubble.sm .icon { width: 18px; height: 18px; }
.bubble.big { width: 56px; height: 56px; }
.bubble.big .icon { width: 26px; height: 26px; }
.bubble.blue { background: var(--primary-50); color: var(--primary); }
.bubble.green { background: var(--green-50); color: var(--green); }
.bubble.red { background: var(--red-50); color: var(--red); }
.bubble.amber { background: var(--amber-50); color: var(--amber); }
.bubble.purple { background: var(--purple-50); color: var(--purple); }

/* Butoane */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--primary); color: #fff; border: 1px solid var(--primary); border-radius: 12px; padding: 11px 20px; font: inherit; font-weight: 650; cursor: pointer; text-decoration: none; transition: background .15s, box-shadow .15s; }
.btn:hover { background: var(--primary-600); text-decoration: none; box-shadow: 0 6px 16px rgba(var(--primary-rgb), .25); }
.btn.big { padding: 14px 26px; font-size: 1.05rem; }
.btn.sm { padding: 7px 12px; font-size: 13px; border-radius: 9px; }
.btn.block { width: 100%; }
.btn.secondary { background: var(--surface); color: var(--text); border-color: var(--line); }
.btn.secondary:hover { background: var(--surface-2); box-shadow: none; }
.btn.danger { background: var(--red); border-color: var(--red); }
.btn.danger:hover { background: #c92a2d; box-shadow: 0 6px 16px rgba(229, 56, 59, .25); }
.btn[hidden] { display: none; }

/* Pastile / etichete */
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 99px; background: var(--line-2); color: var(--text-2); white-space: nowrap; }
.pill .icon { width: 15px; height: 15px; }
.pill.green { background: var(--green-50); color: var(--green); }
.pill.red { background: var(--red-50); color: var(--red); }
.pill.soft-red { background: #fff1f1; color: #d33b3e; }
.pill.amber { background: var(--amber-50); color: var(--amber); }
.pill.blue { background: var(--primary-50); color: var(--primary); }
.pill.purple { background: var(--purple-50); color: var(--purple); }
.pill.soft { font-size: 12px; padding: 2px 10px; margin-top: 6px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); margin: 0 0 8px; }
.muted-eyebrow { color: var(--text-2); }

/* Bare de progres */
.bar { height: 10px; background: var(--line-2); border-radius: 99px; overflow: hidden; flex: 1; }
.bar span { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--primary), var(--primary-400)); border-radius: inherit; }
.bar.green span { background: var(--green); }
.bar.red span { background: var(--red); }
.bar.purple span { background: linear-gradient(90deg, #4f46e5, #7c4dff); }
.progress-line { display: flex; align-items: center; gap: 18px; }
.mini-bar { display: flex; align-items: center; gap: 8px; min-width: 120px; }
.mini-bar .bar { height: 6px; }

/* Formulare */
label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; color: var(--text); }
input, select, textarea { font: inherit; font-weight: 400; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); width: 100%; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-50); }
input::placeholder, textarea::placeholder { color: #9aa6ba; }
input[type=checkbox], input[type=radio] { width: 18px; height: 18px; accent-color: var(--primary); margin: 2px 0 0; flex: none; }
label.check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 500; }
label.check.small { font-size: 13px; }
.stack { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.stack > label:not(.check) { align-self: stretch; }
.stack-form { display: flex; flex-direction: column; gap: 16px; align-items: stretch; }
.stack-form > .btn, .stack-form > button { align-self: flex-start; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px 20px; align-items: end; }
.form-grid > h2, .form-grid > .wide, .form-grid > p.wide { grid-column: 1 / -1; }
.form-grid > h2 { margin: 8px 0 0; }
.req { color: var(--red); }
.label { font-weight: 600; font-size: 14px; margin: 18px 0 8px; }
.short { width: 80px; }
.inline-label { flex-direction: row; align-items: center; font-weight: 500; }
.select-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 0 0 14px; }
.select-pill select { border: 0; box-shadow: none; padding-left: 4px; min-width: 180px; }

/* Mesaje */
.flash { display: flex; gap: 10px; align-items: flex-start; padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; font-weight: 500; border: 1px solid transparent; }
.flash.ok { background: var(--green-50); color: #0c7a3c; border-color: #c4ebd5; }
.flash.warn { background: var(--amber-50); color: #8a5800; border-color: #f6dfa7; }
.alert-danger { display: flex; gap: 12px; align-items: center; padding: 14px 20px; border-radius: 12px; background: var(--red-50); color: var(--red); border: 1px solid #f8c9ca; margin-bottom: 20px; font-weight: 500; }
.alert-info { display: flex; gap: 12px; align-items: center; padding: 14px 20px; border-radius: 12px; background: var(--primary-50); color: #1748b0; margin-bottom: 20px; }

/* Tabele */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-weight: 600; color: var(--text-2); background: var(--surface-2); padding: 14px 18px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 16px 18px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table.compact td, .table.compact th { padding: 10px 12px; }
.cell-title { display: flex; align-items: center; gap: 14px; }
.cell-title > span:last-child { display: flex; flex-direction: column; align-items: flex-start; }
.cell-title strong { color: var(--text); }
code.hash { font-size: 11px; word-break: break-all; }
.toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 9px 18px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--text-2); font-weight: 550; font-size: 14px; }
.chip:hover { text-decoration: none; background: var(--surface-2); }
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.bulk { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 16px 24px; border-top: 1px solid var(--line); background: var(--surface-2); }
.bulk select { width: auto; }
.ack-form { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
ul.plain { list-style: none; padding: 0; margin: 0; }
ul.plain li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line-2); }

/* Hero (mockup 1, 8) */
.hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; align-items: center; padding: 32px; background: linear-gradient(135deg, var(--primary-25) 0%, #ffffff 60%); overflow: hidden; }
.hero-title { font-size: 1.9rem; font-weight: 800; margin: 0 0 12px; letter-spacing: -.02em; }
.hero .meta { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 18px; color: var(--text-2); }
.hero .meta li { display: flex; align-items: center; gap: 8px; }
.hero .meta .icon { color: var(--primary); }
.hero p.muted { font-size: 1.02rem; max-width: 520px; }
.hero-progress { display: flex; align-items: center; gap: 14px; margin: 16px 0 20px; background: var(--surface); border: 1px solid var(--line); padding: 10px 16px; border-radius: 99px; max-width: 520px; }
.hero-progress span { font-size: 14px; color: var(--text-2); white-space: nowrap; }
.hero-art { display: flex; justify-content: center; }
.illustration { width: 100%; max-width: 320px; height: auto; }

/* Acasă (mockup 8) */
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.quick-card { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); color: var(--text); position: relative; box-shadow: var(--shadow); }
.quick-card:hover { text-decoration: none; border-color: var(--primary-100); transform: translateY(-1px); }
.quick-card.blue { background: linear-gradient(180deg, #f2f7ff, #fff); }
.quick-card.red { background: linear-gradient(180deg, #fff3f3, #fff); }
.quick-card.green { background: linear-gradient(180deg, #effaf3, #fff); }
.quick-card.purple { background: linear-gradient(180deg, #f5f1ff, #fff); }
.quick-card .bubble { margin-bottom: 8px; }
.quick-card span:not(.bubble) { font-size: 14px; color: var(--muted); padding-right: 20px; }
.quick-card .icon.go { position: absolute; right: 16px; bottom: 22px; color: var(--primary); }
.quick-card.red .icon.go { color: var(--red); }
.quick-card.green .icon.go { color: var(--green); }
.quick-card.purple .icon.go { color: var(--purple); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mini-stat { display: flex; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface-2); }
.mini-stat > div { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.mini-stat span { color: var(--text-2); font-size: 14px; }
.mini-stat strong { font-size: 1.6rem; font-weight: 800; }
.mini-stat .bar { height: 7px; }
.tasks { list-style: none; padding: 0; margin: 0; }
.tasks li a { display: flex; align-items: flex-start; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-2); color: var(--text); }
.tasks li:last-child a { border-bottom: 0; }
.tasks li a:hover { text-decoration: none; }
.tasks .ring { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #b7c2d4; flex: none; margin-top: 2px; }
.tasks .tick { width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; flex: none; }
.tasks .tick .icon { width: 14px; height: 14px; stroke-width: 3; }
.task-text { display: flex; flex-direction: column; flex: 1; }
.task-text small { color: var(--muted); }
.tasks .is-done strong { color: var(--text-2); }
.help { display: flex; gap: 18px; align-items: flex-start; }
.help h2 { margin-bottom: 6px; }
.help .btn { margin-top: 8px; width: 100%; }

/* Training (mockup 1) */
.training-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 20px; align-items: stretch; }
.training-grid .card { margin-bottom: 20px; }
.module-list { padding: 8px; display: flex; flex-direction: column; gap: 4px; }
.module-item { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 14px; color: var(--text); }
.module-item:hover { background: var(--surface-2); text-decoration: none; }
.module-item .num { width: 42px; height: 42px; border-radius: 50%; border: 2px solid #c3cddd; display: grid; place-items: center; font-weight: 700; color: var(--text-2); flex: none; }
.module-item.done .num { background: var(--green); border-color: var(--green); color: #fff; }
.module-item.current { background: var(--primary-50); }
.module-item.current .num { background: var(--primary); border-color: var(--primary); color: #fff; }
.module-item.current strong { color: var(--primary); }
.module-item.review .num { border-color: var(--amber); color: var(--amber); }
.module-text { display: flex; flex-direction: column; }
.module-text small { color: var(--muted); }

/* Lecție */
.lesson .lead { font-size: 1.1rem; color: var(--text-2); }
.lesson section { margin-top: 18px; }
.lesson ul, .card ul:not(.tasks):not(.plain):not(.check-list):not(.tips):not(.results):not(.incident-list):not(.meta) { padding-left: 20px; }
.lesson li { margin: 6px 0; }
.section-title { margin: 8px 0 12px; }
.rw { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.rw > div { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; border: 1px solid; }
.rw p { margin: 4px 0 0; color: var(--text); }
.right { background: var(--green-50); border-color: #c4ebd5 !important; color: var(--green); }
.wrong { background: var(--red-50); border-color: #f8c9ca !important; color: var(--red); }
.recap { border-left: 4px solid var(--primary); }
.recap h2, .complete h2 { display: flex; gap: 8px; align-items: center; }
.pager { display: flex; justify-content: space-between; gap: 12px; }
.check-list { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { color: var(--primary); margin-top: 2px; }

/* Examen (mockup 2) */
body.focus { min-height: 100vh; background: radial-gradient(circle at 10% 0%, var(--primary-50) 0, transparent 40%), var(--bg); }
.focus-top { display: flex; align-items: center; gap: 24px; padding: 14px 32px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.focus-top a:hover { text-decoration: none; }
.focus-title { font-weight: 700; font-size: 1.1rem; padding-left: 24px; border-left: 1px solid var(--line); }
.focus-meta { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); padding-right: 20px; border-right: 1px solid var(--line); }
.focus-meta.timer { color: var(--primary); font-weight: 700; font-size: 1.1rem; }
.focus-main { max-width: 1040px; margin: 36px auto; padding: 0 16px; }
.question { padding: 28px 32px; }
.q-progress { display: flex; align-items: center; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--line-2); margin-bottom: 24px; color: var(--text-2); }
.q-head { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 24px; }
.q-head .bubble { border-radius: 14px; }
.q-head h1 { font-size: 1.75rem; line-height: 1.25; margin-top: 2px; }
.q-head .multi { color: var(--primary); }
.options { display: flex; flex-direction: column; gap: 12px; }
.option { flex-direction: row; align-items: center; gap: 16px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-weight: 500; font-size: 1.05rem; cursor: pointer; transition: border-color .12s, background .12s; }
.option:hover { border-color: var(--primary-100); background: #fbfcff; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option .mark { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #9aa6ba; flex: none; display: grid; place-items: center; }
.option input[type=checkbox] + .mark { border-radius: 6px; }
.option:has(input:checked) { border-color: var(--primary); background: var(--primary-50); box-shadow: 0 0 0 1px var(--primary) inset; }
.option input:checked + .mark { border-color: var(--primary); }
.option input[type=radio]:checked + .mark::after { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--primary); }
.option input[type=checkbox]:checked + .mark { background: var(--primary); }
.option input[type=checkbox]:checked + .mark::after { content: ''; width: 6px; height: 11px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg) translate(-1px, -1px); }
.option input:focus-visible + .mark { outline: 3px solid var(--primary-100); outline-offset: 2px; }
.q-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-2); }
.autosave { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); font-size: 13px; }
.autosave .icon { color: var(--green); width: 18px; height: 18px; }
.autosave.error .icon { color: var(--red); }
.q-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 10px; margin: 20px 0; }
.q-chip { display: grid; place-items: center; height: 48px; border-radius: 10px; border: 1px solid var(--line); color: var(--text-2); font-weight: 700; }
.q-chip.answered { background: var(--primary-50); border-color: var(--primary-100); color: var(--primary); }
.q-chip:hover { text-decoration: none; border-color: var(--primary); }

/* Rezultat (mockup 3) */
.result { max-width: 1100px; margin: 0 auto; }
.result-head { text-align: center; margin: 8px 0 24px; }
.burst { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; box-shadow: 0 0 0 16px rgba(18, 161, 80, .08), 0 0 0 32px rgba(18, 161, 80, .04); background: #c9f0d9; color: #0b7a3b; }
.burst .icon { width: 46px; height: 46px; stroke-width: 3; }
.result-head.bad .burst { background: #fbd6d7; color: var(--red); box-shadow: 0 0 0 16px rgba(229, 56, 59, .07), 0 0 0 32px rgba(229, 56, 59, .03); }
.result-head h1 { font-size: 2.8rem; }
.result-top { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 20px; align-items: center; max-width: 900px; margin: 0 auto; }
.score-card { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.score { font-size: 4.2rem; font-weight: 850; line-height: 1; margin: 6px 0; letter-spacing: -.04em; }
.score.bad { color: var(--red); }
.score-time { display: flex; gap: 14px; align-items: center; padding-left: 24px; border-left: 1px solid var(--line); }
.score-time strong { font-size: 1.3rem; }
.result-art .illustration { max-width: 240px; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px 28px; margin-top: 8px; }
.cat { display: flex; gap: 14px; align-items: center; }
.cat > div { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.cat-top { display: flex; justify-content: space-between; gap: 8px; }
.cat-top b { font-size: 1.15rem; }
.cat .bar { height: 8px; }
.result-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.answer.ok { border-left: 4px solid var(--green); }
.answer.bad { border-left: 4px solid var(--red); }
.answer h3 { margin-top: 8px; }
.answer-head { display: flex; gap: 12px; align-items: center; justify-content: space-between; }

/* Certificate (mockup 5) */
.cert { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 200px; gap: 28px; align-items: center; position: relative; overflow: hidden; background: linear-gradient(135deg, #fafcff, #fff 60%, var(--primary-25)); }
.cert-main { padding-right: 28px; border-right: 1px solid var(--line); }
.cert-main h2 { font-size: 2rem; font-weight: 800; margin: 22px 0 8px; }
.cert-name { font-size: 2.2rem; font-weight: 800; margin: 4px 0 10px; letter-spacing: -.02em; }
.cert-facts { display: flex; flex-direction: column; gap: 16px; }
.cert-facts > div { display: flex; gap: 14px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.cert-facts span { display: flex; flex-direction: column; }
.cert-facts strong { font-size: 1.15rem; }
.cert-seal { color: var(--primary-100); display: grid; place-items: center; }
.cert-seal .icon { width: 150px; height: 150px; stroke-width: 1; }

/* Split (mockup 4, 9) */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 20px; align-items: start; }
.side-col { display: flex; flex-direction: column; gap: 0; }
.tips { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.tips li { display: flex; gap: 14px; align-items: flex-start; }
.tips strong { display: block; margin-bottom: 2px; }
.how { list-style: none; padding: 0; margin: 0; }
.how li { display: grid; grid-template-columns: 56px 28px 1fr; gap: 10px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.how .bubble { width: 52px; height: 52px; }
.how .n { width: 26px; height: 26px; border-radius: 50%; background: var(--primary-50); color: var(--primary); font-weight: 700; font-size: 13px; display: grid; place-items: center; margin-top: 4px; }
.note { display: flex; gap: 14px; align-items: flex-start; background: var(--primary-50); border-radius: 12px; padding: 16px; margin-top: 16px; color: #1748b0; }
.note p { margin: 2px 0 0; color: var(--text-2); }

/* Incident – pași și urgență */
.stepper { display: flex; list-style: none; padding: 0 0 22px; margin: 0 0 22px; border-bottom: 1px solid var(--line-2); counter-reset: s; }
.stepper li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; position: relative; }
.stepper li::before { content: ''; position: absolute; top: 15px; left: -50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.stepper li:first-child::before { display: none; }
.stepper li span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--line-2); color: var(--text-2); font-weight: 700; position: relative; z-index: 1; border: 2px solid var(--surface); }
.stepper li.active { color: var(--primary); font-weight: 650; }
.stepper li.active span, .stepper li.done span { background: var(--primary); color: #fff; }
.stepper li.active::before, .stepper li.done::before { background: var(--primary); }
.wizard fieldset { border: 0; padding: 0; margin: 0 0 8px; }
.wizard fieldset + fieldset { margin-top: 18px; }
.wizard.js fieldset + fieldset { margin-top: 0; }
.wizard-actions { display: flex; gap: 12px; margin-top: 22px; }
.urgency { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.urg { flex-direction: row; align-items: center; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 500; }
.urg input { position: absolute; opacity: 0; }
.urg .mark { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #9aa6ba; flex: none; display: grid; place-items: center; }
.urg input:checked + .mark::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.urg > span:last-child { display: flex; flex-direction: column; }
.urg small { color: var(--muted); font-weight: 400; }
.urg.normal > .icon { color: #9aa6ba; }
.urg.ridicat > .icon { color: var(--amber); }
.urg.critic > .icon, .urg.critic strong { color: var(--red); }
.urg:has(input:checked) { border-color: var(--primary); background: var(--primary-50); color: var(--primary); }
.urg.critic:has(input:checked) { border-color: var(--red); background: var(--red-50); color: var(--red); }
.urg.ridicat:has(input:checked) { border-color: var(--amber); background: var(--amber-50); color: var(--amber); }
.confirm-box { display: flex; gap: 14px; align-items: flex-start; background: var(--primary-50); border-radius: 12px; padding: 16px; margin-bottom: 16px; color: #1748b0; }
.confirm-box p { margin: 0; color: var(--text-2); }

/* Întrebări DPO */
.qa { border-top: 1px solid var(--line-2); padding: 14px 0; }
.qa summary { display: flex; justify-content: space-between; gap: 12px; align-items: center; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary > span:first-child { display: flex; flex-direction: column; }
.qa-msg { white-space: pre-wrap; color: var(--text-2); margin: 12px 0; }
.qa-answer { display: flex; gap: 12px; background: var(--green-50); border-radius: 12px; padding: 14px 16px; margin-top: 12px; }
.qa-answer .icon { color: var(--green); }
.qa-answer p { margin: 4px 0 0; white-space: pre-wrap; }

/* Administrare (mockup 7) */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 20px; }
.kpi { display: flex; gap: 18px; align-items: flex-start; margin: 0; padding: 22px; }
.kpi > div { display: flex; flex-direction: column; }
.kpi-label { font-weight: 600; color: var(--text-2); }
.kpi-value { font-size: 2.3rem; font-weight: 800; line-height: 1.15; letter-spacing: -.03em; }
.delta { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; margin-top: 4px; }
.delta .icon { width: 16px; height: 16px; }
.delta.good { color: var(--green); }
.delta.bad { color: var(--red); }
.delta .muted { font-weight: 400; }
.overview-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 20px; align-items: start; }
.chart { width: 100%; height: auto; display: block; }
.chart .grid { stroke: var(--line-2); }
.chart .axis { fill: var(--muted); font-size: 11px; }
.chart .val { fill: var(--text-2); font-size: 11px; font-weight: 600; }
.chart .bar-bg { fill: #eef2f9; }
.chart .bar-fg { fill: #3b82f6; }
.legend { display: flex; gap: 24px; margin-top: 12px; color: var(--text-2); font-size: 14px; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: -1px; margin-right: 6px; }
.dot.fg { background: #3b82f6; }
.dot.bg { background: #dde4f0; }
.incident-list { list-style: none; padding: 0; margin: 0; }
.incident-list a { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-2); color: var(--text); }
.incident-list li:last-child a { border-bottom: 0; }
.incident-list a:hover { text-decoration: none; }
.incident-list a > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; }
.incident-list small .icon { width: 14px; height: 14px; }
.export-list { display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px; }
.export-list a { display: flex; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 8px; color: var(--text-2); }
.export-list a:hover { background: var(--surface-2); text-decoration: none; }
.export-list .icon { color: var(--green); }
.danger-zone { border-color: #f4b6b7; }
.danger-zone h2 { color: var(--red); display: flex; gap: 8px; align-items: center; }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; margin: 0 0 16px; }
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; font-weight: 600; }
.results { list-style: none; padding: 0; margin: 0; }
.results li { display: flex; flex-direction: column; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.results a { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; }

/* Pagini publice și autentificare */
body.public { min-height: 100vh; display: flex; flex-direction: column; background: radial-gradient(circle at 90% 10%, #e3edff 0, transparent 45%), radial-gradient(circle at 0% 100%, #eef4ff 0, transparent 40%), var(--bg); }
.public-top { padding: 22px 40px; }
.public-top a:hover { text-decoration: none; }
.public-main { flex: 1; padding: 16px 24px 40px; width: 100%; max-width: 1180px; margin: 0 auto; }
.public-foot { text-align: center; color: var(--muted); font-size: 13px; padding: 20px; }
.login { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(380px, 590px); gap: 56px; align-items: center; min-height: calc(100vh - 170px); }
.login-left { display: flex; flex-direction: column; align-items: center; }
.login-illustration { width: 100%; max-width: 620px; height: auto; }
.features { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; width: 100%; max-width: 720px; }
.features li { display: flex; flex-direction: column; gap: 4px; }
.features .bubble { width: 62px; height: 62px; margin-bottom: 18px; }
.features strong { font-size: 1.05rem; }
.features span:last-child { color: var(--muted); }
.login-box { padding: 48px 52px 32px; border-radius: 24px; box-shadow: 0 2px 4px rgba(16, 32, 72, .03), 0 24px 60px rgba(16, 32, 72, .08); margin: 0; }
.login-box h1 { font-size: 2.15rem; letter-spacing: -.025em; }
.login-box .subtitle { color: var(--muted); font-size: 1.15rem; margin: 8px 0 32px; }
.login-form { display: flex; flex-direction: column; gap: 0; }
.ms-btn { display: flex; align-items: center; justify-content: center; gap: 16px; width: 100%; padding: 16px 20px; border: 1px solid #dbe6ff; border-radius: 12px; background: linear-gradient(180deg, var(--primary-25), #e9f0ff); color: var(--text); font: inherit; font-weight: 650; font-size: 1.1rem; cursor: pointer; position: relative; transition: border-color .15s, box-shadow .15s; }
.ms-btn:hover { border-color: var(--primary-100); box-shadow: 0 6px 16px rgba(var(--primary-rgb), .12); }
.ms-btn .icon { position: absolute; right: 22px; color: var(--primary); }
.ms-logo { width: 34px; height: 34px; }
.divider { display: flex; align-items: center; gap: 22px; color: var(--muted); margin: 26px 0 22px; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.login-form > label { margin-bottom: 8px; color: var(--text-2); font-weight: 550; }
.input-icon { position: relative; }
.input-icon .icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.input-icon input { padding: 16px 16px 16px 54px; font-size: 1.02rem; border-radius: 12px; }
.login-note { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: 13px; margin: 10px 0 22px; }
.login-note .icon { width: 16px; height: 16px; margin-top: 2px; color: var(--primary); }
.login-form .btn.big { padding: 17px; font-size: 1.15rem; border-radius: 12px; }
.secure { display: flex; justify-content: center; align-items: center; gap: 10px; color: var(--muted); margin: 26px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.secure span { color: #b7c2d4; }
.demo { margin-top: 22px; padding-top: 16px; border-top: 1px dashed var(--line); }
.demo > summary { cursor: pointer; font-weight: 700; }
.accounts { display: grid; gap: 8px; margin-top: 10px; }
.account { width: 100%; text-align: left; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); color: var(--text); font: inherit; cursor: pointer; }
.account:hover { border-color: var(--primary); background: var(--primary-50); }
.account > span:last-child { display: flex; flex-direction: column; }
.account small { color: var(--muted); }
.demo-other { margin-top: 14px; color: var(--muted); font-size: 14px; }
.demo-other summary { cursor: pointer; }
.demo-other form { margin-top: 12px; }
body.public.page-login .public-top { padding: 34px 76px 0; }
body.public.page-login .logo-mark { width: 52px; height: 58px; }
body.public.page-login .logo-name { font-size: 2.1rem; }
body.public.page-login .logo-domain { font-size: 15px; }
body.public.page-login .public-main { max-width: 1520px; padding: 0 76px 24px; }


/* Conformitate */
.padded { padding: 20px 24px; margin: 0; }
.red-text { color: var(--red); }
.green-text { color: var(--green); }
.comp-hero { display: flex; gap: 32px; align-items: center; padding: 28px 32px; background: linear-gradient(135deg, var(--primary-25), #fff 60%); }
.comp-hero.ok { background: linear-gradient(135deg, #eaf8f0, #fff 60%); }
.comp-hero.expired { background: linear-gradient(135deg, #fff1f1, #fff 60%); }
.comp-hero .hero-title { display: flex; gap: 10px; align-items: center; }
.comp-hero .hero-title .icon { width: 30px; height: 30px; color: var(--green); }
.inline-actions { margin-top: 14px; }
.ring { width: 132px; height: 132px; flex: none; }
.ring-bg { fill: none; stroke: var(--line-2); stroke-width: 12; }
.ring-fg { fill: none; stroke: var(--primary); stroke-width: 12; stroke-linecap: round; }
.ring.green .ring-fg { stroke: var(--green); }
.ring text { font-size: 24px; font-weight: 800; fill: var(--text); font-family: inherit; }
.stage-list { list-style: none; margin: 0; padding: 0 8px 8px; }
.stage-list a { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 14px; color: var(--text); }
.stage-list a:hover { background: var(--surface-2); text-decoration: none; }
.stage-list li.active a { background: var(--primary-50); }
.stage-list li.locked .st-text strong { color: var(--muted); }
.st-num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; flex: none; border: 2px solid #c3cddd; color: var(--text-2); }
.st-num.done { background: var(--green); border-color: var(--green); color: #fff; }
.st-num.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.st-num.locked { background: var(--surface-2); color: var(--muted); }
.st-num .icon { width: 18px; height: 18px; }
.st-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.st-progress { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; width: 120px; }
.st-progress .bar { width: 100%; height: 6px; }
.req-list { list-style: none; margin: 0; padding: 0; }
.req-list li { border-top: 1px solid var(--line-2); }
.req-list a { display: flex; align-items: center; gap: 16px; padding: 16px 24px; color: var(--text); }
.req-list a:hover { background: var(--surface-2); text-decoration: none; }
.req-list li.dim { opacity: .55; }
.req-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.file-list { list-style: none; padding: 0; margin: 0 0 16px; }
.file-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.file-list li > span:not(.bubble) { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.upload { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.dropzone { flex-direction: row; align-items: center; gap: 14px; width: 100%; padding: 20px; border: 2px dashed #c9d7f2; border-radius: 14px; background: var(--surface-2); cursor: pointer; font-weight: 500; }
.dropzone > .icon { width: 30px; height: 30px; color: var(--primary); }
.dropzone > span { display: flex; flex-direction: column; flex: 1; }
.dropzone input { width: auto; border: 0; padding: 0; background: none; box-shadow: none; }
.review { border: 2px solid var(--primary-100); }
.review h2 { display: flex; gap: 8px; align-items: center; }
.review-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.quote { border-left: 3px solid var(--line); padding-left: 12px; color: var(--text-2); white-space: pre-wrap; }
.mini-steps { padding-left: 20px; margin: 0; color: var(--text-2); }
.mini-steps li { margin: 6px 0; }
.note.warn-note { background: var(--amber-50); color: #8a5800; }
.side-col > .card .plain li { align-items: flex-start; }


/* Pagina de intrare – alegerea modulului */
.public-top { display: flex; align-items: center; justify-content: space-between; }
.lang { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--text-2); }
.lang .icon { width: 22px; height: 22px; }
.art-wrap { position: relative; width: 100%; max-width: 620px; }
.float-tile { position: absolute; width: 74px; height: 74px; border-radius: 20px; background: rgba(255,255,255,.85); box-shadow: 0 12px 30px rgba(31, 79, 191, .12); display: grid; place-items: center; color: var(--primary); backdrop-filter: blur(4px); }
.float-tile .icon { width: 34px; height: 34px; }
.float-tile.t1 { left: 2%; top: 14%; transform: rotate(-10deg); }
.float-tile.t2 { right: 4%; top: 2%; transform: rotate(10deg); }
.float-tile.t3 { left: -2%; bottom: 14%; transform: rotate(-8deg); }
.float-tile.t4 { right: 2%; bottom: 8%; transform: rotate(8deg); }
.entry-box { padding: 44px 44px 28px; }
.entry-box .subtitle { margin-bottom: 18px; }
.entry-q { color: var(--text-2); font-size: 1.05rem; margin: 0 0 16px; }
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.module-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 26px 16px 20px; border-radius: 18px; border: 1px solid var(--line); color: var(--text); transition: transform .15s, box-shadow .15s; }
.module-card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(16, 32, 72, .08); }
.module-card .bubble { width: 76px; height: 76px; margin-bottom: 10px; }
.module-card .bubble .icon { width: 34px; height: 34px; }
.module-card strong { font-size: 1.35rem; font-weight: 800; }
.module-card > span:not(.bubble):not(.go-circle) { color: var(--text-2); font-size: 14px; min-height: 42px; }
.module-card.blue { background: linear-gradient(180deg, var(--primary-25), #f7faff); }
.module-card.green { background: linear-gradient(180deg, #ecfaf2, #f6fcf8); }
.module-card.green > span:not(.bubble):not(.go-circle) { color: #138a49; }
.module-card.amber { background: linear-gradient(180deg, #fff6e5, #fffaf0); }
.go-circle { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; margin-top: 12px; background: var(--primary-50); color: var(--primary); }
.module-card.green .go-circle { background: var(--green-50); color: var(--green); }
.module-card.amber .go-circle { background: var(--amber-50); color: var(--amber); }
.bubble.amber { background: #ffe7b8; color: #e08a00; }
.entry-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.entry-foot .secure { margin: 0; padding: 0; border: 0; justify-content: flex-start; font-size: 14px; }
.help-link { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; font-size: 14px; }
.module-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px; font-weight: 700; font-size: 14px; margin-bottom: 16px; background: var(--primary-50); color: var(--primary); }
.module-chip .icon { width: 18px; height: 18px; }
.module-chip small { font-weight: 500; color: var(--muted); }
.module-chip.green { background: var(--green-50); color: var(--green); }
.module-chip.amber { background: var(--amber-50); color: #b26e00; }
.module-chip:hover { text-decoration: none; }

/* Cerințe grupate pe domenii; documente-model */
.req-group { margin: 0; padding: 14px 24px 8px; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--primary); border-top: 1px solid var(--line); background: var(--surface-2); }
.template-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
dl.compact-facts { grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: 14px; margin-top: 10px; }

/* Responsive */
@media (max-width: 1200px) {
  .modules { grid-template-columns: 1fr; }
  .module-card { flex-direction: row; text-align: left; padding: 16px; }
  .module-card .bubble { width: 56px; height: 56px; margin: 0; }
  .module-card > span:not(.bubble):not(.go-circle) { min-height: 0; flex: 1; }
  .go-circle { margin: 0; }
  .login { grid-template-columns: 1fr 440px; gap: 32px; }
  .features { grid-template-columns: 1fr; gap: 12px; }
  .features li { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; }
  .features .bubble { margin: 0; width: 48px; height: 48px; }
  .home-grid, .training-grid, .split, .overview-grid { grid-template-columns: 1fr; }
  .quick { grid-template-columns: repeat(2, 1fr); }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .cert { grid-template-columns: 1fr; }
  .cert-main { border-right: 0; padding-right: 0; }
  .cert-seal { display: none; }
}
@media (max-width: 900px) {
  .comp-hero { flex-direction: column; align-items: flex-start; }
  .st-progress { display: none; }
  body.app { grid-template-columns: 1fr; background: var(--bg); }
  .shell { border-left: 0; }
  .sidebar { position: static; height: auto; padding: 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  .sidebar .brand { padding: 0 6px 10px; }
  .side-nav { flex-direction: row; overflow-x: auto; gap: 4px; padding-bottom: 4px; }
  .side-nav a { white-space: nowrap; padding: 9px 12px; }
  .nav-section { display: none; }
  .topbar { position: static; padding: 12px 16px; }
  .user-name { display: none; }
  .content { padding: 20px 16px; }
  .hero { grid-template-columns: 1fr; padding: 24px; }
  .hero-art { display: none; }
  .stat-row, .rw, .urgency, .login, .features { grid-template-columns: 1fr; }
  .login-left { display: none; }
  .login-box { padding: 28px 22px; }
  .ms-btn { font-size: 1rem; gap: 12px; padding: 14px 16px; }
  .ms-btn .icon { position: static; }
  .ms-logo { width: 26px; height: 26px; }
  body.public.page-login .public-top { padding: 20px 20px 0; }
  body.public.page-login .public-main { padding: 16px; }
  .result-top, .score-card { grid-template-columns: 1fr; }
  .score-time { border-left: 0; padding-left: 0; }
  .result-art { display: none; }
  .focus-top { flex-wrap: wrap; gap: 12px; padding: 12px 16px; }
  .focus-title, .focus-meta:not(.timer) { display: none; }
  .question { padding: 20px; }
  .q-head h1 { font-size: 1.35rem; }
  h1 { font-size: 1.7rem; }
}
@media (max-width: 560px) {
  .quick, .kpis { grid-template-columns: 1fr; }
  .search { display: none; }
}

/* NIS2: cerințele normei tehnice, indicatorii de control, tabele compacte */
.norm { display: grid; gap: 12px; margin: 12px 0; }
.norm-req { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); padding: 12px 14px; }
.norm-req h3 { margin: 0 0 6px; font-size: .95rem; }
.norm-req .code, .indicator-list .code { display: inline-block; font-size: 12px; font-weight: 700; color: var(--primary); background: var(--primary-50); border-radius: 6px; padding: 1px 7px; margin-right: 4px; white-space: nowrap; }
.indicator-list { margin: 8px 0 0; }
ul.plain.indicator-list li { justify-content: flex-start; gap: 10px; }
.indicator-list li > span:last-child { color: var(--text-2); }
.compact-table { font-size: 13px; margin-top: 10px; }
.compact-table th, .compact-table td { padding: 6px 8px; }
.pill.outline { background: transparent; box-shadow: inset 0 0 0 1px currentColor; }
.pill.outline:not(.green):not(.red):not(.amber):not(.blue) { color: var(--muted); }
.findings-bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 20px; align-items: start; }
@media (max-width: 900px) { .findings-bottom { grid-template-columns: 1fr; } }
ul.plain.indicator-list li { display: grid; grid-template-columns: 120px minmax(0, 1fr); align-items: start; }
ul.plain.indicator-list .code { justify-self: start; }

/* =====================================================================
   Design CyberGov 2026 (mockup „Dashboard CEO / General”)
   ===================================================================== */
:root { --bg: #f4f7fd; --line: #e7edf6; --purple: #7c5cff; --purple-50: #f1edff; --sidebar: 280px; }
body.app { background: linear-gradient(90deg, var(--surface) var(--sidebar), transparent var(--sidebar)), radial-gradient(1200px 500px at 70% -10%, var(--primary-50) 0%, rgba(230,239,255,0) 60%), var(--bg); }
.card { border-color: #edf1f8; box-shadow: 0 1px 2px rgba(16, 32, 72, .03), 0 8px 28px rgba(20, 60, 140, .06); border-radius: 18px; }

/* Bara laterală: grupuri separate prin linii, organizația jos */
.sidebar { display: flex; flex-direction: column; border-right: 1px solid var(--line); padding: 26px 16px 18px; }
.shell { border-left: 0; }
.side-nav { gap: 0; flex: 1; }
.nav-group { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; }
.nav-group + .nav-group { border-top: 1px solid var(--line-2); }
.nav-group .nav-section { margin: 6px 14px 8px; }
.side-nav a { padding: 10px 12px; gap: 12px; font-weight: 500; font-size: 14.5px; white-space: nowrap; }
.side-nav a span { overflow: hidden; text-overflow: ellipsis; }
.side-nav a .nav-badge { margin-left: auto; }
.side-nav a .icon { width: 20px; height: 20px; color: #5d6b84; }
.side-nav a.active { background: linear-gradient(90deg, var(--primary-50), var(--primary-25)); }
.org-card { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-top: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }
.org-card > .icon { color: var(--muted); width: 18px; height: 18px; margin-left: auto; }
.org-card select { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.org-badge { width: 38px; height: 38px; border-radius: 10px; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; flex: none; }
.org-card-text { display: flex; flex-direction: column; min-width: 0; }
.org-card-text strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.org-card-text small { color: var(--muted); font-size: 12px; }

/* Bara de sus: transparentă, căutare cu scurtătură, avatar cu funcție */
.topbar { background: transparent; border-bottom: 0; backdrop-filter: none; padding: 18px 36px 6px; position: static; }
.search { background: var(--surface); border-color: var(--line); border-radius: 14px; box-shadow: 0 2px 10px rgba(20, 60, 140, .05); }
.search kbd { font: 600 12px/1 inherit; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 4px 6px; white-space: nowrap; }
.bell { width: 46px; height: 46px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; box-shadow: 0 2px 10px rgba(20, 60, 140, .05); }
.user-menu .avatar { width: 46px; height: 46px; background: var(--navy); }
.user-id { display: flex; flex-direction: column; line-height: 1.25; }
.user-id strong { font-size: 15px; }
.user-id small { color: var(--text-2); font-weight: 500; font-size: 13px; }
.content { padding-top: 18px; }

/* Dashboard */
.dash-hero { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: start; padding: 26px 30px; margin-bottom: 22px; border-radius: 22px;
  background: linear-gradient(115deg, rgba(255,255,255,.9) 0%, rgba(240,246,255,.9) 55%, rgba(217,231,255,.9) 100%); border: 1px solid #e3ecfb; overflow: hidden; }
.dash-hero::after { content: ''; position: absolute; right: -40px; bottom: -60px; width: 340px; height: 260px; background: linear-gradient(160deg, rgba(var(--primary-rgb), .18), rgba(var(--primary-rgb), 0)); transform: skewX(-18deg); border-radius: 30px; pointer-events: none; }
.dash-hero h1 { font-size: 2.6rem; margin: 6px 0 2px; }
.accent { color: var(--primary); }
.hero-org { font-size: 1.35rem; font-weight: 750; margin: 0 0 6px; color: var(--text); }
.eyebrow.spaced { letter-spacing: .28em; color: var(--text-2); font-size: 12px; }
.dash-quote { grid-column: 2; margin: 4px 0 0; max-width: 300px; font-style: italic; color: var(--text-2); font-size: 15px; position: relative; z-index: 1; }
.dash-quote::after { content: ''; display: block; width: 40px; height: 3px; background: var(--primary); border-radius: 3px; margin-top: 12px; }
.date-card { position: absolute; right: 26px; bottom: 22px; z-index: 1; display: flex; gap: 12px; align-items: center; background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow); }
.date-card .icon { color: var(--primary); width: 26px; height: 26px; }
.date-card span { display: flex; flex-direction: column; }
.date-card small { color: var(--muted); }
.dash-hero-text { position: relative; z-index: 1; padding-bottom: 28px; }

.mod-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 20px; }
.mod-card { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 22px; color: var(--text); transition: transform .15s, box-shadow .15s; }
.mod-card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(20, 60, 140, .1); }
.mod-card-top { display: flex; align-items: flex-start; gap: 14px; }
.mod-title { display: flex; flex-direction: column; gap: 4px; }
.mod-name { font-weight: 700; }
.mod-card-top .pill { margin-left: auto; font-size: 12px; padding: 3px 10px; }
.mod-pct { font-size: 2.1rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.mod-foot { display: flex; align-items: center; justify-content: space-between; color: var(--text-2); font-size: 14px; margin: 0; }
.go-circle.sm { width: 30px; height: 30px; border-radius: 50%; background: var(--primary-50); color: var(--primary); display: grid; place-items: center; }
.go-circle.sm .icon { width: 16px; height: 16px; }
.bar.gdpr span { background: linear-gradient(90deg, #12b76a, #3ccf8e); }
.bar.nis2 span { background: linear-gradient(90deg, var(--primary), var(--primary-400)); }
.bar.cyber span { background: linear-gradient(90deg, #f5a524, #ffc35c); }
.bar.training span { background: linear-gradient(90deg, #7c5cff, #a08bff); }
.mod-card.cyber .bubble { background: #fff3dd; color: #f59e0b; }

.dash-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.dash-grid > .card { margin: 0; }
.dash-overall { grid-row: span 2; }
.dash-activity { grid-column: 2 / 4; }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-head h2 { margin: 0; }
.overall-body { display: grid; grid-template-columns: minmax(170px, 230px) 1fr; gap: 24px; align-items: center; padding: 10px 0 18px; }
.donut { width: 100%; max-width: 240px; }
.donut circle { fill: none; stroke-width: 24; stroke-linecap: butt; }
.donut-bg { stroke: #eef2f9; }
.donut-val { font-size: 38px; font-weight: 800; fill: var(--text); letter-spacing: -.02em; }
.donut-lbl { font-size: 14px; fill: var(--text-2); }
.donut-delta { font-size: 13px; font-weight: 700; }
.donut-lbl.small { font-size: 10px; fill: var(--muted); }
.donut-delta.up { fill: var(--green); }
.donut-delta.down { fill: var(--red); }
.legend-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.legend-list li { display: grid; grid-template-columns: 16px 1fr auto; gap: 14px; align-items: start; }
.legend-list .dot { width: 14px; height: 14px; border-radius: 50%; display: block; margin-top: 4px; }
.legend-list span { display: flex; flex-direction: column; }
.legend-list small { color: var(--muted); }
.legend-list b { font-weight: 700; }
.trend { display: grid; grid-template-columns: auto minmax(130px, 1fr) minmax(70px, 180px) auto; gap: 14px; align-items: center; background: linear-gradient(90deg, var(--primary-25), var(--primary-25)); border-radius: 14px; padding: 14px 18px; }
.trend span { display: flex; flex-direction: column; }
.trend small { color: var(--text-2); }
.trend b.up { color: var(--green); }
.trend b.down { color: var(--red); }
.spark { width: 100%; height: 56px; }
.spark-line { fill: none; stroke: var(--primary); stroke-width: 2.5; }
.spark-area { fill: rgba(var(--primary-rgb), .1); }
.spark-dot { fill: var(--green); stroke: #fff; stroke-width: 2; }

.risk-tile { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; margin-bottom: 10px; color: var(--text); }
.risk-tile:hover { text-decoration: none; filter: brightness(.98); }
.risk-tile > .icon:first-child { width: 28px; height: 28px; flex: none; }
.risk-tile span { display: flex; flex-direction: column; flex: 1; }
.risk-tile strong { font-size: 1.5rem; line-height: 1.1; }
.risk-tile b { font-weight: 650; }
.risk-tile small { color: var(--muted); }
.risk-tile.red { background: #fff1f1; } .risk-tile.red > .icon:first-child, .risk-tile.red strong { color: var(--red); }
.risk-tile.amber { background: #fff7e8; } .risk-tile.amber > .icon:first-child, .risk-tile.amber strong { color: var(--amber); }
.risk-tile.blue { background: var(--primary-25); } .risk-tile.blue > .icon:first-child, .risk-tile.blue strong { color: var(--primary); }
.task-list, .activity-list { list-style: none; margin: 0; padding: 0; }
.task-list li a { display: grid; grid-template-columns: 20px 1fr auto auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-2); color: var(--text-2); font-size: 14px; }
.task-list li a:hover { text-decoration: none; color: var(--text); }
.task-list .icon { width: 18px; height: 18px; color: #9aa6ba; }
.task-title { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mod-chip { display: inline-block; font-size: 11px; font-weight: 650; padding: 2px 8px; border-radius: 6px; white-space: nowrap; }
.mod-chip.gdpr { background: var(--green-50); color: var(--green); }
.mod-chip.nis2 { background: var(--primary-50); color: var(--primary); }
.mod-chip.cyber { background: #fff3dd; color: #d97706; }
.mod-chip.training { background: var(--purple-50); color: var(--purple); }
.activity-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.activity-list li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 0; }
.activity-list li > span:not(.bubble) { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; font-size: 14px; }
.activity-list small { font-size: 12px; white-space: nowrap; }
.next-steps { margin-top: 20px; }
.next-steps h2 { margin-bottom: 2px; }
.next-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.next-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: 14px; color: var(--text); }
.next-card:hover { text-decoration: none; border-color: var(--primary-100); background: #fafcff; }
.next-card > span:nth-child(2):not(.bubble) { display: flex; flex-direction: column; gap: 6px; flex: 1; align-items: flex-start; font-size: 14px; }
.next-card .mod-chip { margin-top: 2px; }

/* Taburi, benzi de statistici, căutare în tabel */
.tabs { display: flex; gap: 6px; margin: -6px 0 18px; padding: 4px; background: #eaf0fa; border-radius: 12px; width: fit-content; }
.tabs a { padding: 8px 16px; border-radius: 9px; color: var(--text-2); font-weight: 600; font-size: 14px; }
.tabs a:hover { text-decoration: none; color: var(--text); }
.tabs a.active { background: var(--surface); color: var(--primary); box-shadow: 0 1px 4px rgba(16, 32, 72, .08); }
.stat-strip { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
.stat { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--surface); border: 1px solid #edf1f8; border-radius: 16px; box-shadow: 0 6px 20px rgba(20, 60, 140, .05); color: var(--text); min-width: 170px; }
.stat:hover { text-decoration: none; }
.stat span:not(.bubble) { display: flex; flex-direction: column; line-height: 1.2; }
.stat strong { font-size: 1.4rem; }
.stat small { color: var(--muted); }
.search-inline { display: flex; flex-direction: row; margin: 0; align-items: center; gap: 8px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; min-width: 260px; }
.search-inline input { border: 0; background: transparent; padding: 9px 0; outline: none; font: inherit; width: 100%; }
.search-inline .icon { color: var(--muted); width: 18px; height: 18px; }
.plain-fieldset { border: 0; padding: 0; margin: 0; display: contents; }
.form-actions { display: flex; gap: 10px; }
.danger-text { color: var(--red) !important; }
.role-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 20px; }
.role-card { margin: 0; }
.role-card h2 { margin-top: 12px; }
.role-count { margin: 0; color: var(--text-2); }
.role-count strong { font-size: 1.4rem; color: var(--text); }
.report-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.report-card { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: 14px; }
.report-card > span:not(.bubble) { display: flex; flex-direction: column; }
.export-rows { list-style: none; margin: 0; padding: 0; }
.export-rows li { display: flex; align-items: center; gap: 14px; padding: 12px 24px; border-top: 1px solid var(--line-2); }
.export-rows li > span:not(.bubble) { display: flex; flex-direction: column; flex: 1; }

@media (max-width: 1500px) {
  .dash-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .dash-overall { grid-row: auto; grid-column: 1 / 3; }
  .dash-activity { grid-column: 1 / 3; }
}
@media (max-width: 1300px) {
  .mod-cards, .next-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .dash-grid { grid-template-columns: 1fr; }
  .dash-overall, .dash-activity { grid-column: auto; }
}
@media (max-width: 760px) {
  .dash-right, .activity-list, .role-grid { grid-template-columns: 1fr; }
  .mod-cards, .next-grid { grid-template-columns: 1fr; }
  .overall-body { grid-template-columns: 1fr; justify-items: center; }
  .trend { grid-template-columns: auto 1fr; }
  .trend .spark { display: none; }
  .dash-hero { grid-template-columns: 1fr; }
  .dash-quote, .date-card { display: none; }
  .user-id { display: none; }
  .search kbd { display: none; }
}

/* Paginile de modul (GDPR / NIS2 / Cybersecurity Overview) */
.comp-top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; margin-bottom: 20px; align-items: start; }
.comp-top > .card { margin: 0; }
.comp-overview-head h2 { margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.comp-overview.ok { background: linear-gradient(135deg, #f1fbf5, #fff 60%); }
.comp-overview.expired { background: linear-gradient(135deg, #fff4f4, #fff 60%); }
.big-ring { width: 100%; max-width: 220px; }
.big-ring circle { fill: none; stroke-width: 18; stroke-linecap: round; }
.big-ring .ring-bg { stroke: #eef2f9; }
.big-ring .ring-val { font-size: 36px; font-weight: 800; fill: var(--text); }
.big-ring .ring-lbl { font-size: 13px; fill: var(--text-2); }
.legend-list .dot.c0 { background: #12b76a; } .legend-list .dot.c1 { background: var(--primary); } .legend-list .dot.c2 { background: #7c5cff; }
.legend-list .dot.c3 { background: #f5a524; } .legend-list .dot.c4 { background: #ef4444; } .legend-list .dot.c5 { background: #06b6d4; }
.legend-list .dot.c6 { background: #ec4899; } .legend-list .dot.c7 { background: #64748b; }
.comp-overview .legend-list { gap: 12px; }
.action-list { list-style: none; margin: 0; padding: 0; }
.action-list a { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-2); color: var(--text); }
.action-list a:hover { text-decoration: none; color: var(--primary); }
.action-list a > span:not(.bubble) { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.action-list strong { font-weight: 600; font-size: 14.5px; }
.reg-links { margin-top: 18px; display: flex; flex-direction: column; gap: 4px; }
.reg-links a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--text-2); font-weight: 550; }
.reg-links a:hover { background: var(--surface-2); text-decoration: none; color: var(--primary); }
.reg-links .icon { width: 18px; height: 18px; color: var(--primary); }
@media (max-width: 1100px) { .comp-top { grid-template-columns: 1fr; } }
.current-stage { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--primary); background: var(--primary-50); padding: 5px 12px; border-radius: 99px; margin: 4px 0 6px; font-size: 14px; }
.current-stage .icon { width: 16px; height: 16px; }
.stat-strip .stat { flex: 1 1 200px; }

/* Pagina de intrare: 4 module în grilă 2 × 2 (mockup „Autentificare & Selectare modul”) */
.modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.module-card { position: relative; flex-direction: row; align-items: flex-start; text-align: left; gap: 14px; padding: 20px 18px 46px; background: var(--surface); box-shadow: 0 6px 20px rgba(20, 60, 140, .06); }
.module-card .bubble { width: 52px; height: 52px; margin: 0; border-radius: 14px; }
.module-card .bubble .icon { width: 26px; height: 26px; }
.mc-text { display: flex; flex-direction: column; gap: 4px; }
.mc-text strong { font-size: 1.05rem; }
.mc-text span { color: var(--text-2); font-size: 14px; }
.module-card .go-circle { position: absolute; right: 16px; bottom: 14px; }
.bubble.purple.big, .module-card.purple .bubble { background: var(--purple-50); color: var(--purple); }
@media (max-width: 560px) { .modules { grid-template-columns: 1fr; } }
.module-card .go-circle { width: 32px; height: 32px; margin: 0; }
.module-card .go-circle .icon { width: 16px; height: 16px; }
.module-card.purple .go-circle { background: var(--purple-50); color: var(--purple); }
.trend b { display: flex; flex-direction: column; align-items: flex-end; font-size: 1.1rem; }
.trend b small { font-size: 11px; color: var(--muted); font-weight: 500; white-space: nowrap; }

/* Antetul dashboard-ului cu imaginea clădirii (mockup) */
.dash-hero { min-height: 250px; border: 1px solid #dfe9fb;
  background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.82) 34%, rgba(255,255,255,.25) 58%, rgba(255,255,255,0) 72%), url(/static/img/hero-dashboard.jpg) right center / cover no-repeat, #eaf2ff; }
.dash-hero::after { display: none; }
.dash-quote { color: #22324f; text-shadow: 0 1px 8px rgba(255,255,255,.8); }
@media (max-width: 760px) { .dash-hero { background-position: 70% center; } }
.dash-hero { display: block; }
.dash-hero-text { max-width: 52%; }
.dash-quote { position: absolute; left: 54%; top: 46px; max-width: 270px; margin: 0; z-index: 1; }
@media (max-width: 1100px) { .dash-quote { display: none; } .dash-hero-text { max-width: 70%; } }


/* =====================================================================
   Paleta CyberGov: albastrul-oțel al clădirii din antet (#1d5fa8), cu roșul siglei ca accent.
   ===================================================================== */
:root {
  --primary: #1d5fa8; --primary-600: #164d8c; --primary-400: #4a86c8; --primary-100: #d3e2f3; --primary-50: #e9f1fa; --primary-25: #f4f8fc;
  --primary-rgb: 29, 95, 168; --accent: #e3112f; --accent-50: #fdecef; --navy: #0b1f4d; --bg: #f4f7fb;
}
/* Roșul siglei ca accent: numele din salut, linia citatului, elementul activ din meniu */
.accent { color: var(--accent); }
.dash-quote::after { background: var(--accent); }
.org-badge { background: var(--navy); }
.side-nav a.active { box-shadow: inset 3px 0 0 var(--accent); }
.dash-hero { background-color: var(--primary-50); }
