/* ═══════════════════════════════════════════════════════════════
   CARE ON CAREERS — USER MODULE REDESIGN
   Monster.com-inspired Professional Purple/Blue Theme
   Font: Poppins + Inter via Google Fonts
   ═══════════════════════════════════════════════════════════════ */

/* ── Google Fonts Import ── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* ════════════════════════════════
   DESIGN TOKENS
   ════════════════════════════════ */
:root {
  /* Monster.com-inspired purple/blue palette */
  --m-purple:      #6a00f4;
  --m-purple-mid:  #7c3aed;
  --m-purple-soft: #8b5cf6;
  --m-indigo:      #4f46e5;
  --m-blue:        #1d4ed8;
  --m-blue-soft:   #3b82f6;

  /* Neutrals */
  --m-dark:        #0f0e17;
  --m-heading:     #1a1a2e;
  --m-text:        #374151;
  --m-muted:       #6b7280;
  --m-border:      #e5e7eb;
  --m-bg:          #f7f8fc;
  --m-white:       #ffffff;

  /* Status colours */
  --m-green:       #10b981;
  --m-amber:       #f59e0b;
  --m-red:         #ef4444;
  --m-cyan:        #06b6d4;

  /* Gradients */
  --grad-hero:     linear-gradient(135deg, #1a1a2e 0%, #4f46e5 55%, #7c3aed 100%);
  --grad-card:     linear-gradient(135deg, #6a00f4 0%, #4f46e5 100%);
  --grad-warm:     linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #a855f7 100%);

  /* Spacing / radius */
  --radius-sm:     8px;
  --radius-md:     12px;
  --radius-lg:     16px;
  --radius-xl:     24px;
  --radius-full:   9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --shadow-lg:  0 12px 32px rgba(106,0,244,.12), 0 4px 12px rgba(0,0,0,.06);
  --shadow-xl:  0 20px 48px rgba(106,0,244,.18), 0 8px 20px rgba(0,0,0,.08);
  --shadow-btn: 0 4px 14px rgba(106,0,244,.35);
}

/* ════════════════════════════════
   BASE RESETS
   ════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', 'Poppins', system-ui, sans-serif;
  background: var(--m-bg);
  color: var(--m-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Poppins', sans-serif;
  color: var(--m-heading);
  font-weight: 700;
  line-height: 1.25;
}

a { color: var(--m-indigo); transition: color .18s; }
a:hover { color: var(--m-purple); text-decoration: none; }

.form-control:focus {
  border-color: var(--m-purple) !important;
  box-shadow: 0 0 0 3px rgba(106,0,244,.12) !important;
  outline: none;
}

/* ════════════════════════════════
   SECTION PADDING OVERRIDE
   ════════════════════════════════ */
#content.section-padding { padding: 56px 0; }

/* ════════════════════════════════
   PAGE HEADER (Register page banner)
   ════════════════════════════════ */
.page-header {
  background: var(--grad-hero);
  padding: 28px 0 22px;
  margin-bottom: 0;
}
.page-header .inner-header h3 {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

/* ════════════════════════════════
   ① LOGIN & REGISTER — AUTH PAGES
   ════════════════════════════════ */
#content.section-padding .row.align-items-stretch {
  min-height: calc(100vh - 200px);
  align-items: center !important;
  padding: 20px 0;
}

/* LEFT SIDE PANEL */
.auth-side {
  background: var(--grad-hero);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  margin-top: 0;
  height: 100%;
  min-height: 460px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.auth-side::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.auth-side::after {
  content: '';
  position: absolute;
  bottom: -50px; left: -50px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.auth-side h2 {
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
  font-family: 'Poppins', sans-serif;
}
.auth-side p {
  color: rgba(255,255,255,.82);
  font-size: 15px;
  position: relative;
  z-index: 1;
}
.auth-side ul {
  list-style: none;
  padding: 0;
  margin-top: 22px;
  position: relative;
  z-index: 1;
}
.auth-side ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  font-size: 15px;
  color: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.auth-side ul li:last-child { border-bottom: none; }
.auth-side ul li i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
  backdrop-filter: blur(6px);
}

/* RIGHT SIDE CARD */
.auth-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 44px 40px;
  margin-top: 0;
  border: 1px solid rgba(106,0,244,.06);
  position: relative;
}
.auth-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-card);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.auth-card h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--m-heading);
  margin-bottom: 6px;
  font-family: 'Poppins', sans-serif;
}
.auth-card .lead {
  color: var(--m-muted);
  font-size: 14px;
  margin-bottom: 28px;
}
.auth-card .lead a {
  color: var(--m-purple);
  font-weight: 600;
}
.auth-card .lead a:hover { text-decoration: underline; }

/* Input icons */
.auth-card .input-icon { position: relative; margin-bottom: 4px; }
.auth-card .input-icon i {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: var(--m-purple-soft);
  font-size: 17px;
  pointer-events: none;
  z-index: 2;
}
.auth-card .form-control {
  height: 50px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--m-border);
  padding-left: 65px;
  font-size: 15px;
  color: var(--m-heading);
  transition: border-color .2s, box-shadow .2s;
  background: #fafbfe;
}
.auth-card .form-control::placeholder { color: #b0b7c3; }
.auth-card .form-control:focus {
  background: #fff;
  border-color: var(--m-purple) !important;
  box-shadow: 0 0 0 4px rgba(106,0,244,.1) !important;
}

/* Checkbox row */
.auth-card .form-check-label {
  font-size: 14px;
  color: var(--m-text);
  cursor: pointer;
}
.auth-card .form-check-input { accent-color: var(--m-purple); }

/* Submit button */
.auth-card .btn-common.log-btn,
.auth-card button[type="submit"] {
  width: 100%;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--grad-card);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: transform .18s, box-shadow .18s, opacity .18s;
  letter-spacing: .3px;
}
.auth-card .btn-common.log-btn:hover,
.auth-card button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(106,0,244,.45);
  opacity: .96;
}

/* Alerts */
.auth-card .alert {
  border-radius: var(--radius-sm);
  font-size: 14px;
  border: none;
  margin-bottom: 18px;
}
.auth-card .alert-danger {
  background: #fef2f2;
  color: var(--m-red);
  border-left: 4px solid var(--m-red);
}
.auth-card .alert-success {
  background: #f0fdf4;
  color: var(--m-green);
  border-left: 4px solid var(--m-green);
}

/* ════════════════════════════════
   ② DASHBOARD
   ════════════════════════════════ */
.dash-wrap { padding: 36px 0 60px; }

/* Welcome banner */
.dash-hero {
  background: var(--grad-hero);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  margin-bottom: 30px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.dash-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.dash-hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: 200px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.dash-hero h2 {
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  margin: 0;
  position: relative;
  z-index: 1;
}
.dash-hero p {
  color: rgba(255,255,255,.8);
  margin: 8px 0 0;
  font-size: 15px;
  position: relative;
  z-index: 1;
}
.dash-hero .actions {
  margin-top: 22px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.dash-hero .actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all .2s;
}
.dash-hero .actions a:first-child {
  background: #fff;
  color: var(--m-purple);
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.dash-hero .actions a:first-child:hover {
  background: #f0e6ff;
  transform: translateY(-1px);
}
.dash-hero .actions a:last-child {
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.35);
  backdrop-filter: blur(8px);
}
.dash-hero .actions a:last-child:hover {
  background: rgba(255,255,255,.25);
  transform: translateY(-1px);
}

/* Stat cards */
.dash-wrap .card {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform .2s, box-shadow .2s;
  overflow: hidden;
}
.dash-wrap .card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.dash-wrap .card-body { padding: 24px 20px; }
.dash-wrap .card-body .h3 {
  font-size: 32px;
  font-weight: 800;
  color: var(--m-heading);
  font-family: 'Poppins', sans-serif;
}
.dash-wrap .card-body .small.text-muted {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--m-muted) !important;
}

/* Dashboard panels */
.dash-wrap .card-header {
  background: #fff;
  border-bottom: 2px solid var(--m-bg);
  padding: 18px 22px;
  font-family: 'Poppins', sans-serif;
}
.dash-wrap .card-header strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--m-heading);
}
.dash-wrap .card-header a.small {
  color: var(--m-purple);
  font-weight: 600;
  font-size: 13px;
}

/* List group items */
.dash-wrap .list-group-item {
  border: none;
  border-bottom: 1px solid var(--m-bg);
  padding: 16px 22px;
  transition: background .15s;
}
.dash-wrap .list-group-item:hover { background: #fafbfe; }
.dash-wrap .list-group-item:last-child { border-bottom: none; }
.dash-wrap .list-group-item .fw-semibold a {
  color: var(--m-heading);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
.dash-wrap .list-group-item .fw-semibold a:hover { color: var(--m-purple); }
.dash-wrap .list-group-item .small.text-muted {
  font-size: 12px;
  color: var(--m-muted) !important;
  margin-top: 3px;
}

/* Status badges on dashboard */
.dash-wrap .badge {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  letter-spacing: .3px;
}

/* ════════════════════════════════
   ③ JOB LISTING PAGE
   ════════════════════════════════ */
.jobs-wrap { padding: 32px 0 60px; }

/* Top search bar */
.search-box {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 24px 28px;
  margin-bottom: 28px;
  border: 1px solid rgba(106,0,244,.06);
  position: relative;
}
.search-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-card);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.search-box .form-control {
  height: 48px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--m-border);
  font-size: 14px;
  background: #fafbfe;
  color: var(--m-heading);
  transition: border-color .2s, box-shadow .2s;
}
.search-box .form-control:focus {
  border-color: var(--m-purple) !important;
  box-shadow: 0 0 0 3px rgba(106,0,244,.1) !important;
  background: #fff;
}
.search-box .btn.btn-primary {
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--grad-card);
  border: none;
  font-weight: 700;
  font-size: 15px;
  box-shadow: var(--shadow-btn);
  transition: transform .18s, box-shadow .18s;
}
.search-box .btn.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(106,0,244,.4);
}

/* Filter sidebar cards */
.filter-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
  border: 1px solid var(--m-border);
  overflow: hidden;
  transition: box-shadow .2s;
}
.filter-card:hover { box-shadow: var(--shadow-md); }

.filter-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  cursor: pointer;
  transition: background .15s;
  user-select: none;
}
.filter-card-header:hover { background: #fafbfe; }
.filter-card-header h5 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--m-heading);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
}
.filter-card-header h5 i { color: var(--m-purple); font-size: 15px; }
.filter-toggle-icon { font-size: 12px; color: var(--m-muted); transition: transform .25s; }
.filter-toggle-icon.rotated { transform: rotate(180deg); }

.filter-card-body {
  padding: 0 18px 16px;
  max-height: 400px;
  opacity: 1;
  overflow: hidden;
  transition: max-height .3s, padding .3s, opacity .3s;
}
.filter-card-body.collapsed { max-height: 0; padding-top: 0; padding-bottom: 0; opacity: 0; }

.filter-card .form-control {
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--m-border);
  font-size: 13px;
}
.filter-card .btn-sm.btn-primary {
  background: var(--m-purple);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: background .2s;
}
.filter-card .btn-sm.btn-primary:hover { background: var(--m-indigo); }

.filter-range-group { margin-bottom: 10px; }
.filter-range-group label {
  font-size: 11px;
  font-weight: 700;
  color: var(--m-muted);
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: 5px;
}

/* Active filters */
.active-filters-card {
  border: 1.5px solid var(--m-purple) !important;
  background: linear-gradient(135deg, #faf5ff, #f5f3ff) !important;
}
.active-tags {
  padding: 0 18px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--m-border);
  border-radius: var(--radius-full);
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--m-text);
  transition: all .15s;
}
.filter-tag i { color: var(--m-purple); }
.filter-tag:hover { border-color: var(--m-purple); background: #f5f3ff; }
.remove-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: #fee2e2;
  color: var(--m-red) !important;
  font-size: 13px;
  font-weight: 700;
  transition: all .15s;
  text-decoration: none;
}
.remove-tag:hover { background: var(--m-red); color: #fff !important; }
.clear-all-btn {
  font-size: 12px;
  color: var(--m-red) !important;
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: uppercase;
}

/* Suggested toggle */
.suggested-toggle-card {
  background: #fff;
  border: 1.5px solid var(--m-border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: all .25s;
}
.suggested-toggle-card.active {
  border-color: var(--m-purple);
  box-shadow: 0 4px 16px rgba(106,0,244,.12);
}
.suggested-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  text-decoration: none !important;
}
.suggested-btn i { font-size: 18px; color: var(--m-amber); }
.suggested-btn span {
  flex: 1;
  font-weight: 700;
  font-size: 14px;
  color: var(--m-heading);
}
.toggle-switch {
  width: 40px; height: 22px;
  background: var(--m-border);
  border-radius: var(--radius-full);
  position: relative;
  transition: background .25s;
}
.suggested-toggle-card.active .toggle-switch { background: var(--m-purple); }
.toggle-knob {
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2px; left: 2px;
  transition: left .25s;
  box-shadow: 0 2px 4px rgba(0,0,0,.12);
}
.suggested-toggle-card.active .toggle-knob { left: 20px; }

/* Results header */
.jobs-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.results-count { color: var(--m-muted); font-size: 14px; margin: 0; }
.results-count strong { color: var(--m-purple); font-size: 17px; font-weight: 800; }

/* Job cards */
.job-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 22px 24px;
  margin-bottom: 16px;
  border: 1.5px solid transparent;
  transition: all .22s ease;
  position: relative;
}
.job-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 0;
  background: var(--grad-card);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  transition: height .22s ease;
}
.job-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(106,0,244,.12);
  transform: translateY(-2px);
}
.job-card:hover::before { height: 100%; }

.job-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  font-family: 'Poppins', sans-serif;
}
.job-card h3 a {
  color: var(--m-heading);
  text-decoration: none;
}
.job-card h3 a:hover { color: var(--m-purple); }
.job-card .company {
  color: var(--m-text);
  font-weight: 600;
  margin-top: 5px;
  font-size: 14px;
}
.job-card .meta {
  color: var(--m-muted);
  font-size: 13px;
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}
.job-card .meta i { color: var(--m-purple); margin-right: 3px; }
.job-card .desc {
  color: var(--m-text);
  font-size: 13px;
  margin-top: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.55;
}

/* Skill chips on job cards */
.job-skills-row { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.skill-chip-sm {
  display: inline-block;
  background: #f0ebff;
  color: var(--m-purple);
  padding: 3px 11px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  border: 1px solid #e0d7ff;
  letter-spacing: .2px;
}
.skill-chip-sm.more {
  background: #fef3c7;
  color: #92400e;
  border-color: #fde68a;
}

/* Card action row */
.job-card .actions {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--m-bg);
}
.badge-applied-tag {
  background: #dcfce7;
  color: #15803d;
  padding: 4px 13px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3px;
}

/* Apply button on cards */
.job-card .actions .btn-primary,
.job-card .actions a.btn-primary {
  background: var(--grad-card);
  border: none;
  border-radius: var(--radius-full);
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(106,0,244,.28);
  transition: transform .18s, box-shadow .18s;
  color: #fff;
  text-decoration: none;
  display: inline-block;
}
.job-card .actions .btn-primary:hover,
.job-card .actions a.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(106,0,244,.38);
}

.empty-jobs {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 70px 24px;
  text-align: center;
  color: var(--m-muted);
  box-shadow: var(--shadow-sm);
}

/* Pagination */
.pagination .page-link {
  color: var(--m-purple);
  border-radius: var(--radius-sm) !important;
  margin: 0 2px;
  border: 1.5px solid var(--m-border);
  font-weight: 600;
  transition: all .15s;
}
.pagination .page-link:hover {
  background: var(--m-purple);
  color: #fff;
  border-color: var(--m-purple);
}
.pagination .page-item.active .page-link {
  background: var(--m-purple);
  border-color: var(--m-purple);
}

/* ════════════════════════════════
   ④ JOB DETAILS PAGE
   ════════════════════════════════ */
.show-wrap { padding: 32px 0 60px; }

.job-header {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px 36px;
  margin-bottom: 24px;
  border: 1px solid rgba(106,0,244,.06);
  position: relative;
  overflow: hidden;
}
.job-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-card);
}
.job-header h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--m-heading);
  margin: 0;
  font-family: 'Poppins', sans-serif;
}
.job-header .company {
  font-size: 17px;
  font-weight: 600;
  color: var(--m-text);
  margin-top: 8px;
}
.job-header .meta {
  color: var(--m-muted);
  font-size: 14px;
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
}
.job-header .meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f7f8fc;
  border: 1px solid var(--m-border);
  border-radius: var(--radius-full);
  padding: 5px 14px;
  margin-right: 10px;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
}
.job-header .meta i { color: var(--m-purple); }

/* Apply bar */
.apply-bar {
  background: linear-gradient(135deg, #faf5ff, #f0ebff);
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(106,0,244,.15);
  padding: 20px 24px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.apply-bar > div:first-child { font-weight: 600; color: var(--m-heading); }
.apply-bar small { color: var(--m-muted); display: block; font-size: 12px; margin-top: 3px; }

.apply-bar .btn-primary {
  background: var(--grad-card);
  border: none;
  border-radius: var(--radius-full);
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: var(--shadow-btn);
  transition: transform .18s, box-shadow .18s;
}
.apply-bar .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(106,0,244,.45);
}
.apply-bar .btn-success {
  background: var(--m-green);
  border: none;
  border-radius: var(--radius-full);
  padding: 12px 28px;
  font-weight: 700;
  cursor: default;
}

/* Job panels (description, skills, snapshot) */
.panel {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 28px;
  margin-bottom: 22px;
  border: 1px solid rgba(106,0,244,.04);
}
.panel h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--m-heading);
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--m-bg);
  font-family: 'Poppins', sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
}
.panel h3::before {
  content: '';
  display: inline-block;
  width: 4px; height: 20px;
  background: var(--grad-card);
  border-radius: 2px;
}
.panel .desc {
  color: var(--m-text);
  line-height: 1.75;
  font-size: 15px;
  white-space: pre-wrap;
}

/* Skill chips on job detail */
.skill-chip {
  display: inline-block;
  background: #f0ebff;
  color: var(--m-purple);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  margin: 4px 6px 4px 0;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid #e0d7ff;
  transition: all .15s;
}
.skill-chip:hover {
  background: var(--m-purple);
  color: #fff;
  border-color: var(--m-purple);
  transform: translateY(-1px);
}

/* Info rows in snapshot */
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--m-bg);
  font-size: 14px;
}
.info-row:last-child { border-bottom: none; }
.info-row .lbl { color: var(--m-muted); font-weight: 500; }
.info-row .val { color: var(--m-heading); font-weight: 700; text-align: right; }

/* Related job cards */
.related-card {
  background: #fafbfe;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--m-border);
  padding: 14px 16px;
  margin-bottom: 12px;
  transition: all .18s;
}
.related-card:hover {
  border-color: var(--m-purple);
  background: #f5f0ff;
  transform: translateX(3px);
}
.related-card .t { font-weight: 700; font-size: 14px; }
.related-card .t a { color: var(--m-heading); }
.related-card .t a:hover { color: var(--m-purple); }
.related-card .m { color: var(--m-muted); font-size: 12px; margin-top: 4px; }

/* ════════════════════════════════
   ⑤ APPLIED JOBS PAGE
   ════════════════════════════════ */
.apps-wrap { padding: 32px 0 60px; }

.apps-header {
  background: var(--grad-hero);
  border-radius: var(--radius-lg);
  padding: 30px 36px;
  margin-bottom: 26px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.apps-header::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.apps-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  position: relative;
  z-index: 1;
}
.apps-header p {
  margin: 6px 0 0;
  color: rgba(255,255,255,.8);
  position: relative;
  z-index: 1;
  font-size: 14px;
}

/* Application cards */
.app-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 24px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  border-left: 4px solid transparent;
  transition: box-shadow .2s, transform .2s;
}
.app-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.app-card .info h4 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}
.app-card .info h4 a {
  color: var(--m-heading);
  text-decoration: none;
}
.app-card .info h4 a:hover { color: var(--m-purple); }
.app-card .info .company {
  color: var(--m-text);
  font-weight: 600;
  margin-top: 4px;
  font-size: 14px;
}
.app-card .info .meta {
  color: var(--m-muted);
  font-size: 13px;
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}
.app-card .info .meta i { color: var(--m-purple); margin-right: 3px; }
.app-card .actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Status badges (apps page) */
.badge { border-radius: var(--radius-full) !important; font-weight: 700 !important; letter-spacing: .3px; }
.badge-primary { background: #ede9fe !important; color: var(--m-purple) !important; }
.badge-info    { background: #e0f2fe !important; color: #0369a1 !important; }
.badge-success { background: #dcfce7 !important; color: #15803d !important; }
.badge-warning { background: #fef3c7 !important; color: #92400e !important; }
.badge-danger  { background: #fee2e2 !important; color: #b91c1c !important; }
.badge-secondary{ background: #f3f4f6 !important; color: var(--m-muted) !important; }

/* Withdraw button */
.app-card .btn-link { color: var(--m-red); font-weight: 600; font-size: 13px; }
.app-card .btn-link:hover { color: #b91c1c; }

/* Alert recruiter note */
.app-card .alert {
  border-radius: var(--radius-sm);
  font-size: 13px;
  border: none;
}
.app-card .alert-primary  { background: #ede9fe; color: var(--m-purple); border-left: 3px solid var(--m-purple); }
.app-card .alert-info     { background: #e0f2fe; color: #0369a1;         border-left: 3px solid #0369a1; }
.app-card .alert-success  { background: #dcfce7; color: #15803d;         border-left: 3px solid #15803d; }
.app-card .alert-warning  { background: #fef3c7; color: #92400e;         border-left: 3px solid #d97706; }
.app-card .alert-danger   { background: #fee2e2; color: #b91c1c;         border-left: 3px solid var(--m-red); }
.app-card .alert-secondary{ background: #f9fafb; color: var(--m-muted);  border-left: 3px solid var(--m-muted); }

.empty-msg {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 70px 24px;
  text-align: center;
  color: var(--m-muted);
  box-shadow: var(--shadow-sm);
}
.empty-msg h4 { color: var(--m-heading); margin-bottom: 8px; }
.empty-msg .btn-primary {
  background: var(--grad-card);
  border: none;
  border-radius: var(--radius-full);
  padding: 11px 28px;
  font-weight: 700;
  box-shadow: var(--shadow-btn);
  margin-top: 6px;
  transition: transform .18s;
}
.empty-msg .btn-primary:hover { transform: translateY(-2px); }

/* ════════════════════════════════
   ⑥ USER PROFILE PAGE
   ════════════════════════════════ */
.pf-wrap { padding: 32px 0 60px; }

/* Sidebar nav */
.pf-side {
  position: sticky;
  top: 90px;
  background: #fff;
  border: 1px solid var(--m-border);
  border-radius: var(--radius-md);
  padding: 6px 0;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.pf-side::before {
  content: '';
  display: block;
  height: 4px;
  background: var(--grad-card);
}
.pf-side h6 {
  font-size: 11px;
  font-weight: 800;
  color: var(--m-muted);
  padding: 14px 18px 8px;
  margin: 0;
  border-bottom: 1px solid var(--m-bg);
  letter-spacing: .8px;
  text-transform: uppercase;
}
.pf-side ul { list-style: none; margin: 0; padding: 6px 0; }
.pf-side li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px;
  font-size: 13px;
  border-left: 3px solid transparent;
  transition: all .18s;
}
.pf-side li:hover {
  background: #faf5ff;
  border-left-color: var(--m-purple);
}
.pf-side li a.l {
  color: var(--m-text);
  text-decoration: none;
  font-weight: 500;
  flex: 1;
}
.pf-side li a.r {
  color: var(--m-purple);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
.pf-side li a.r:hover { text-decoration: underline; }

/* Profile header banner */
.pf-head {
  background: var(--grad-hero);
  border-radius: var(--radius-xl);
  padding: 30px 28px;
  margin-bottom: 18px;
  color: #fff;
  display: flex;
  gap: 22px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.pf-head::before {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.pf-head::after {
  content: '';
  position: absolute;
  right: 100px; bottom: -50px;
  width: 150px; height: 150px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.pf-avatar-wrap { position: relative; z-index: 2; width: 120px; height: 120px; }
.pf-avatar-ring { position: absolute; inset: -10px; width: 140px; height: 140px; }
.pf-avatar-ring .ring-bg { fill: none; stroke: rgba(255,255,255,.2); stroke-width: 5; }
.pf-avatar-ring .ring-fill {
  fill: none; stroke: #fff; stroke-width: 5;
  stroke-linecap: round;
  transform: rotate(-90deg); transform-origin: 50% 50%;
  filter: drop-shadow(0 0 4px rgba(255,255,255,.6));
  transition: stroke-dashoffset 1.2s cubic-bezier(.4,0,.2,1);
}
.pf-avatar {
  position: absolute; inset: 0;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  color: var(--m-purple); font-weight: 800; font-size: 42px;
  border: 4px solid rgba(255,255,255,.9);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
}
.pf-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pf-pct-badge {
  position: absolute; bottom: -14px; left: 50%;
  transform: translateX(-50%);
  background: #fff; color: var(--m-purple);
  font-size: 12px; font-weight: 800;
  padding: 3px 10px; border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(0,0,0,.2);
}
.pf-avatar-edit {
  position: absolute; bottom: 4px; right: -4px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--m-red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid #fff; cursor: pointer;
  font-size: 13px; box-shadow: 0 4px 10px rgba(0,0,0,.2); z-index: 3;
}
.pf-head .meta { flex: 1; position: relative; z-index: 2; }
.pf-head .meta h3 { margin: 0 0 6px; font-size: 24px; font-weight: 700; color: #fff; }
.pf-head .meta .sub { font-size: 14px; color: rgba(255,255,255,.82); }
.pf-head .meta .row-info {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 12px; font-size: 13px;
}
.pf-head .meta .row-info span {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.15);
  padding: 5px 13px; border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
  color: rgba(255,255,255,.92);
}

/* Profile section cards */
.pf-card {
  background: #fff;
  border: 1px solid var(--m-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s;
}
.pf-card:hover { box-shadow: var(--shadow-md); }
.pf-card .head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.pf-card .head h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--m-heading);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
}
.pf-card .head h4 .icon {
  display: inline-flex;
  width: 34px; height: 34px;
  border-radius: 9px;
  align-items: center; justify-content: center;
  font-size: 16px;
}
.pf-card .head .actions a {
  font-size: 13px; font-weight: 700;
  color: #fff; background: var(--grad-card);
  text-decoration: none;
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all .2s;
  display: inline-flex; align-items: center; gap: 6px;
}
.pf-card .head .actions a:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(106,0,244,.3);
}

/* Profile view content */
.pf-view { font-size: 14px; color: var(--m-text); line-height: 1.6; }
.pf-view .empty { color: var(--m-muted); font-style: italic; }
.pf-view .pill {
  display: inline-block;
  background: #f0ebff; color: var(--m-purple);
  border: 1px solid #e0d7ff;
  border-radius: var(--radius-full);
  padding: 5px 14px; font-size: 12px; font-weight: 700;
  margin: 3px 4px 3px 0;
}
.pf-view .kv { display: flex; flex-wrap: wrap; gap: 18px; }
.pf-view .kv > div { min-width: 160px; }
.pf-view .kv label {
  display: block;
  font-size: 11px; color: var(--m-muted);
  text-transform: uppercase; letter-spacing: .5px;
  margin-bottom: 4px; font-weight: 700;
}
.pf-view .kv span { font-size: 14px; color: var(--m-heading); font-weight: 600; }
.pf-view .edu-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--m-bg);
}
.pf-view .edu-item:last-child { border-bottom: none; }
.pf-view .edu-item strong { color: var(--m-purple); }

/* Upload zone */
.upload-zone {
  border: 2px dashed rgba(106,0,244,.25);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  background: #faf5ff;
  transition: border-color .2s;
}
.upload-zone:hover { border-color: var(--m-purple); }
.upload-zone .btn {
  background: #fff;
  border: 2px solid var(--m-purple);
  color: var(--m-purple);
  padding: 9px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  cursor: pointer;
  display: inline-block;
  transition: all .2s;
}
.upload-zone .btn:hover {
  background: var(--m-purple);
  color: #fff;
}
.upload-zone p { margin: 12px 0 0; color: var(--m-muted); font-size: 13px; }

/* Skill pills in profile edit */
.skill-pill input { display: none; }
.skill-pill label {
  padding: 6px 15px;
  border: 1.5px solid var(--m-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  color: var(--m-text);
  font-size: 13px;
  margin: 0;
  background: #fff;
  font-weight: 500;
  transition: all .15s;
  display: block;
}
.skill-pill label:hover { border-color: var(--m-purple); color: var(--m-purple); }
.skill-pill input:checked + label {
  background: #f0ebff;
  border-color: var(--m-purple);
  color: var(--m-purple);
  font-weight: 700;
}

/* Form controls in profile */
.pf-card .form-control,
.pf-card textarea.form-control {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--m-border);
  color: var(--m-heading);
  font-size: 14px;
  background: #fafbfe;
  transition: border-color .2s;
}
.pf-card .form-control { height: 44px; }
.pf-card textarea.form-control { height: auto; min-height: 100px; }
.pf-card label {
  font-weight: 600; font-size: 13px;
  color: var(--m-text); margin-bottom: 6px;
}

/* Education rows */
.edu-row {
  background: #faf5ff;
  border: 1.5px solid rgba(106,0,244,.1);
  border-radius: var(--radius-sm);
  padding: 18px;
  margin-bottom: 14px;
  position: relative;
}
.edu-row .remove-edu {
  position: absolute; top: 12px; right: 14px;
  color: var(--m-red); cursor: pointer;
  background: none; border: 0; font-size: 18px;
}
.btn-add-edu {
  background: #f0ebff;
  color: var(--m-purple);
  border: 2px dashed rgba(106,0,244,.3);
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 13px;
  transition: all .2s;
}
.btn-add-edu:hover {
  background: var(--m-purple);
  color: #fff;
  border-color: var(--m-purple);
}

/* Sticky save bar */
.save-bar {
  position: sticky; bottom: 0;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--m-border);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 -6px 20px rgba(0,0,0,.06);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.save-bar .btn {
  padding: 11px 30px;
  font-weight: 700;
  border-radius: var(--radius-full);
}
.save-bar .btn-primary {
  background: var(--grad-card);
  border: none;
  box-shadow: var(--shadow-btn);
  transition: transform .18s, box-shadow .18s;
}
.save-bar .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(106,0,244,.4);
}

/* Section icon colors */
.ic-resume        { background: #fff5e6; color: #f59e0b; }
.ic-headline      { background: #eff6ff; color: #1d4ed8; }
.ic-skills        { background: #ecfdf5; color: #10b981; }
.ic-employment    { background: #faf5ff; color: var(--m-purple); }
.ic-education     { background: #fdf2f8; color: #ec4899; }
.ic-projects      { background: #fff5e6; color: #f59e0b; }
.ic-summary       { background: #eff6ff; color: #1d4ed8; }
.ic-accomplishments{ background: #fff5e6; color: #f59e0b; }
.ic-career        { background: #ecfdf5; color: #10b981; }
.ic-personal      { background: #faf5ff; color: var(--m-purple); }

/* Info pair rows in profile view */
.info-pair {
  display: flex; justify-content: space-between;
  padding: 10px 0; font-size: 14px;
  border-bottom: 1px solid var(--m-bg);
}
.info-pair:last-child { border-bottom: none; }
.info-pair .lbl { color: var(--m-muted); }
.info-pair .val { color: var(--m-heading); font-weight: 600; }

/* Pro banner */
.pro-banner {
  background: linear-gradient(135deg, #fffbeb, #fde68a);
  border: 1.5px solid #f59e0b;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 18px;
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.pro-banner .l { display: flex; align-items: center; gap: 14px; }
.pro-banner .logo { font-weight: 800; font-size: 20px; color: var(--m-heading); }
.pro-banner .logo .pro { color: var(--m-indigo); }
.pro-banner .logo .crown { color: #f59e0b; margin-left: 4px; }
.pro-banner .tag { color: var(--m-text); font-size: 14px; }
.pro-banner .cta {
  background: var(--grad-card);
  color: #fff;
  border-radius: var(--radius-full);
  padding: 9px 20px;
  font-weight: 700; font-size: 13px;
  text-decoration: none; white-space: nowrap;
  box-shadow: 0 3px 10px rgba(106,0,244,.28);
  transition: all .18s;
}
.pro-banner .cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(106,0,244,.38);
  color: #fff;
}

/* ════════════════════════════════
   GLOBAL BUTTON OVERRIDES
   ════════════════════════════════ */
.btn-primary {
  background: var(--grad-card) !important;
  border: none !important;
  font-weight: 600 !important;
  border-radius: var(--radius-sm) !important;
  transition: transform .18s, box-shadow .18s !important;
}
.btn-primary:hover {
  transform: translateY(-1px) !important;
  box-shadow: var(--shadow-btn) !important;
}
.btn-outline-primary {
  border: 2px solid var(--m-purple) !important;
  color: var(--m-purple) !important;
  font-weight: 600 !important;
  border-radius: var(--radius-sm) !important;
  background: transparent !important;
  transition: all .18s !important;
}
.btn-outline-primary:hover {
  background: var(--m-purple) !important;
  color: #fff !important;
}

/* ════════════════════════════════
   GLOBAL ALERT OVERRIDES
   ════════════════════════════════ */
.alert {
  border-radius: var(--radius-sm) !important;
  border: none !important;
}
.alert-success {
  background: #f0fdf4 !important;
  color: #15803d !important;
  border-left: 4px solid var(--m-green) !important;
}
.alert-danger {
  background: #fef2f2 !important;
  color: #b91c1c !important;
  border-left: 4px solid var(--m-red) !important;
}

/* ════════════════════════════════
   RESPONSIVE
   ════════════════════════════════ */
@media (max-width: 991px) {
  .auth-card { padding: 32px 24px; }
  .dash-hero { padding: 26px; }
  .dash-hero h2 { font-size: 22px; }
  .job-header { padding: 24px; }
  .job-header h1 { font-size: 22px; }
  .apps-header { padding: 22px; }
  .pf-head { flex-direction: column; text-align: center; }
  .pf-head .meta .row-info { justify-content: center; }
  .filter-card-body { max-height: none; }
  .filter-card-body.collapsed { max-height: 0; }
}

@media (max-width: 767px) {
  .auth-card { padding: 26px 20px; margin-top: 16px; }
  .auth-side { min-height: auto; padding: 28px 24px; }
  .apply-bar { flex-direction: column; align-items: flex-start; }
  .app-card { flex-direction: column; align-items: flex-start; gap: 16px; }
  .app-card .actions { width: 100%; justify-content: space-between; }
  .search-box { padding: 18px; }
  .dash-hero .actions { flex-direction: column; gap: 10px; }
  .dash-hero .actions a { text-align: center; justify-content: center; }
  .pf-head { padding: 22px; }
  .job-header .meta { gap: 8px; }
  .job-header .meta span { font-size: 12px; padding: 4px 10px; }
}

@media (max-width: 575px) {
  .dash-wrap, .jobs-wrap, .show-wrap, .apps-wrap, .pf-wrap { padding: 20px 0 40px; }
  .job-card { padding: 18px; }
  .panel { padding: 20px; }
  .pf-card { padding: 18px; }
  .apps-header { padding: 18px; }
  .auth-card h3 { font-size: 22px; }
  .auth-side h2 { font-size: 22px; }
}
