/* =====================================================================
   DPDP Assessment Design System & Application Styles
   Prime Infoserv Pvt. Ltd. · for Indorama Ventures
   ===================================================================== */
:root {
  --navy: #0f2a4a;
  --navy-2: #173a63;
  --navy-dark: #0a1b30;
  --teal: #0e7c86;
  --teal-soft: #e3f3f4;
  --teal-dark: #095960;
  --gold: #c79a3b;
  --gold-soft: #fbf4e4;
  --bg: #eef2f6;
  --card: #ffffff;
  --ink: #1b2533;
  --muted: #5b6778;
  --line: #dde3ea;
  --ok: #1f8a4c;
  --ok-soft: #e5f5ec;
  --bad: #c0392b;
  --bad-soft: #fbeaea;
  --warn: #b7791f;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 10px 30px rgba(15, 42, 74, .08), 0 2px 6px rgba(15, 42, 74, .05);
  --shadow-lg: 0 20px 45px rgba(15, 42, 74, .14), 0 4px 12px rgba(15, 42, 74, .06);
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

.lucide {
  display: inline-block;
  vertical-align: -0.15em;
  stroke: currentColor;
  fill: none;
  flex-shrink: 0;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input,
select,
textarea {
  font-family: inherit;
}

/* ---------- Topbar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, var(--navy), #12345c);
  color: #fff;
  box-shadow: 0 4px 16px rgba(15, 42, 74, .2);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.topbar-in {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  height: 48px;
  width: auto;
  flex: none;
  object-fit: contain;
}

.brand-txt {
  min-width: 0;
}

.brand-txt b {
  display: block;
  font-size: 15px;
  letter-spacing: .2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #ffffff;
}

.brand-txt span {
  display: block;
  font-size: 12px;
  opacity: .78;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #d1dced;
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-link {
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all .2s;
}

.topbar-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, .1);
}

.topbar-auth {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, .95);
  background: rgba(255, 255, 255, .12);
  padding: 5px 12px 5px 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .2);
}

.topbar-user-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), #14b8a6);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.topbar-user-name {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-topbar {
  background: rgba(255, 255, 255, .15);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, .35);
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  line-height: 1.2;
}

.btn-topbar:hover {
  background: rgba(255, 255, 255, .25);
  border-color: rgba(255, 255, 255, .6);
  color: #ffffff;
}

.btn-topbar-primary {
  background: var(--teal);
  border-color: var(--teal);
}

.btn-topbar-primary:hover {
  background: #11939f;
  border-color: #11939f;
}

.btn-topbar-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .25);
  color: rgba(255, 255, 255, .88);
}

.btn-topbar-ghost:hover {
  background: rgba(255, 255, 255, .14);
  color: #ffffff;
}

/* ---------- Quiz mode (assessment in progress) ---------- */
.quiz-candidate {
  display: none;
  align-items: center;
  gap: 8px;
  max-width: 280px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .14);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
}

.quiz-candidate span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.quiz-active #tb-auth,
body.quiz-active #account-dropdown,
body.quiz-active #lnk-topbar-assessment,
body.quiz-active footer {
  display: none !important;
}

body.quiz-active .quiz-candidate {
  display: inline-flex;
}

/* ---------- Account dropdown ---------- */
.account-menu {
  position: relative;
}

.account-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .12);
  color: #ffffff;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}

.account-trigger:hover {
  background: rgba(255, 255, 255, .22);
  border-color: rgba(255, 255, 255, .45);
}

.account-dropdown {
  position: fixed;
  top: 0;
  left: 0;
  width: min(320px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  overflow-y: auto;
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(10, 30, 55, .25);
  z-index: 1000;
}

.account-dd-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  background: linear-gradient(135deg, #f8fafc, #eef4f8);
  border-bottom: 1px solid var(--line);
}

.account-dd-avatar {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.account-dd-id {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.account-dd-id b {
  font-size: 14px;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-dd-id span {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-dd-body {
  padding: 14px 18px 12px;
}

.account-dd-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--muted);
}

.account-dd-org-view {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
  min-height: 34px;
  padding: 6px 8px 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.account-dd-org-value {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-dd-edit {
  flex: none;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #ffffff;
  color: var(--teal-dark);
  cursor: pointer;
}

.account-dd-edit:hover {
  background: var(--teal-soft);
  border-color: var(--teal);
}

.account-dd-org-edit {
  margin-top: 6px;
}

.account-dd-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  color: var(--ink);
  font-family: inherit;
}

.account-dd-input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14, 124, 134, .12);
}

.account-dd-btns {
  display: flex;
  gap: 8px;
  margin-top: 7px;
}

.account-dd-save,
.account-dd-cancel {
  flex: 1;
  border: 0;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 10px;
  cursor: pointer;
}

.account-dd-save {
  background: var(--teal);
  color: #fff;
}

.account-dd-save:hover {
  background: var(--teal-dark);
}

.account-dd-cancel {
  background: #eef2f6;
  color: var(--muted);
}

.account-dd-cancel:hover {
  background: #e2e8ef;
}

.account-dd-save:disabled {
  opacity: .55;
  cursor: default;
}

.account-dd-msg {
  min-height: 15px;
  margin-top: 5px;
  font-size: 11.5px;
}

.account-dd-del {
  border-top: 1px dashed var(--line);
  padding-top: 10px;
  margin-top: 6px;
}

.account-dd-del-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: 0;
  padding: 2px 0;
  color: var(--bad);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

.account-dd-del-link:hover {
  text-decoration: underline;
}

.account-dd-del-box {
  background: var(--gold-soft);
  border: 1px solid #ecd9a6;
  border-radius: 9px;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.5;
  color: #6d5417;
}

.account-dd-del-cancel {
  display: inline-block;
  margin-top: 4px;
  background: none;
  border: 0;
  padding: 0;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

.account-dd-foot {
  border-top: 1px solid var(--line);
  padding: 6px;
}

.account-dd-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: none;
  border: 0;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.account-dd-item:hover {
  background: #f1f5f9;
}

@media (max-width: 600px) {
  .account-dropdown {
    width: min(320px, calc(100vw - 24px));
  }
}

.timer {
  display: none;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  padding: 6px 14px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .5px;
}

.timer.show {
  display: flex;
}

.timer.low {
  background: #c0392b;
  border-color: #e57368;
  animation: pulse 1s infinite;
}

@keyframes pulse {
  50% { opacity: .75; }
}

/* ---------- Layout & Container ---------- */
main {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 32px 24px 60px;
  flex: 1;
}

.screen {
  display: none;
  animation: fadeUp .4s ease both;
}

.screen.active {
  display: block;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition: box-shadow .2s ease;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  padding: 12px 22px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .12s, box-shadow .2s, background .2s, border-color .2s;
  text-decoration: none;
  cursor: pointer;
}

.btn:active {
  transform: scale(.98);
}

.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 4px 14px rgba(14, 124, 134, .28);
}

.btn-primary:hover {
  background: #0b6a73;
  box-shadow: 0 6px 18px rgba(14, 124, 134, .35);
}

.btn-primary:disabled {
  background: #9bb9bd;
  box-shadow: none;
  cursor: not-allowed;
}

.btn-navy {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 4px 14px rgba(15, 42, 74, .24);
}

.btn-navy:hover {
  background: var(--navy-2);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-soft);
}

.btn-gold {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 4px 14px rgba(199, 154, 59, .32);
}

.btn-gold:hover {
  background: #b0862f;
}

.btn-danger {
  background: var(--bad-soft);
  color: var(--bad);
  border: 1.5px solid #f1c4bf;
}

.btn-danger:hover {
  background: #f8d7d7;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 10px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 14px;
}

.full {
  width: 100%;
}

/* ---------- Typography & Utility ---------- */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-soft);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.eyebrow-gold {
  color: #92691b;
  background: var(--gold-soft);
}

.section-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 999px;
  background: #f3f6f9;
  border: 1px solid var(--line);
  color: var(--ink);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
}

.badge.pass {
  background: var(--ok-soft);
  color: var(--ok);
}

.badge.fail {
  background: var(--bad-soft);
  color: var(--bad);
}

/* ---------- Forms ---------- */
.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--navy);
}

.field label i {
  color: var(--bad);
  font-style: normal;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  font-size: 15px;
  background: #fbfcfd;
  color: var(--ink);
  transition: border .2s, box-shadow .2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-soft);
  background: #fff;
}

.field input.err {
  border-color: var(--bad);
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  margin-bottom: 16px;
  cursor: pointer;
  user-select: none;
}

.check input {
  margin-top: 3px;
  width: 17px;
  height: 17px;
  accent-color: var(--teal);
  flex: none;
}

.gate-err {
  margin: 10px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--bad);
  min-height: 18px;
}

/* ---------- Public Landing (Page 1 Before Login) ---------- */
.landing-hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  margin-bottom: 40px;
}

.hero-main {
  padding: 38px 40px;
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.hero-main::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 124, 134, .12), transparent 70%);
  pointer-events: none;
}

.hero-main h1 {
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1.18;
  margin: 14px 0 12px;
  color: var(--navy);
}

.hero-main .lead {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 24px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.auth-tabs {
  display: flex;
  background: #edf2f7;
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.auth-tab {
  flex: 1;
  padding: 10px;
  border: 0;
  background: transparent;
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  border-radius: 9px;
  transition: all .2s;
}

.auth-tab.active {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.feature-card {
  padding: 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--navy);
}

.feature-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* Knowledge-source cards: short lead, points, closing line */
.kc-points {
  margin: 10px 0 0;
  padding-left: 16px;
  color: var(--muted);
  font-size: 13.2px;
  line-height: 1.5;
}

.kc-points li {
  margin-bottom: 5px;
}

.kc-points li:last-child {
  margin-bottom: 0;
}

.kc-points b {
  color: var(--navy);
  font-weight: 600;
}

.feature-card p.kc-close {
  margin-top: 10px;
}

.mod-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.mod-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--line);
  transition: border-color .2s;
}

.mod-item:hover {
  border-color: #bcd2e8;
}

.mod-num {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13.5px;
}

.mod-item b {
  display: block;
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--navy);
}

.mod-item span {
  font-size: 12px;
  color: var(--muted);
}

/* ---------- Learner Portal (Page 2 After Login) ---------- */
.portal-welcome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 30px 36px;
  background: linear-gradient(135deg, var(--navy), #1b4372);
  color: #fff;
  border-radius: var(--radius);
  margin-bottom: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.portal-welcome::after {
  content: "";
  position: absolute;
  right: -50px;
  top: -50px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 124, 134, .25), transparent 70%);
}

.portal-welcome h1 {
  font-family: var(--serif);
  font-size: 32px;
  margin: 8px 0 6px;
  color: #fff;
}

.portal-welcome p {
  color: #d8e5f5;
  font-size: 15px;
  margin: 0;
}

.portal-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
}

.portal-status-card {
  padding: 28px 32px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 14px;
}

.status-ready {
  background: var(--teal-soft);
  color: var(--teal);
}

.status-pass {
  background: var(--ok-soft);
  color: var(--ok);
}

.status-retake {
  background: var(--gold-soft);
  color: var(--warn);
}

.rules {
  background: var(--gold-soft);
  border: 1px solid #efdcb1;
  border-radius: 12px;
  padding: 16px 18px;
  margin: 18px 0;
  font-size: 13.5px;
}

.rules b {
  color: #6d4e12;
}

.rules ul {
  margin: 6px 0 0;
  padding-left: 20px;
}

.rules li {
  margin: 4px 0;
  color: #493c20;
}

/* ---------- Assessment Screen (Page 3) ---------- */
.quiz-wrap {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 24px;
  align-items: start;
}

.progress-strip {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
  margin-bottom: 18px;
}

.seg {
  height: 8px;
  border-radius: 99px;
  background: #d8e0e8;
  overflow: hidden;
  position: relative;
}

.seg>i {
  position: absolute;
  inset: 0;
  width: 0;
  background: linear-gradient(90deg, var(--teal), #19a9b5);
  transition: width .35s ease;
}

.seg.cur {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.qcard {
  padding: 34px 38px;
}

.mod-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--navy), var(--navy-2));
  color: #fff;
  margin-bottom: 24px;
}

.mod-banner .mod-num {
  background: var(--gold);
  width: 42px;
  height: 42px;
  font-size: 16px;
  border-radius: 11px;
}

.mod-banner b {
  display: block;
  font-size: 15.5px;
}

.mod-banner span {
  font-size: 12.5px;
  opacity: .85;
}

.qcount {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .4px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.qtext {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0 0 24px;
  color: var(--navy);
}

.opts {
  display: grid;
  gap: 12px;
}

.opt {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  padding: 15px 18px;
  border-radius: 13px;
  border: 1.8px solid var(--line);
  background: #fff;
  font-size: 15.5px;
  color: var(--ink);
  transition: all .18s ease;
  line-height: 1.4;
}

.opt:hover {
  border-color: #9fcfd3;
  background: #f6fbfb;
  transform: translateX(3px);
}

.opt .key {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  background: #eef2f6;
  color: var(--navy);
  transition: all .18s;
}

.opt .txt {
  padding-top: 4px;
}

.opt.sel {
  border-color: var(--teal);
  background: var(--teal-soft);
  box-shadow: 0 0 0 3px rgba(14, 124, 134, .12);
}

.opt.sel .key {
  background: var(--teal);
  color: #fff;
}

.qnav {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  flex-wrap: wrap;
}

.qnav .grp {
  display: flex;
  gap: 10px;
}

.flag-btn.on {
  background: var(--gold-soft);
  border-color: var(--gold);
  color: #8a6418;
}

.side {
  padding: 22px;
  position: sticky;
  top: 86px;
}

.side h3 {
  margin: 0 0 4px;
  font-size: 15px;
  color: var(--navy);
}

.side .sub {
  font-size: 12.5px;
  color: var(--muted);
  margin: 0 0 14px;
}

.nav-mod {
  margin-bottom: 12px;
}

.nav-mod small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: .4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dots {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.dot {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  position: relative;
  transition: all .15s;
}

.dot:hover {
  border-color: var(--teal);
}

.dot.ans {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.dot.cur {
  outline: 2.5px solid var(--navy);
  outline-offset: 1px;
}

.dot.flag::after {
  content: "";
  position: absolute;
  top: -4px;
  right: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid #fff;
}

.legend {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: var(--muted);
  margin: 12px 0 16px;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.legend i {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  display: inline-block;
  border: 1.5px solid var(--line);
}

.side .stat {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}

.kbd-hint {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 12px;
}

kbd {
  font-family: inherit;
  font-size: 11px;
  background: #eef2f6;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 5px;
  padding: 1px 5px;
}

/* ---------- Results Screen ---------- */
.result-top {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
}

.score-card {
  padding: 32px;
  text-align: center;
}

.ring {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 4px auto 14px;
}

.ring svg {
  transform: rotate(-90deg);
}

.ring .val {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
}

.ring .val b {
  font-size: 46px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.ring .val span {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

.res-main {
  padding: 32px;
}

.res-main h2 {
  font-family: var(--serif);
  font-size: 30px;
  margin: 0 0 6px;
  color: var(--navy);
}

.res-main p.sub {
  color: var(--muted);
  margin: 0 0 20px;
}

.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.kpi {
  background: #f6f8fb;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
}

.kpi small {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .4px;
  font-weight: 600;
}

.kpi b {
  font-size: 20px;
  color: var(--navy);
}

.mbars {
  display: grid;
  gap: 12px;
}

.mbar {
  display: grid;
  grid-template-columns: minmax(0, 240px) 1fr 54px;
  gap: 12px;
  align-items: center;
  font-size: 13.5px;
}

.mbar .lbl {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mbar .track {
  height: 12px;
  border-radius: 99px;
  background: #e6ebf1;
  overflow: hidden;
}

.mbar .fill {
  height: 100%;
  width: 0;
  border-radius: 99px;
  transition: width 1s cubic-bezier(.2, .8, .2, 1);
}

.mbar .pct {
  text-align: right;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.res-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

/* ---------- Answer Review ---------- */
.review-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.review-head h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
}

.rv {
  padding: 22px 24px;
  margin-bottom: 14px;
  border-left: 5px solid var(--line);
}

.rv.right {
  border-left-color: var(--ok);
}

.rv.wrong {
  border-left-color: var(--bad);
}

.rv .rmeta {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: 6px;
}

.rv .rq {
  font-weight: 600;
  font-size: 16px;
  margin: 0 0 12px;
  color: var(--navy);
}

.rv .ro {
  padding: 10px 14px;
  border-radius: 9px;
  margin-bottom: 6px;
  font-size: 14px;
  background: #f7f9fb;
  border: 1px solid transparent;
}

.rv .ro.correct {
  background: var(--ok-soft);
  border-color: #bfe3cd;
}

.rv .ro.picked.incorrect {
  background: var(--bad-soft);
  border-color: #f1c4bf;
}

.rv .ro em {
  font-style: normal;
  font-weight: 700;
  font-size: 12px;
  margin-left: 6px;
}

.rv .rexp {
  margin-top: 10px;
  font-size: 13.5px;
  color: #36414f;
  background: #f3f6fa;
  border-radius: 9px;
  padding: 12px 14px;
  line-height: 1.5;
}

/* ---------- Certificate ---------- */
.cert-wrap {
  padding: 26px;
  text-align: center;
}

.cert-wrap img {
  width: 100%;
  max-width: 980px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 14px 40px rgba(15, 42, 74, .2);
}

.cert-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 22px;
}

/* ---------- Facilitator Dashboard ---------- */
.admin-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.admin-head h2 {
  margin: 0;
  font-family: var(--serif);
  color: var(--navy);
}

.tabs {
  display: flex;
  gap: 6px;
  background: #e2e8ef;
  padding: 4px;
  border-radius: 12px;
  width: max-content;
  max-width: 100%;
  overflow-x: auto;
  margin-bottom: 16px;
}

.tab {
  border: 0;
  background: transparent;
  padding: 8px 16px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--muted);
  white-space: nowrap;
  cursor: pointer;
  transition: all .18s;
}

.tab.on {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
}

.tabpane {
  display: none;
}

.tabpane.on {
  display: block;
}

.admin-kpis {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.admin-kpis .kpi {
  background: #fff;
  box-shadow: var(--shadow);
}

.tbl-wrap {
  overflow: auto;
  max-height: 560px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

th,
td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

th {
  position: sticky;
  top: 0;
  background: #f6f8fb;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--muted);
  z-index: 1;
}

td.num,
th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

tr:hover td {
  background: #fafcfd;
}

.tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.tag.pass {
  background: var(--ok-soft);
  color: var(--ok);
}

.tag.fail {
  background: var(--bad-soft);
  color: var(--bad);
}

.toolbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.toolbar input[type=search] {
  flex: 1;
  min-width: 220px;
  padding: 10px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
}

.qa-row td.qtxt {
  white-space: normal;
  min-width: 340px;
}

.mini-bar {
  display: inline-block;
  width: 120px;
  height: 8px;
  border-radius: 99px;
  background: #e6ebf1;
  vertical-align: middle;
  margin-right: 8px;
  overflow: hidden;
}

.mini-bar>i {
  display: block;
  height: 100%;
}

.empty {
  padding: 40px;
  text-align: center;
  color: var(--muted);
}

.note {
  font-size: 12.5px;
  color: var(--muted);
  padding: 14px 18px;
}

/* ---------- DPDP Modal & Portal Styles ---------- */
.modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(15, 42, 74, .48);
  backdrop-filter: blur(4px);
  display: none;
  place-items: center;
  z-index: 100;
  padding: 16px;
}

.modal-bg.show {
  display: grid;
  animation: fadeUp .25s ease;
}

.modal {
  background: #fff;
  border-radius: 18px;
  max-width: 460px;
  width: 100%;
  padding: 28px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .25);
}

.modal h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 20px;
}

.modal p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14.5px;
}

.modal .btns {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.modal-lg {
  max-width: 760px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 28px 32px;
}

.modal::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.modal::-webkit-scrollbar-thumb {
  background: rgba(15, 42, 74, 0.2);
  border-radius: 99px;
}
.modal::-webkit-scrollbar-track {
  background: transparent;
}

.dpdp-nav {
  display: flex;
  gap: 6px;
  border-bottom: 1.5px solid var(--line);
  margin: 16px 0 20px;
  overflow-x: auto;
}

.dpdp-tab {
  background: transparent;
  border: 0;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--muted);
  border-bottom: 2.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all .2s ease;
}

.dpdp-tab:hover {
  color: var(--navy);
}

.dpdp-tab.active {
  color: var(--teal);
  border-color: var(--teal);
}

.dpdp-pane {
  display: none;
  animation: fadeUp .2s ease;
}

.dpdp-pane.active {
  display: block;
}

.dpdp-notice-box {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink);
  max-height: 380px;
  overflow-y: auto;
  margin-bottom: 16px;
}

.dpdp-notice-box h4 {
  margin: 14px 0 6px;
  color: var(--navy);
  font-size: 14.5px;
}

.dpdp-notice-box h4:first-child {
  margin-top: 0;
}

.dpdp-notice-box ul {
  margin: 6px 0 12px;
  padding-left: 20px;
}

.dpdp-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
}

.dpdp-badge-ok {
  background: var(--ok-soft);
  color: var(--ok);
}

.dpdp-badge-warn {
  background: var(--gold-soft);
  color: var(--warn);
}

/* ---------- Toast & Canvas ---------- */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--navy);
  color: #fff;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  z-index: 120;
  transition: transform .3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  max-width: calc(100% - 32px);
  border: 1px solid rgba(255, 255, 255, .15);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

#confetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
}

/* ---------- Footer ---------- */
footer {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px 32px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

footer a {
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
  transition: color .2s;
}

footer a:hover {
  color: var(--navy);
}

/* ---------- Print Styles ---------- */
#print-area {
  display: none;
}

@media print {
  @page {
    size: A4 landscape;
    margin: 0;
  }
  body {
    background: #fff;
  }
  body>*:not(#print-area) {
    display: none !important;
  }
  #print-area {
    display: block !important;
  }
  #print-area img {
    width: 297mm;
    height: 210mm;
    display: block;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .landing-hero,
  .portal-grid,
  .result-top,
  .quiz-wrap {
    grid-template-columns: 1fr;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .side {
    position: static;
  }
  .kpis {
    grid-template-columns: repeat(2, 1fr);
  }
  .admin-kpis {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  main {
    padding: 20px 16px 40px;
  }
  .hero-main,
  .portal-welcome,
  .portal-status-card,
  .qcard,
  .res-main,
  .score-card {
    padding: 24px 20px;
  }
  .hero-main h1 {
    font-size: 28px;
  }
  .portal-welcome h1 {
    font-size: 26px;
  }
  .mod-list {
    grid-template-columns: 1fr;
  }
  .qtext {
    font-size: 18px;
  }
  .mbar {
    grid-template-columns: 1fr 46px;
  }
  .mbar .lbl {
    grid-column: 1/-1;
  }
  .brand-txt span {
    display: none;
  }
}

/* ==========================================================================
   Dashboard & Facilitator-specific styles
   ========================================================================== */

/* Tabs */
.tab {
  background: transparent;
  border: none;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 10px 18px;
  border-radius: 10px 10px 0 0;
  transition: color .2s, background .2s;
  position: relative;
  bottom: -2px;
  letter-spacing: .2px;
}

.tab:hover {
  color: var(--navy);
  background: rgba(15, 42, 74, .05);
}

.tab.on {
  color: var(--navy);
  background: #fff;
  border: 2px solid var(--line);
  border-bottom-color: #fff;
}

.tabpane {
  display: none;
}

.tabpane.on {
  display: block;
}

/* Table wrapper for dashboard */
.tbl-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tbl-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 900px;
}

.tbl-wrap thead th {
  text-align: left;
  padding: 12px 16px;
  background: var(--bg);
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.tbl-wrap th.num,
.tbl-wrap td.num {
  text-align: right;
}

.tbl-wrap tbody tr {
  border-bottom: 1px solid var(--line);
  transition: background .15s;
}

.tbl-wrap tbody tr:hover {
  background: var(--teal-soft);
}

.tbl-wrap td {
  padding: 11px 16px;
  vertical-align: middle;
  color: var(--ink);
}

.tbl-wrap .qtxt {
  max-width: 380px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tbl-wrap .qa-row td {
  padding: 10px 16px;
}

/* Mini bar inside table */
.mini-bar {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  width: 60px;
  height: 7px;
  background: var(--line);
  border-radius: 4px;
  margin-right: 6px;
  overflow: hidden;
}

.mini-bar i {
  display: block;
  height: 100%;
  border-radius: 4px;
  transition: width .6s ease;
}

/* Gate error text */
.gate-err {
  color: var(--bad);
  font-size: 13px;
  font-weight: 500;
  min-height: 18px;
  margin: 6px 0 2px;
  text-align: center;
}

/* Empty state */
.empty {
  text-align: center;
  color: var(--muted);
  padding: 40px 20px;
  font-size: 14px;
}

/* Tags inside table */
.tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .3px;
}

.tag.pass {
  background: var(--ok-soft);
  color: var(--ok);
}

.tag.fail {
  background: var(--bad-soft);
  color: var(--bad);
}

/* Admin kpi grid alias */
.admin-kpis {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

/* Note callout */
.note {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  padding: 12px 20px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

/* Fade-up animation for pin gate card */
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* btn-danger alias */
.btn-danger {
  background: var(--bad);
  color: #fff;
  border: none;
}

.btn-danger:hover {
  background: #a82b1e;
}

/* ==========================================================================
   Redesigned Landing Page (index.html) — hero, curriculum, privacy, auth
   ========================================================================== */

/* Full-width single-column hero */
.hero-single {
  padding: 48px 52px;
  position: relative;
  overflow: hidden;
  background: #ffffff;
  margin-bottom: 0;
}

.hero-single::before {
  content: "";
  position: absolute;
  right: -100px;
  top: -100px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 124, 134, .09), transparent 70%);
  pointer-events: none;
}

.hero-single h1 {
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1.15;
  margin: 14px 0 14px;
  color: var(--navy);
}

.hero-single .lead {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 640px;
}

.hero-single-top {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.hero-cta-block {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: sticky;
  top: 90px;
}

/* Curriculum grid */
.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.curr-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: transform .2s, box-shadow .2s;
}

.curr-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.curr-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex: none;
  box-shadow: 0 4px 10px rgba(14, 124, 134, .25);
}

.curr-body h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px;
  line-height: 1.3;
}

.curr-body p {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 10px;
  line-height: 1.5;
}

.curr-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  background: var(--teal-soft);
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: .3px;
}

/* Assessment format card */
.assess-format-card {
  padding: 32px 36px;
}

.assess-format-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.assess-format-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.af-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.af-icon {
  font-size: 22px;
  line-height: 1;
  flex: none;
  margin-top: 2px;
}

.af-item b {
  display: block;
  font-size: 14px;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 4px;
}

.af-item span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* Privacy notice grid */
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.prv-card {
  padding: 26px 24px;
}

.prv-icon {
  font-size: 24px;
  margin-bottom: 12px;
  line-height: 1;
}

.prv-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 10px;
}

.prv-card h3 small {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 500;
  margin-left: 4px;
}

.prv-list {
  margin: 0 0 12px;
  padding-left: 16px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
}

.prv-list li {
  margin-bottom: 4px;
}

.prv-note {
  font-size: 12px;
  color: var(--teal);
  background: var(--teal-soft);
  border-radius: 8px;
  padding: 8px 10px;
  margin: 0;
  line-height: 1.4;
}

/* ==========================================================================
   Auth Page (auth.html) — two-panel layout
   ========================================================================== */

.auth-body {
  min-height: 100vh;
}

.auth-main {
  display: grid;
  grid-template-columns: 1fr 480px;
  min-height: calc(100vh - 80px - 60px);
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 60px;
  gap: 48px;
  align-items: start;
  flex: 1;
}

.auth-panel-left {
  background: linear-gradient(145deg, var(--navy), #173a63);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  position: sticky;
  top: 96px;
  overflow: hidden;
}

.auth-panel-left::before {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 124, 134, .18), transparent 70%);
  pointer-events: none;
}

.auth-panel-inner {
  position: relative;
  z-index: 1;
}

.auth-panel-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ap-pill {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  color: rgba(255, 255, 255, .9);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
}

.auth-card {
  padding: 36px 32px;
}

/* Responsive breakpoints for new components */
@media (max-width: 1140px) {
  .curriculum-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .privacy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .hero-single-top {
    grid-template-columns: 1fr;
  }
  .hero-cta-block {
    position: static;
  }
  .assess-format-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .auth-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .auth-panel-left {
    position: static;
  }
}

@media (max-width: 700px) {
  .hero-single {
    padding: 30px 24px;
  }
  .hero-single h1 {
    font-size: 30px;
  }
  .curriculum-grid {
    grid-template-columns: 1fr;
  }
  .privacy-grid {
    grid-template-columns: 1fr;
  }
  .assess-format-grid {
    grid-template-columns: 1fr;
  }
  .assess-format-card {
    padding: 24px 20px;
  }
  .auth-panel-left {
    padding: 32px 24px;
  }
  .auth-card {
    padding: 28px 20px;
  }
}

/* ==========================================================================
   Participant Details Setup Screen (assessment.html s-welcome)
   ========================================================================== */
.participant-setup-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  max-width: 1040px;
  margin: 0 auto 36px;
  align-items: start;
}

.setup-profile-card {
  padding: 34px 36px;
}

.verified-profile-box {
  background: linear-gradient(135deg, #f8fafc, #edf4f7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: 0 2px 8px rgba(15, 42, 74, .04);
}

@media (max-width: 900px) {
  .participant-setup-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .setup-profile-card {
    padding: 28px 24px;
  }
}
