/* ═══════════════════════════════════════════════════════════════
   JOB AND YOU — Dashboard CSS (Seeker)
   Covers: Layout · Sidebar · Stats · Cards · CV Builder ·
           Applications table · Apply form · Quick actions
   ═══════════════════════════════════════════════════════════════ */

/* ── LAYOUT ──────────────────────────────────────────────────── */
.dash-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - var(--header-h));
  align-items: start;
  background: var(--bg-grey);
}
.dash-main {
  padding: 2rem 2.5rem 4rem;
  min-width: 0;
}

/* ── SIDEBAR ─────────────────────────────────────────────────── */
.dash-sidebar {
  background: var(--bg-white);
  border-right: 1px solid var(--border);
  min-height: calc(100vh - var(--header-h));
  padding: 1.5rem 0;
  position: sticky;
  top: var(--header-h);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.dash-sidebar__user {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 0 1.25rem 1.25rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: .5rem;
}
.dash-sidebar__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  flex-shrink: 0;
}
.dash-sidebar__avatar-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dash-sidebar__user strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .875rem;
  color: var(--navy);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}
.dash-sidebar__user span {
  font-size: .75rem;
  color: var(--text-muted);
}
.dash-nav {
  display: flex;
  flex-direction: column;
  padding: 0 .75rem;
  gap: .1rem;
}
.dash-nav__link {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .7rem .85rem;
  border-radius: var(--radius);
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  transition: all var(--transition);
  min-width: 0;
}
.dash-nav__icon {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .95rem;
  font-weight: 700;
  background: rgba(27, 86, 248, .08);
  color: currentColor;
}
.dash-nav__text {
  display: block;
  line-height: 1.2;
  white-space: normal;
  word-break: break-word;
}
.dash-nav__link:hover  { background: var(--blue-pale); color: var(--blue); }
.dash-nav__link.active { background: var(--blue-pale); color: var(--blue); font-weight: 700; }
.dash-nav__link--danger { color: var(--red); }
.dash-nav__link--danger:hover { background: var(--red-pale); color: var(--red); }
.dash-nav__link--danger .dash-nav__icon {
  background: rgba(220, 53, 69, .1);
}
.dash-nav__divider {
  height: 1px;
  background: var(--border);
  margin: .5rem .85rem;
}

/* ── TOP BAR ─────────────────────────────────────────────────── */
.dash-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.dash-page-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 .25rem;
  font-family: var(--font-head);
}
.dash-page-sub {
  font-size: .9rem;
  color: var(--text-muted);
  margin: 0;
}
.dash-page-sub a { color: var(--blue); }

/* ── ALERT BANNERS ───────────────────────────────────────────── */
.dash-alert {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1.1rem;
  border-radius: var(--radius-lg);
  font-size: .875rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.dash-alert--warning {
  background: #FFF8E1;
  border: 1px solid #FFE082;
  color: #7A5800;
}
.dash-alert--info {
  background: var(--blue-pale);
  border: 1px solid var(--blue-light);
  color: var(--blue);
}
.dash-alert__btn {
  background: none;
  border: 1px solid currentColor;
  border-radius: var(--radius-sm);
  padding: .25rem .65rem;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  color: inherit;
  font-family: var(--font-body);
  transition: all var(--transition);
}
.dash-alert__btn:hover { opacity: .75; }

/* ── STAT CARDS ──────────────────────────────────────────────── */
.dash-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.dash-stat {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  transition: all var(--transition);
}
.dash-stat:hover { border-color: var(--blue-light); box-shadow: var(--shadow-sm); }
.dash-stat--blue  { border-top: 3px solid var(--blue); }
.dash-stat--green { border-top: 3px solid var(--green); }
.dash-stat--gold  { border-top: 3px solid var(--gold); }
.dash-stat__num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.dash-stat__label { font-size: .8rem; color: var(--text-muted); font-weight: 500; }

/* ── DASHBOARD CARDS ─────────────────────────────────────────── */
.dash-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.dash-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.dash-card__head h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.dash-card__head a {
  font-size: .82rem;
  color: var(--blue);
  font-weight: 500;
}
.dash-card__body { padding: 1.5rem; }
.dash-card__foot {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1.1rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-grey);
}

.is-hidden {
  display: none !important;
}

body.modal-open {
  overflow: hidden;
}

.external-apply-link-card {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 1rem 1.1rem;
  background: linear-gradient(180deg, #f9fbff 0%, #f3f7ff 100%);
  border: 1px solid var(--blue-light);
  border-radius: var(--radius-lg);
}

.external-apply-link-card__label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.external-apply-link-card__url {
  font-size: .95rem;
  line-height: 1.6;
  color: var(--blue);
  word-break: break-all;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .15em;
}

.external-apply-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.external-apply-status {
  border-color: #CFE6D5;
}

.dash-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.dash-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 24, 43, .6);
  backdrop-filter: blur(4px);
}

.dash-modal__dialog {
  position: relative;
  width: min(100%, 540px);
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(15, 34, 58, .22);
  padding: 1.6rem 1.5rem 1.35rem;
  border: 1px solid rgba(27, 86, 248, .12);
}

.dash-modal__close {
  position: absolute;
  top: .8rem;
  right: .8rem;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #eef3ff;
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
}

.dash-modal__title {
  margin: 0 0 .7rem;
  font-size: 1.35rem;
  color: var(--navy);
  font-family: var(--font-head);
}

.dash-modal__text {
  margin: 0 0 .8rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.dash-modal__text--muted {
  color: var(--text-muted);
  font-size: .95rem;
}

.dash-modal__actions {
  display: flex;
  gap: .75rem;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

/* ── TWO-COL GRID ────────────────────────────────────────────── */
.dash-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* ── EMPTY STATE ─────────────────────────────────────────────── */
.dash-empty {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--text-muted);
}
.dash-empty > span { font-size: 2.5rem; display: block; margin-bottom: .75rem; }
.dash-empty p { margin-bottom: 1.25rem; font-size: .9rem; line-height: 1.6; }
.dash-empty a { color: var(--blue); }

/* ── APP LIST (recent applications in dashboard) ─────────────── */
.app-list { display: flex; flex-direction: column; }
.app-list__item {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .85rem 1.5rem;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.app-list__item:last-child { border-bottom: none; }
.app-list__item:hover { background: var(--bg-grey); }
.app-list__logo {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .7rem;
  color: var(--navy);
}
.app-list__logo img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.app-list__info { flex: 1; min-width: 0; }
.app-list__info strong { display: block; font-size: .875rem; color: var(--navy); }
.app-list__info strong a { color: var(--navy); text-decoration: none; }
.app-list__info strong a:hover { color: var(--blue); }
.app-list__info span { font-size: .78rem; color: var(--text-muted); }
.app-list__right { display: flex; flex-direction: column; align-items: flex-end; gap: .2rem; }
.app-list__right small { font-size: .72rem; color: var(--text-light); }

/* ── SUGGESTED JOBS LIST ─────────────────────────────────────── */
.suggested-list { display: flex; flex-direction: column; }
.suggested-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .85rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.suggested-list__item:last-child { border-bottom: none; }
.suggested-list__item > div { min-width: 0; }
.suggested-list__item strong { display: block; font-size: .875rem; color: var(--navy); }
.suggested-list__item strong a { color: var(--navy); text-decoration: none; }
.suggested-list__item strong a:hover { color: var(--blue); }
.suggested-list__item span {
  font-size: .78rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── QUICK ACTIONS ───────────────────────────────────────────── */
.dash-quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.25rem 1.5rem;
}
.quick-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  padding: 1.25rem .75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  text-decoration: none;
  transition: all var(--transition);
}
.quick-action:hover { border-color: var(--blue); background: var(--blue-pale); transform: translateY(-2px); }
.quick-action > span { font-size: 1.75rem; line-height: 1; }
.quick-action strong { font-size: .875rem; color: var(--navy); display: block; }
.quick-action small { font-size: .75rem; color: var(--text-muted); }

/* ── APPLICATIONS TABLE ──────────────────────────────────────── */
.status-tabs {
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.status-tab {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem 1rem;
  border: 1px solid var(--border);
  border-radius: 2rem;
  background: var(--bg-white);
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-mid);
  cursor: pointer;
  transition: all var(--transition);
}
.status-tab:hover { border-color: var(--blue); color: var(--blue); }
.status-tab.active { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 700; }
.status-tab__count {
  background: rgba(255,255,255,.25);
  border-radius: 2rem;
  padding: .05rem .45rem;
  font-size: .72rem;
  font-weight: 700;
}
.status-tab.active .status-tab__count { background: rgba(255,255,255,.3); }
.status-tab:not(.active) .status-tab__count { background: var(--bg-grey); color: var(--text-muted); }

.apps-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.apps-table th {
  text-align: left;
  padding: .75rem 1.25rem;
  background: var(--bg-grey);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .05em;
  white-space: nowrap;
}
.apps-table td {
  padding: .85rem 1.25rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  color: var(--text-mid);
}
.apps-table tbody tr:last-child td { border-bottom: none; }
.apps-table tbody tr:hover td { background: var(--bg-grey); }
.apps-table__job-title { font-weight: 600; color: var(--navy); display: block; text-decoration: none; }
.apps-table__job-title:hover { color: var(--blue); }
.apps-table__location { font-size: .75rem; color: var(--text-muted); display: block; margin-top: .15rem; }
.apps-table__company { display: flex; align-items: center; gap: .5rem; }
.apps-table__logo { width: 24px; height: 24px; border-radius: 4px; object-fit: contain; }
.apps-table__note { margin-top: .3rem; font-size: .78rem; color: var(--text-muted); }

/* ── PROFILE FORM ────────────────────────────────────────────── */
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.1rem; }
.required { color: var(--red); margin-left: .15rem; }
.photo-upload-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: .5rem; }
.photo-preview { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border); flex-shrink: 0; }
.photo-preview-placeholder {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--bg-grey); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; flex-shrink: 0;
}
.form-check { display: flex; align-items: center; gap: .4rem; cursor: pointer; }
.form-check-label { font-size: .8rem; color: var(--text-muted); }
.form-check input { accent-color: var(--blue); }

/* ── CV LIST ─────────────────────────────────────────────────── */
.cv-list { display: flex; flex-direction: column; }
.cv-list__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.cv-list__item:last-child { border-bottom: none; }
.cv-list__item:hover { background: var(--bg-grey); }
.cv-list__icon { font-size: 1.5rem; flex-shrink: 0; }
.cv-list__info { flex: 1; min-width: 0; }
.cv-list__info strong { display: block; font-size: .9rem; color: var(--navy); font-weight: 600; }
.cv-list__info small { font-size: .78rem; color: var(--text-muted); }
.cv-list__actions { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }

/* ── UPLOAD ZONE ─────────────────────────────────────────────── */
.upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  padding: 2rem;
  border: 2px dashed var(--border-mid);
  border-radius: var(--radius-lg);
  background: var(--bg-grey);
  text-align: center;
  transition: all var(--transition);
}
.upload-zone:hover { border-color: var(--blue); background: var(--blue-pale); }
.upload-zone__icon { font-size: 2rem; }
.upload-zone p { font-size: .9rem; color: var(--text-muted); margin: 0; }
.upload-filename { font-size: .82rem; color: var(--navy); font-weight: 500; }

/* ── CV BUILDER ──────────────────────────────────────────────── */
.cv-builder-hero {
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 62%, #255d95 100%);
  color: #fff;
  border-color: transparent;
}
.cv-builder-hero__body {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.6rem 1.7rem;
}
.cv-builder-hero__eyebrow {
  margin: 0 0 .45rem;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
  font-weight: 700;
}
.cv-builder-hero .dash-page-title,
.cv-builder-hero .dash-page-sub {
  color: #fff;
}
.cv-builder-hero .dash-page-sub {
  max-width: 760px;
  color: rgba(255,255,255,.8);
}
.cv-builder-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.cv-builder-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.cv-builder-metric {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.2rem 1.25rem;
  box-shadow: var(--shadow-sm);
}
.cv-builder-metric__label {
  display: block;
  margin-bottom: .35rem;
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-muted);
}
.cv-builder-metric__value {
  display: block;
  margin-bottom: .2rem;
  font-family: var(--font-head);
  font-size: 1.85rem;
  line-height: 1;
  color: var(--navy);
}
.cv-builder-metric__meta {
  font-size: .82rem;
  color: var(--text-muted);
}
.cv-builder-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, .7fr);
  gap: 1.5rem;
  align-items: start;
}
.cv-builder-side {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}
.cv-builder-sidecard + .cv-builder-sidecard {
  margin-top: 1rem;
}
.cv-builder-progress {
  margin-bottom: 1rem;
}
.cv-builder-progress__bar {
  width: 100%;
  height: .75rem;
  border-radius: 999px;
  background: var(--bg-grey);
  overflow: hidden;
  margin-bottom: .45rem;
}
.cv-builder-progress__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--blue));
}
.cv-builder-progress small {
  color: var(--text-muted);
  font-size: .8rem;
}
.cv-builder-checklist {
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.cv-builder-checklist li {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: .85rem .95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
}
.cv-builder-checklist li span {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-muted);
}
.cv-builder-checklist li strong {
  font-size: .88rem;
  color: var(--navy);
}
.cv-builder-checklist li.is-done {
  border-color: #bde6cd;
  background: #f4fbf7;
}
.cv-builder-checklist li.is-done span {
  color: var(--green);
}
.cv-builder-guidance {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  padding-left: 1rem;
}
.cv-builder-guidance li,
.cv-builder-sidecopy {
  font-size: .88rem;
  line-height: 1.7;
  color: var(--text-mid);
}
.cv-builder-label-card {
  margin-bottom: 1.5rem;
}
.cv-builder-label-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr);
  gap: 1rem;
  align-items: start;
}
.cv-builder-standards-card {
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fffdf8 0%, #fff7e6 100%);
}
.cv-builder-standards-card strong {
  display: block;
  margin-bottom: .45rem;
  color: var(--navy);
}
.cv-builder-standards-card p {
  margin: 0;
  font-size: .86rem;
  line-height: 1.65;
  color: var(--text-mid);
}
.builder-section {
  margin-bottom: 1.5rem;
}
.builder-section__head {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.builder-section__head h2 { font-size: 1rem; font-weight: 700; margin: 0; flex: 1; }
.builder-section__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  padding: .35rem .65rem;
  border-radius: 999px;
  background: var(--blue-pale);
  color: var(--blue);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.builder-save-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  position: sticky;
  bottom: 0;
  background: linear-gradient(to top, var(--bg-grey) 70%, transparent);
  z-index: 10;
}

/* Repeater rows */
.repeater-row {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  background: var(--bg-white);
  transition: background var(--transition);
}
.repeater-row:last-of-type { border-bottom: none; }
.repeater-row:hover { background: #FAFBFC; }
.repeater-row--inline {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .5rem 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: nowrap;
}
.repeater-row--inline:last-of-type { border-bottom: none; }
.repeater-row__handle {
  color: var(--text-light);
  cursor: grab;
  font-size: 1rem;
  padding-top: .5rem;
  flex-shrink: 0;
  user-select: none;
}
.repeater-row__fields { flex: 1; min-width: 0; }
.repeater-row__remove {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 1rem;
  padding: .35rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: .25rem;
}
.repeater-row__remove:hover { background: var(--red-pale); color: var(--red); }
.repeater-empty {
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--text-light);
  font-size: .875rem;
}
.skills-repeater { display: flex; flex-direction: column; }
.cv-builder-inline-note {
  margin-top: .8rem;
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── APPLY FORM ──────────────────────────────────────────────── */
.apply-job-summary {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem !important;
  margin-bottom: 1.5rem;
}
.apply-job-summary__logo {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.apply-job-summary__logo img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.cv-select-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.cv-select-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: 1.1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  text-align: center;
  transition: all var(--transition);
}
.cv-select-card:hover { border-color: var(--blue); background: var(--blue-pale); }
.cv-select-card--checked { border-color: var(--blue); background: var(--blue-pale); }
.cv-select-card__icon { font-size: 1.75rem; }
.cv-select-card__name { font-size: .85rem; font-weight: 600; color: var(--navy); }

/* ── BADGE VARIANTS ──────────────────────────────────────────── */
.badge { display: inline-block; padding: .2rem .6rem; border-radius: 2rem; font-size: .72rem; font-weight: 700; font-family: var(--font-head); }
.badge-blue   { background: var(--blue-pale);  color: var(--blue); }
.badge-grey   { background: var(--bg-grey);    color: var(--text-muted); }
.badge-green  { background: var(--green-pale); color: var(--green); }
.badge-gold   { background: #FFF8E1;            color: #7A5800; }
.badge-red    { background: var(--red-pale);   color: var(--red); }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .dash-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-quick-actions { grid-template-columns: repeat(2, 1fr); }
  .cv-builder-overview { grid-template-columns: repeat(2, 1fr); }
  .cv-builder-shell { grid-template-columns: 1fr; }
  .cv-builder-side { position: static; }
}
@media (max-width: 900px) {
  .dash-layout { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
  .dash-main { padding: 1.5rem 1.25rem 3rem; }
  .dash-two-col { grid-template-columns: 1fr; }
  .cv-builder-hero__body,
  .cv-builder-label-grid { display: grid; grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .dash-stats-grid { grid-template-columns: 1fr 1fr; }
  .form-row-2, .form-row-3 { grid-template-columns: 1fr; }
  .apps-table th:nth-child(3),
  .apps-table td:nth-child(3),
  .apps-table th:nth-child(4),
  .apps-table td:nth-child(4) { display: none; }
  .cv-select-grid { grid-template-columns: 1fr 1fr; }
  .cv-builder-overview { grid-template-columns: 1fr; }
  .cv-builder-hero__actions,
  .builder-save-bar { flex-direction: column; align-items: stretch; }
  .builder-section__head { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .dash-stats-grid { grid-template-columns: 1fr; }
  .dash-quick-actions { grid-template-columns: 1fr 1fr; }
}

/* ── EMPLOYER DASHBOARD ADDITIONS ────────────────────────────── */

/* Stats row */
.dash-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.dash-stat-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.dash-stat-card__value {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.dash-stat-card__label {
  font-size: .78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* Data table inside dash-card */
.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
}
.dash-table th {
  text-align: left;
  padding: .75rem 1.25rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  background: var(--bg-grey);
}
.dash-table td {
  padding: .9rem 1.25rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  color: var(--text-mid);
}
.dash-table tr:last-child td { border-bottom: none; }
.dash-table tr:hover td { background: var(--bg-grey); }

/* Coloured dash-card variants */
.dash-card--success { border-left: 4px solid var(--green); }
.dash-card--warning { border-left: 4px solid var(--gold); }
.dash-card--blue    { border-left: 4px solid var(--blue); }
.dash-card--danger  { border-left: 4px solid var(--red); }

/* Trial badge in sidebar */
.dash-sidebar__trial {
  margin: 0 1rem .75rem;
  padding: .5rem .75rem;
  border-radius: var(--radius-sm);
  font-size: .78rem;
  font-weight: 600;
  background: var(--blue-pale);
  color: var(--blue);
}
.dash-sidebar__trial--warn     { background: #FFF8E1; color: #7A5800; }
.dash-sidebar__trial--expired  { background: var(--red-pale); color: var(--red); }
.dash-sidebar__trial a         { color: inherit; text-decoration: underline; }

/* Responsive */
@media (max-width: 768px) {
  .dash-stats-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .dash-stats-row { grid-template-columns: 1fr; }
  .dash-table th, .dash-table td { padding: .65rem .85rem; }
}

/* Employer jobs and applicant review */
.employer-jobs-filter {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr) auto;
  gap: 1rem;
  align-items: end;
}
.employer-jobs-filter__actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}
.employer-job-title {
  display: block;
  color: var(--navy);
  font-size: .95rem;
  font-weight: 700;
}
.employer-job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .8rem;
  margin-top: .35rem;
  font-size: .78rem;
  color: var(--text-muted);
}
.employer-job-meta span {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
}
.employer-job-actions {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.employer-job-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.employer-job-summary__label {
  margin-bottom: .35rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.employer-applicant-grid {
  display: grid;
  gap: 1rem;
}
.employer-applicant-card__head {
  align-items: flex-start;
  gap: 1rem;
}
.employer-applicant-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem 1rem;
  margin-bottom: 1rem;
  font-size: .88rem;
  color: var(--text-mid);
}
.employer-applicant-meta a {
  color: var(--blue);
}
.employer-applicant-docs {
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fafcff;
}
.employer-applicant-docs strong,
.employer-applicant-message strong {
  display: block;
  margin-bottom: .5rem;
  color: var(--navy);
  font-size: .85rem;
}
.employer-applicant-docs__links {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}
.employer-applicant-message {
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: var(--bg-grey);
  color: var(--text-mid);
}
.employer-applicant-message p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.7;
}
.employer-review-form {
  width: 100%;
  display: grid;
  gap: 1rem;
}
.employer-review-form__note {
  min-height: 108px;
}
.employer-review-actions {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .employer-jobs-filter,
  .employer-job-summary,
  .employer-applicant-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .employer-jobs-filter__actions,
  .employer-review-actions,
  .employer-applicant-docs__links {
    flex-direction: column;
  }
}
