/* ============================================================
   Shivani Tech Careers — Production CSS (Naukri-Style Dark)
   ============================================================ */


/* ── CSS Variables ───────────────────────────────────────────── */
:root {
  /* Palette */
  --bg:            #0d1117;
  --bg2:           #161b22;
  --bg3:           #1c2128;
  --card:          rgba(22, 27, 34, 0.94);
  --card-hover:    rgba(30, 37, 46, 0.97);
  --border:        rgba(255,255,255,0.07);
  --border2:       rgba(255,255,255,0.12);

  /* Brand */
  --primary:       #4f46e5;
  --primary-d:     #3730a3;
  --primary-glow:  rgba(79,70,229,0.25);
  --primary-light: rgba(79,70,229,0.12);

  /* Semantic */
  --emerald:       #10b981;
  --emerald-glow:  rgba(16,185,129,0.2);
  --emerald-light: rgba(16,185,129,0.1);
  --amber:         #f59e0b;
  --amber-glow:    rgba(245,158,11,0.2);
  --amber-light:   rgba(245,158,11,0.1);
  --rose:          #f43f5e;
  --rose-glow:     rgba(244,63,94,0.25);
  --rose-light:    rgba(244,63,94,0.1);
  --purple:        #a855f7;
  --purple-light:  rgba(168,85,247,0.12);
  --sky:           #38bdf8;

  /* Skill tags variables (default dark) */
  --skill-bg:      rgba(255, 255, 255, 0.08);
  --skill-border:  rgba(255, 255, 255, 0.25);
  --skill-color:   #ffffff;
  --skill-glow:    0 0 4px rgba(255, 255, 255, 0.3);

  /* Featured banner variables (default dark) */
  --fb-bg:          linear-gradient(135deg, #1a1535 0%, #0f1628 50%, #111827 100%);
  --fb-border:      rgba(79, 70, 229, 0.3);
  --fb-glow:        rgba(79, 70, 229, 0.3);

  /* Text */
  --txt1: #f0f6fc;
  --txt2: #8b949e;
  --txt3: #6e7681;
  --star: #fbbf24;

  /* Sizing */
  --header-h:    58px;
  --nav-h:       64px;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   18px;
  --radius-xl:   24px;
  --radius-full: 999px;

  /* Transitions */
  --t-fast: 0.15s ease;
  --t-med:  0.25s ease;
  --t-slow: 0.4s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { height: 100%; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Plus Jakarta Sans', 'Outfit', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--txt1);
  height: 100%;
  min-height: 100dvh;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

input, select, button, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}
button { cursor: pointer; }
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Ambient Orbs ────────────────────────────────────────────── */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}
.orb-1 { width: 320px; height: 320px; background: radial-gradient(circle, #4f46e5, transparent 70%); top: -80px; left: -60px; animation: orbFloat 10s ease-in-out infinite alternate; }
.orb-2 { width: 280px; height: 280px; background: radial-gradient(circle, #10b981, transparent 70%); bottom: -60px; right: -40px; animation: orbFloat 13s ease-in-out infinite alternate-reverse; }
.orb-3 { width: 200px; height: 200px; background: radial-gradient(circle, #a855f7, transparent 70%); top: 45%; left: 50%; transform: translate(-50%,-50%); animation: orbFloat 8s ease-in-out infinite alternate; opacity: 0.18; }

@keyframes orbFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(20px, -20px) scale(1.1); }
}

/* ── App Wrapper ──────────────────────────────────────────────── */
.app-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ══════════════════════════════════════════════════════════════ */
/*  FULL SCREENS (Auth / Wizard / Success)                        */
/* ══════════════════════════════════════════════════════════════ */
.full-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  z-index: 10;
  animation: fadeSlideUp .35s var(--t-slow);
}

#view-auth {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
  overflow-y: auto;
}
.auth-container {
  width: 100%;
  max-width: 380px;
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: var(--radius-xl);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  animation: cardFadeIn 0.4s var(--t-slow);
}
@keyframes cardFadeIn {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

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

/* ══════════════════════════════════════════════════════════════ */
/*  AUTH SCREEN                                                   */
/* ══════════════════════════════════════════════════════════════ */
.auth-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 24px 24px 8px;
}
.auth-logo { width: 34px; height: 34px; border-radius: 8px; }
.auth-brand-name { font-family: 'Outfit', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--txt1); }
.auth-brand-tag  { font-size: 0.7rem; font-weight: 600; color: var(--primary); background: var(--primary-light); padding: 2px 8px; border-radius: var(--radius-full); }

.auth-body { padding: 16px 24px 24px; display: flex; flex-direction: column; }

.auth-heading { margin-bottom: 24px; }
.auth-heading h2 { font-size: 1.6rem; font-weight: 800; color: var(--txt1); letter-spacing: -.02em; }
.auth-heading p  { font-size: 0.83rem; color: var(--txt2); margin-top: 6px; }

/* Google Button */
.google-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid var(--border2);
  border-radius: var(--radius-md);
  color: var(--txt1);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--t-fast);
}
.google-btn:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); transform: translateY(-1px); }
.google-btn:active { transform: translateY(0); }
.g-icon { flex-shrink: 0; }

.auth-divider {
  text-align: center;
  margin: 16px 0;
  position: relative;
  font-size: 0.75rem;
  color: var(--txt3);
}
.auth-divider::before, .auth-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 50px);
  height: 1px;
  background: var(--border);
}
.auth-divider::before { left: 0; }
.auth-divider::after  { right: 0; }

/* Forms */
.field { margin-bottom: 14px; }
.field.half { flex: 1; }
.field-row { display: flex; gap: 10px; }

label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--txt2); margin-bottom: 6px; }
.req { color: var(--rose); }

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.fi {
  position: absolute;
  left: 12px;
  font-size: 0.9rem;
  pointer-events: none;
  z-index: 1;
}
.input-wrap input,
.input-wrap select {
  width: 100%;
  padding: 12px 14px 12px 38px;
  background: var(--bg3);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--txt1);
  font-size: 0.88rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.input-wrap input:focus,
.input-wrap select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
  background: var(--bg2);
}
.input-wrap input::placeholder { color: var(--txt3); font-size: 0.82rem; }
.input-wrap input[readonly] { opacity: 0.6; cursor: not-allowed; }
.input-wrap select { cursor: pointer; }
.input-wrap select option { background: var(--bg2); }

.eye-btn {
  position: absolute;
  right: 12px;
  font-size: 0.85rem;
  opacity: 0.6;
  transition: opacity var(--t-fast);
  z-index: 1;
}
.eye-btn:hover { opacity: 1; }

.err { display: none; font-size: 0.72rem; color: var(--rose); margin-top: 4px; }
.field.has-error .err { display: block; }
.field.has-error .input-wrap input,
.field.has-error .input-wrap select { border-color: var(--rose); }

.forgot-wrap { text-align: right; margin: 8px 0 4px; font-size: 0.78rem; }
.auth-toggle-row { text-align: center; margin-top: 14px; font-size: 0.82rem; color: var(--txt2); }

.link-text {
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  transition: color var(--t-fast);
}
.link-text:hover { color: #6d63f0; text-decoration: underline; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--t-fast);
  border: 1.5px solid transparent;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 15px var(--primary-glow);
}
.btn-primary:hover { background: var(--primary-d); box-shadow: 0 6px 20px var(--primary-glow); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: var(--bg3);
  color: var(--txt2);
  border-color: var(--border2);
}
.btn-secondary:hover { background: var(--bg2); color: var(--txt1); border-color: var(--border2); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary-light); }

.btn-outline-sm {
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--t-fast);
}
.btn-outline-sm:hover { background: var(--primary-light); }

.w-full { width: 100%; }
.flex-1 { flex: 1; }
.text-btn { background: none; color: var(--txt2); font-size: 0.82rem; font-weight: 600; padding: 4px 8px; border-radius: 6px; }
.text-btn:hover { color: var(--txt1); background: var(--bg3); }

/* ══════════════════════════════════════════════════════════════ */
/*  PROFILE WIZARD SCREEN                                         */
/* ══════════════════════════════════════════════════════════════ */
.wizard-header {
  padding: 24px 20px 0;
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 2;
}
.wizard-title { font-family: 'Outfit', sans-serif; font-size: 1.2rem; font-weight: 700; }
.wizard-sub   { font-size: 0.78rem; color: var(--txt2); margin-top: 4px; }

.step-progress-wrapper {
  position: relative;
  margin: 18px 0 28px;
  padding: 0 32px; /* Accommodate labels at edges */
}
.step-track {
  position: absolute;
  top: 13px; /* Vertical middle of 26px circle */
  left: 45px; /* Center of 1st circle */
  right: 45px; /* Center of 3rd circle */
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
  z-index: 1;
}
.step-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #818cf8);
  border-radius: 2px;
  transition: width 0.4s var(--t-slow);
}
.step-dots {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  padding: 0;
}
.sdot {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 26px;
  height: 26px;
  opacity: 0.4;
  transition: opacity var(--t-med);
}
.sdot.active { opacity: 1; }
.sdot.done { opacity: 0.85; }
.sdot span {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--bg2);
  border: 2px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 700;
  box-shadow: 0 0 0 6px var(--bg); /* Spacing gap around the dots */
  color: var(--txt2);
  transition: all var(--t-fast);
}
.sdot.active span { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 0 12px var(--primary-glow); }
.sdot.done span   { background: var(--emerald); border-color: var(--emerald); color: #fff; }
.sdot label {
  position: absolute;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--txt2);
  background: transparent;
  padding: 0;
  transition: color var(--t-fast);
}
.sdot.active label { color: var(--txt1); }
.sdot.done label   { color: var(--emerald); }

.wizard-body { padding: 16px 20px 24px; flex: 1; overflow-y: auto; min-height: 0; }
.wizard-step { animation: fadeSlideUp .3s ease; }

/* Radio cards (Fresher / Experienced) */
.radio-group { display: flex; gap: 10px; }
.radio-card {
  flex: 1;
  padding: 14px 12px;
  background: var(--bg3);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all var(--t-fast);
}
.radio-card input { display: none; }
.radio-card.selected { border-color: var(--primary); background: var(--primary-light); }
.rc-icon { font-size: 1.4rem; }
.rc-label { font-size: 0.85rem; font-weight: 700; }
.rc-sub   { font-size: 0.68rem; color: var(--txt2); }

/* Skills */
.skills-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}
.skills-search-wrap input {
  width: 100%;
  padding: 10px 14px 10px 36px;
  background: var(--bg3);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--txt1);
  font-size: 0.84rem;
}
.skills-search-wrap input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }
.skills-search-wrap .fi { position: absolute; left: 10px; }

.skills-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
  min-height: 32px;
}
.skill-pill {
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--bg3);
  border: 1.5px solid var(--border);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--txt1);
  cursor: pointer;
  transition: all var(--t-fast);
}
.skill-pill:hover, .skill-pill.selected { background: var(--primary-light); border-color: var(--primary); color: #ffffff; }

.skills-selected {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px;
  background: var(--bg3);
  border: 1.5px dashed var(--border2);
  border-radius: var(--radius-md);
  min-height: 44px;
}
.selected-placeholder { color: var(--txt3); font-size: 0.78rem; align-self: center; }
.skill-selected-chip {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: var(--primary-light);
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  color: #ffffff;
}
.skill-remove { cursor: pointer; opacity: 0.6; font-size: 0.9rem; }
.skill-remove:hover { opacity: 1; color: var(--rose); }

/* Summary card */
.summary-card {
  background: var(--bg3);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-top: 16px;
}
.summary-title { font-size: 0.82rem; font-weight: 700; color: var(--txt2); margin-bottom: 12px; }
.summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sg-item { display: flex; flex-direction: column; gap: 2px; }
.sg-lbl { font-size: 0.68rem; color: var(--txt3); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.sg-val { font-size: 0.82rem; font-weight: 600; color: var(--txt1); }

/* Wizard Footer */
.wizard-footer {
  display: flex;
  gap: 10px;
  padding: 14px 20px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.wizard-footer .btn { flex: 1; }

/* ══════════════════════════════════════════════════════════════ */
/*  APP SHELL                                                     */
/* ══════════════════════════════════════════════════════════════ */
.app-shell {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  z-index: 5;
  animation: fadeSlideUp .35s var(--t-slow);
}

/* TOP HEADER */
.top-header {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  background: rgba(13,17,23,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  position: relative;
  z-index: 20;
}
.hbtn {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--txt2);
  transition: all var(--t-fast);
  flex-shrink: 0;
}
.hbtn:hover { background: var(--bg3); color: var(--txt1); }

.header-search-bar {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  background: var(--bg3);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0 14px;
  cursor: pointer;
  transition: border-color var(--t-fast);
}
.header-search-bar:hover { border-color: var(--border2); }
.hs-icon { font-size: 0.85rem; color: var(--txt3); }
.hs-text { font-size: 0.8rem; color: var(--txt3); }

.header-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.h-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--purple));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.notif-hbtn { position: relative; }
.notif-dot {
  position: absolute;
  top: 2px; right: 2px;
  width: 8px; height: 8px;
  background: var(--rose);
  border-radius: 50%;
  border: 2px solid var(--bg);
}

/* TAB CONTENT AREA */
.tab-area {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding-bottom: 20px;
}
.tab-area::-webkit-scrollbar { width: 3px; }
.tab-area::-webkit-scrollbar-track { background: transparent; }
.tab-area::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 2px; }

.tab-pane {
  display: none;
  animation: tabIn .25s ease;
}
.tab-pane.active { display: block; }
@keyframes tabIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Sidebar items hidden on mobile navigation */
.desktop-only-sidebar {
  display: none !important;
}

/* BOTTOM NAVIGATION */
.bottom-nav {
  height: var(--nav-h);
  display: flex;
  background: rgba(13,17,23,0.97);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  position: relative;
  z-index: 20;
}
.nav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 8px 4px;
  color: var(--txt3);
  font-size: 0.62rem;
  font-weight: 600;
  transition: color var(--t-fast);
  position: relative;
}
.nav-btn:hover { color: var(--txt2); }
.nav-btn.active { color: var(--primary); }
.nav-btn.active::before {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 2px;
  background: var(--primary);
  border-radius: 0 0 3px 3px;
}
.nav-ico { width: 22px; height: 22px; stroke-width: 2; flex-shrink: 0; }
.nav-btn.active .nav-ico { stroke-width: 2.5; }
.nav-ico-wrap { position: relative; }
.nav-badge {
  position: absolute;
  top: -4px; right: -6px;
  min-width: 16px; height: 16px;
  background: var(--rose);
  color: #fff;
  font-size: 0.6rem; font-weight: 700;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
  border: 2px solid var(--bg);
}

/* ══════════════════════════════════════════════════════════════ */
/*  HOME TAB                                                      */
/* ══════════════════════════════════════════════════════════════ */

/* Stats row */
.stats-row {
  display: flex;
  gap: 10px;
  padding: 16px 14px 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.stats-row::-webkit-scrollbar { display: none; }

.stat-card {
  scroll-snap-align: start;
  flex-shrink: 0;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px;
  transition: all var(--t-fast);
}
.stat-card:hover { border-color: var(--border2); background: var(--card-hover); }

.profile-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 210px;
  border-left: 3px solid var(--emerald);
}
.pcring-wrap { position: relative; flex-shrink: 0; }
.pcring { transform: rotate(0deg); }
.pcring-bg   { stroke: rgba(255,255,255,0.07); }
.pcring-fill { stroke: var(--emerald); transition: stroke-dashoffset 1s cubic-bezier(.4,0,.2,1); }
.pcring-initials {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 800; color: var(--txt1);
  text-transform: uppercase;
}

.stat-card-info { flex: 1; min-width: 0; }
.sc-name { font-size: 0.82rem; font-weight: 700; color: var(--txt1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-sub  { font-size: 0.68rem; color: var(--txt2); margin-top: 2px; }
.sc-pct  { font-size: 1rem; font-weight: 800; margin: 4px 0 2px; }
.sc-link { font-size: 0.72rem; font-weight: 700; color: var(--primary); cursor: pointer; text-align: left; background: none; border: none; padding: 0; }
.sc-link:hover { text-decoration: underline; }
.emerald { color: var(--emerald) !important; }
.amber   { color: var(--amber) !important; }
.rose    { color: var(--rose) !important; }
.purple  { color: var(--purple) !important; }
.primary { color: var(--primary) !important; }

.apps-card {
  width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2px;
  border-left: 3px solid var(--primary);
}
.apps-big-num { font-size: 2.2rem; font-weight: 800; color: var(--txt1); line-height: 1; }
.apps-lbl     { font-size: 0.78rem; font-weight: 700; color: var(--txt1); }
.apps-sub     { font-size: 0.66rem; color: var(--txt2); }

.performance-card {
  width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  border-left: 3px solid var(--purple);
}
.sc-big-val { font-size: 1.8rem; font-weight: 800; color: var(--txt1); line-height: 1.1; }
.sc-label { font-size: 0.74rem; font-weight: 700; color: var(--txt1); }
.sc-sub-label { font-size: 0.62rem; font-weight: 600; }
.text-emerald { color: var(--emerald); }

/* Featured Banner */
.featured-banner {
  margin: 8px 14px 4px;
  border-radius: var(--radius-lg);
  background: var(--fb-bg);
  border: 1.5px solid var(--fb-border);
  padding: 18px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  overflow: hidden;
  position: relative;
  transition: all var(--t-fast);
}
.featured-banner::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, var(--fb-glow) 0%, transparent 70%);
}
.fb-content { flex: 1; z-index: 1; }
.fb-tag { font-size: 0.66rem; font-weight: 700; color: var(--amber); text-transform: uppercase; letter-spacing: .05em; }
.fb-title { font-size: 1rem; font-weight: 800; color: var(--txt1); margin: 4px 0; line-height: 1.3; }
.fb-sub   { font-size: 0.72rem; color: var(--txt2); margin-bottom: 12px; }
.fb-cta {
  padding: 8px 16px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all var(--t-fast);
}
.fb-cta:hover { background: var(--primary-d); transform: scale(1.03); }
.fb-illus { font-size: 2.8rem; z-index: 1; }

/* Section headers */
.section-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 14px 8px;
}
.sec-title { font-size: 0.92rem; font-weight: 800; color: var(--txt1); }
.sec-count { color: var(--txt2); font-weight: 600; font-size: 0.82rem; }
.sec-link  { font-size: 0.76rem; font-weight: 700; color: var(--primary); background: none; border: none; cursor: pointer; padding: 4px 8px; border-radius: 6px; }
.sec-link:hover { background: var(--primary-light); }

/* Horizontal scroll job cards */
.h-scroll-jobs {
  display: flex;
  gap: 10px;
  padding: 4px 14px 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.h-scroll-jobs::-webkit-scrollbar { display: none; }

.h-job-card {
  flex-shrink: 0;
  width: 230px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px;
  scroll-snap-align: start;
  cursor: pointer;
  transition: all var(--t-fast);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.h-job-card:hover { border-color: var(--primary); background: var(--card-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }

.hjc-top { display: flex; align-items: flex-start; gap: 10px; }
.company-logo {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--bg3);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.hjc-meta { flex: 1; min-width: 0; }
.hjc-title   { font-size: 0.85rem; font-weight: 700; color: var(--txt1); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hjc-company { font-size: 0.7rem; color: var(--txt2); margin-top: 2px; display: flex; align-items: center; gap: 4px; }
.hjc-rating  { color: var(--star); font-size: 0.68rem; font-weight: 600; }

.hjc-details { display: flex; flex-direction: column; gap: 3px; }
.hjc-detail  { font-size: 0.68rem; color: var(--txt2); }
.hjc-salary  { font-size: 0.72rem; font-weight: 700; color: var(--emerald); }

.hjc-footer { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; }
.urgent-badge {
  display: flex; align-items: center; gap: 3px;
  padding: 3px 8px;
  background: rgba(244,63,94,0.12);
  border: 1px solid rgba(244,63,94,0.25);
  border-radius: var(--radius-full);
  font-size: 0.63rem; font-weight: 700; color: var(--rose);
}
.apply-btn-sm {
  padding: 6px 14px;
  background: var(--primary-light);
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.72rem; font-weight: 700; color: var(--primary);
  cursor: pointer;
  transition: all var(--t-fast);
}
.apply-btn-sm:hover   { background: var(--primary); color: #fff; }
.apply-btn-sm.applied { background: var(--emerald-light); border-color: var(--emerald); color: var(--emerald); cursor: not-allowed; }

/* Filter panel */
.filter-toggle-btn {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.76rem; font-weight: 700; color: var(--txt2);
  background: var(--bg3); border: 1.5px solid var(--border); border-radius: var(--radius-full);
  padding: 5px 12px; cursor: pointer; transition: all var(--t-fast);
}
.filter-toggle-btn:hover { border-color: var(--primary); color: var(--primary); }

.filter-panel {
  margin: 0 14px 8px;
  padding: 14px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  animation: fadeSlideUp .2s ease;
}
.fchips-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.fchip-label { font-size: 0.68rem; font-weight: 700; color: var(--txt3); width: 40px; }
.fchip {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--bg3);
  border: 1.5px solid var(--border);
  font-size: 0.7rem; font-weight: 600; color: var(--txt2);
  cursor: pointer; transition: all var(--t-fast);
}
.fchip.active { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }

/* Vertical jobs list */
.v-jobs-list { padding: 0 14px; display: flex; flex-direction: column; gap: 10px; }

.v-job-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px;
  cursor: pointer;
  transition: all var(--t-fast);
}
.v-job-card:hover { border-color: var(--border2); background: var(--card-hover); }

.vjc-header { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.vjc-info { flex: 1; min-width: 0; }
.vjc-title   { font-size: 0.92rem; font-weight: 700; color: var(--txt1); }
.vjc-company { font-size: 0.74rem; color: var(--txt2); margin-top: 2px; display: flex; align-items: center; gap: 5px; }
.star-ico    { color: var(--star); }

.vjc-details { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.vjc-detail  { font-size: 0.72rem; color: var(--txt2); display: flex; align-items: center; gap: 3px; }
.vjc-salary  { font-size: 0.74rem; font-weight: 700; color: var(--emerald); }

.vjc-skills { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.skill-tag {
  padding: 3px 9px;
  background: var(--skill-bg);
  border: 1px solid var(--skill-border);
  border-radius: var(--radius-full);
  font-size: 0.66rem; font-weight: 700; color: var(--skill-color);
  text-shadow: var(--skill-glow);
  box-shadow: inset 0 0 4px var(--skill-border), 0 0 6px var(--skill-bg);
  transition: all var(--t-fast);
}

.vjc-footer { display: flex; align-items: center; justify-content: space-between; }
.vjc-posted { font-size: 0.66rem; color: var(--txt3); }
.vjc-actions { display: flex; gap: 6px; }

.save-btn-sm {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg3); border: 1.5px solid var(--border);
  border-radius: 8px; font-size: 0.9rem; cursor: pointer;
  transition: all var(--t-fast);
}
.save-btn-sm:hover { border-color: var(--rose); }
.save-btn-sm.saved { color: var(--rose); }

.apply-btn-v {
  padding: 7px 16px;
  background: var(--primary-light);
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.74rem; font-weight: 700; color: var(--primary);
  cursor: pointer;
  transition: all var(--t-fast);
}
.apply-btn-v:hover   { background: var(--primary); color: #fff; }
.apply-btn-v.applied { background: var(--emerald-light); border-color: var(--emerald); color: var(--emerald); cursor: not-allowed; }

.list-end-note { text-align: center; padding: 16px; font-size: 0.74rem; color: var(--txt3); }

/* Tab page headers */
.tab-pg-hdr {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 14px 10px;
}
.tab-pg-hdr h2 { font-size: 1.1rem; font-weight: 800; color: var(--txt1); }
.tab-badge-pill {
  padding: 2px 10px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.72rem; font-weight: 700;
}

/* ══════════════════════════════════════════════════════════════ */
/*  APPLIED TAB                                                   */
/* ══════════════════════════════════════════════════════════════ */
.app-chips-row {
  display: flex;
  gap: 8px;
  padding: 0 14px 12px;
  overflow-x: auto;
}
.app-chips-row::-webkit-scrollbar { display: none; }
.app-chip {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 16px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  min-width: 70px;
}
.ach-num   { font-size: 1.2rem; font-weight: 800; }
.ach-lbl   { font-size: 0.62rem; font-weight: 600; color: var(--txt2); white-space: nowrap; }

.applied-list { padding: 0 14px; display: flex; flex-direction: column; gap: 10px; }

.app-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px;
  transition: border-color var(--t-fast);
}
.app-card:hover { border-color: var(--border2); }

.app-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.app-card-title   { font-size: 0.9rem; font-weight: 700; color: var(--txt1); }
.app-card-company { font-size: 0.72rem; color: var(--txt2); margin-top: 2px; }
.app-card-date    { font-size: 0.65rem; color: var(--txt3); flex-shrink: 0; }

/* Status Stepper */
.status-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
}
.status-stepper::-webkit-scrollbar { display: none; }
.ss-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}
.ss-dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border2);
  background: var(--bg3);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  transition: all var(--t-med);
  z-index: 1;
}
.ss-dot.done    { background: var(--emerald); border-color: var(--emerald); color: #fff; }
.ss-dot.current { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 0 8px var(--primary-glow); }
.ss-dot.rejected { background: var(--rose); border-color: var(--rose); color: #fff; }
.ss-dot.offered  { background: var(--emerald); border-color: var(--emerald); color: #fff; box-shadow: 0 0 8px var(--emerald-glow); }
.ss-lbl { font-size: 0.56rem; font-weight: 600; color: var(--txt3); white-space: nowrap; max-width: 46px; text-align: center; }

.ss-line {
  flex: 1;
  height: 2px;
  background: var(--border2);
  min-width: 16px;
  max-width: 36px;
  margin-bottom: 16px;
}
.ss-line.done { background: var(--emerald); }

.tab-loader { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px; gap: 12px; color: var(--txt2); font-size: 0.82rem; }

/* ══════════════════════════════════════════════════════════════ */
/*  INVITES TAB                                                   */
/* ══════════════════════════════════════════════════════════════ */
.invites-list { padding: 0 14px; display: flex; flex-direction: column; gap: 10px; }

.invite-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  transition: border-color var(--t-fast);
  position: relative;
  overflow: hidden;
}
.invite-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--primary);
}
.invite-card.accepted::before  { background: var(--emerald); }
.invite-card.declined::before  { background: var(--rose); }

.ic-header { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.ic-logo { width: 40px; height: 40px; border-radius: 10px; background: var(--bg3); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.ic-meta { flex: 1; }
.ic-company { font-size: 0.7rem; font-weight: 600; color: var(--txt2); }
.ic-role    { font-size: 0.9rem; font-weight: 700; color: var(--txt1); margin-top: 2px; }

.ic-status-badge {
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.62rem; font-weight: 700;
  background: var(--primary-light); color: var(--primary);
}
.ic-status-badge.accepted { background: var(--emerald-light); color: var(--emerald); }
.ic-status-badge.declined { background: var(--rose-light); color: var(--rose); }

.ic-details { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.ic-detail  { display: flex; align-items: center; gap: 6px; font-size: 0.74rem; color: var(--txt2); }
.ic-detail-ico { font-size: 0.85rem; }

.ic-actions { display: flex; gap: 8px; }
.btn-accept {
  flex: 1; padding: 9px;
  background: var(--emerald-light); border: 1.5px solid var(--emerald); border-radius: var(--radius-md);
  color: var(--emerald); font-size: 0.78rem; font-weight: 700;
  cursor: pointer; transition: all var(--t-fast);
}
.btn-accept:hover { background: var(--emerald); color: #fff; }
.btn-decline {
  flex: 1; padding: 9px;
  background: var(--rose-light); border: 1.5px solid rgba(244,63,94,0.3); border-radius: var(--radius-md);
  color: var(--rose); font-size: 0.78rem; font-weight: 700;
  cursor: pointer; transition: all var(--t-fast);
}
.btn-decline:hover { background: var(--rose); color: #fff; }

/* ══════════════════════════════════════════════════════════════ */
/*  PROFILE TAB                                                   */
/* ══════════════════════════════════════════════════════════════ */
.profile-hdr-card {
  margin: 14px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 18px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.profile-ring-lg-wrap { position: relative; flex-shrink: 0; }
.pcring-lg .pcring-bg   { stroke: rgba(255,255,255,0.07); }
.pcring-lg .pcring-fill { stroke: var(--primary); transition: stroke-dashoffset 1.2s cubic-bezier(.4,0,.2,1); }
.profile-lg-avatar {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 800; color: var(--txt1); text-transform: uppercase;
  background: linear-gradient(135deg, rgba(79,70,229,0.2), rgba(168,85,247,0.2));
  border-radius: 50%;
  margin: 8px;
}
.profile-hdr-info { flex: 1; min-width: 0; }
.phdr-name       { font-size: 1rem; font-weight: 800; color: var(--txt1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phdr-email      { font-size: 0.72rem; color: var(--txt2); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phdr-completion { margin-top: 5px; }
.phdr-pct        { font-size: 0.76rem; font-weight: 700; }

.psections { padding: 0 14px; display: flex; flex-direction: column; gap: 10px; padding-bottom: 20px; }
.psec-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px;
}
.psec-title { font-size: 0.8rem; font-weight: 700; color: var(--txt2); margin-bottom: 12px; }
.pinfo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pinfo-item.full { grid-column: 1 / -1; }
.pi-lbl { display: block; font-size: 0.64rem; font-weight: 600; color: var(--txt3); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
.pi-val { display: block; font-size: 0.82rem; font-weight: 600; color: var(--txt1); }

.skills-chip-display { display: flex; flex-wrap: wrap; gap: 6px; }
.skill-chip-disp {
  padding: 4px 10px;
  background: var(--skill-bg);
  border: 1px solid var(--skill-border);
  border-radius: var(--radius-full);
  font-size: 0.7rem; font-weight: 700; color: var(--skill-color);
  text-shadow: var(--skill-glow);
  box-shadow: inset 0 0 4px var(--skill-border), 0 0 8px var(--skill-bg);
  transition: all var(--t-fast);
}

.logout-btn { margin-top: 6px; border-color: rgba(244,63,94,0.3) !important; color: var(--rose) !important; }

/* ══════════════════════════════════════════════════════════════ */
/*  STATS TAB                                                     */
/* ══════════════════════════════════════════════════════════════ */
.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 4px 14px 16px;
}
.metric-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  transition: all var(--t-fast);
}
.metric-card:hover { border-color: var(--primary); background: var(--card-hover); }
.mc-icon { font-size: 1.4rem; }
.mc-num  { font-size: 1.8rem; font-weight: 800; color: var(--txt1); line-height: 1; }
.mc-label { font-size: 0.74rem; font-weight: 700; color: var(--txt1); }
.mc-sub   { font-size: 0.62rem; color: var(--txt2); }

.stats-section-ttl { font-size: 0.88rem; font-weight: 800; color: var(--txt1); padding: 6px 14px 10px; }

.activity-bars {
  padding: 0 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ab-row { display: flex; align-items: center; gap: 10px; }
.ab-week { font-size: 0.7rem; font-weight: 600; color: var(--txt2); width: 50px; flex-shrink: 0; }
.ab-bar-wrap { flex: 1; height: 20px; background: rgba(255,255,255,0.05); border-radius: 4px; overflow: hidden; }
.ab-bar { height: 100%; background: linear-gradient(90deg, var(--primary), #818cf8); border-radius: 4px; transition: width 1s cubic-bezier(.4,0,.2,1); }
.ab-count { font-size: 0.7rem; font-weight: 700; color: var(--txt1); width: 20px; text-align: right; flex-shrink: 0; }

.skills-demand { padding: 0 14px 20px; display: flex; flex-direction: column; gap: 10px; }
.sd-item { display: flex; flex-direction: column; gap: 4px; }
.sd-top  { display: flex; align-items: center; justify-content: space-between; }
.sd-skill { font-size: 0.78rem; font-weight: 600; color: var(--txt1); }
.sd-tag   { font-size: 0.62rem; font-weight: 700; padding: 2px 8px; border-radius: var(--radius-full); }
.sd-tag.high   { background: rgba(16,185,129,.15); color: var(--emerald); }
.sd-tag.medium { background: rgba(245,158,11,.15); color: var(--amber); }
.sd-tag.low    { background: rgba(255,255,255,.07); color: var(--txt2); }
.sd-bar-wrap { height: 6px; background: rgba(255,255,255,0.06); border-radius: 3px; overflow: hidden; }
.sd-bar { height: 100%; border-radius: 3px; transition: width 1s cubic-bezier(.4,0,.2,1); }
.sd-bar.high   { background: var(--emerald); }
.sd-bar.medium { background: var(--amber); }
.sd-bar.low    { background: var(--txt3); }

/* ══════════════════════════════════════════════════════════════ */
/*  SUCCESS SCREEN                                               */
/* ══════════════════════════════════════════════════════════════ */
.success-screen {
  align-items: center;
  justify-content: flex-start;
  padding: 32px 24px;
  overflow-y: auto;
}
.success-icon-wrap {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: rgba(16,185,129,0.12);
  border: 2px solid var(--emerald);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  margin-bottom: 20px;
  box-shadow: 0 0 30px var(--emerald-glow);
  animation: popIn .5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
@keyframes popIn {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.success-check { font-size: 2rem; color: var(--emerald); font-weight: 800; }
.success-h1    { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; text-align: center; }
.success-msg   { font-size: 0.82rem; color: var(--txt2); text-align: center; margin-bottom: 20px; line-height: 1.6; }
.success-meta-box {
  width: 100%;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
}
.smeta-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.smeta-lbl { font-size: 0.72rem; color: var(--txt2); font-weight: 600; }
.smeta-val { font-size: 0.8rem; font-weight: 700; color: var(--txt1); text-align: right; flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════════ */
/*  OVERLAYS & PANELS                                            */
/* ══════════════════════════════════════════════════════════════ */

/* Backdrop */
.panel-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(3px);
  z-index: 40;
}

/* Slide panels (right/left drawers) */
.slide-panel {
  position: absolute;
  top: 0; bottom: 0;
  width: 300px;
  max-width: 85%;
  background: var(--bg2);
  border: 1px solid var(--border2);
  z-index: 50;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: slideIn .3s cubic-bezier(.4,0,.2,1);
}
.notif-panel { right: 0; border-radius: var(--radius-lg) 0 0 var(--radius-lg); border-right: none; }
.side-drawer {
  left: 0;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  border-left: none;
  background: var(--card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1.5px solid var(--border2);
  box-shadow: 8px 0 32px rgba(0, 0, 0, 0.25);
}
.sync-panel  { left: 0; border-radius: 0 var(--radius-lg) var(--radius-lg) 0; border-left: none; }

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
.side-drawer, .sync-panel { animation-name: slideInLeft; }
@keyframes slideInLeft {
  from { transform: translateX(-100%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

.panel-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.panel-hdr h3 { font-size: 0.95rem; font-weight: 800; }
.panel-close  { font-size: 1.4rem; color: var(--txt2); width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 6px; cursor: pointer; }
.panel-close:hover { background: var(--bg3); color: var(--txt1); }

/* Notifications Panel */
.mark-read-btn { font-size: 0.72rem; font-weight: 600; color: var(--primary); padding: 8px 16px; border-bottom: 1px solid var(--border); text-align: right; cursor: pointer; background: none; border-top: none; border-left: none; border-right: none; width: 100%; }
.mark-read-btn:hover { background: var(--bg3); }
.notif-list { flex: 1; overflow-y: auto; }

.notif-item {
  display: flex;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  transition: background var(--t-fast);
  cursor: pointer;
}
.notif-item:hover { background: var(--bg3); }
.notif-item.unread { background: rgba(79,70,229,0.06); }
.notif-ico   { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.notif-body  { flex: 1; min-width: 0; }
.notif-text  { font-size: 0.78rem; font-weight: 600; color: var(--txt1); line-height: 1.4; }
.notif-time  { font-size: 0.66rem; color: var(--txt3); margin-top: 3px; }
.notif-dot-unread {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  margin-top: 5px;
}

/* Side Drawer */
.drawer-hdr {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 20px;
  border-bottom: 1.5px solid var(--border);
  background: linear-gradient(135deg, var(--bg3) 0%, var(--bg2) 100%);
  flex-shrink: 0;
}
.drawer-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 12px var(--primary-glow);
  transition: transform var(--t-fast);
}
.drawer-avatar:hover {
  transform: scale(1.05);
}
.drawer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.drawer-name  { font-size: 0.95rem; font-weight: 800; color: var(--txt1); letter-spacing: -0.01em; }
.drawer-email { font-size: 0.74rem; color: var(--txt2); margin-top: 2px; }
.drawer-menu  { flex: 1; padding: 16px 0; }
.drawer-footer { padding: 12px 0; border-top: 1.5px solid var(--border); }
.dmenu-item {
  width: calc(100% - 24px);
  margin: 4px 12px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--txt1);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: all var(--t-fast);
}
.dmenu-item:hover {
  background: var(--bg3);
  color: var(--primary);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.dmenu-item.danger {
  color: var(--rose);
}
.dmenu-item.danger:hover {
  background: var(--rose-light);
  color: var(--rose);
  box-shadow: 0 4px 12px var(--rose-light);
}

/* Sync Panel */
.sync-info-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px;
  padding: 12px;
  background: var(--emerald-light);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: var(--radius-md);
  font-size: 0.76rem;
}
.sync-info-card strong { display: block; font-weight: 700; margin-bottom: 3px; }
.sync-info-card p { color: var(--txt2); }
.sync-network-row { display: flex; align-items: center; gap: 8px; padding: 0 14px 12px; font-size: 0.78rem; }
.panel-sec-title { font-size: 0.76rem; font-weight: 700; color: var(--txt2); padding: 4px 14px 6px; }
.sync-queue-list { flex: 1; overflow-y: auto; padding: 0 14px; }
.empty-queue { font-size: 0.78rem; color: var(--txt3); text-align: center; padding: 20px; }
.queue-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  background: var(--bg3);
  border-radius: var(--radius-md);
  margin-bottom: 6px;
  font-size: 0.76rem;
}
.qi-name { font-weight: 600; color: var(--txt1); }
.qi-meta { color: var(--txt2); font-size: 0.66rem; }
.qi-status { font-size: 0.66rem; font-weight: 700; color: var(--amber); }
.sync-actions { display: flex; gap: 8px; padding: 12px 14px; flex-shrink: 0; }
.sync-actions .btn { flex: 1; padding: 9px; }

/* Job Detail Bottom Sheet */
.bs-overlay {
  position: absolute;
  inset: 0;
  z-index: 60;
}
.bs-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}
.bottom-sheet {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  max-height: 88dvh;
  background: var(--bg2);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  border: 1.5px solid var(--border2);
  border-bottom: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp .35s cubic-bezier(.4,0,.2,1);
}
.jd-scrollable {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.jd-scrollable::-webkit-scrollbar { width: 3px; }
.jd-scrollable::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 2px; }
@keyframes slideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
.bs-handle {
  width: 36px; height: 4px;
  background: var(--border2);
  border-radius: 2px;
  margin: 10px auto 4px;
  flex-shrink: 0;
}

.jd-header { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px 10px; }
.jd-logo   { width: 48px; height: 48px; border-radius: 12px; background: var(--bg3); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.jd-meta   { flex: 1; min-width: 0; }
.jd-title  { font-size: 1rem; font-weight: 800; color: var(--txt1); }
.jd-company-row { display: flex; align-items: center; gap: 8px; margin-top: 3px; }
.jd-company { font-size: 0.78rem; color: var(--txt2); }
.jd-rating  { display: flex; align-items: center; gap: 3px; font-size: 0.74rem; font-weight: 700; color: var(--txt1); }
.star { color: var(--star); }
.save-heart { font-size: 1.2rem; cursor: pointer; transition: transform var(--t-fast); width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 8px; }
.save-heart:hover { transform: scale(1.2); background: var(--bg3); }

.jd-pills { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; }
.jd-pill  { padding: 4px 10px; background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius-full); font-size: 0.7rem; font-weight: 600; color: var(--txt2); }
.jd-pill.salary { color: var(--emerald); border-color: rgba(16,185,129,0.25); background: var(--emerald-light); }

.jd-scrollable { flex: 1; overflow-y: auto; }
.jd-section { padding: 10px 16px; }
.jd-sec-title { font-size: 0.8rem; font-weight: 700; color: var(--txt2); margin-bottom: 6px; }
.jd-desc { font-size: 0.82rem; color: var(--txt2); line-height: 1.6; }
.jd-applicants { padding: 0 16px 10px; font-size: 0.72rem; color: var(--txt3); }

.jd-actions { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--border); flex-shrink: 0; }
.jd-actions .btn { padding: 12px; }

/* Search Overlay */
.search-overlay {
  position: absolute;
  inset: 0;
  background: var(--bg);
  z-index: 70;
  display: flex;
  flex-direction: column;
  animation: fadeSlideUp .2s ease;
}
.search-hdr {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.search-input-box {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  background: var(--bg3);
  border: 1.5px solid var(--border2);
  border-radius: var(--radius-full);
  padding: 0 14px;
}
.search-input-box input {
  flex: 1;
  background: none;
  color: var(--txt1);
  font-size: 0.88rem;
}
.search-input-box input::placeholder { color: var(--txt3); }
.search-clear { font-size: 1.1rem; color: var(--txt2); cursor: pointer; border: none; background: none; }

.search-sec-lbl { font-size: 0.72rem; font-weight: 700; color: var(--txt2); padding: 10px 14px 6px; text-transform: uppercase; letter-spacing: .05em; }
.search-recent-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 0.82rem; color: var(--txt1);
  cursor: pointer; transition: background var(--t-fast);
}
.search-recent-item:hover { background: var(--bg3); }
.search-result-item {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background var(--t-fast);
}
.search-result-item:hover { background: var(--bg3); }
.sri-title   { font-size: 0.88rem; font-weight: 700; color: var(--txt1); }
.sri-company { font-size: 0.72rem; color: var(--txt2); }
.sri-salary  { font-size: 0.72rem; color: var(--emerald); font-weight: 600; margin-top: 2px; }

/* ══════════════════════════════════════════════════════════════ */
/*  GLOBAL COMPONENTS                                            */
/* ══════════════════════════════════════════════════════════════ */

/* OAuth Overlay */
.oauth-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex; align-items: center; justify-content: center;
  animation: fadeIn 0.25s ease forwards;
}
.oauth-card {
  background: var(--bg2);
  border: 1.5px solid var(--border2);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  width: 260px;
  animation: popIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.oauth-spinner {
  width: 44px; height: 44px;
  border: 3px solid var(--border2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.oauth-card h4 { font-size: 0.9rem; font-weight: 700; }
.oauth-card p  { font-size: 0.74rem; color: var(--txt2); }

/* Spinner */
.spinner {
  width: 28px; height: 28px;
  border: 3px solid var(--border2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* Toast */
.toast {
  position: fixed;
  bottom: calc(var(--nav-h) + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg2);
  border: 1.5px solid var(--border2);
  border-radius: var(--radius-full);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--txt1);
  z-index: 200;
  transition: transform .35s cubic-bezier(.4,0,.2,1), opacity .35s;
  opacity: 0;
  max-width: 340px;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast.success { border-color: rgba(16,185,129,0.4); background: rgba(16,185,129,0.1); }
.toast.error   { border-color: rgba(244,63,94,0.4);  background: rgba(244,63,94,0.08); }
.toast.warning { border-color: rgba(245,158,11,0.4); background: rgba(245,158,11,0.08); }
.toast-icon   { font-size: 0.9rem; flex-shrink: 0; }
.toast-message { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toast-close  { font-size: 1rem; color: var(--txt2); cursor: pointer; flex-shrink: 0; background: none; border: none; }

/* Empty states */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  gap: 10px;
  text-align: center;
}
.empty-icon { font-size: 3rem; opacity: 0.5; }
.empty-title { font-size: 0.9rem; font-weight: 700; color: var(--txt1); }
.empty-sub   { font-size: 0.78rem; color: var(--txt2); line-height: 1.5; }

/* Confetti animation */
@keyframes confettiPiece {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0) rotate(0deg); }
  20%  { opacity: 1; }
  65%  { opacity: 0.9; transform: translate(calc(-50% + var(--tx, 0px)), calc(-50% + var(--ty, 0px))) scale(1.1) rotate(210deg); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--tx, 0px)), calc(-50% + var(--ty, 0px))) scale(0.8) rotate(390deg); }
}

/* Responsive — full-width on small screens */
@media (max-width: 440px) {
  .app-wrap { max-width: 100%; }
  .bottom-sheet { border-radius: 20px 20px 0 0; }
}

/* ══════════════════════════════════════════════════════════════ */
/*  SPLASH SCREEN                                                 */
/* ══════════════════════════════════════════════════════════════ */
.splash-screen {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  z-index: 99999;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
  opacity: 1;
  visibility: visible;
}
.splash-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}
.splash-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.splash-logo {
  width: 90px;
  height: auto;
  filter: drop-shadow(0 0 12px rgba(79,70,229,0.3));
}
.splash-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--txt1);
  letter-spacing: -0.02em;
}
.splash-tag {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}
.splash-spinner-wrap {
  margin-top: 10px;
}
.splash-spinner {
  width: 32px;
  height: 32px;
  border: 3.5px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s cubic-bezier(.5,0,.5,1) infinite;
}
.animate-pulse {
  animation: pulse 2s infinite ease-in-out;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(0.97); }
}

/* ══════════════════════════════════════════════════════════════ */
/*  RESUME UPLOAD & STATUS                                        */
/* ══════════════════════════════════════════════════════════════ */
.resume-upload-box {
  border: 2px dashed var(--border2);
  background: var(--bg3);
  border-radius: var(--radius-lg);
  padding: 32px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--t-fast);
}
.resume-upload-box:hover, .resume-upload-box.dragover {
  border-color: var(--primary);
  background: rgba(79,70,229,0.04);
}
.resume-upload-box strong {
  font-size: 0.9rem;
  color: var(--txt1);
}
.resume-upload-box p {
  color: var(--txt3);
}
.resume-status-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  margin-top: 10px;
  animation: fadeSlideUp 0.25s ease;
}

/* ══════════════════════════════════════════════════════════════ */
/*  SETTINGS & SWITCH TOGGLE                                      */
/* ══════════════════════════════════════════════════════════════ */
.settings-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  gap: 16px;
}
.settings-option strong {
  font-size: 0.88rem;
  color: var(--txt1);
}
.switch-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.switch-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.switch-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: var(--border2);
  border-radius: 24px;
  transition: .3s;
}
.switch-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  border-radius: 50%;
  transition: .3s;
}
input:checked + .switch-slider {
  background-color: var(--primary);
}
input:checked + .switch-slider:before {
  transform: translateX(20px);
}

/* ══════════════════════════════════════════════════════════════ */
/*  THEME SYSTEM OVERRIDES                                        */
/* ══════════════════════════════════════════════════════════════ */

/* ── Light Theme ── */
.theme-light {
  --bg:            #f6f8fa;
  --bg2:           #ffffff;
  --bg3:           #eaeef2;
  --card:          rgba(255, 255, 255, 0.95);
  --card-hover:    #f0f2f5;
  --border:        rgba(0,0,0,0.06);
  --border2:       rgba(0,0,0,0.12);
  --primary:       #4f46e5;
  --primary-d:     #3730a3;
  --primary-glow:  rgba(79,70,229,0.15);
  --primary-light: rgba(79,70,229,0.08);
  --txt1:          #1f2328;
  --txt2:          #57606a;
  --txt3:          #8c959f;

  /* Skill variables */
  --skill-bg:      rgba(0, 0, 0, 0.05);
  --skill-border:  rgba(0, 0, 0, 0.15);
  --skill-color:   #000000;
  --skill-glow:    none;

  /* Featured banner */
  --fb-bg:          linear-gradient(135deg, #e0e7ff 0%, #eef2ff 50%, #ffffff 100%);
  --fb-border:      rgba(79,70,229,0.2);
  --fb-glow:        rgba(79,70,229,0.15);
}
.theme-light .top-header {
  background: rgba(255, 255, 255, 0.95);
}
.theme-light .bottom-nav {
  background: rgba(255, 255, 255, 0.97);
}

/* ── Anime Pastel Theme ── */
.theme-anime {
  --bg:            #fff0f5; /* Lavender blush */
  --bg2:           #ffffff;
  --bg3:           #ffe4e1; /* Misty rose */
  --card:          rgba(255, 255, 255, 0.96);
  --card-hover:    #fffaf0; /* Floral white */
  --border:        rgba(255, 182, 193, 0.4);
  --border2:       rgba(255, 105, 180, 0.3);
  --primary:       #ff69b4; /* Hot pink */
  --primary-d:     #ff1493;
  --primary-glow:  rgba(255,105,180,0.25);
  --primary-light: rgba(255,105,180,0.12);
  --txt1:          #4b0082; /* Indigo */
  --txt2:          #8a2be2;
  --txt3:          #da70d6;
  --emerald:       #00fa9a;
  --star:          #ff69b4;

  /* Skill variables */
  --skill-bg:      rgba(0, 0, 0, 0.04);
  --skill-border:  rgba(255, 105, 180, 0.3);
  --skill-color:   #000000;
  --skill-glow:    none;

  /* Featured banner */
  --fb-bg:          linear-gradient(135deg, #ffe4e1 0%, #fff0f5 50%, #ffffff 100%);
  --fb-border:      rgba(255, 105, 180, 0.25);
  --fb-glow:        rgba(255, 105, 180, 0.2);
}
.theme-anime .top-header {
  background: rgba(255, 240, 245, 0.95);
}
.theme-anime .bottom-nav {
  background: rgba(255, 240, 245, 0.97);
}

/* ── Cyberpunk Neon Theme ── */
.theme-cyberpunk {
  --bg:            #0c0721;
  --bg2:           #170e33;
  --bg3:           #24154a;
  --card:          rgba(23, 14, 51, 0.94);
  --card-hover:    rgba(36, 21, 74, 0.97);
  --border:        #ff0055;
  --border2:       #00ffcc;
  --primary:       #00ffcc; /* Neon cyan */
  --primary-d:     #00cc99;
  --primary-glow:  rgba(0,255,204,0.3);
  --primary-light: rgba(0,255,204,0.12);
  --txt1:          #ffff00; /* Neon yellow */
  --txt2:          #00ffcc;
  --txt3:          #ff0055;
  --emerald:       #39ff14;
  --star:          #ffff00;

  /* Skill variables */
  --skill-bg:      rgba(0, 255, 204, 0.15);
  --skill-border:  rgba(0, 255, 204, 0.5);
  --skill-color:   #ffff00;
  --skill-glow:    0 0 8px rgba(0, 255, 204, 0.6);

  /* Featured banner */
  --fb-bg:          linear-gradient(135deg, #24154a 0%, #170e33 50%, #0c0721 100%);
  --fb-border:      rgba(0, 255, 204, 0.4);
  --fb-glow:        rgba(0, 255, 204, 0.3);
}
.theme-cyberpunk .top-header {
  background: rgba(12, 7, 33, 0.95);
}
.theme-cyberpunk .bottom-nav {
  background: rgba(12, 7, 33, 0.97);
}

/* ── Forest Emerald Theme ── */
.theme-forest {
  --bg:            #0d1d15;
  --bg2:           #142e22;
  --bg3:           #1c402f;
  --card:          rgba(20, 46, 34, 0.94);
  --card-hover:    rgba(28, 64, 47, 0.97);
  --border:        rgba(16,185,129,0.15);
  --border2:       rgba(16,185,129,0.3);
  --primary:       #10b981; /* Emerald */
  --primary-d:     #047857;
  --primary-glow:  rgba(16,185,129,0.25);
  --primary-light: rgba(16,185,129,0.12);
  --txt1:          #ecfdf5;
  --txt2:          #a7f3d0;
  --txt3:          #6ee7b7;
  --emerald:       #34d399;

  /* Skill variables */
  --skill-bg:      rgba(16, 185, 129, 0.15);
  --skill-border:  rgba(16, 185, 129, 0.45);
  --skill-color:   #ecfdf5;
  --skill-glow:    0 0 6px rgba(16, 185, 129, 0.5);

  /* Featured banner */
  --fb-bg:          linear-gradient(135deg, #1c402f 0%, #142e22 50%, #0d1d15 100%);
  --fb-border:      rgba(16, 185, 129, 0.4);
  --fb-glow:        rgba(16, 185, 129, 0.3);
}
.theme-forest .top-header {
  background: rgba(13, 29, 21, 0.95);
}
.theme-forest .bottom-nav {
  background: rgba(13, 29, 21, 0.97);
}

/* ══════════════════════════════════════════════════════════════ */
/*  HIGH CONTRAST THEME OVERRIDES                                 */
/* ══════════════════════════════════════════════════════════════ */
.high-contrast {
  --bg: #000000;
  --bg2: #09090b;
  --bg3: #18181b;
  --card: #09090b;
  --card-hover: #18181b;
  --border: #3f3f46;
  --border2: #71717a;
  --txt1: #ffffff;
  --txt2: #f4f4f5;
  --txt3: #a1a1aa;
  --primary: #ffffff;
  --primary-glow: rgba(255,255,255,0.4);
  --primary-light: rgba(255,255,255,0.15);

  /* Skill variables */
  --skill-bg:      #000000;
  --skill-border:  #ffffff;
  --skill-color:   #ffffff;
  --skill-glow:    none;

  /* Featured banner */
  --fb-bg:          #000000;
  --fb-border:      #ffffff;
  --fb-glow:        transparent;
}
.high-contrast .google-btn {
  border-color: #ffffff;
}
.high-contrast .btn-primary {
  background: #ffffff !important;
  color: #000000 !important;
}
.high-contrast .btn-outline {
  border-color: #ffffff !important;
  color: #ffffff !important;
}

/* ── Resume Upload Box ───────────────────────────────────────── */
.resume-upload-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 24px 16px;
  border: 2px dashed rgba(79,70,229,0.45);
  border-radius: var(--radius-md);
  background: rgba(79,70,229,0.06);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  text-align: center;
  min-height: 100px;
}
.resume-upload-box:hover,
.resume-upload-box:active {
  border-color: var(--primary);
  background: rgba(79,70,229,0.13);
}
.resume-upload-box.has-file {
  border-color: var(--emerald);
  background: rgba(16,185,129,0.08);
}
.ru-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--txt1);
}
.ru-sub {
  font-size: 0.75rem;
  color: var(--txt3);
}

/* ── Applied Success Popup Overlay ────────────────────────────── */
.success-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.success-popup-overlay.show {
  opacity: 1;
}
.success-popup-card {
  background: var(--bg2, #161b22);
  border: 1px solid var(--border2, rgba(255,255,255,0.12));
  border-radius: var(--radius-lg, 18px);
  padding: 32px 24px;
  width: 290px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(79, 70, 229, 0.15);
  transform: scale(0.85);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.success-popup-overlay.show .success-popup-card {
  transform: scale(1);
}
.success-popup-title {
  color: var(--txt1, #f0f6fc);
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 16px;
  margin-bottom: 6px;
  font-family: 'Outfit', sans-serif;
}
.success-popup-subtitle {
  color: var(--txt2, #8b949e);
  font-size: 0.9rem;
  margin-bottom: 20px;
  font-weight: 500;
}
.success-popup-close-hint {
  font-size: 0.75rem;
  color: var(--txt3, #6e7681);
  display: block;
}

/* Checkmark Tick Drawing Animation */
.success-checkmark-circle {
  width: 72px;
  height: 72px;
  margin: 0 auto;
}
.checkmark-svg {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: block;
  stroke-width: 4;
  stroke: var(--emerald, #10b981);
  stroke-miterlimit: 10;
  box-shadow: inset 0px 0px 0px var(--emerald, #10b981);
  animation: fillCheckmark .4s ease-in-out .4s forwards, scaleCheckmark .3s ease-in-out .9s both;
}
.checkmark-circle-path {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 4;
  stroke-linecap: round;
  stroke: var(--emerald, #10b981);
  fill: none;
  animation: strokeCircle 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
.checkmark-kick-path {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke-linecap: round;
  stroke-width: 4;
  stroke: var(--emerald, #10b981);
  animation: strokeCheckmark 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes strokeCircle {
  100% {
    stroke-dashoffset: 0;
  }
}
@keyframes strokeCheckmark {
  100% {
    stroke-dashoffset: 0;
  }
}
@keyframes fillCheckmark {
  100% {
    box-shadow: inset 0px 0px 0px 40px rgba(16, 185, 129, 0.1);
  }
}
@keyframes scaleCheckmark {
  0%, 100% {
    transform: none;
  }
  50% {
    transform: scale3d(1.1, 1.1, 1);
  }
}

.company-card-sm:hover {
  transform: translateY(-3px);
  border-color: var(--primary) !important;
  box-shadow: 0 6px 15px rgba(79,70,229,0.15) !important;
}

/* ── Responsive styling for Tablets & Desktops ── */
@media (min-width: 768px) {
  body {
    overflow: auto;
    background-color: #030712;
    background-image: 
      radial-gradient(circle at 10% 20%, rgba(79, 70, 229, 0.08) 0%, transparent 40%),
      radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 40%);
  }

  .app-wrap {
    max-width: 100%;
    height: 100vh;
    max-height: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  /* Full Screen absolute overlays like Splash, Success, Auth, Wizard */
  .full-screen {
    border-radius: 0;
  }

  /* Centering Auth Container */
  #view-auth {
    grid-column: 1 / -1;
    z-index: 100;
    height: 100vh;
    background: var(--bg);
  }
  .auth-container {
    max-width: 400px;
    border: 1px solid var(--border2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  }

  /* Centering Profile Wizard as a card modal */
  #view-wizard {
    grid-column: 1 / -1;
    z-index: 95;
    justify-content: center;
    align-items: center;
    background: rgba(10, 14, 20, 0.85);
    backdrop-filter: blur(12px);
    padding: 40px 20px;
    overflow-y: auto;
  }
  #view-wizard > * {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
  }
  #view-wizard .wizard-body {
    background: var(--bg2);
    border-left: 1px solid var(--border2);
    border-right: 1px solid var(--border2);
    padding: 24px 32px;
    max-height: 70vh;
    overflow-y: auto;
  }
  #view-wizard .wizard-header {
    background: var(--bg3);
    border: 1px solid var(--border2);
    border-bottom: none;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    padding: 24px 32px;
  }
  #view-wizard .wizard-footer {
    background: var(--bg3);
    border: 1px solid var(--border2);
    border-top: none;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    padding: 16px 32px;
  }

  /* Main App Shell Layout (transforms to sidebar grid) */
  .app-shell {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 260px 1fr;
    grid-template-rows: 64px 1fr;
    grid-template-areas: 
      "sidebar header"
      "sidebar main";
    height: 100vh;
    width: 100%;
    border-radius: 0;
  }

  /* Top Header position */
  .top-header {
    grid-area: header;
    position: static;
    width: 100%;
    height: 64px;
    border-radius: 0 !important;
    border-bottom: 1px solid var(--border2);
    background: var(--bg);
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  #btn-hamburger {
    display: none !important;
  }
  .header-search-bar {
    max-width: 480px;
  }

  /* Scrollable tab main content area */
  .tab-area {
    grid-area: main;
    height: 100%;
    padding: 32px 48px !important;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
  }

  /* Multi-column grid adjustments */
  .stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    overflow-x: visible;
  }
  .stat-card {
    width: 100% !important;
  }
  .v-jobs-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
  }

  .desktop-only-sidebar {
    display: flex !important;
  }

  /* Bottom Nav styled as Sidebar on Desktop */
  .bottom-nav {
    grid-area: sidebar;
    position: static;
    width: 260px;
    height: 100%;
    flex-direction: column;
    justify-content: flex-start;
    padding: 32px 16px;
    gap: 12px;
    border-right: 1px solid var(--border2);
    border-top: none;
    border-radius: 0 !important;
    background: var(--bg2);
  }
  .bottom-nav .nav-btn {
    width: 100%;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    height: auto;
    border-radius: 10px;
  }
  .bottom-nav .nav-btn span {
    font-size: 0.95rem;
    font-weight: 600;
  }
  .bottom-nav .nav-btn.active {
    background: var(--primary-light);
    color: var(--txt1);
    box-shadow: inset 3px 0 0 var(--primary);
  }
  .bottom-nav .nav-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.03);
  }

  /* Job Detail Side panel instead of bottom sheet */
  .bottom-sheet {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: 520px;
    height: 100%;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    border-top-right-radius: 0;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
    transform: translateX(100%);
    animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    background: var(--bg2);
    z-index: 120;
  }
  .bs-handle {
    display: none;
  }
  @keyframes slideInRight {
    to { transform: translateX(0); }
  }

  /* Centering Success Screen as card modal */
  #view-success {
    grid-column: 1 / -1;
    z-index: 95;
    justify-content: center;
    align-items: center;
    background: rgba(10, 14, 20, 0.85);
    backdrop-filter: blur(12px);
    padding: 20px;
  }
  #view-success > * {
    width: 100%;
    max-width: 480px;
    background: var(--bg2);
    border: 1px solid var(--border2);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  }

  /* Employer Portal grid layout */
  #view-employer-app {
    grid-column: 1 / -1;
    z-index: 100;
    height: 100vh;
  }
  #view-employer-app main {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
  }
  #emp-jobs-list {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 16px;
  }

  /* Desktop Sidebar branding and profile components */
  .bottom-nav {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    padding: 16px 14px !important;
    gap: 4px !important;
  }
  
  .sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 12px 12px 12px;
    border-bottom: 1px solid var(--border2);
    margin-bottom: 12px;
  }
  
  .sidebar-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 8px;
  }
  
  .sidebar-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--txt1);
    font-family: 'Outfit', sans-serif;
  }
  
  .sidebar-user {
    margin-top: auto !important; /* Push to bottom */
    padding-top: 12px;
    border-top: 1px solid var(--border2);
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .sidebar-user-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px;
  }
  
  .sidebar-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.95rem;
    flex-shrink: 0;
  }
  
  .sidebar-user-details {
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  
  .sidebar-username {
    font-weight: 600;
    color: var(--txt1);
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .sidebar-email {
    font-size: 0.75rem;
    color: var(--txt3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .sidebar-logout-btn {
    width: 100%;
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 16px !important;
    height: auto !important;
    border-radius: 10px !important;
    background: transparent !important;
    border: 1px solid var(--border2) !important;
    color: var(--danger) !important;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .sidebar-logout-btn:hover {
    background: rgba(239, 68, 68, 0.1) !important;
    border-color: var(--danger) !important;
    color: var(--danger) !important;
  }

  /* Force hide drawer and backdrop when in desktop layout */
  #side-drawer, #drawer-backdrop {
    display: none !important;
  }
}

/* Mobile responsive settings */
@media (max-width: 767px) {
  .app-wrap {
    max-width: 100%;
  }
  #nav-saved, #nav-settings, #nav-sync {
    display: none !important;
  }
}

/* Custom Scrollbar for Desktop Sidebar */
@media (min-width: 768px) {
  .bottom-nav {
    height: 100vh !important;
    box-sizing: border-box !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }
  .bottom-nav::-webkit-scrollbar {
    width: 6px;
  }
  .bottom-nav::-webkit-scrollbar-track {
    background: transparent;
  }
  .bottom-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
  }
  .bottom-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.1);
  }
}

/* Employer Portal Header & Styling Enhancements */
#view-employer-app {
  display: flex;
  flex-direction: column;
}

#view-employer-app .app-header {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border2);
  flex-shrink: 0;
  box-sizing: border-box;
}

#view-employer-app .h-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

#view-employer-app .h-logo {
  height: 36px !important;
  width: 36px !important;
  object-fit: cover;
  border-radius: 8px;
}

#view-employer-app .h-text h2 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--txt1);
  margin: 0;
  line-height: 1.2;
}

#view-employer-app .h-text span {
  font-size: 0.72rem;
  color: var(--txt3);
}

#view-employer-app .h-right {
  display: flex;
  align-items: center;
}

#view-employer-app main {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Stats Row styling */
#view-employer-app .stats-row {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

#view-employer-app .stat-card {
  transition: transform var(--t-fast), border-color var(--t-fast);
}

#view-employer-app .stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Premium Form Styling */
.input-element {
  transition: border-color var(--t-fast), background var(--t-fast);
}
.input-element:focus {
  border-color: var(--primary) !important;
  outline: none;
  background: rgba(255, 255, 255, 0.05) !important;
}

/* Landing Header & Navigation for Auth Page */
.auth-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border2);
  display: flex;
  align-items: center;
  z-index: 100;
  box-sizing: border-box;
}

.ah-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

.ah-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ah-logo {
  height: 38px;
  width: 38px;
  object-fit: cover;
  border-radius: 8px;
}

.ah-brand-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--txt1);
  letter-spacing: -0.3px;
}

.ah-brand-tag {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.82rem;
  background: rgba(26, 115, 232, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 4px;
}

.ah-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ah-btn-login, .ah-btn-register {
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

/* Inactive Login */
.ah-btn-login {
  background: transparent;
  color: var(--txt1);
  border: 1px solid var(--border2);
}
.ah-btn-login:hover {
  background: rgba(26, 115, 232, 0.05);
  border-color: var(--primary);
  color: var(--primary);
}

/* Active Login */
.ah-btn-login.active {
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
}

/* Inactive Register */
.ah-btn-register {
  background: transparent;
  color: var(--txt1);
  border: 1px solid var(--border2);
}
.ah-btn-register:hover {
  background: rgba(255, 86, 48, 0.05);
  border-color: #ff5630;
  color: #ff5630;
}

/* Active Register */
.ah-btn-register.active {
  background: #ff5630;
  color: #fff;
  border: 1px solid #ff5630;
}
.ah-btn-register.active:hover {
  background: #e04b27;
  box-shadow: 0 4px 12px rgba(255, 86, 48, 0.2);
}

.ah-divider {
  width: 1px;
  height: 20px;
  background: var(--border2);
}

.ah-dropdown {
  position: relative;
  display: inline-block;
}

.ah-btn-employer {
  background: transparent;
  color: var(--txt1);
  border: 1px solid var(--border2);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}

.ah-btn-employer:hover, .ah-dropdown:hover .ah-btn-employer {
  border-color: var(--txt3);
  background: rgba(255,255,255,0.02);
}

.ah-dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 12px;
  min-width: 180px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  z-index: 105;
  overflow: visible; /* changed from hidden to allow pseudo-element overflow */
  animation: dropdownFade 0.2s ease;
}

.ah-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -12px; /* bridge the 6px gap and provide safety margin */
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.ah-dropdown:hover .ah-dropdown-menu,
.ah-dropdown.active .ah-dropdown-menu {
  display: block;
}

.ah-dropdown-menu a {
  color: var(--txt2);
  padding: 10px 16px;
  text-decoration: none;
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.ah-dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--txt1);
}

/* Split Layout for Recruiter Platform */
.auth-split-wrapper {
  display: flex;
  width: 100%;
  min-height: 100vh;
  box-sizing: border-box;
}

.auth-left-panel {
  flex: 1.2;
  background: linear-gradient(135deg, #0d1117 0%, #171b26 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  box-sizing: border-box;
  color: #fff;
  border-right: 1px solid var(--border2);
  margin-top: 70px;
  min-height: calc(100vh - 70px);
}

.auth-right-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: var(--bg);
  box-sizing: border-box;
  margin-top: 70px;
  min-height: calc(100vh - 70px);
}

.alp-content {
  max-width: 500px;
  width: 100%;
}

.alp-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff, var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.alp-subtitle {
  font-size: 0.95rem;
  color: var(--txt2);
  line-height: 1.6;
  margin-bottom: 40px;
}

.alp-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

.alp-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.alp-icon {
  font-size: 1.4rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 8px;
  border-radius: 12px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border2);
  flex-shrink: 0;
}

.alp-feature h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--txt1);
}

.alp-feature p {
  font-size: 0.82rem;
  color: var(--txt2);
  margin: 0;
  line-height: 1.5;
}

.alp-stats-card {
  display: flex;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border2);
  padding: 20px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.alp-stat h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0 0 4px;
}

.alp-stat label {
  font-size: 0.68rem;
  color: var(--txt3);
  text-transform: uppercase;
  font-weight: 600;
}

/* Theme light adaptive modifications for split layout */
.theme-light .auth-left-panel {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  border-right: 1px solid #e5e7eb;
}
.theme-light .alp-title {
  background: linear-gradient(135deg, #1f2937, var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.theme-light .alp-subtitle, .theme-light .alp-feature p, .theme-light .alp-stat label {
  color: #4b5563;
}
.theme-light .alp-feature h4 {
  color: #1f2937;
}
.theme-light .alp-icon {
  background: #ffffff;
  border: 1px solid #e5e7eb;
}
.theme-light .alp-stats-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .auth-left-panel {
    display: none !important;
  }
  .auth-right-panel {
    flex: 1;
    margin-top: 0;
    min-height: 100vh;
  }
  .auth-split-wrapper {
    min-height: 100vh;
  }
}
@media (max-width: 767px) {
  .auth-header {
    display: none !important;
  }
}

/* Recruiter Sidebar Layout & Theme Styles */
#view-employer-app .admin-wrap {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

#view-employer-app .sidebar {
  width: 240px;
  background: var(--bg2);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: sticky;
  top: 0;
  flex-shrink: 0;
}

#view-employer-app .brand {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}

#view-employer-app .nav-menu {
  flex: 1;
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#view-employer-app .nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  color: var(--txt2);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: left;
  transition: var(--transition);
  cursor: pointer;
  background: transparent;
  border: none;
}

#view-employer-app .nav-item:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--txt1);
}

#view-employer-app .nav-item.active {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(79, 70, 229, 0.15);
}

#view-employer-app .nav-icon {
  font-size: 1.1rem;
}

#view-employer-app .dashboard-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

#view-employer-app .dashboard-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--txt1);
}

/* Light Mode adaptations for Recruiter portal */
.theme-light #view-employer-app {
  background: #f9fafb !important;
}

.theme-light #view-employer-app .sidebar {
  background: #ffffff;
  border-right: 1px solid #e5e7eb;
}

.theme-light #view-employer-app .brand {
  border-bottom: 1px solid #e5e7eb;
}

.theme-light #view-employer-app .nav-item {
  color: #4b5563;
}

.theme-light #view-employer-app .nav-item:hover {
  background: #f3f4f6;
  color: #111827;
}

.theme-light #view-employer-app .nav-item.active {
  background: #eef2ff;
  color: var(--primary);
  border: 1px solid #e0e7ff;
}

.theme-light #view-employer-app .dashboard-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.theme-light #view-employer-app .dashboard-card h3 {
  color: #111827;
}

.theme-light #view-employer-app .topbar {
  background: #ffffff !important;
  border-bottom: 1px solid #e5e7eb !important;
}

.theme-light #view-employer-app #emp-page-title {
  color: #111827 !important;
}

.theme-light #view-employer-app input, 
.theme-light #view-employer-app select, 
.theme-light #view-employer-app textarea {
  background: #ffffff !important;
  border: 1px solid #d1d5db !important;
  color: #111827 !important;
}

/* Responsive sidebar toggle for recruiter portal */
@media (max-width: 768px) {
  #view-employer-app .admin-wrap {
    flex-direction: column;
  }
  #view-employer-app .sidebar {
    width: 100%;
    height: auto;
    position: relative;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  #view-employer-app .nav-menu {
    flex-direction: row;
    overflow-x: auto;
    padding: 10px;
  }
  #view-employer-app .nav-item {
    white-space: nowrap;
    padding: 8px 12px;
  }
}

/* ── Modal Dialog Styles for Recruiter Portal ────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(5px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}
.modal-card {
  width: 550px;
  max-width: 90%;
  max-height: 85vh;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  animation: popUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popUp { from { transform: scale(0.9) translateY(12px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }

.modal-hdr {
  padding: 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-hdr h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  margin: 0;
}
.modal-close {
  font-size: 1.6rem;
  color: var(--txt2);
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.modal-close:hover {
  background: rgba(255,255,255,0.05);
  color: var(--txt1);
}
.modal-sec {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.modal-sec h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--txt3);
  margin: 0 0 10px;
  letter-spacing: 0.5px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.detail-item.full {
  grid-column: 1 / -1;
}
.detail-item label {
  font-size: 0.72rem;
  color: var(--txt3);
  font-weight: 500;
}
.detail-item span {
  font-size: 0.85rem;
  color: var(--txt1);
  font-weight: 600;
}
.skills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.skill-chip {
  background: var(--bg3);
  border: 1px solid var(--border2);
  color: var(--txt2);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 14px;
}

