/* ═══════════════════════════════════════════════════════════════════
   TalentSwipe — Design System
   Purple/Violet gradient theme | Tinder-inspired swipe UI
═══════════════════════════════════════════════════════════════════ */

/* ── CSS Variables ────────────────────────────────────────────────── */
:root {
  --primary:        #7c3aed;
  --primary-light:  #a78bfa;
  --primary-dark:   #5b21b6;
  --accent:         #f43f88;
  --accent-light:   #f9a8d4;
  --success:        #10b981;
  --warning:        #f59e0b;
  --danger:         #ef4444;
  --info:           #3b82f6;

  --gray-50:        #fafafa;
  --gray-100:       #f4f4f5;
  --gray-200:       #e4e4e7;
  --gray-300:       #d1d5db;
  --gray-400:       #9ca3af;
  --gray-500:       #6b7280;
  --gray-600:       #4b5563;
  --gray-700:       #374151;
  --gray-800:       #1f2937;
  --gray-900:       #111827;

  --bg:             #f8f7ff;
  --surface:        #ffffff;
  --surface-2:      #f3f0ff;
  --border:         #e5e7eb;
  --text:           #1f1735;
  --text-muted:     #6b7280;

  --radius-sm:      8px;
  --radius:         14px;
  --radius-lg:      20px;
  --radius-xl:      28px;
  --radius-full:    9999px;

  --shadow-sm:      0 1px 3px rgba(0,0,0,.08);
  --shadow:         0 4px 16px rgba(0,0,0,.10);
  --shadow-md:      0 8px 30px rgba(0,0,0,.12);
  --shadow-lg:      0 20px 60px rgba(0,0,0,.15);
  --shadow-primary: 0 8px 25px rgba(124,58,237,.30);

  --font:           'Inter', system-ui, sans-serif;
  --nav-h:          64px;
  --transition:     .2s ease;
}

/* ── Reset ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; display: block; }
input, textarea, select, button { font-family: inherit; }

/* ── Typography ──────────────────────────────────────────────────── */
h1 { font-size: 2.5rem; font-weight: 800; line-height: 1.1; }
h2 { font-size: 1.875rem; font-weight: 700; }
h3 { font-size: 1.375rem; font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }
h5 { font-size: 1rem; font-weight: 600; }
p  { line-height: 1.65; color: var(--text-muted); }

/* ── Layout ──────────────────────────────────────────────────────── */
.main-content { min-height: calc(100vh - var(--nav-h)); }
.container     { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container--sm { max-width: 600px;  margin: 0 auto; padding: 0 1.5rem; }
.container--md { max-width: 900px;  margin: 0 auto; padding: 0 1.5rem; }
.section       { padding: 4rem 0; }

/* ── Top Nav ─────────────────────────────────────────────────────── */
.topnav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  gap: 2rem;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.95);
}
.topnav__brand {
  display: flex; align-items: center; gap: .5rem;
  font-weight: 800; font-size: 1.2rem; color: var(--primary);
  text-decoration: none; flex-shrink: 0;
}
.topnav__links {
  display: flex; align-items: center; gap: .25rem; flex: 1;
}
.topnav__link {
  display: flex; align-items: center; gap: .4rem;
  padding: .5rem .9rem; border-radius: var(--radius-full);
  color: var(--text-muted); font-size: .9rem; font-weight: 500;
  transition: var(--transition);
}
.topnav__link svg { width: 18px; height: 18px; }
.topnav__link:hover, .topnav__link.active {
  background: var(--surface-2); color: var(--primary);
}
.topnav__right { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.topnav__icon-btn {
  position: relative; background: none; border: none; cursor: pointer;
  color: var(--text-muted); padding: .5rem; border-radius: var(--radius-full);
  display: flex; align-items: center;
}
.topnav__icon-btn svg { width: 22px; height: 22px; }
.topnav__icon-btn:hover { background: var(--surface-2); color: var(--primary); }
.topnav__avatar-wrap { position: relative; }
.topnav__avatar-btn {
  background: none; border: none; cursor: pointer; padding: 0;
  border-radius: 50%;
}
.topnav__avatar {
  width: 36px; height: 36px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--primary-light);
}

/* ── Dropdown ────────────────────────────────────────────────────── */
.dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-md);
  min-width: 160px; padding: .4rem;
  opacity: 0; pointer-events: none; transform: translateY(-8px);
  transition: var(--transition);
}
.dropdown.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.dropdown a {
  display: block; padding: .6rem 1rem; border-radius: var(--radius-sm);
  color: var(--text); font-size: .9rem;
  transition: var(--transition);
}
.dropdown a:hover { background: var(--surface-2); color: var(--primary); }

/* ── Badge ───────────────────────────────────────────────────────── */
.badge {
  position: absolute; top: 0; right: 0;
  background: var(--accent); color: #fff;
  font-size: .65rem; font-weight: 700;
  min-width: 18px; height: 18px; border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; padding: .75rem 1.75rem;
  border-radius: var(--radius-full); font-size: .95rem; font-weight: 600;
  cursor: pointer; border: none; transition: var(--transition);
  text-decoration: none; white-space: nowrap;
}
.btn--primary {
  background: var(--primary); color: #fff;
  box-shadow: var(--shadow-primary);
}
.btn--primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }
.btn--accent  { background: var(--accent); color: #fff; }
.btn--accent:hover  { background: #e01070; color: #fff; transform: translateY(-1px); }
.btn--outline {
  background: transparent; color: var(--primary);
  border: 2px solid var(--primary);
}
.btn--outline:hover { background: var(--primary); color: #fff; }
.btn--ghost { background: var(--surface-2); color: var(--primary); }
.btn--ghost:hover { background: var(--primary-light); color: #fff; }
.btn--danger { background: var(--danger); color: #fff; }
.btn--sm  { padding: .5rem 1.25rem; font-size: .85rem; }
.btn--lg  { padding: 1rem 2.5rem; font-size: 1.1rem; }
.btn--block { width: 100%; }
.btn--icon {
  width: 44px; height: 44px; padding: 0; border-radius: 50%;
}

/* ── Cards ───────────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.card--hover {
  transition: var(--transition);
  cursor: pointer;
}
.card--hover:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* ── Forms ───────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block; font-size: .875rem; font-weight: 600;
  color: var(--text); margin-bottom: .4rem;
}
.form-label .req { color: var(--accent); margin-left: 2px; }
.form-control {
  width: 100%; padding: .75rem 1rem;
  background: var(--surface); color: var(--text);
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: .95rem; transition: var(--transition); outline: none;
}
.form-control:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(124,58,237,.12);
}
.form-control::placeholder { color: var(--gray-400); }
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control { cursor: pointer; }
.form-hint { font-size: .8rem; color: var(--text-muted); margin-top: .3rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── Alerts ──────────────────────────────────────────────────────── */
.alert {
  padding: .875rem 1.25rem; border-radius: var(--radius);
  font-size: .9rem; font-weight: 500; margin-bottom: 1rem;
}
.alert--success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert--error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.alert--info    { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }
.alert--warning { background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; }

/* ── Tags / Skills ───────────────────────────────────────────────── */
.tag {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .25rem .75rem; border-radius: var(--radius-full);
  font-size: .8rem; font-weight: 500; background: var(--surface-2);
  color: var(--primary); border: 1px solid var(--primary-light);
}
.tag--gray { background: var(--gray-100); color: var(--gray-600); border-color: var(--gray-200); }
.tag--accent { background: #ffe4f0; color: var(--accent); border-color: var(--accent-light); }

/* ── ════════════════════════════════════════════
   SWIPE CARD UI (Tinder-style)
═══════════════════════════════════════════════ */

.swipe-screen {
  display: flex; flex-direction: column; align-items: center;
  min-height: calc(100vh - var(--nav-h));
  padding-top: var(--nav-h);
  background: linear-gradient(135deg, #f8f7ff 0%, #ede9fe 100%);
}

.swipe-header {
  width: 100%; max-width: 420px; padding: 1.5rem 1.5rem .5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.swipe-header h2 { font-size: 1.4rem; font-weight: 700; }
.swipe-location-pill {
  display: flex; align-items: center; gap: .4rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-full); padding: .4rem .9rem;
  font-size: .85rem; color: var(--text-muted); cursor: pointer;
}
.swipe-location-pill svg { width: 14px; height: 14px; color: var(--primary); }

/* Stack of cards */
.swipe-stack {
  position: relative;
  width: 100%; max-width: 400px;
  height: 580px;
  margin: 1rem auto;
  flex-shrink: 0;
}

/* Individual swipe card */
.swipe-card {
  position: absolute;
  width: 100%; height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--surface);
  cursor: grab;
  user-select: none;
  transform-origin: bottom center;
  transition: box-shadow .2s ease;
}
.swipe-card:nth-child(2) { transform: scale(.96) translateY(12px); z-index: 1; }
.swipe-card:nth-child(3) { transform: scale(.92) translateY(24px); z-index: 0; }
.swipe-card:first-child  { z-index: 2; }
.swipe-card.is-dragging  { cursor: grabbing; transition: none; }
.swipe-card.swipe-right  { animation: flyRight .4s ease forwards; }
.swipe-card.swipe-left   { animation: flyLeft  .4s ease forwards; }

@keyframes flyRight {
  to { transform: translateX(120%) rotate(30deg); opacity: 0; }
}
@keyframes flyLeft {
  to { transform: translateX(-120%) rotate(-30deg); opacity: 0; }
}

/* Card gradient overlay */
.swipe-card__img {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.swipe-card__img img {
  width: 100%; height: 100%; object-fit: cover; opacity: .9;
}
.swipe-card__company-logo {
  width: 80px; height: 80px; border-radius: var(--radius-lg);
  object-fit: contain; background: #fff; padding: .5rem;
}
.swipe-card__overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(15,7,40,.95) 0%, rgba(15,7,40,.6) 60%, transparent 100%);
  padding: 2rem 1.5rem 1.5rem;
}
.swipe-card__badge {
  position: absolute; top: 1.25rem; right: 1.25rem;
  background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius-full);
  padding: .3rem .8rem; font-size: .8rem; color: #fff; font-weight: 500;
}
.swipe-card__match {
  position: absolute; top: 1.25rem; left: 1.25rem;
  background: var(--success); color: #fff;
  border-radius: var(--radius-full); padding: .3rem .8rem;
  font-size: .75rem; font-weight: 700;
}
.swipe-card__company { font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: .25rem; }
.swipe-card__title   { font-size: 1.4rem; font-weight: 700; color: #fff; line-height: 1.2; }
.swipe-card__meta {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem;
}
.swipe-card__meta-item {
  display: flex; align-items: center; gap: .3rem;
  font-size: .78rem; color: rgba(255,255,255,.75);
}
.swipe-card__meta-item svg { width: 13px; height: 13px; }
.swipe-card__skills {
  display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .75rem;
}
.swipe-card__skill-tag {
  padding: .2rem .65rem; border-radius: var(--radius-full);
  background: rgba(255,255,255,.15); backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.2); color: #fff;
  font-size: .72rem; font-weight: 500;
}

/* Swipe feedback overlays */
.swipe-feedback-yes, .swipe-feedback-no {
  position: absolute; top: 2rem; padding: .5rem 1.25rem;
  border-radius: var(--radius); font-size: 1.4rem; font-weight: 800;
  letter-spacing: .05em; opacity: 0; pointer-events: none;
  border: 3px solid;
}
.swipe-feedback-yes { right: 1.5rem; color: var(--success); border-color: var(--success); transform: rotate(15deg); }
.swipe-feedback-no  { left:  1.5rem; color: var(--accent);  border-color: var(--accent);  transform: rotate(-15deg); }

/* Action buttons */
.swipe-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 1.25rem; padding: 1rem 0 2rem;
}
.swipe-btn {
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; border-radius: 50%;
  transition: transform .15s ease, box-shadow .15s ease;
  flex-shrink: 0;
}
.swipe-btn:hover { transform: scale(1.08); }
.swipe-btn:active { transform: scale(.94); }
.swipe-btn--skip {
  width: 60px; height: 60px;
  background: var(--surface); color: var(--accent);
  box-shadow: 0 4px 20px rgba(244,63,136,.25);
  font-size: 1.5rem;
}
.swipe-btn--apply {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  box-shadow: 0 6px 25px rgba(124,58,237,.40);
  font-size: 1.75rem;
}
.swipe-btn--super {
  width: 52px; height: 52px;
  background: var(--surface); color: var(--warning);
  box-shadow: 0 4px 20px rgba(245,158,11,.25);
  font-size: 1.3rem;
}

/* Progress bar */
.swipe-progress-wrap { width: 100%; max-width: 400px; padding: 0 1.5rem; }
.swipe-progress-bar {
  height: 4px; background: var(--gray-200); border-radius: var(--radius-full); overflow: hidden;
}
.swipe-progress-fill {
  height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-full); transition: width .4s ease;
}

/* Empty state */
.swipe-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 580px; text-align: center; padding: 2rem;
}
.swipe-empty__icon { font-size: 4rem; margin-bottom: 1rem; }
.swipe-empty h3 { font-size: 1.4rem; margin-bottom: .5rem; color: var(--text); }
.swipe-empty p  { font-size: .95rem; max-width: 280px; }

/* ── Landing Page ─────────────────────────────────────────────────── */
.landing-hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #1a0533 0%, #2d0a7a 50%, #0d0d1a 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: 2rem 1.5rem;
}
.landing-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.landing-hero__content { text-align: center; max-width: 720px; position: relative; z-index: 1; }
.landing-hero__eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(124,58,237,.3); border: 1px solid rgba(124,58,237,.5);
  border-radius: var(--radius-full); padding: .4rem 1rem;
  font-size: .85rem; color: var(--primary-light); font-weight: 500;
  margin-bottom: 1.5rem;
}
.landing-hero h1 {
  color: #fff; font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1.25rem; line-height: 1.1;
}
.landing-hero h1 span {
  background: linear-gradient(90deg, var(--primary-light), var(--accent-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.landing-hero p {
  color: rgba(255,255,255,.7); font-size: 1.15rem;
  max-width: 560px; margin: 0 auto 2.5rem;
}
.landing-hero__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Floating phone mockup */
.landing-phone {
  margin-top: 3rem;
  position: relative; max-width: 320px; margin-left: auto; margin-right: auto;
}
.landing-phone__frame {
  background: linear-gradient(135deg, rgba(124,58,237,.3), rgba(244,63,136,.3));
  border: 1px solid rgba(255,255,255,.15); border-radius: 36px; padding: 12px;
  backdrop-filter: blur(20px);
}
.landing-phone__screen {
  background: var(--surface); border-radius: 26px; overflow: hidden;
  height: 520px; position: relative;
}

/* Feature cards */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  text-align: center; transition: var(--transition);
}
.feature-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.feature-card__icon {
  width: 60px; height: 60px; border-radius: var(--radius-lg);
  background: var(--surface-2); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem; font-size: 1.75rem;
}
.feature-card h3 { font-size: 1.1rem; margin-bottom: .5rem; color: var(--text); }
.feature-card p  { font-size: .9rem; }

/* ── Auth Pages ──────────────────────────────────────────────────── */
.auth-page {
  min-height: 100vh; display: flex;
  background: linear-gradient(135deg, #1a0533 0%, #2d0a7a 60%, #0d0d1a 100%);
}
.auth-card {
  width: 100%; max-width: 480px; margin: auto;
  background: var(--surface); border-radius: var(--radius-xl);
  padding: 2.5rem; box-shadow: var(--shadow-lg);
}
.auth-logo {
  display: flex; align-items: center; gap: .6rem;
  justify-content: center; margin-bottom: 2rem;
  font-weight: 800; font-size: 1.5rem; color: var(--primary);
}
.auth-card h2 { text-align: center; font-size: 1.6rem; margin-bottom: .5rem; }
.auth-card__sub { text-align: center; color: var(--text-muted); font-size: .95rem; margin-bottom: 2rem; }
.auth-divider {
  display: flex; align-items: center; gap: 1rem;
  margin: 1.5rem 0; color: var(--text-muted); font-size: .85rem;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.auth-footer { text-align: center; margin-top: 1.5rem; font-size: .9rem; color: var(--text-muted); }
.auth-footer a { color: var(--primary); font-weight: 600; }

/* Role selector */
.role-selector { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.role-option {
  border: 2px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.25rem 1rem; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  transition: var(--transition); text-align: center;
}
.role-option:hover { border-color: var(--primary-light); background: var(--surface-2); }
.role-option input[type=radio] { display: none; }
.role-option input[type=radio]:checked ~ * { color: var(--primary); }
.role-option.selected { border-color: var(--primary); background: var(--surface-2); }
.role-option__icon { font-size: 2rem; }
.role-option__label { font-size: .9rem; font-weight: 600; color: var(--text); }

/* ── Profile Page ────────────────────────────────────────────────── */
.profile-page { padding-top: calc(var(--nav-h) + 2rem); }
.profile-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-radius: var(--radius-xl); padding: 2rem; margin-bottom: 1.5rem;
  display: flex; align-items: flex-end; gap: 1.5rem;
  position: relative; overflow: hidden; min-height: 200px;
}
.profile-header::after {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1'/%3E%3C/svg%3E") center/200px;
  pointer-events: none;
}
.profile-avatar {
  width: 100px; height: 100px; border-radius: 50%;
  object-fit: cover; border: 4px solid rgba(255,255,255,.3);
  flex-shrink: 0; background: rgba(255,255,255,.2);
  position: relative; z-index: 1;
}
.profile-header-info { flex: 1; position: relative; z-index: 1; }
.profile-header-info h2 { color: #fff; font-size: 1.6rem; }
.profile-header-info p  { color: rgba(255,255,255,.8); font-size: .95rem; margin-top: .25rem; }
.profile-completion {
  position: absolute; top: 1.25rem; right: 1.25rem;
  background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius);
  padding: .5rem 1rem; font-size: .85rem; color: #fff; font-weight: 600;
  z-index: 1;
}

.profile-section {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); margin-bottom: 1.25rem; overflow: hidden;
}
.profile-section__header {
  padding: 1.25rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.profile-section__header h3 { font-size: 1rem; font-weight: 600; }
.profile-section__body { padding: 1.25rem 1.5rem; }
.profile-timeline-item {
  display: flex; gap: 1rem; padding: 1rem 0;
  border-bottom: 1px solid var(--gray-100);
}
.profile-timeline-item:last-child { border-bottom: none; padding-bottom: 0; }
.profile-timeline-dot {
  width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--surface-2); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
}
.profile-timeline-content h4 { font-size: .95rem; font-weight: 600; margin-bottom: .2rem; }
.profile-timeline-content p  { font-size: .85rem; color: var(--text-muted); }

/* ── Dashboard Stats ─────────────────────────────────────────────── */
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem; margin-bottom: 2rem;
}
.stat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem;
}
.stat-card__label { font-size: .85rem; color: var(--text-muted); font-weight: 500; margin-bottom: .5rem; }
.stat-card__value { font-size: 2rem; font-weight: 800; color: var(--text); }
.stat-card__change { font-size: .8rem; margin-top: .25rem; }
.stat-card__change.up   { color: var(--success); }
.stat-card__change.down { color: var(--danger); }
.stat-card--primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border-color: transparent; }
.stat-card--primary .stat-card__label, .stat-card--primary .stat-card__value { color: #fff; }

/* ── Job List ─────────────────────────────────────────────────────── */
.job-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.25rem 1.5rem;
  display: flex; align-items: center; gap: 1rem;
  transition: var(--transition); margin-bottom: 1rem;
}
.job-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow); transform: translateY(-1px); }
.job-card__logo {
  width: 52px; height: 52px; border-radius: var(--radius);
  object-fit: contain; border: 1px solid var(--border);
  background: var(--gray-50); padding: 4px; flex-shrink: 0;
}
.job-card__info { flex: 1; min-width: 0; }
.job-card__title { font-weight: 600; font-size: 1rem; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.job-card__company { font-size: .85rem; color: var(--text-muted); margin-top: .15rem; }
.job-card__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }
.job-card__actions { flex-shrink: 0; display: flex; gap: .5rem; }

/* Application status badges */
.status-badge {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .25rem .75rem; border-radius: var(--radius-full);
  font-size: .78rem; font-weight: 600;
}
.status-badge--applied     { background: #dbeafe; color: #1e40af; }
.status-badge--viewed      { background: #fef3c7; color: #92400e; }
.status-badge--shortlisted { background: #d1fae5; color: #065f46; }
.status-badge--interview   { background: #ede9fe; color: #5b21b6; }
.status-badge--offer       { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.status-badge--rejected    { background: #fee2e2; color: #991b1b; }
.status-badge--withdrawn   { background: var(--gray-100); color: var(--gray-600); }

/* ── Admin Panel ─────────────────────────────────────────────────── */
.admin-layout { display: flex; min-height: 100vh; padding-top: var(--nav-h); }
.admin-sidebar {
  width: 240px; flex-shrink: 0;
  background: var(--surface); border-right: 1px solid var(--border);
  padding: 1.5rem 1rem;
  position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}
.admin-sidebar__section { margin-bottom: 1.5rem; }
.admin-sidebar__label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); font-weight: 600; padding: 0 .75rem; margin-bottom: .5rem; }
.admin-nav-item {
  display: flex; align-items: center; gap: .75rem;
  padding: .65rem .75rem; border-radius: var(--radius);
  color: var(--text-muted); font-size: .9rem; font-weight: 500;
  transition: var(--transition); cursor: pointer; text-decoration: none;
}
.admin-nav-item svg { width: 18px; height: 18px; flex-shrink: 0; }
.admin-nav-item:hover, .admin-nav-item.active { background: var(--surface-2); color: var(--primary); }
.admin-main { flex: 1; padding: 2rem; overflow-x: hidden; }
.admin-page-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 2rem; }

/* Data table */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  text-align: left; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em;
  color: var(--text-muted); font-weight: 600; padding: .75rem 1rem;
  border-bottom: 2px solid var(--border); white-space: nowrap;
}
.data-table td {
  padding: 1rem; border-bottom: 1px solid var(--gray-100);
  font-size: .9rem; vertical-align: middle;
}
.data-table tbody tr:hover { background: var(--gray-50); }
.data-table--card { background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }

/* ── Skill Selector (onboarding) ─────────────────────────────────── */
.skill-grid { display: flex; flex-wrap: wrap; gap: .6rem; }
.skill-pill {
  padding: .45rem 1rem; border-radius: var(--radius-full);
  border: 1.5px solid var(--border); background: var(--surface);
  font-size: .85rem; font-weight: 500; cursor: pointer;
  transition: var(--transition); color: var(--text);
}
.skill-pill:hover { border-color: var(--primary); color: var(--primary); }
.skill-pill.selected { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Industry / field cards */
.interest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1rem; }
.interest-card {
  border: 1.5px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.25rem .75rem; text-align: center; cursor: pointer;
  transition: var(--transition); background: var(--surface);
}
.interest-card:hover { border-color: var(--primary-light); }
.interest-card.selected { border-color: var(--primary); background: var(--surface-2); }
.interest-card__icon { font-size: 2rem; margin-bottom: .5rem; }
.interest-card__label { font-size: .8rem; font-weight: 600; color: var(--text); }
.interest-card__sub   { font-size: .72rem; color: var(--text-muted); }

/* ── Progress steps ──────────────────────────────────────────────── */
.steps {
  display: flex; align-items: center; gap: 0;
  margin-bottom: 2.5rem; justify-content: center;
}
.step {
  display: flex; align-items: center; gap: 0;
}
.step__dot {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--gray-200); color: var(--gray-500);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700; transition: var(--transition);
}
.step.active .step__dot { background: var(--primary); color: #fff; }
.step.done .step__dot   { background: var(--success); color: #fff; }
.step__line { width: 60px; height: 2px; background: var(--gray-200); }
.step.done .step__line  { background: var(--success); }

/* ── Upload zone ─────────────────────────────────────────────────── */
.upload-zone {
  border: 2px dashed var(--border); border-radius: var(--radius-lg);
  padding: 2.5rem; text-align: center; cursor: pointer;
  transition: var(--transition); background: var(--gray-50);
}
.upload-zone:hover, .upload-zone.drag-over {
  border-color: var(--primary); background: var(--surface-2);
}
.upload-zone__icon { font-size: 2.5rem; margin-bottom: .75rem; }
.upload-zone p { font-size: .9rem; }
.upload-zone span { color: var(--primary); font-weight: 600; }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .swipe-stack { max-width: 340px; height: 520px; }
  .admin-sidebar { display: none; }
  .topnav__links { gap: 0; }
  .topnav__link span { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .profile-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .swipe-stack { max-width: 100%; margin: 0; border-radius: 0; }
  .swipe-card  { border-radius: 24px; }
  .auth-card   { border-radius: var(--radius-lg); margin: 1rem; }
}

/* ── Animations ──────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.05); }
}
.animate-fade-up { animation: fadeUp .5s ease; }

/* ── Utility ─────────────────────────────────────────────────────── */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }
.text-primary { color: var(--primary); }
.text-sm { font-size: .875rem; }
.fw-600  { font-weight: 600; }
.fw-700  { font-weight: 700; }
.hidden  { display: none; }
.w-full  { width: 100%; }
