/* ── Google Fonts ───────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');



/* ── Variables ──────────────────────────────────────────────────────────────── */

:root {

  --primary:    #1e40af;

  --primary-d:  #1e3a8a;

  --primary-l:  #3b82f6;

  --accent:     #f97316;

  --accent-d:   #ea580c;

  --success:    #16a34a;

  --success-bg: #dcfce7;

  --bg:         #f0f4ff;

  --bg2:        #e8eeff;

  --card:       #ffffff;

  --text:       #0f172a;

  --text2:      #334155;

  --muted:      #64748b;

  --border:     #e2e8f0;

  --border2:    #cbd5e1;

  --blue-bg:    #dbeafe;

  --radius:     12px;

  --radius-sm:  8px;

  --shadow:     0 1px 4px rgba(30,64,175,.08), 0 1px 2px rgba(0,0,0,.05);

  --shadow-md:  0 4px 16px rgba(30,64,175,.12), 0 2px 6px rgba(0,0,0,.06);

  --shadow-lg:  0 12px 32px rgba(30,64,175,.16), 0 4px 12px rgba(0,0,0,.08);

}



/* ── Reset ──────────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 93.75%; }

body {

  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  background: var(--bg);

  color: var(--text);

  line-height: 1.6;

  font-size: 1rem;

}

a { color: var(--primary); text-decoration: none; }

a:hover { text-decoration: underline; }

ul { list-style: none; }

img { max-width: 100%; height: auto; }

h1,h2,h3,h4 { line-height: 1.25; font-weight: 700; color: var(--text); }



/* ── Layout ─────────────────────────────────────────────────────────────────── */

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }



.two-col {

  display: grid;

  grid-template-columns: 1fr 320px;

  gap: 2rem;

  margin-top: 1.5rem;

}

.main-col { min-width: 0; }

.sidebar  { min-width: 0; }



/* ── Header ─────────────────────────────────────────────────────────────────── */

.site-header {

  background: rgba(255,255,255,.95);

  backdrop-filter: blur(16px);

  -webkit-backdrop-filter: blur(16px);

  position: sticky;

  top: 0;

  z-index: 100;

  border-bottom: 1px solid rgba(226,232,240,.7);

  box-shadow: 0 1px 3px rgba(15,23,42,0.03);

  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

}

.site-header.scrolled {

  background: rgba(255,255,255,.9);

  box-shadow: 0 8px 30px rgba(15,23,42,0.05), 0 1px 2px rgba(15,23,42,0.02);

  border-bottom-color: rgba(226,232,240,0.6);

}

.site-header::after {

  content: '';

  position: absolute;

  bottom: 0; left: 0; right: 0;

  height: 2.5px;

  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-l) 50%, var(--accent) 100%);

  opacity: 0;

  transition: opacity .3s;

}

.site-header.scrolled::after { opacity: 1; }



.nav-wrap {

  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 0.9rem 0;

  gap: 1rem;

  transition: padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);

}

.site-header.scrolled .nav-wrap {

  padding: 0.55rem 0;

}

.logo {

  display: flex;

  align-items: center;

  flex-shrink: 0;

  text-decoration: none;

  gap: .5rem;

}

.logo img { display: block; height: 36px; width: auto; transition: opacity .15s; }

.logo:hover img { opacity: .85; }

.logo-badge {

  display: none;

  background: var(--accent);

  color: #fff;

  font-size: .6rem;

  font-weight: 700;

  padding: .15rem .4rem;

  border-radius: 4px;

  letter-spacing: .05em;

  margin-left: .25rem;

  vertical-align: middle;

}

nav { display: flex; gap: .1rem; flex-wrap: wrap; align-items: center; }

nav a {

  color: #475569;

  font-size: .86rem;

  font-weight: 600;

  white-space: nowrap;

  padding: .45rem .75rem;

  border-radius: 8px;

  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);

  position: relative;

}

nav a:hover {

  color: var(--primary);

  background: rgba(59, 130, 246, 0.06);

  text-decoration: none;

  transform: translateY(-1px);

}

nav a:active {

  transform: translateY(0);

}

nav a.active {

  color: var(--primary);

  background: rgba(59, 130, 246, 0.09);

  font-weight: 700;

}



/* ── Nav actions (user widget + hamburger wrapper) ───────────────────────────── */

.nav-actions { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }



/* ── Hamburger button ────────────────────────────────────────────────────────── */

.nav-hamburger {

  display: none;

  flex-direction: column;

  justify-content: center;

  align-items: center;

  gap: 5px;

  width: 40px;

  height: 40px;

  background: none;

  border: 1.5px solid var(--border);

  border-radius: 10px;

  cursor: pointer;

  padding: 0;

  flex-shrink: 0;

  transition: border-color .15s, background .15s;

}

.nav-hamburger:hover { border-color: var(--primary); background: #eff6ff; }

.nav-hamburger span {

  display: block;

  width: 20px;

  height: 2px;

  background: #475569;

  border-radius: 2px;

  transition: transform .25s, opacity .25s, background .15s;

}

.nav-hamburger.nav-open span { background: var(--primary); }

.nav-hamburger.nav-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }

.nav-hamburger.nav-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }

.nav-hamburger.nav-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@keyframes nav-slide-in {

  from { opacity: 0; transform: translateY(-8px); }

  to   { opacity: 1; transform: translateY(0); }

}



.nav-cv-builder { position: relative; }

.nav-free-tag {

  position: absolute; top: -7px; right: 2px;

  background: linear-gradient(135deg, #6d28d9, #4f46e5);

  color: #fff; font-size: .58rem; font-weight: 700;

  letter-spacing: .05em; line-height: 1;

  padding: 2px 5px; border-radius: 999px;

  pointer-events: none;

  box-shadow: 0 2px 8px rgba(109, 40, 217, 0.3);

}

.nav-chat-link { position: relative; }

.nav-live-tag {

  position: absolute; top: -7px; right: -4px;

  background: #ef4444; color: #fff; font-size: .55rem; font-weight: 700;

  letter-spacing: .04em; line-height: 1; padding: 2px 5px; border-radius: 999px;

  pointer-events: none; animation: live-pulse 2s ease-in-out infinite;

  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);

}

@keyframes live-pulse {

  0%,100% { opacity: 1; } 50% { opacity: .55; }

}

.mobile-quick-ctas {

  display: none;

  min-width: 0;

}

.mobile-live-chat-cta,

.mobile-cv-builder-cta {

  display: none;

  align-items: center;

  gap: .45rem;

  min-width: 0;

  text-decoration: none;

  border: 1px solid #bfdbfe;

  background: linear-gradient(135deg, #eff6ff 0%, #fff 48%, #f5f3ff 100%);

  color: #1e3a8a;

  border-radius: 999px;

  padding: .34rem .6rem .34rem .42rem;

  box-shadow: 0 8px 20px rgba(37,99,235,.16);

}

.mobile-live-chat-cta:hover,

.mobile-cv-builder-cta:hover { text-decoration: none; color: #1e3a8a; }

.mlc-icon {

  width: 28px;

  height: 28px;

  border-radius: 50%;

  display: grid;

  place-items: center;

  background: linear-gradient(135deg, #2563eb, #7c3aed);

  color: #fff;

  font-size: .9rem;

  box-shadow: 0 0 0 3px rgba(37,99,235,.11);

}

.mlc-copy { display: grid; line-height: 1.05; }

.mlc-copy strong { font-size: .77rem; font-weight: 900; letter-spacing: 0; }

.mlc-copy em { font-style: normal; font-size: .62rem; font-weight: 800; color: #7c3aed; }

.mlc-dot {

  width: 7px;

  height: 7px;

  border-radius: 50%;

  background: #22c55e;

  box-shadow: 0 0 0 0 rgba(34,197,94,.45);

  animation: mlc-pulse 1.5s ease-in-out infinite;

}

.mcv-icon { background: linear-gradient(135deg, #059669, #0ea5e9); }

.mcv-free {

  border-radius: 999px;

  background: #16a34a;

  color: #fff;

  font-size: .55rem;

  font-weight: 900;

  line-height: 1;

  padding: 3px 5px;

  text-transform: uppercase;

}

@keyframes mlc-pulse {

  0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,.45); }

  50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); }

}



/* ── Hero ───────────────────────────────────────────────────────────────────── */

/* ══════════════════════════════════════════════════════════════════════════════

   HERO — fully redesigned

   ══════════════════════════════════════════════════════════════════════════════ */

.hero {

  background: linear-gradient(135deg, #0f0c29 0%, #1a1560 25%, #1e3a8a 55%, #1d4ed8 80%, #2563eb 100%);

  color: #fff;

  padding: 4.5rem 1.25rem 3.5rem;

  text-align: center;

  position: relative;

  overflow: hidden;

}



/* ── Animated background layer ─────────────────────────────────────────────── */

.hero-bg { position: absolute; inset: 0; pointer-events: none; }



.hero-grid-overlay {

  position: absolute; inset: 0;

  background-image:

    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),

    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);

  background-size: 48px 48px;

}

@media (max-width: 640px) {

  .hero-grid-overlay {

    background-size: 32px 32px;

    background-image:

      linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),

      linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);

  }

}



.hero-orb {

  position: absolute; border-radius: 50%;

  filter: blur(80px); opacity: .55;

  animation: heroFloat 8s ease-in-out infinite;

}

.hero-orb-1 {

  width: 500px; height: 500px;

  background: radial-gradient(circle, #6366f1, transparent);

  top: -180px; right: -100px;

  animation-duration: 9s;

}

.hero-orb-2 {

  width: 400px; height: 400px;

  background: radial-gradient(circle, #0ea5e9, transparent);

  bottom: -150px; left: -80px;

  animation-duration: 11s; animation-delay: -3s;

}

.hero-orb-3 {

  width: 280px; height: 280px;

  background: radial-gradient(circle, #8b5cf6, transparent);

  top: 30%; right: 20%;

  opacity: .35; animation-duration: 13s; animation-delay: -6s;

}

@keyframes heroFloat {

  0%, 100% { transform: translateY(0) scale(1); }

  50%       { transform: translateY(-30px) scale(1.05); }

}



/* ── Content ────────────────────────────────────────────────────────────────── */

.hero-content { position: relative; z-index: 1; }



/* ── Live badge ─────────────────────────────────────────────────────────────── */

.hero-badge {

  display: inline-flex; align-items: center; gap: .5rem;

  background: rgba(255,255,255,.1);

  border: 1px solid rgba(255,255,255,.2);

  backdrop-filter: blur(12px);

  border-radius: 999px;

  padding: .4rem 1.1rem;

  font-size: .8rem; font-weight: 600;

  color: rgba(255,255,255,.9);

  margin-bottom: 1.5rem;

  letter-spacing: .02em;

}

.hero-badge-dot {

  width: 7px; height: 7px; border-radius: 50%;

  background: #4ade80;

  box-shadow: 0 0 0 0 rgba(74,222,128,.6);

  animation: badgePulse 2s ease-out infinite;

  flex-shrink: 0;

}

@keyframes badgePulse {

  0%   { box-shadow: 0 0 0 0 rgba(74,222,128,.7); }

  70%  { box-shadow: 0 0 0 7px rgba(74,222,128,0); }

  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }

}



/* ── Heading ────────────────────────────────────────────────────────────────── */

.hero h1, .hero-h1 {

  font-size: clamp(2rem, 5.5vw, 3.25rem);

  font-weight: 900;

  line-height: 1.2;

  margin-bottom: 1rem;

  letter-spacing: -.01em;

  color: #fff;

}

.hero h1 em { font-style: normal; color: #fbbf24; }

.hero p, .hero-sub { color: rgba(255,255,255,.82); }



.hero-h1-find {

  display: inline;

  color: rgba(255,255,255,.65);

  font-weight: 700;

  font-size: .85em;

}

.hero-h1-gradient {

  display: inline;

  background: linear-gradient(90deg, #fbbf24 0%, #f97316 25%, #ec4899 55%, #a78bfa 80%, #60a5fa 100%);

  background-size: 200% auto;

  -webkit-background-clip: text;

  -webkit-text-fill-color: transparent;

  background-clip: text;

  animation: h1Shimmer 4s linear infinite;

  font-weight: 900;

}

@keyframes h1Shimmer {

  0%   { background-position: 0%   center; }

  100% { background-position: 200% center; }

}

.hero-h1-plain {

  display: inline;

  color: rgba(255,255,255,.9);

  font-weight: 900;

}

.hero-h1-india {

  display: inline;

  background: linear-gradient(90deg, #ff9933 0%, #fff 50%, #138808 100%);

  -webkit-background-clip: text;

  -webkit-text-fill-color: transparent;

  background-clip: text;

  font-weight: 900;

  margin-left: .3rem;

}



/* ── Sub heading ────────────────────────────────────────────────────────────── */

.hero-sub {

  font-size: 1.1rem;

  color: rgba(255,255,255,.8);

  margin-bottom: 2rem;

  font-weight: 400;

  max-width: 560px;

  margin-left: auto; margin-right: auto;

  line-height: 1.65;

}

.hero-sub strong { color: #fbbf24; font-weight: 700; }



/* ── Stats ──────────────────────────────────────────────────────────────────── */

.hero-stats {

  display: flex;

  gap: 1rem;

  justify-content: center;

  flex-wrap: wrap;

  margin: 2rem 0 1.5rem;

}

.hero-stat {

  background: rgba(255,255,255,.08);

  border: 1px solid rgba(255,255,255,.15);

  border-radius: 14px;

  padding: .75rem 1.4rem;

  backdrop-filter: blur(16px);

  display: flex; flex-direction: column; align-items: center; gap: .15rem;

  min-width: 90px;

  transition: background .2s, transform .2s;

}

.hero-stat:hover {

  background: rgba(255,255,255,.15);

  transform: translateY(-3px);

}

.hero-stat-icon { font-size: 1.2rem; line-height: 1; }

.hero-stat strong { display: block; font-size: 1.35rem; font-weight: 800; color: #fbbf24; line-height: 1.1; }

.hero-stat span { font-size: .72rem; opacity: .8; font-weight: 500; letter-spacing: .03em; text-transform: uppercase; color: #fff; }



/* ── Trending tags ──────────────────────────────────────────────────────────── */

.trending-tags {

  margin-top: 1.5rem;

  display: flex; flex-wrap: wrap; gap: .5rem;

  justify-content: center; align-items: center;

  font-size: .83rem;

}

.trending-label {

  color: rgba(255,255,255,.7);

  font-weight: 600;

  font-size: .82rem;

}

.trending-tags a {

  background: rgba(255,255,255,.1);

  color: rgba(255,255,255,.9);

  padding: .35rem .9rem;

  border-radius: 999px;

  border: 1px solid rgba(255,255,255,.2);

  font-weight: 500;

  transition: background .18s, border-color .18s, transform .18s;

  backdrop-filter: blur(8px);

}

.trending-tags a:hover {

  background: rgba(255,255,255,.22);

  border-color: rgba(255,255,255,.45);

  transform: translateY(-1px);

  text-decoration: none;

  color: #fff;

}



/* ── Search box glow ────────────────────────────────────────────────────────── */

.search-row {

  box-shadow: 0 8px 40px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.15);

  transition: box-shadow .25s;

}

.search-row:focus-within {

  box-shadow: 0 8px 40px rgba(0,0,0,.4), 0 0 0 3px rgba(99,102,241,.6);

}



/* ── Search Form ─────────────────────────────────────────────────────────────── */

.search-form { max-width: 800px; margin: 0 auto; }

.search-row {

  display: flex;

  gap: 0;

  background: #fff;

  border-radius: 14px;

  overflow: hidden;

  box-shadow: 0 8px 32px rgba(0,0,0,.3);

  border: 2px solid rgba(255,255,255,.5);

}

.search-row input[type=search] {

  flex: 1;

  border: none;

  outline: none;

  padding: .85rem 1.25rem;

  font-size: 1rem;

  color: var(--text);

  background: transparent;

  min-width: 0;

  font-family: inherit;

  font-weight: 500;

}

.search-row input[type=search]::placeholder { color: var(--muted); font-weight: 400; }

.search-row .search-divider { width: 1px; background: var(--border); align-self: stretch; margin: .5rem 0; }

.search-row select {

  border: none;

  outline: none;

  padding: .85rem .75rem;

  font-size: .9rem;

  color: var(--muted);

  background: transparent;

  cursor: pointer;

  font-family: inherit;

  font-weight: 500;

}

.search-row .btn {

  border-radius: 0 12px 12px 0;

  padding: .85rem 1.75rem;

  white-space: nowrap;

  font-size: 1rem;

}



/* ── Buttons ─────────────────────────────────────────────────────────────────── */

.btn {

  display: inline-flex;

  align-items: center;

  gap: .4rem;

  background: linear-gradient(135deg, var(--accent), var(--accent-d));

  color: #fff;

  padding: .6rem 1.4rem;

  border-radius: var(--radius-sm);

  font-size: .95rem;

  font-weight: 700;

  border: none;

  cursor: pointer;

  transition: transform .15s, box-shadow .15s, opacity .15s;

  text-decoration: none;

  font-family: inherit;

  letter-spacing: .01em;

}

.btn:hover { opacity: .92; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(249,115,22,.4); text-decoration: none; color: #fff; }

.btn-primary { background: linear-gradient(135deg, var(--primary-l), var(--primary)); }

.btn-primary:hover { box-shadow: 0 4px 12px rgba(30,64,175,.4); }

.btn-lg { padding: .8rem 2rem; font-size: 1.05rem; }

.btn-outline {

  background: transparent;

  color: var(--primary);

  border: 2px solid var(--primary);

  box-shadow: none;

}

.btn-outline:hover { background: var(--primary); color: #fff; box-shadow: none; transform: none; }

.btn-danger { background: #dc2626; }

.btn-danger:hover { background: #b91c1c; box-shadow: 0 4px 12px rgba(220,38,38,.4); }

.btn-sm { padding: .35rem .85rem; font-size: .82rem; }



/* ── Trust Bar ───────────────────────────────────────────────────────────────── */

.trust-bar {

  background: #fff;

  border-bottom: 1px solid var(--border);

  padding: .65rem 0;

}

.trust-items {

  display: flex;

  gap: 2rem;

  align-items: center;

  justify-content: center;

  flex-wrap: wrap;

  font-size: .82rem;

  color: var(--muted);

  font-weight: 600;

}

.trust-items span { display: flex; align-items: center; gap: .35rem; }

.trust-items strong { color: var(--success); }



/* ── Sections ────────────────────────────────────────────────────────────────── */

.section { padding: 2.75rem 0; }

.job-grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

@media (max-width: 700px) { .job-grid-2col { grid-template-columns: 1fr; } }

.empty-state { background: var(--bg2); border: 1.5px dashed var(--border); border-radius: var(--radius); padding: 2rem; text-align: center; color: var(--muted); }

.section-head {

  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-bottom: 1.5rem;

}

.section-title {

  font-size: 1.45rem;

  font-weight: 800;

  position: relative;

  padding-left: 1rem;

}

.section-title::before {

  content: '';

  position: absolute;

  left: 0;

  top: 10%;

  height: 80%;

  width: 4px;

  background: linear-gradient(to bottom, var(--accent), var(--primary));

  border-radius: 2px;

}

.view-all {

  font-size: .88rem;

  color: var(--primary);

  font-weight: 700;

  display: flex;

  align-items: center;

  gap: .25rem;

  padding: .4rem .85rem;

  border: 1.5px solid var(--primary);

  border-radius: 6px;

  transition: background .15s;

}

.view-all:hover { background: var(--primary); color: #fff; text-decoration: none; }



/* ── Category Grid ───────────────────────────────────────────────────────────── */

.cat-grid {

  display: grid;

  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));

  gap: 1rem;

}

.cat-card {

  background: var(--card);

  border: 1.5px solid var(--border);

  border-radius: var(--radius);

  padding: 1.4rem .9rem 1rem;

  text-align: center;

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: .45rem;

  transition: box-shadow .2s, transform .2s, border-color .2s;

  color: var(--text);

  text-decoration: none;

  cursor: pointer;

  position: relative;

  overflow: hidden;

}

.cat-card::after {

  content: '';

  position: absolute;

  bottom: 0; left: 0; right: 0;

  height: 3px;

  background: linear-gradient(90deg, var(--primary), var(--accent));

  transform: scaleX(0);

  transition: transform .2s;

}

.cat-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--primary); text-decoration: none; }

.cat-card:hover::after { transform: scaleX(1); }

.cat-icon-wrap {

  width: 52px;

  height: 52px;

  border-radius: 14px;

  background: var(--blue-bg);

  display: flex;

  align-items: center;

  justify-content: center;

  margin-bottom: .25rem;

}

.cat-icon { font-size: 1.6rem; line-height: 1; }

.cat-name { font-weight: 700; font-size: .88rem; color: var(--text); }

.cat-count { font-size: .78rem; color: var(--muted); font-weight: 500; background: var(--bg); padding: .15rem .5rem; border-radius: 10px; }



/* ── Job Card ────────────────────────────────────────────────────────────────── */

.job-card {

  background: var(--card);

  border: 1.5px solid var(--border);

  border-radius: var(--radius);

  padding: 1.1rem 1.3rem;

  margin-bottom: .85rem;

  box-shadow: var(--shadow);

  transition: box-shadow .2s, border-color .2s, transform .2s;

  position: relative;

}

.job-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary-l); transform: translateX(3px); }

.job-card.featured { border-left: 4px solid var(--accent); }

.job-card.featured::before {

  content: 'Featured';

  position: absolute;

  top: .75rem; right: .75rem;

  background: linear-gradient(135deg, var(--accent), var(--accent-d));

  color: #fff;

  font-size: .68rem;

  font-weight: 700;

  padding: .15rem .5rem;

  border-radius: 4px;

  letter-spacing: .04em;

  text-transform: uppercase;

}

.job-card-body { margin-bottom: .75rem; }

.job-meta-top {

  display: flex;

  gap: .45rem;

  flex-wrap: wrap;

  align-items: center;

  margin-bottom: .5rem;

}

.job-title { font-size: 1.05rem; margin-bottom: .35rem; font-weight: 700; }

.job-title a { color: var(--text); transition: color .15s; }

.job-title a:hover { color: var(--primary); text-decoration: none; }

.job-company {

  display: flex;

  gap: 1.1rem;

  flex-wrap: wrap;

  font-size: .87rem;

  color: var(--muted);

  font-weight: 500;

}

.job-card-foot {

  display: flex;

  justify-content: space-between;

  align-items: center;

  font-size: .82rem;

  color: var(--muted);

  border-top: 1px solid var(--border);

  padding-top: .65rem;

  margin-top: .25rem;

}

.job-type {

  font-weight: 700;

  color: var(--primary);

  background: var(--blue-bg);

  padding: .2rem .6rem;

  border-radius: 5px;

  font-size: .8rem;

}

.job-card-foot time { font-size: .8rem; }



/* ── Badges ──────────────────────────────────────────────────────────────────── */

.badge {

  display: inline-flex;

  align-items: center;

  gap: .2rem;

  padding: .2rem .6rem;

  border-radius: 20px;

  font-size: .73rem;

  font-weight: 700;

  background: var(--border);

  color: var(--muted);

  letter-spacing: .02em;

}

.badge-green { background: var(--success-bg); color: var(--success); }

.badge-blue  { background: var(--blue-bg);    color: var(--primary); }

.badge-orange{ background: #ffedd5;            color: #c2410c; }

.cat-tag {

  font-size: .8rem;

  color: var(--muted);

  font-weight: 600;

  background: var(--bg);

  padding: .15rem .55rem;

  border-radius: 5px;

}



/* ── Sidebar ─────────────────────────────────────────────────────────────────── */

.widget {

  background: var(--card);

  border: 1.5px solid var(--border);

  border-radius: var(--radius);

  padding: 1.1rem 1.1rem 1.25rem;

  margin-bottom: 1.25rem;

  box-shadow: var(--shadow);

}

.widget h3 {

  font-size: .95rem;

  font-weight: 800;

  margin-bottom: .9rem;

  padding-bottom: .6rem;

  border-bottom: 2px solid var(--bg);

  color: var(--text);

  display: flex;

  align-items: center;

  gap: .4rem;

}

.widget h3::before {

  content: '';

  width: 4px; height: 1em;

  background: var(--accent);

  border-radius: 2px;

  display: inline-block;

}

.kw-cloud { display: flex; flex-wrap: wrap; gap: .4rem; }

.kw-cloud a {

  background: var(--bg);

  padding: .28rem .7rem;

  border-radius: 20px;

  font-size: .78rem;

  color: var(--text2);

  border: 1px solid var(--border);

  font-weight: 500;

  transition: all .15s;

}

.kw-cloud a:hover { background: var(--primary); color: #fff; border-color: var(--primary); text-decoration: none; }

.type-list li {

  margin: .1rem 0;

  border-radius: var(--radius-sm);

  overflow: hidden;

}

.type-list a {

  font-size: .88rem;

  color: var(--text2);

  font-weight: 600;

  display: flex;

  align-items: center;

  gap: .5rem;

  padding: .5rem .6rem;

  border-radius: 7px;

  transition: background .15s, color .15s;

}

.type-list a:hover { color: var(--primary); background: var(--blue-bg); text-decoration: none; }



/* ── Breadcrumb ──────────────────────────────────────────────────────────────── */

.breadcrumb { font-size: .83rem; color: var(--muted); margin-bottom: 1.1rem; }

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .25rem; align-items: center; }

.breadcrumb li::after { content: '›'; margin-left: .25rem; color: var(--border2); }

.breadcrumb li:last-child::after { content: ''; }

.breadcrumb a { color: var(--muted); font-weight: 500; }

.breadcrumb a:hover { color: var(--primary); }

.breadcrumb [aria-current=page] { color: var(--text); font-weight: 700; }



/* ── Pagination ──────────────────────────────────────────────────────────────── */

.pager {

  display: flex;

  gap: .4rem;

  flex-wrap: wrap;

  margin-top: 2rem;

  justify-content: center;

}

.pager a {

  padding: .5rem 1rem;

  border: 1.5px solid var(--border);

  border-radius: 8px;

  font-size: .88rem;

  color: var(--text2);

  background: var(--card);

  font-weight: 600;

  transition: all .15s;

}

.pager a.active { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 2px 8px rgba(30,64,175,.3); }

.pager a:hover:not(.active) { border-color: var(--primary); color: var(--primary); background: var(--blue-bg); text-decoration: none; }



/* ── Filter Bar ──────────────────────────────────────────────────────────────── */

.filter-bar {

  background: var(--card);

  border: 1.5px solid var(--border);

  border-radius: var(--radius);

  padding: .85rem 1.1rem;

  display: flex;

  align-items: center;

  gap: 1rem;

  flex-wrap: wrap;

  margin-bottom: 1.1rem;

  font-size: .9rem;

  box-shadow: var(--shadow);

}

.filter-bar form { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; width: 100%; }

.filter-bar select {

  border: 1.5px solid var(--border);

  border-radius: 8px;

  padding: .45rem .75rem;

  font-size: .88rem;

  background: var(--bg);

  color: var(--text2);

  cursor: pointer;

  font-family: inherit;

  font-weight: 600;

  transition: border-color .15s;

}

.filter-bar select:focus { outline: none; border-color: var(--primary); }

.check-label { display: flex; align-items: center; gap: .35rem; cursor: pointer; font-weight: 600; color: var(--text2); }

.active-filters { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin-bottom: .85rem; font-size: .83rem; }

.filter-tag {

  background: var(--blue-bg);

  color: var(--primary);

  padding: .25rem .7rem;

  border-radius: 20px;

  font-size: .78rem;

  font-weight: 700;

}

.filter-tag a { color: var(--primary); margin-left: .3rem; }

.result-count { color: var(--muted); margin-left: auto; font-weight: 600; font-size: .85rem; }



/* ── Job Detail ──────────────────────────────────────────────────────────────── */

.jd-header {

  background: var(--card);

  border: 1.5px solid var(--border);

  border-radius: var(--radius);

  margin-bottom: 1.25rem;

  box-shadow: var(--shadow-md);

  overflow: hidden;

}

.jd-header-accent {

  height: 5px;

  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 60%, #f59e0b 100%);

}

.jd-header-body { padding: 1.75rem; }

.jd-header-top {

  display: flex;

  gap: 1.25rem;

  margin-bottom: 1.25rem;

  align-items: flex-start;

}

.jd-company-logo {

  width: 58px;

  height: 58px;

  border-radius: 14px;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 1.3rem;

  font-weight: 900;

  color: #fff;

  flex-shrink: 0;

  letter-spacing: -.02em;

  box-shadow: 0 4px 12px rgba(0,0,0,.15);

}

.jd-header-info { flex: 1; min-width: 0; }

.jd-header h1 {

  font-size: clamp(1.15rem, 3vw, 1.6rem);

  margin-bottom: .35rem;

  line-height: 1.25;

}

.jd-company {

  display: flex;

  gap: .4rem .85rem;

  flex-wrap: wrap;

  align-items: center;

  font-size: .9rem;

  color: var(--muted);

  font-weight: 500;

  margin-top: .3rem;

}

.jd-company strong { color: var(--text); font-weight: 700; }

.jd-company-sep { color: var(--border); font-size: 1.1em; }

.jd-salary { color: var(--success) !important; font-weight: 700 !important; }

.jd-badges { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .85rem; }

.jd-actions {

  display: flex;

  align-items: center;

  gap: 1rem;

  padding-top: 1.1rem;

  border-top: 1.5px solid var(--bg2);

  flex-wrap: wrap;

}

.views-count {

  color: var(--muted);

  font-size: .82rem;

  font-weight: 600;

}



/* Section cards */

.jd-section {

  background: var(--card);

  border: 1.5px solid var(--border);

  border-radius: var(--radius);

  margin-bottom: 1.25rem;

  box-shadow: var(--shadow);

  overflow: hidden;

}

.jd-section-head {

  display: flex;

  align-items: center;

  gap: .75rem;

  padding: .85rem 1.5rem;

  background: linear-gradient(to right, var(--bg2) 0%, var(--card) 100%);

  border-bottom: 1.5px solid var(--border);

}

.jd-section-icon {

  width: 28px;

  height: 28px;

  border-radius: 7px;

  background: linear-gradient(135deg, var(--primary), var(--accent));

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: .85rem;

  flex-shrink: 0;

}

.jd-section h2 {

  font-size: .95rem;

  font-weight: 800;

  margin: 0;

  letter-spacing: .01em;

  color: var(--text);

}

.jd-body { padding: 1.5rem; }

.jd-content { font-size: .93rem; }



/* ── Description rich text ── */

.jd-para {

  line-height: 1.9;

  color: var(--text2);

  margin-bottom: .85rem;

}

.jd-para:last-child { margin-bottom: 0; }



.jd-heading {

  display: flex;

  align-items: center;

  margin: 1.4rem 0 .6rem;

}

.jd-heading:first-child { margin-top: 0; }

.jd-heading span {

  font-size: .72rem;

  font-weight: 800;

  text-transform: uppercase;

  letter-spacing: .1em;

  color: var(--primary);

  background: rgba(79,70,229,.07);

  border-left: 3px solid var(--primary);

  padding: .3rem .8rem;

  border-radius: 0 5px 5px 0;

  line-height: 1.4;

}



.jd-list {

  list-style: none;

  padding: 0;

  margin: .2rem 0 1rem;

  display: flex;

  flex-direction: column;

  gap: .3rem;

}

.jd-list:last-child { margin-bottom: 0; }

.jd-list li {

  position: relative;

  padding: .4rem .85rem .4rem 2.1rem;

  font-size: .9rem;

  line-height: 1.65;

  color: var(--text2);

  background: var(--bg2);

  border: 1px solid var(--border);

  border-radius: 7px;

  transition: border-color .15s, background .15s;

}

.jd-list li:hover {

  background: #f0f4ff;

  border-color: #c7d2fe;

}

.jd-list li::before {

  content: '';

  position: absolute;

  left: .75rem;

  top: .65rem;

  width: 7px;

  height: 7px;

  border-radius: 50%;

  background: linear-gradient(135deg, var(--primary), var(--accent));

}



/* Meta grid */

.jd-meta-grid {

  display: grid;

  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));

  gap: .75rem;

  padding: 1.25rem 1.5rem;

}

.meta-item {

  background: var(--bg2);

  border: 1px solid var(--border);

  border-radius: 10px;

  padding: .85rem 1rem;

  display: flex;

  flex-direction: column;

  gap: .25rem;

}

.meta-item strong {

  font-size: .68rem;

  text-transform: uppercase;

  letter-spacing: .08em;

  color: var(--muted);

  font-weight: 700;

}

.meta-item span { font-size: .91rem; font-weight: 700; color: var(--text); }



/* Apply CTA */

.jd-apply-cta {

  background: linear-gradient(135deg, #4338ca 0%, #7c3aed 60%, #9333ea 100%);

  border-radius: var(--radius);

  padding: 2rem 1.75rem;

  text-align: center;

  margin-bottom: 1.25rem;

  position: relative;

  overflow: hidden;

}

.jd-apply-cta::before {

  content: '';

  position: absolute;

  inset: 0;

  background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,.07) 0%, transparent 50%),

                    radial-gradient(circle at 80% 20%, rgba(255,255,255,.05) 0%, transparent 40%);

}

.jd-apply-cta-title {

  font-size: 1.15rem;

  font-weight: 800;

  color: #fff;

  margin-bottom: .4rem;

  position: relative;

}

.jd-apply-cta p {

  margin-bottom: 1.5rem;

  color: rgba(255,255,255,.8);

  font-size: .88rem;

  position: relative;

}

.jd-apply-cta .btn-apply {

  display: inline-flex;

  align-items: center;

  gap: .5rem;

  background: #fff;

  color: #4338ca;

  font-weight: 800;

  font-size: 1rem;

  padding: .85rem 2rem;

  border-radius: 10px;

  text-decoration: none;

  transition: transform .15s, box-shadow .15s;

  box-shadow: 0 4px 20px rgba(0,0,0,.25);

  position: relative;

}

.jd-apply-cta .btn-apply:hover {

  transform: translateY(-2px);

  box-shadow: 0 8px 30px rgba(0,0,0,.3);

  color: #3730a3;

}

.jd-apply-cta .btn-apply::after { content: ' →'; }



/* Sidebar */

.related-job { margin-bottom: .9rem; padding-bottom: .9rem; border-bottom: 1px solid var(--border); }

.related-job:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }

.related-job a { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .15rem; }

.related-job span { font-size: .8rem; color: var(--muted); }

.share-links { display: flex; gap: .5rem; }

.share-btn { padding: .5rem 1.15rem; border-radius: 8px; font-size: .85rem; font-weight: 700; color: #fff; text-decoration: none; transition: opacity .15s, transform .1s; }

.share-btn:hover { opacity: .88; text-decoration: none; color: #fff; transform: translateY(-1px); }

.share-wa { background: #25d366; }

.share-tg { background: #0088cc; }



/* ── Google Sign-In button ───────────────────────────────────────────────────── */

.btn-google-signin {

  display: inline-flex;

  align-items: center;

  gap: .5rem;

  background: #fff;

  color: #3c4043;

  border: 1.5px solid #dadce0;

  border-radius: 8px;

  padding: .42rem .95rem;

  font-size: .85rem;

  font-weight: 600;

  text-decoration: none;

  transition: background .15s, box-shadow .15s;

  white-space: nowrap;

  box-shadow: 0 1px 3px rgba(0,0,0,.08);

  font-family: inherit;

}

.btn-google-signin:hover {

  background: #f8f9fa;

  box-shadow: 0 2px 8px rgba(0,0,0,.12);

  text-decoration: none;

  color: #3c4043;

}



/* ── User nav widget ─────────────────────────────────────────────────────────── */

/* ── User Nav Widget (trigger) ───────────────────────────────────────────── */

.user-nav-widget {

  position: relative;

  display: flex;

  align-items: center;

  gap: .4rem;

  cursor: pointer;

  padding: .25rem .55rem .25rem .25rem;

  border-radius: 999px;

  border: 1.5px solid transparent;

  transition: background .15s, border-color .15s;

}

.user-nav-widget:hover,

.user-nav-widget.user-nav-open {

  background: var(--bg2);

  border-color: var(--border2);

}

.user-nav-avatar-wrap {

  position: relative; display: inline-flex; flex-shrink: 0;

}

.user-nav-avatar {

  width: 32px; height: 32px;

  border-radius: 50%; object-fit: cover;

  border: 2px solid var(--primary);

  box-shadow: 0 0 0 2px rgba(30,64,175,.15);

}

.user-nav-avatar-premium .user-nav-avatar,

.user-nav-avatar-premium .user-nav-initial {

  border-color: #f59e0b;

  box-shadow: 0 0 0 2px rgba(245,158,11,.35), 0 0 8px rgba(245,158,11,.25);

}

.user-nav-crown {

  position: absolute; bottom: -4px; right: -4px;

  font-size: .65rem; line-height: 1;

  background: #f59e0b; color: #fff;

  border-radius: 50%; width: 14px; height: 14px;

  display: flex; align-items: center; justify-content: center;

  border: 1.5px solid #fff;

  box-shadow: 0 1px 4px rgba(0,0,0,.2);

}

.user-nav-initial {

  width: 32px; height: 32px;

  border-radius: 50%;

  background: linear-gradient(135deg, var(--primary), var(--accent));

  color: #fff; display: flex; align-items: center; justify-content: center;

  font-size: .82rem; font-weight: 800;

  border: 2px solid rgba(255,255,255,.25);

}

.user-nav-name {

  font-size: .85rem; font-weight: 700; color: var(--text);

  max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;

}

.user-nav-chevron {

  width: 14px; height: 14px; color: var(--muted); flex-shrink: 0;

  transition: transform .22s ease;

}

.user-nav-widget.user-nav-open .user-nav-chevron { transform: rotate(180deg); }



/* ── Dropdown shell ──────────────────────────────────────────────────────── */

.user-nav-drop {

  display: none;

  position: absolute; top: calc(100% + .65rem); right: 0;

  background: var(--card);

  border: 1.5px solid var(--border);

  border-radius: 14px;

  box-shadow: 0 8px 32px rgba(30,64,175,.13), 0 2px 8px rgba(0,0,0,.07);

  min-width: 230px; z-index: 9999; overflow: hidden;

  animation: undDrop .18s ease;

}

@keyframes undDrop {

  from { opacity:0; transform:translateY(-6px) scale(.97); }

  to   { opacity:1; transform:translateY(0) scale(1); }

}

.user-nav-widget:hover .user-nav-drop,

.user-nav-widget:focus-within .user-nav-drop { display: block; }

/* ── Mobile: render dropdown fixed above everything ─────────────────────── */

@media (max-width: 768px) {

  .user-nav-widget { position: static; }

  .user-nav-drop {

    position: fixed;

    top: auto; right: .75rem;

    /* JS sets --und-top via style; fallback to 64px (typical nav height) */

    top: var(--und-top, 64px);

    left: .75rem; right: .75rem;

    min-width: 0; width: auto;

    max-height: calc(100dvh - var(--und-top, 64px) - 1rem);

    overflow-y: auto;

    z-index: 9999;

  }

}



/* ── Dropdown header ─────────────────────────────────────────────────────── */

.und-head {

  display: flex; align-items: center; gap: .75rem;

  padding: 1rem 1.15rem;

  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);

  border-bottom: 1px solid var(--border);

}

.und-avatar-wrap {

  position: relative; display: inline-flex; flex-shrink: 0;

}

.und-avatar {

  width: 42px; height: 42px; border-radius: 50%; object-fit: cover;

  border: 2.5px solid var(--primary);

  box-shadow: 0 0 0 3px rgba(30,64,175,.12);

  flex-shrink: 0;

}

.und-avatar-premium .und-avatar,

.und-avatar-premium .und-initial {

  border-color: #f59e0b;

  box-shadow: 0 0 0 3px rgba(245,158,11,.3), 0 0 12px rgba(245,158,11,.2);

}

.und-crown {

  position: absolute; bottom: -3px; right: -3px;

  font-size: .7rem; line-height: 1;

  background: linear-gradient(135deg, #f59e0b, #d97706);

  color: #fff; border-radius: 50%;

  width: 16px; height: 16px;

  display: flex; align-items: center; justify-content: center;

  border: 2px solid #fff;

  box-shadow: 0 1px 4px rgba(0,0,0,.2);

}

.und-initial {

  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;

  background: linear-gradient(135deg, var(--primary), var(--accent));

  color: #fff; display: flex; align-items: center; justify-content: center;

  font-size: 1rem; font-weight: 800;

}

.und-role-premium {

  background: linear-gradient(135deg, #f59e0b, #d97706) !important;

  color: #fff !important;

  margin-left: .3rem;

}

.und-info { min-width: 0; }

.und-name  { display: block; font-size: .88rem; font-weight: 800; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.und-email { display: block; font-size: .72rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: .1rem; }

.und-role-badge { display: inline-block; margin-top: .35rem; font-size: .68rem; font-weight: 700; background: var(--primary); color: #fff; border-radius: 999px; padding: .1rem .5rem; }

.und-role-seeker { background: #16a34a; }



/* ── Dropdown sections ───────────────────────────────────────────────────── */

.und-section { padding: .3rem 0; border-bottom: 1px solid var(--border); }

.und-section-last { border-bottom: none; }

.und-section a {

  display: flex; align-items: center; gap: .55rem;

  padding: .58rem 1.15rem;

  font-size: .85rem; font-weight: 600; color: var(--text2);

  border-left: 3px solid transparent;

  transition: background .12s, border-color .12s, color .12s;

  text-decoration: none;

}

.und-section a:hover {

  background: var(--bg); border-left-color: var(--primary); color: var(--primary);

  text-decoration: none;

}

.und-icon { font-size: .95rem; width: 20px; text-align: center; flex-shrink: 0; }

.und-signout { color: #dc2626 !important; }

.und-signout:hover { background: #fef2f2 !important; border-left-color: #dc2626 !important; color: #dc2626 !important; }



/* ── Save Job button ─────────────────────────────────────────────────────────── */

.btn-save-job {

  display: inline-flex;

  align-items: center;

  gap: .4rem;

  background: var(--bg2);

  color: var(--muted);

  border: 1.5px solid var(--border);

  border-radius: 8px;

  padding: .55rem 1rem;

  font-size: .87rem;

  font-weight: 700;

  cursor: pointer;

  transition: all .15s;

  font-family: inherit;

}

.btn-save-job:hover {

  border-color: var(--primary);

  color: var(--primary);

  background: rgba(79,70,229,.06);

}

.btn-save-job.saved {

  background: rgba(79,70,229,.08);

  border-color: var(--primary);

  color: var(--primary);

}



/* ── Profile page ────────────────────────────────────────────────────────────── */

.profile-card {

  display: flex;

  align-items: center;

  gap: 1.25rem;

  background: var(--card);

  border: 1.5px solid var(--border);

  border-radius: var(--radius);

  padding: 1.5rem;

  margin-bottom: 2rem;

  box-shadow: var(--shadow-md);

  flex-wrap: wrap;

}

.profile-avatar {

  width: 72px;

  height: 72px;

  border-radius: 50%;

  object-fit: cover;

  border: 3px solid var(--border);

  flex-shrink: 0;

}

.profile-avatar-initial {

  width: 72px;

  height: 72px;

  border-radius: 50%;

  background: linear-gradient(135deg, var(--primary), var(--accent));

  color: #fff;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 1.75rem;

  font-weight: 800;

  flex-shrink: 0;

}

.profile-name { font-size: 1.25rem; font-weight: 800; margin-bottom: .2rem; }

.profile-email { color: var(--muted); font-size: .9rem; margin-bottom: .15rem; }

.profile-since { color: var(--muted); font-size: .8rem; }

.profile-section-head {

  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-bottom: 1.1rem;

}

.profile-section-head h2 { font-size: 1.15rem; font-weight: 800; display: flex; align-items: center; gap: .5rem; }

.saved-count {

  background: var(--primary);

  color: #fff;

  font-size: .72rem;

  font-weight: 800;

  padding: .15rem .5rem;

  border-radius: 20px;

  vertical-align: middle;

}

.saved-job-card { margin-bottom: .85rem; }



.profile-page {

  max-width: 1120px;

}

.profile-alert {

  margin-bottom: 1rem;

  padding: .85rem 1rem;

  border-radius: 10px;

  font-size: .9rem;

  font-weight: 700;

  border: 1px solid var(--border);

}

.profile-alert-ok {

  background: #ecfdf5;

  border-color: #bbf7d0;

  color: #166534;

}

.profile-alert-error {

  background: #fff7ed;

  border-color: #fed7aa;

  color: #9a3412;

}

.profile-hero-card {

  position: relative;

  overflow: hidden;

  background:

    radial-gradient(circle at 12% 12%, rgba(14,165,233,.18), transparent 32%),

    radial-gradient(circle at 88% 0%, rgba(245,158,11,.18), transparent 30%),

    linear-gradient(135deg, #ffffff 0%, #f8fafc 55%, #eef6ff 100%);

  border: 1px solid rgba(148,163,184,.28);

  border-radius: 18px;

  padding: 1.5rem;

  box-shadow: 0 22px 60px rgba(15,23,42,.11);

  margin-bottom: 1.4rem;

}

.profile-hero-top {

  display: flex;

  align-items: flex-start;

  gap: 1.1rem;

}

.profile-avatar-large {

  width: 88px;

  height: 88px;

  box-shadow: 0 12px 28px rgba(15,23,42,.16);

}

.profile-hero-copy {

  min-width: 0;

  flex: 1;

}

.profile-kicker {

  display: inline-flex;

  align-items: center;

  margin-bottom: .35rem;

  padding: .2rem .6rem;

  border-radius: 999px;

  background: #e0f2fe;

  color: #0369a1;

  font-size: .72rem;

  font-weight: 900;

  text-transform: uppercase;

  letter-spacing: .04em;

}

.profile-hero-copy h1 {

  margin: 0 0 .25rem;

  font-size: clamp(1.55rem, 3vw, 2.2rem);

  line-height: 1.15;

}

.profile-hero-copy p {

  margin: 0;

  max-width: 700px;

  color: var(--text2);

  line-height: 1.55;

}

.profile-contact-row {

  display: flex;

  flex-wrap: wrap;

  gap: .45rem;

  margin-top: .85rem;

}

.profile-contact-row span {

  display: inline-flex;

  align-items: center;

  max-width: 100%;

  padding: .34rem .7rem;

  border-radius: 999px;

  background: rgba(255,255,255,.78);

  border: 1px solid rgba(148,163,184,.32);

  color: #334155;

  font-size: .82rem;

  font-weight: 700;

  overflow-wrap: anywhere;

}

.profile-signout {

  margin-left: auto;

}

.profile-hero-bottom {

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 1rem;

  flex-wrap: wrap;

  margin-top: 1.25rem;

  padding-top: 1.15rem;

  border-top: 1px solid rgba(148,163,184,.24);

}

.profile-score {

  display: flex;

  align-items: center;

  gap: .85rem;

}

.profile-score-ring {

  --score: 20%;

  width: 66px;

  height: 66px;

  border-radius: 50%;

  display: grid;

  place-items: center;

  background: conic-gradient(#0ea5e9 var(--score), #e2e8f0 0);

  border: 6px solid #fff;

  box-shadow: 0 0 0 1px rgba(148,163,184,.3);

  color: #075985;

  font-weight: 900;

  font-size: .95rem;

}

.profile-score strong,

.profile-score span {

  display: block;

}

.profile-score span {

  color: var(--muted);

  font-size: .86rem;

  margin-top: .16rem;

}

.profile-actions {

  display: flex;

  gap: .65rem;

  flex-wrap: wrap;

  align-items: center;

}

.profile-actions form {

  margin: 0;

}

.profile-grid {

  display: grid;

  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);

  gap: 1.2rem;

  align-items: start;

  margin-bottom: 1.5rem;

}

.profile-editor-card,

.profile-preview-card,

.profile-section-block {

  background: var(--card);

  border: 1px solid var(--border);

  border-radius: 14px;

  box-shadow: var(--shadow-md);

}

.profile-editor-card {

  padding: 1.25rem;

}

.profile-section-head-tight {

  align-items: flex-start;

}

.profile-section-head p {

  margin: .2rem 0 0;

  color: var(--muted);

  font-size: .88rem;

  line-height: 1.45;

}

.profile-form-grid {

  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: .9rem;

}

.profile-field {

  display: flex;

  flex-direction: column;

  gap: .38rem;

}

.profile-field-full {

  grid-column: 1 / -1;

}

.profile-field span {

  color: #334155;

  font-size: .82rem;

  font-weight: 800;

}

.profile-field input,

.profile-field select,

.profile-field textarea {

  width: 100%;

  border: 1.5px solid #dbe3ef;

  border-radius: 10px;

  background: #f8fafc;

  color: var(--text);

  font: inherit;

  font-size: .93rem;

  padding: .78rem .9rem;

  outline: none;

  transition: border-color .15s, box-shadow .15s, background .15s;

  resize: vertical;

}

.profile-field select {

  appearance: none;

  background-image: linear-gradient(45deg, transparent 50%, #64748b 50%), linear-gradient(135deg, #64748b 50%, transparent 50%);

  background-position: calc(100% - 18px) 52%, calc(100% - 12px) 52%;

  background-size: 6px 6px, 6px 6px;

  background-repeat: no-repeat;

  padding-right: 2.35rem;

}

.profile-field input:focus,

.profile-field select:focus,

.profile-field textarea:focus {

  background: #fff;

  border-color: #0ea5e9;

  box-shadow: 0 0 0 4px rgba(14,165,233,.12);

}

.profile-form-subhead {

  margin-top: .4rem;

  padding: .75rem .85rem;

  border-radius: 10px;

  background: linear-gradient(135deg, #eef6ff 0%, #f8fafc 100%);

  border: 1px solid #dbeafe;

  color: #0f172a;

  font-size: .9rem;

  font-weight: 900;

}

.profile-type-section {

  display: block;

  border: 1px solid #e2e8f0;

  border-radius: 12px;

  padding: .85rem;

  background: #fbfdff;

}

.profile-type-section[hidden] {

  display: none;

}

.profile-inner-grid {

  margin-top: .8rem;

}

.profile-preview-card {

  display: grid;

  gap: 1rem;

  padding: 1rem;

}

.profile-mini-card {

  border-radius: 13px;

  padding: 1.1rem;

  background: linear-gradient(160deg, #0f172a 0%, #164e63 100%);

  color: #fff;

  box-shadow: 0 18px 36px rgba(15,23,42,.24);

}

.profile-mini-head strong,

.profile-mini-head span {

  display: block;

}

.profile-mini-head strong {

  font-size: 1.15rem;

}

.profile-mini-head span {

  margin-top: .18rem;

  color: #bae6fd;

  font-size: .86rem;

}

.profile-mini-meta {

  display: flex;

  flex-wrap: wrap;

  gap: .35rem;

  margin-top: .75rem;

}

.profile-mini-meta span {

  display: inline-flex;

  border: 1px solid rgba(186,230,253,.34);

  border-radius: 999px;

  background: rgba(14,165,233,.18);

  color: #e0f2fe;

  padding: .23rem .55rem;

  font-size: .72rem;

  font-weight: 900;

}

.profile-mini-card p {

  margin: .85rem 0;

  color: #e0f2fe;

  line-height: 1.55;

  font-size: .9rem;

}

.profile-skill-cloud {

  display: flex;

  flex-wrap: wrap;

  gap: .38rem;

}

.profile-skill-cloud span {

  display: inline-flex;

  max-width: 100%;

  border-radius: 999px;

  background: rgba(255,255,255,.13);

  color: inherit;

  padding: .25rem .58rem;

  font-size: .76rem;

  font-weight: 800;

  overflow-wrap: anywhere;

}

.profile-empty-mini {

  margin-top: .9rem;

  border: 1px dashed rgba(255,255,255,.3);

  border-radius: 10px;

  padding: .8rem;

  color: #cbd5e1;

  font-size: .85rem;

}

.profile-sync-card {

  border: 1px solid var(--border);

  border-radius: 12px;

  padding: 1rem;

  background: #f8fafc;

}

.profile-sync-card strong {

  display: block;

  margin-bottom: .35rem;

}

.profile-sync-card p {

  margin: 0 0 .8rem;

  color: var(--muted);

  font-size: .88rem;

  line-height: 1.5;

}

.profile-sync-list {

  display: grid;

  gap: .45rem;

}

.profile-sync-list span {

  border-radius: 8px;

  background: #fff;

  border: 1px solid var(--border);

  color: #334155;

  font-size: .82rem;

  font-weight: 800;

  padding: .55rem .65rem;

}

.profile-section-block {

  padding: 1.25rem;

  margin-bottom: 1.35rem;

}

.profile-job-grid {

  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: .9rem;

}

.profile-suggested-job {

  display: flex;

  flex-direction: column;

  gap: .7rem;

  min-height: 230px;

  border: 1px solid #dbeafe;

  border-radius: 13px;

  padding: 1rem;

  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);

  box-shadow: 0 12px 28px rgba(37,99,235,.08);

}

.profile-match-line {

  display: flex;

  justify-content: space-between;

  gap: .6rem;

  align-items: center;

}

.profile-match-line span {

  border-radius: 999px;

  background: #dcfce7;

  color: #15803d;

  padding: .22rem .55rem;

  font-size: .73rem;

  font-weight: 900;

}

.profile-match-line em {

  font-style: normal;

  color: #2563eb;

  font-size: .75rem;

  font-weight: 900;

}

.profile-suggested-job h3 {

  margin: 0;

  font-size: 1rem;

  line-height: 1.35;

}

.profile-suggested-job h3 a {

  color: var(--text);

  text-decoration: none;

}

.profile-suggested-job h3 a:hover {

  color: var(--primary);

}

.profile-suggested-job p {

  margin: 0;

  color: var(--muted);

  font-size: .84rem;

  line-height: 1.45;

}

.profile-match-terms span {

  background: #eff6ff;

  color: #1d4ed8;

}

.profile-match-reasons {

  display: flex;

  flex-wrap: wrap;

  gap: .35rem;

}

.profile-match-reasons span {

  display: inline-flex;

  align-items: center;

  border-radius: 8px;

  background: #f8fafc;

  border: 1px solid #e2e8f0;

  color: #475569;

  padding: .24rem .48rem;

  font-size: .72rem;

  font-weight: 800;

}

.profile-suggested-job .btn {

  margin-top: auto;

  align-self: flex-start;

}

.profile-locked-card,

.profile-empty-panel {

  display: flex;

  align-items: center;

  gap: 1rem;

  border: 1.5px dashed #cbd5e1;

  border-radius: 14px;

  background: #f8fafc;

  padding: 1.25rem;

}

.profile-locked-icon {

  width: 54px;

  height: 54px;

  border-radius: 16px;

  display: grid;

  place-items: center;

  background: #0f172a;

  color: #fff;

  font-size: 1.45rem;

  font-weight: 900;

  flex: 0 0 auto;

}

.profile-locked-card h3,

.profile-empty-panel strong {

  display: block;

  margin: 0 0 .3rem;

  color: var(--text);

  font-size: 1rem;

}

.profile-locked-card p,

.profile-empty-panel p {

  margin: 0;

  color: var(--muted);

  line-height: 1.5;

  font-size: .9rem;

}

.profile-empty-panel {

  justify-content: space-between;

  flex-wrap: wrap;

}



@media(max-width:900px) {

  .profile-grid,

  .profile-job-grid {

    grid-template-columns: 1fr;

  }

  .profile-hero-top {

    flex-wrap: wrap;

  }

  .profile-signout {

    margin-left: 0;

  }

}

@media(max-width:640px) {

  .profile-hero-card,

  .profile-editor-card,

  .profile-preview-card,

  .profile-section-block {

    border-radius: 12px;

    padding: 1rem;

  }

  .profile-form-grid {

    grid-template-columns: 1fr;

  }

  .profile-hero-bottom,

  .profile-actions,

  .profile-locked-card {

    align-items: stretch;

    flex-direction: column;

  }

  .profile-actions .btn,

  .profile-actions form,

  .profile-actions button,

  .profile-locked-card .btn,

  .profile-empty-panel .btn {

    width: 100%;

    justify-content: center;

  }

  .profile-avatar-large {

    width: 72px;

    height: 72px;

  }

}



/* ── Category Page Header ────────────────────────────────────────────────────── */

.cat-page-header {

  display: flex;

  gap: 1.1rem;

  align-items: flex-start;

  background: var(--card);

  border: 1.5px solid var(--border);

  border-radius: var(--radius);

  padding: 1.5rem;

  margin-bottom: 1.25rem;

  box-shadow: var(--shadow-md);

  border-left: 5px solid var(--primary);

}

.cat-big-icon {

  font-size: 2.75rem;

  line-height: 1;

  flex-shrink: 0;

  background: var(--blue-bg);

  padding: .6rem;

  border-radius: 12px;

}

.cat-page-header h1 { font-size: 1.55rem; margin-bottom: .3rem; }

.cat-page-header p { color: var(--muted); font-size: .9rem; font-weight: 500; }



/* ── Search Page ─────────────────────────────────────────────────────────────── */

.search-header { margin-bottom: 1.35rem; }

.search-header h1 { font-size: 1.45rem; margin-bottom: .85rem; }

.empty-state {

  background: var(--card);

  border: 2px dashed var(--border2);

  border-radius: var(--radius);

  padding: 2.5rem;

  text-align: center;

  color: var(--muted);

}

.suggest-searches { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }

.suggest-searches a {

  background: var(--bg);

  border: 1.5px solid var(--border);

  padding: .3rem .85rem;

  border-radius: 20px;

  font-size: .85rem;

  font-weight: 600;

  color: var(--text2);

  transition: all .15s;

}

.suggest-searches a:hover { background: var(--primary); color: #fff; border-color: var(--primary); text-decoration: none; }

.empty { color: var(--muted); padding: 2rem 0; text-align: center; font-weight: 600; }



/* ── Search auto-generate loading UI ─────────────────────────────────────────── */

.sg-loading {

  background: var(--card);

  border: 1.5px solid var(--border);

  border-radius: var(--radius);

  padding: 3rem 2rem;

  text-align: center;

}

.sg-spinner-wrap {

  display: flex; justify-content: center; margin-bottom: 1.5rem;

}

.sg-spinner {

  width: 52px; height: 52px;

  border: 4px solid var(--blue-bg);

  border-top-color: var(--primary);

  border-radius: 50%;

  animation: sgSpin .85s linear infinite;

}

@keyframes sgSpin { to { transform: rotate(360deg); } }

.sg-title {

  font-size: 1.2rem; font-weight: 800; color: var(--text); margin-bottom: .5rem;

}

.sg-title em { font-style: normal; color: var(--primary); }

.sg-sub { font-size: .9rem; color: var(--muted); margin-bottom: 1.25rem; }

.sg-dots { display: flex; gap: .45rem; justify-content: center; }

.sg-dots span {

  width: 8px; height: 8px; border-radius: 50%;

  background: var(--primary-l); opacity: .3;

  animation: sgDot 1.4s ease-in-out infinite;

}

.sg-dots span:nth-child(2) { animation-delay: .2s; }

.sg-dots span:nth-child(3) { animation-delay: .4s; }

@keyframes sgDot {

  0%, 80%, 100% { opacity: .3; transform: scale(.8); }

  40%           { opacity: 1;  transform: scale(1.2); }

}

.sg-failed {

  background: var(--card);

  border: 2px dashed var(--border2);

  border-radius: var(--radius);

  padding: 2.5rem;

  text-align: center;

  color: var(--muted);

}



/* ── SEO Content ─────────────────────────────────────────────────────────────── */

.seo-section {

  background: #fff;

  border-top: 1px solid var(--border);

  padding: 3rem 0;

}

.seo-section > .container > h2 { font-size: 1.35rem; margin-bottom: 1.5rem; padding-bottom: .75rem; border-bottom: 2px solid var(--bg2); }

.seo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-bottom: 2rem; }

.seo-grid h3 { font-size: 1.05rem; margin-bottom: .6rem; color: var(--primary); }

.seo-grid p { font-size: .9rem; color: var(--muted); line-height: 1.8; margin-bottom: .75rem; }

.feature-list { margin-top: .25rem; }

.feature-list li {

  padding: .4rem 0;

  font-size: .9rem;

  color: var(--text2);

  font-weight: 600;

  display: flex;

  align-items: center;

  gap: .4rem;

  border-bottom: 1px solid var(--border);

}

.feature-list li:last-child { border-bottom: none; }

.faq-section { border-top: 1px solid var(--border); padding-top: 2rem; }

.faq-section h3 { margin-bottom: 1.25rem; font-size: 1.2rem; }

.faq-item {

  margin-bottom: 1rem;

  border: 1.5px solid var(--border);

  border-radius: var(--radius-sm);

  overflow: hidden;

}

.faq-item h4 {

  font-size: .95rem;

  color: var(--primary);

  background: var(--blue-bg);

  padding: .85rem 1.1rem;

  font-weight: 700;

  border-bottom: 1px solid var(--border);

}

.faq-item p { font-size: .9rem; color: var(--muted); padding: .85rem 1.1rem; line-height: 1.75; }



/* ── PJAX Loading Bar ────────────────────────────────────────────────────────── */

#pjax-bar {

  position: fixed;

  top: 0; left: 0;

  height: 3px;

  width: 0;

  opacity: 0;

  background: linear-gradient(90deg, var(--accent) 0%, var(--primary-l) 60%, var(--accent) 100%);

  background-size: 200% 100%;

  z-index: 9999;

  pointer-events: none;

  animation: pjax-shimmer 1.2s linear infinite;

}

@keyframes pjax-shimmer {

  0%   { background-position: 200% 0; }

  100% { background-position: -200% 0; }

}



/* ── Ad Slots ────────────────────────────────────────────────────────────────── */

.ad-slot {

  background: linear-gradient(135deg, #f8faff, #f0f4ff);

  border: 1px dashed var(--border2);

  border-radius: var(--radius);

  margin: 1.5rem 0;

  min-height: 90px;

  text-align: center;

  overflow: hidden;

  display: flex;

  align-items: center;

  justify-content: center;

}



/* ── Footer ──────────────────────────────────────────────────────────────────── */

.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(37,99,235,.18), transparent 34rem),
    linear-gradient(135deg, #07111f 0%, #0f1d32 55%, #111c2f 100%);
  color: #a8b3c7;
  margin-top: 3.5rem;
  border-top: 3px solid #2563eb;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: 2.25rem;
}

.footer-grid > div { min-width: 0; }

.footer-brand { max-width: 340px; }

.footer-grid strong {
  display: block;
  color: #f8fafc;
  margin-bottom: .9rem;
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .02em;
}

.footer-logo { display: inline-flex; margin-bottom: 1rem; }

.footer-logo img { display: block; height: 32px; width: auto; filter: brightness(0) invert(1); opacity: .96; }

.footer-grid p { color: #94a3b8; font-size: .88rem; line-height: 1.75; }

.footer-grid ul { display: grid; gap: .58rem; }

.footer-grid ul li { margin: 0; }

.footer-grid a {
  width: fit-content;
  color: #a8b3c7;
  font-size: .85rem;
  font-weight: 500;
  line-height: 1.45;
  transition: color .15s, transform .15s;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}

.footer-grid a:hover { color: #fff; text-decoration: none; transform: translateX(2px); }

.footer-social {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.15rem;
  padding-bottom: 1.15rem;
  border-top: 1px solid rgba(148,163,184,.16);
}

.footer-social strong {
  flex: 0 0 auto;
  color: #f8fafc;
  font-size: .84rem;
}

.footer-social p { display: flex; flex-wrap: wrap; gap: .55rem; }

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: .35rem .8rem;
  border: 1px solid rgba(148,163,184,.24);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  color: #cbd5e1;
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
}

.footer-social a:hover {
  background: rgba(37,99,235,.22);
  border-color: rgba(96,165,250,.65);
  color: #fff;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(148,163,184,.16);
  text-align: center;
  padding: 1.25rem;
  font-size: .82rem;
}

.footer-bottom p { color: #7f8da5; line-height: 1.6; }



/* ── Admin ───────────────────────────────────────────────────────────────────── */

.admin-wrap { max-width: 1000px; margin: 2rem auto; padding: 0 1.25rem; }

.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }

.admin-header h1 { font-size: 1.45rem; font-weight: 800; }

.table-wrap {

  overflow-x: auto;

  background: var(--card);

  border: 1.5px solid var(--border);

  border-radius: var(--radius);

  box-shadow: var(--shadow);

}

table { width: 100%; border-collapse: collapse; font-size: .9rem; }

thead th {

  background: var(--bg);

  padding: .85rem 1rem;

  text-align: left;

  border-bottom: 2px solid var(--border);

  font-size: .75rem;

  text-transform: uppercase;

  letter-spacing: .06em;

  color: var(--muted);

  font-weight: 700;

}

tbody td { padding: .85rem 1rem; border-bottom: 1px solid var(--border); vertical-align: top; }

tbody tr:last-child td { border-bottom: none; }

tbody tr:hover td { background: #f8faff; }

.status-active   { color: var(--success); font-weight: 700; }

.status-inactive { color: #dc2626; font-weight: 700; }

.admin-form {

  background: var(--card);

  border: 1.5px solid var(--border);

  border-radius: var(--radius);

  padding: 1.75rem;

  max-width: 780px;

  box-shadow: var(--shadow);

}

.form-row { margin-bottom: 1.1rem; }

.form-row label {

  display: block;

  font-size: .82rem;

  font-weight: 700;

  margin-bottom: .4rem;

  color: var(--muted);

  text-transform: uppercase;

  letter-spacing: .04em;

}

.form-row input, .form-row select, .form-row textarea {

  width: 100%;

  padding: .6rem .85rem;

  border: 1.5px solid var(--border);

  border-radius: 8px;

  font-size: .95rem;

  font-family: inherit;

  color: var(--text);

  background: var(--card);

  transition: border-color .15s, box-shadow .15s;

}

.form-row input:focus, .form-row select:focus, .form-row textarea:focus {

  outline: none;

  border-color: var(--primary);

  box-shadow: 0 0 0 3px rgba(30,64,175,.12);

}

.form-row textarea { resize: vertical; min-height: 130px; }

.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

.form-check { display: flex; align-items: center; gap: .5rem; }

.form-check input { width: auto; }

.flash { padding: .85rem 1.1rem; border-radius: 8px; margin-bottom: 1.1rem; font-size: .9rem; font-weight: 600; }

.flash-ok  { background: var(--success-bg); color: var(--success); border: 1px solid #86efac; }

.flash-err { background: #fee2e2; color: #dc2626; border: 1px solid #fca5a5; }

.login-box { max-width: 420px; margin: 5rem auto; padding: 0 1.25rem; }

.login-box h1 { text-align: center; margin-bottom: 1.5rem; font-size: 1.7rem; }



/* ── Responsive ──────────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {

  .two-col { grid-template-columns: 1fr 290px; }

}

@media (max-width: 768px) {

  .two-col { grid-template-columns: 1fr; }

  .sidebar { order: -1; }

  .search-row { flex-wrap: wrap; border-radius: 12px; }

  .search-row select { width: 100%; border-top: 1px solid var(--border); }

  .search-row .btn { border-radius: 0 0 10px 10px; width: 100%; justify-content: center; }

  .seo-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .footer-brand { grid-column: 1 / -1; max-width: 560px; }

  .jd-header-top { flex-direction: row; align-items: flex-start; }

  .jd-company-logo { width: 44px; height: 44px; font-size: 1rem; border-radius: 10px; }

  .jd-body { padding: 1.1rem; }

  .jd-section-head { padding: .75rem 1.1rem; }

  .jd-meta-grid { padding: 1rem 1.1rem; gap: .6rem; }

  .jd-apply-cta { padding: 1.5rem 1.25rem; }

  /* ── Mobile hamburger ── */

  .nav-wrap { gap: .55rem; }

  .mobile-quick-ctas { display: grid; flex: 1 1 auto; gap: .28rem; max-width: 170px; }

  .mobile-live-chat-cta,

  .mobile-cv-builder-cta { display: inline-flex; justify-content: center; width: 100%; padding-top: .26rem; padding-bottom: .26rem; }

  .nav-hamburger { display: flex; }



  /* ── Mobile nav drawer ── */

  nav#main-nav {

    display: none;

    position: absolute;

    top: 100%;

    left: 0;

    right: 0;

    flex-direction: column;

    align-items: stretch;

    gap: 0;

    background: #fff;

    border-top: 1px solid var(--border);

    border-bottom: 3px solid var(--primary);

    box-shadow: 0 8px 32px rgba(30,64,175,.15);

    padding: .5rem .75rem 1rem;

    z-index: 199;

    max-height: calc(100vh - 64px);

    overflow-y: auto;

  }

  nav#main-nav.nav-open {

    display: flex;

    animation: nav-slide-in .2s ease;

  }

  nav#main-nav a {

    font-size: .95rem;

    padding: .75rem 1rem;

    border-radius: 8px;

    white-space: normal;

    border-bottom: 1px solid var(--border);

  }

  nav#main-nav a:last-child { border-bottom: none; }

  nav#main-nav .nav-cv-builder,

  nav#main-nav .nav-ats-link { position: relative; }

  nav#main-nav .nav-post-job-btn {

    margin-top: .5rem;

    text-align: center;

    border-radius: 8px !important;

    border-bottom: none !important;

  }

  nav#main-nav .nav-free-tag,

  nav#main-nav .nav-premium-tag {

    position: static;

    display: inline-block;

    margin-left: .4rem;

    vertical-align: middle;

    font-size: .6rem;

    padding: 2px 6px;

    border-radius: 999px;

  }



  /* ── Compact sign-in button on mobile ── */

  .btn-google-signin { font-size: .8rem; padding: .45rem .7rem; gap: .4rem; }

  .btn-google-signin svg { width: 16px; height: 16px; }



  .form-2col { grid-template-columns: 1fr; }

  .hero { padding: 3rem 1.25rem 2.5rem; }

  .hero-orb-1 { width: 320px; height: 320px; top: -120px; right: -80px; }

  .hero-orb-2 { width: 260px; height: 260px; bottom: -100px; left: -60px; }

  .hero-orb-3 { width: 180px; height: 180px; opacity: .4; }

  .hero-orb { filter: blur(60px); }

  .hero-stats { gap: .65rem; }

  .section-title { font-size: 1.25rem; }

  .trust-items { gap: 1rem; font-size: .78rem; }

}



/* ── User nav dropdown: tap/click support ────────────────────────────────────── */

.user-nav-widget.user-nav-open .user-nav-drop { display: block; }

.bs-push-optin {

  position: fixed;

  right: 1rem;

  bottom: 1rem;

  z-index: 9998;

  display: grid;

  grid-template-columns: minmax(0, 1fr) auto auto;

  grid-template-areas:

    "title allow close"

    "text allow close";

  align-items: center;

  gap: .55rem;

  max-width: 420px;

  background: #0f172a;

  color: #fff;

  border-radius: 14px;

  box-shadow: 0 18px 42px rgba(15,23,42,.28);

  padding: .75rem .85rem;

  font-size: .82rem;

}

.bs-push-optin strong { grid-area: title; font-size: .88rem; line-height: 1.15; }

.bs-push-optin span { grid-area: text; color: #cbd5e1; line-height: 1.3; }

.bs-push-optin button {

  border: 0;

  border-radius: 9px;

  padding: .45rem .65rem;

  font-weight: 800;

  cursor: pointer;

  min-height: 34px;

  white-space: nowrap;

}

#bs-push-allow { grid-area: allow; background: #3b82f6; color: #fff; }

#bs-push-close { grid-area: close; background: rgba(255,255,255,.12); color: #fff; min-width: 34px; padding-left: 0; padding-right: 0; }

@media(max-width:560px){

  .bs-push-optin {

    left: .75rem;

    right: .75rem;

    bottom: .75rem;

    grid-template-columns: minmax(0, 1fr) auto 34px;

    gap: .45rem;

    padding: .65rem .7rem;

  }

  .bs-push-optin span { font-size: .76rem; }

  .bs-push-optin button { min-height: 32px; }

  #bs-push-allow { padding: .4rem .55rem; font-size: .78rem; }

}

@media (max-width: 480px) {

  .cat-grid { grid-template-columns: repeat(3, 1fr); }

  .footer-grid { grid-template-columns: 1fr; }

  .hero h1 { font-size: 1.5rem; }

  .hero-sub { font-size: .95rem; }

  .hero-stats {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: .55rem;

    max-width: 340px;

    margin: 1.25rem auto 0;

  }

  .hero-stat { padding: .6rem .75rem; border-radius: 12px; }

  .hero-stat strong { font-size: 1.1rem; }

  .hero-stat span { font-size: .63rem; }

  .hero-stat-icon { font-size: 1rem; }

  .trending-tags {

    overflow-x: auto;

    flex-wrap: nowrap;

    justify-content: flex-start;

    padding: .25rem 0 .6rem;

    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;

  }

  .trending-tags::-webkit-scrollbar { display: none; }

  .trending-label { flex-shrink: 0; }

  .trending-tags a { flex-shrink: 0; }

  .job-card { padding: .9rem 1rem; }

  .section { padding: 2rem 0; }

  /* On very small screens hide "Sign in with Google" text, show just the G icon */

  .btn-google-signin .g-signin-text { display: none; }

  .btn-google-signin { padding: .45rem .6rem; }

  .user-nav-name { display: none; }

}



/* ═══════════════════════════════════════════════════════════════════════════════

   CV BUILDER

   ═══════════════════════════════════════════════════════════════════════════════ */



/* ── Hero ──────────────────────────────────────────────────────────────────── */

.cv-hero {

  position:relative; overflow:hidden;

  background:linear-gradient(135deg,#0f0c29 0%,#1e1b4b 35%,#2d2a7a 65%,#4c1d95 100%);

  color:#fff; padding:5rem 0 4rem; margin-bottom:2rem;

}

/* Background decorations */

.cv-hero-bg { position:absolute; inset:0; pointer-events:none; overflow:hidden; }

.cv-hero-orb {

  position:absolute; border-radius:50%;

  filter:blur(80px); opacity:.45;

}

.cv-hero-orb-1 { width:420px; height:420px; background:radial-gradient(circle,#7c3aed,transparent); top:-120px; right:-60px; animation:cv-float 9s ease-in-out infinite; }

.cv-hero-orb-2 { width:320px; height:320px; background:radial-gradient(circle,#4338ca,transparent); bottom:-80px; left:-80px; animation:cv-float 11s ease-in-out infinite reverse; }

.cv-hero-orb-3 { width:220px; height:220px; background:radial-gradient(circle,#0891b2,transparent); top:40%; right:28%; opacity:.3; animation:cv-float 13s ease-in-out infinite 1s; }

.cv-hero-grid {

  position:absolute; inset:0;

  background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);

  background-size:40px 40px;

}

@keyframes cv-float {

  0%,100% { transform:translateY(0) scale(1); }

  50%      { transform:translateY(-22px) scale(1.06); }

}

/* Layout */

.cv-hero-container { position:relative; z-index:1; }

.cv-hero-inner { display:grid; grid-template-columns:1fr 300px; gap:4rem; align-items:center; }

.cv-hero-copy {}

/* Badge */

.cv-hero-badge {

  display:inline-flex; align-items:center; gap:.5rem;

  background:rgba(255,255,255,.1); backdrop-filter:blur(10px);

  border:1px solid rgba(255,255,255,.2); border-radius:999px;

  padding:.35rem 1rem; font-size:.82rem; margin-bottom:1.25rem; letter-spacing:.03em;

}

.cv-hero-badge-dot {

  width:8px; height:8px; border-radius:50%; background:#22c55e; flex-shrink:0;

  box-shadow:0 0 0 3px rgba(34,197,94,.3);

  animation:cv-pulse 2.5s ease-in-out infinite;

}

@keyframes cv-pulse {

  0%,100% { box-shadow:0 0 0 3px rgba(34,197,94,.3); }

  50%      { box-shadow:0 0 0 7px rgba(34,197,94,.08); }

}

/* Headline */

.cv-hero h1 {

  font-size:clamp(2rem,4.5vw,3.2rem); font-weight:800; color:#fff;

  line-height:1.15; letter-spacing:-.025em; margin:.25rem 0 1.1rem;

}

.cv-hero-grad {

  background:linear-gradient(135deg,#a78bfa 0%,#60a5fa 50%,#34d399 100%);

  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;

}

/* Sub-text */

.cv-hero p {

  color:rgba(255,255,255,.72); font-size:1.05rem;

  line-height:1.7; margin-bottom:1.5rem; max-width:500px;

}

/* Feature pills */

.cv-hero-feats { display:flex; flex-wrap:wrap; gap:.45rem; margin-bottom:1.75rem; }

.cv-hero-feat {

  display:inline-flex; align-items:center; gap:.4rem;

  background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.15);

  border-radius:999px; padding:.3rem .8rem; font-size:.8rem;

  color:rgba(255,255,255,.88); transition:background .2s, border-color .2s;

  cursor:default;

}

.cv-hero-feat:hover { background:rgba(255,255,255,.16); border-color:rgba(255,255,255,.3); }

/* CTA buttons */

.cv-hero-actions { display:flex; gap:.75rem; flex-wrap:wrap; margin-bottom:2rem; }

.cv-hero-cta {

  background:linear-gradient(135deg,#6d28d9,#4f46e5); border:none;

  box-shadow:0 4px 24px rgba(79,70,229,.5); color:#fff;

  transition:box-shadow .2s, transform .15s;

}

.cv-hero-cta:hover { box-shadow:0 8px 36px rgba(79,70,229,.75); transform:translateY(-2px); color:#fff; }

.cv-hero-demo {

  background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.3);

  color:#fff; backdrop-filter:blur(4px);

  transition:background .2s, border-color .2s;

}

.cv-hero-demo:hover { background:rgba(255,255,255,.18); border-color:rgba(255,255,255,.55); color:#fff; }

/* Stats row */

.cv-hero-stats { display:flex; align-items:center; gap:1.5rem; }

.cv-hero-stat strong { display:block; font-size:1.4rem; font-weight:800; color:#fff; line-height:1.1; }

.cv-hero-stat span { font-size:.72rem; color:rgba(255,255,255,.5); text-transform:uppercase; letter-spacing:.06em; }

.cv-hero-stat-div { width:1px; height:30px; background:rgba(255,255,255,.18); }

/* Visual column */

.cv-hero-visual { position:relative; display:flex; align-items:center; justify-content:center; padding:1.5rem 0; }

/* Floating template labels */

.cv-hero-tpl-badge {

  position:absolute; background:rgba(255,255,255,.14); backdrop-filter:blur(12px);

  border:1px solid rgba(255,255,255,.25); border-radius:999px;

  padding:.3rem .8rem; font-size:.72rem; font-weight:600; color:#fff; z-index:2;

}

.cv-hero-tpl-1 { top:-8px; left:-12px; animation:cv-float 7s ease-in-out infinite; }

.cv-hero-tpl-2 { bottom:30px; left:-18px; animation:cv-float 10s ease-in-out infinite 1.2s; }

.cv-hero-tpl-3 { top:20px; right:-8px; animation:cv-float 8.5s ease-in-out infinite .6s; }

/* CV card mockup */

.cv-hero-card {

  background:#fff; border-radius:16px; width:250px;

  box-shadow:0 32px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08);

  overflow:hidden; position:relative; z-index:1;

  animation:cv-float 9s ease-in-out infinite 2s;

}

.cv-hero-card-header {

  background:linear-gradient(135deg,#4338ca,#7c3aed);

  padding:1rem .9rem; display:flex; align-items:flex-start; gap:.65rem;

}

.cv-hero-card-avatar {

  width:42px; height:42px; border-radius:50%; flex-shrink:0;

  background:rgba(255,255,255,.22); border:2px solid rgba(255,255,255,.45);

  color:#fff; font-weight:800; font-size:.88rem;

  display:flex; align-items:center; justify-content:center;

}

.cv-hero-card-info { flex:1; min-width:0; }

.cv-hero-card-name { font-weight:700; font-size:.88rem; color:#fff; }

.cv-hero-card-role { font-size:.72rem; color:rgba(255,255,255,.78); margin:.1rem 0; }

.cv-hero-card-loc  { font-size:.66rem; color:rgba(255,255,255,.58); }

.cv-hero-card-score { text-align:center; flex-shrink:0; }

.cv-hero-card-score-val { font-size:.95rem; font-weight:800; color:#fff; }

.cv-hero-card-score-lbl { font-size:.6rem;  color:rgba(255,255,255,.65); }

.cv-hero-card-body { padding:.7rem .9rem .5rem; }

.cv-hero-card-skill-lbl { font-size:.6rem; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color:#9ca3af; margin-bottom:.4rem; }

.cv-hero-card-skill { display:flex; align-items:center; gap:.45rem; margin-bottom:.35rem; font-size:.68rem; color:#374151; }

.cv-hero-card-skill span { width:42px; flex-shrink:0; }

.cv-hsk-track { flex:1; height:4px; background:#f0f0f0; border-radius:2px; overflow:hidden; }

.cv-hsk-fill  { height:100%; background:linear-gradient(90deg,#4f46e5,#7c3aed); border-radius:2px; }

.cv-hero-card-exp { padding:.45rem .9rem; background:#fafafa; border-top:1px solid #f0f0f0; }

.cv-hero-card-exp-title { font-size:.74rem; font-weight:600; color:#111827; }

.cv-hero-card-exp-dur   { font-size:.64rem; color:#9ca3af; }

.cv-hero-card-footer { display:flex; gap:.3rem; padding:.55rem .9rem; flex-wrap:wrap; }

.cv-hero-card-tag {

  background:#ede9fe; color:#5b21b6; border-radius:999px;

  padding:.12rem .5rem; font-size:.62rem; font-weight:600;

}

/* Floating "PDF Ready" badge */

.cv-hero-float-badge {

  position:absolute; bottom:-14px; right:-16px; z-index:3;

  background:linear-gradient(135deg,#059669,#10b981);

  color:#fff; border-radius:999px; padding:.45rem 1rem;

  font-size:.78rem; font-weight:700;

  box-shadow:0 4px 20px rgba(16,185,129,.45);

  animation:cv-float 6s ease-in-out infinite 3s;

}



/* ── Saved CVs ─────────────────────────────────────────────────────────────── */

.cv-saved-list { display:grid; gap:.75rem; }

.cv-saved-card {

  display:flex; align-items:center; gap:1rem; background:var(--bg2);

  border:1px solid var(--border); border-radius:10px; padding:.9rem 1rem;

}

.cv-saved-card-tpl {

  width:42px; height:52px; border-radius:6px; display:flex; align-items:center;

  justify-content:center; font-size:.55rem; font-weight:700; text-transform:uppercase;

  letter-spacing:.05em; color:#fff; flex-shrink:0;

}

.cv-saved-tpl-classic { background:#4f46e5; }

.cv-saved-tpl-modern  { background:#7c3aed; }

.cv-saved-tpl-minimal { background:#374151; }

.cv-saved-tpl-executive { background:#1d4ed8; }

.cv-saved-tpl-sharp { background:#111827; }

.cv-saved-tpl-creative { background:#be185d; }

.cv-saved-tpl-portfolio { background:#0f766e; }

.cv-saved-tpl-signature { background:#8a6722; }

.cv-saved-card-info { flex:1; min-width:0; }

.cv-saved-card-info strong { display:block; font-size:.95rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

.cv-saved-card-info span { font-size:.8rem; color:var(--muted); display:block; }

.cv-saved-card-info small { font-size:.75rem; color:var(--muted); }

.cv-saved-card-acts { display:flex; gap:.4rem; flex-shrink:0; }



/* ── Builder Layout ────────────────────────────────────────────────────────── */

.cv-builder-wrap { padding-bottom:4rem; }

.cv-steps-bar {

  display:flex; gap:0; margin-bottom:1.5rem; background:var(--bg2);

  border:1px solid var(--border); border-radius:10px; padding:.5rem; overflow-x:auto;

}

.cv-step {

  display:flex; flex-direction:column; align-items:center; gap:.2rem;

  padding:.5rem .8rem; border-radius:8px; cursor:pointer; flex:1; min-width:70px;

  transition:background .15s;

}

.cv-step:hover { background:var(--bg3,#f3f4f6); }

.cv-step.active { background:var(--primary); color:#fff; }

.cv-step.done .cv-step-num { background:#dcfce7; color:#15803d; }

.cv-step-num {

  width:24px; height:24px; border-radius:50%; background:var(--border);

  display:flex; align-items:center; justify-content:center; font-size:.75rem; font-weight:700;

}

.cv-step.active .cv-step-num { background:rgba(255,255,255,.25); color:#fff; }

.cv-step span { font-size:.72rem; font-weight:600; white-space:nowrap; }



.cv-builder-layout { display:grid; grid-template-columns:1fr 26px 1fr; gap:1.5rem; align-items:start; }



/* ── Form Panel ────────────────────────────────────────────────────────────── */

.cv-form-panel {

  background:var(--bg2); border:1px solid var(--border); border-radius:12px; overflow:hidden;

}

.cv-step-pane { display:none; padding:1.5rem; }

.cv-step-pane.active { display:block; }

.cv-pane-title { font-size:1.2rem; margin:0 0 1.25rem; color:var(--text); }

.cv-sub-head { font-size:.95rem; font-weight:700; margin:0 0 .75rem; color:var(--text); }

.cv-field-grid { display:grid; grid-template-columns:1fr 1fr; gap:.75rem; }

.cv-field { display:flex; flex-direction:column; gap:.5rem; }

.cv-field-full { grid-column:1/-1; }

.cv-field label { font-size:.8rem; font-weight:600; color:var(--muted); text-transform:uppercase; letter-spacing:.04em; }

.cv-field label small { text-transform:none; letter-spacing:0; font-weight:400; margin-left:.3rem; }

.cv-field input, .cv-field textarea, .cv-field select {

  padding:.6rem .75rem; border:1.5px solid var(--border); border-radius:7px;

  background:var(--bg); color:var(--text); font-size:.9rem; font-family:inherit; transition:border-color .15s;

}

.cv-field input:focus, .cv-field textarea:focus, .cv-field select:focus {

  outline:none; border-color:var(--primary);

}

.cv-field textarea { resize:vertical; line-height:1.5; }

.cv-field-foot { display:flex; justify-content:space-between; align-items:center; margin-top:.4rem; }

.cv-required-card {
  display:grid;
  gap:.85rem;
  margin-top:1.25rem;
  padding:1rem 1.1rem;
  border:1px solid #fecaca;
  border-left:4px solid #dc2626;
  border-radius:8px;
  background:#fff7f7;
  color:#7f1d1d;
}
.cv-required-card.is-ready {
  border-color:#a7f3d0;
  border-left-color:#059669;
  background:#f0fdf8;
  color:#14532d;
}
.cv-ready-top { display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.cv-ready-top > div { display:grid; gap:.15rem; }
.cv-ready-top strong { font-size:.95rem; }
.cv-ready-top small { color:var(--muted); font-size:.78rem; }
.cv-ready-score { flex:0 0 auto; font-size:1.05rem; font-weight:800; }
.cv-ready-bar { height:7px; overflow:hidden; border-radius:99px; background:#fee2e2; }
.cv-required-card.is-ready .cv-ready-bar { background:#d1fae5; }
.cv-ready-bar i { display:block; height:100%; border-radius:inherit; background:#dc2626; transition:width .2s ease; }
.cv-required-card.is-ready .cv-ready-bar i { background:#059669; }
.cv-ready-groups { display:grid; grid-template-columns:1fr 1fr; gap:.75rem; }
.cv-ready-groups > div { min-width:0; padding:.7rem .8rem; border-radius:6px; background:rgba(255,255,255,.75); }
.cv-ready-groups b { display:block; margin-bottom:.3rem; font-size:.78rem; }
.cv-ready-groups p { margin:0; color:var(--text); font-size:.84rem; line-height:1.5; overflow-wrap:anywhere; }
.cv-required-card > small { color:var(--muted); line-height:1.45; }
.cv-char-count.is-limit { color:#b91c1c; font-weight:700; }
.cv-local-draft-note,.cv-share-privacy-note { margin:.75rem 0 0; color:var(--muted); font-size:.8rem; line-height:1.5; }

.cv-date-range {

  display:grid;

  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);

  gap:.5rem;

  align-items:center;

}

.cv-date-range span {

  color:#64748b;

  font-size:.8rem;

  font-weight:800;

  text-transform:uppercase;

}

.cv-current-check {

  display:inline-flex !important;

  flex-direction:row !important;

  align-items:center;

  gap:.45rem;

  margin:.45rem 0 .15rem;

  color:#334155 !important;

  font-size:.82rem !important;

  font-weight:700 !important;

  text-transform:none !important;

  letter-spacing:0 !important;

  cursor:pointer;

}

.cv-current-check input {

  width:16px;

  height:16px;

  padding:0 !important;

  flex:0 0 auto;

  accent-color:var(--primary);

}

.cv-char-count { font-size:.75rem; color:var(--muted); }

.cv-tip {

  background:#eff6ff; border:1px solid #bfdbfe; border-radius:8px;

  padding:.75rem 1rem; font-size:.85rem; color:#1e40af; margin-top:1rem;

}

.cv-nav-btns {

  display:flex; justify-content:space-between; align-items:center;

  padding:1rem 1.5rem; border-top:1px solid var(--border);

}



.cv-intel-panel {

  margin-top:1.2rem;

  background:var(--bg2);

  border:1px solid var(--border);

  border-radius:12px;

  padding:1rem;

}

.cv-intel-head {

  display:flex;

  justify-content:space-between;

  gap:1rem;

  align-items:flex-start;

  margin-bottom:.9rem;

}

.cv-intel-head h2 { margin:0; font-size:1.15rem; color:var(--text); }

.cv-intel-head p { margin:.15rem 0 0; color:var(--muted); font-size:.86rem; }

.cv-intel-grid {

  display:grid;

  grid-template-columns:repeat(2,minmax(0,1fr));

  gap:.8rem;

}

.cv-intel-card {

  background:var(--bg);

  border:1px solid var(--border);

  border-radius:10px;

  padding:.85rem;

  min-width:0;

}

.cv-intel-card-top {

  display:flex;

  align-items:center;

  justify-content:space-between;

  gap:.7rem;

  margin-bottom:.65rem;

}

.cv-intel-card-top strong { font-size:.92rem; color:var(--text); }

.cv-score-row {

  display:flex;

  gap:.7rem;

  align-items:center;

  margin:.25rem 0 .55rem;

}

.cv-score-row.compact { margin-top:.6rem; }

.cv-score-ring {

  width:58px;

  height:58px;

  border-radius:50%;

  display:grid;

  place-items:center;

  flex:0 0 auto;

  font-weight:800;

  color:var(--score-color,#4f46e5);

  background:linear-gradient(#fff,#fff) padding-box, conic-gradient(var(--score-color,#4f46e5), #e5e7eb) border-box;

  border:5px solid transparent;

}

.cv-score-ring.small { width:46px; height:46px; font-size:.86rem; border-width:4px; }

.cv-intel-muted { color:var(--muted); font-size:.84rem; line-height:1.45; }

.cv-intel-list {

  margin:.55rem 0 0;

  padding-left:1.05rem;

  color:#334155;

  font-size:.82rem;

  line-height:1.45;

}

.cv-intel-list li { margin:.22rem 0; }

.cv-intel-textarea {

  width:100%;

  border:1px solid var(--border);

  border-radius:8px;

  padding:.65rem;

  font-family:inherit;

  font-size:.86rem;

  resize:vertical;

  background:#fff;

  color:var(--text);

}

.cv-keyword-row {

  display:flex;

  flex-wrap:wrap;

  gap:.35rem;

  margin-top:.55rem;

}

.cv-keyword-row span {

  display:inline-flex;

  align-items:center;

  border:1px solid #fecaca;

  background:#fff1f2;

  color:#9f1239;

  border-radius:999px;

  padding:.18rem .45rem;

  font-size:.74rem;

  font-weight:700;

}

.cv-keyword-row span.matched {

  border-color:#bbf7d0;

  background:#f0fdf4;

  color:#166534;

}

.cv-ai-suggestion {

  display:grid;

  gap:.45rem;

  margin:.55rem 0;

}

.cv-ai-suggestion textarea {

  width:100%;

  border:1px solid var(--border);

  border-radius:8px;

  padding:.55rem;

  font-family:inherit;

  font-size:.84rem;

}



/* ── Dynamic Entries ───────────────────────────────────────────────────────── */

.cv-dyn-entry {

  background:#fff; border:1px solid #e2e8f0; border-radius:10px;

  padding:.85rem; margin-bottom:.75rem; position:relative;

  box-shadow:0 8px 20px rgba(15,23,42,.04);

}

.cv-dyn-row { display:flex; align-items:center; gap:.6rem; }

.cv-skill-entry .cv-dyn-row { padding-right:2.35rem; }

.cv-dyn-row input { flex:1; }

.cv-skill-input-wrap {

  flex:1; display:flex; align-items:center; min-width:0;

  border:1px solid #dbe3ef; border-radius:9px; background:#fff;

  transition:border-color .18s, box-shadow .18s, background .18s;

}

.cv-skill-input-wrap:focus-within {

  border-color:#86b7fe;

  box-shadow:0 0 0 .2rem rgba(13,110,253,.14);

  background:#fdfefe;

}

.cv-skill-input-icon {

  display:grid; place-items:center; width:38px; color:#64748b;

  font-weight:800; border-right:1px solid #e2e8f0;

}

.cv-skill-input-wrap input {

  width:100%; border:0 !important; box-shadow:none !important;

  background:transparent !important; padding:.72rem .85rem !important;

}

.cv-skill-pct {

  display:inline-flex; align-items:center; justify-content:center;

  font-size:.82rem; font-weight:800; color:#0d6efd; white-space:nowrap;

  min-width:48px; min-height:36px; padding:0 .55rem;

  border-radius:999px; background:#eff6ff; border:1px solid #bfdbfe;

}

.cv-entry-remove {

  position:absolute; top:.6rem; right:.6rem; background:none; border:none;

  color:var(--muted); cursor:pointer; font-size:.85rem; padding:.2rem .4rem;

  border-radius:5px; line-height:1;

}

.cv-entry-remove:hover { background:#fee2e2; color:#dc2626; }

.cv-range-wrap { margin-top:.8rem; padding:.65rem .75rem .45rem; border-radius:10px; background:#f8fafc; border:1px solid #e2e8f0; }

.cv-range {

  width:100%; height:7px; margin:0; accent-color:#0d6efd; cursor:pointer;

}

.cv-range-labels {

  display:flex; justify-content:space-between; margin-top:.35rem;

  color:#64748b; font-size:.72rem; font-weight:700;

}



/* ── Template Cards ────────────────────────────────────────────────────────── */

.cv-tpl-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:.75rem; }

.cv-tpl-card {

  border:2px solid var(--border); border-radius:10px; padding:.75rem;

  cursor:pointer; transition:border-color .15s, transform .1s; text-align:center;

}

.cv-tpl-card:hover { border-color:var(--primary); transform:translateY(-2px); }

.cv-tpl-card.active { border-color:var(--primary); background:#eff6ff; }

.cv-tpl-card span { font-size:.8rem; font-weight:600; margin-top:.5rem; display:block; color:var(--text); }

.cv-skill-level-toggle {

  display:inline-flex; align-items:center; gap:.55rem; margin:0 0 .85rem;

  font-size:.88rem; color:var(--text); font-weight:700; cursor:pointer;

  border:1px solid #dbe3ef; background:#fff; border-radius:999px;

  padding:.42rem .75rem .42rem .48rem; box-shadow:0 6px 16px rgba(15,23,42,.04);

}

.cv-skill-level-toggle input { position:absolute; opacity:0; pointer-events:none; }

.cv-skill-toggle-ui {

  position:relative; width:38px; height:22px; border-radius:999px;

  background:#cbd5e1; transition:background .18s;

}

.cv-skill-toggle-ui:after {

  content:""; position:absolute; width:18px; height:18px; left:2px; top:2px;

  border-radius:50%; background:#fff; box-shadow:0 2px 6px rgba(15,23,42,.25);

  transition:transform .18s;

}

.cv-skill-level-toggle input:checked + .cv-skill-toggle-ui { background:#0d6efd; }

.cv-skill-level-toggle input:checked + .cv-skill-toggle-ui:after { transform:translateX(16px); }

.cv-tpl-thumb { height:80px; border-radius:6px; overflow:hidden; margin-bottom:.4rem; }

.cv-tpl-thumb-classic { background:#f8fafc; border:1px solid #e2e8f0; }

.cv-tpl-thumb-classic .ct-bar { height:20px; background:#4f46e5; }

.cv-tpl-thumb-classic .ct-lines { padding:.5rem .4rem; }

.cv-tpl-thumb-modern { background:#f8fafc; border:1px solid #e2e8f0; display:flex; }

.cv-tpl-thumb-modern .ct-sidebar { width:35%; background:#7c3aed; }

.cv-tpl-thumb-modern .ct-lines { padding:.5rem .4rem; flex:1; }

.cv-tpl-thumb-minimal { background:#fff; border:1px solid #e2e8f0; padding:.4rem; }

.cv-tpl-thumb-minimal .ct-min-name { height:10px; background:#000; border-radius:2px; margin-bottom:.35rem; }

.cv-tpl-thumb-minimal .ct-min-line { height:1px; background:#000; margin-bottom:.4rem; }

.ct-lines div { height:6px; background:#e2e8f0; border-radius:3px; margin-bottom:.25rem; width:100%; }



/* Executive thumbnail */

.cv-tpl-thumb-executive { background:#f0f4ff; border:1px solid #e2e8f0; overflow:hidden; }

.cv-tpl-thumb-executive .ct-exec-head { height:22px; background:#4f46e5; }

.cv-tpl-thumb-executive .ct-exec-body { display:flex; height:58px; }

.cv-tpl-thumb-executive .ct-exec-left { width:40%; background:#f1f5f9; padding:.3rem .25rem; }

.cv-tpl-thumb-executive .ct-exec-right { flex:1; padding:.3rem .25rem; }

.cv-tpl-thumb-executive .ct-exec-left div,.cv-tpl-thumb-executive .ct-exec-right div { height:5px; background:#e2e8f0; border-radius:2px; margin-bottom:.2rem; }

/* Sharp thumbnail */

.cv-tpl-thumb-sharp { background:#fff; border:1px solid #e2e8f0; padding:.4rem; }

.cv-tpl-thumb-sharp .ct-sharp-name { height:12px; background:#111; border-radius:2px; margin-bottom:.25rem; width:80%; }

.cv-tpl-thumb-sharp .ct-sharp-line { height:3px; background:#4f46e5; margin-bottom:.3rem; border-radius:1px; }

.cv-tpl-thumb-sharp .ct-sharp-lines { display:grid; grid-template-columns:1fr 1fr; gap:.2rem; }

.cv-tpl-thumb-sharp .ct-sharp-lines div { height:5px; background:#e2e8f0; border-radius:2px; }

/* Creative thumbnail */

.cv-tpl-thumb-creative { background:#f8f7ff; border:1px solid #e2e8f0; display:flex; overflow:hidden; }

.cv-tpl-thumb-creative .ct-creative-sidebar { width:38%; background:#4f46e5; }

.cv-tpl-thumb-creative .ct-creative-body { flex:1; padding:.3rem; }

.cv-tpl-thumb-creative .ct-creative-body div { height:5px; background:#e2e8f0; border-radius:2px; margin-bottom:.2rem; }

.cv-tpl-thumb-portfolio { background:#0f172a; border:1px solid #e2e8f0; padding:.35rem; }

.cv-tpl-thumb-portfolio .ct-portfolio-top { height:18px; background:linear-gradient(90deg,#f8fafc,#dbeafe); border-radius:4px; margin-bottom:.3rem; }

.cv-tpl-thumb-portfolio .ct-portfolio-grid { display:grid; grid-template-columns:1fr 1fr; gap:.25rem; }

.cv-tpl-thumb-portfolio .ct-portfolio-grid div { height:20px; background:#f8fafc; border-left:3px solid #38bdf8; border-radius:4px; }

.cv-tpl-thumb-signature { background:#fffaf0; border:1px solid #e2e8f0; padding:.45rem; }

.cv-tpl-thumb-signature .ct-signature-mark { width:26px; height:26px; border-radius:50%; background:#111827; margin:0 auto .35rem; }

.cv-tpl-thumb-signature .ct-signature-lines div { height:6px; background:#d6a84f; border-radius:999px; margin:.25rem auto; }

.cv-tpl-thumb-signature .ct-signature-lines div:nth-child(1) { width:70%; }

.cv-tpl-thumb-signature .ct-signature-lines div:nth-child(2) { width:92%; background:#e5e7eb; }

.cv-tpl-thumb-signature .ct-signature-lines div:nth-child(3) { width:58%; background:#e5e7eb; }



/* ── Color Picker ──────────────────────────────────────────────────────────── */

.cv-color-row { display:flex; gap:.5rem; align-items:center; flex-wrap:wrap; }

.cv-color-swatch {

  width:28px; height:28px; border-radius:50%; cursor:pointer; border:2px solid transparent;

  transition:transform .15s, border-color .15s;

}

.cv-color-swatch:hover { transform:scale(1.15); }

.cv-color-swatch.active { border-color:#fff; outline:2px solid var(--primary); }

.cv-color-custom { cursor:pointer; font-size:1.1rem; display:flex; align-items:center; }

.cv-color-custom input[type=color] { width:0; height:0; opacity:0; position:absolute; }



/* ── Export Buttons ────────────────────────────────────────────────────────── */

.cv-export-btns { display:flex; gap:.75rem; flex-wrap:wrap; }

.cv-btn-pdf { background:linear-gradient(135deg,#dc2626,#b91c1c); color:#fff; border:none; text-decoration:none; }

.cv-btn-pdf:hover { background:linear-gradient(135deg,#b91c1c,#991b1b); color:#fff; }

.cv-btn-pdf-disabled { background:#e5e7eb !important; color:#9ca3af !important; cursor:not-allowed; pointer-events:none; box-shadow:none !important; }



/* ── Save Steps ─────────────────────────────────────────────────────────────── */

.cv-save-step { display:flex; gap:.85rem; align-items:flex-start; margin-bottom:1rem; padding:1rem; background:var(--bg2); border:1px solid var(--border); border-radius:10px; }

.cv-save-step-num { width:28px; height:28px; border-radius:50%; background:var(--primary); color:#fff; font-size:.82rem; font-weight:700; display:flex; align-items:center; justify-content:center; flex-shrink:0; }

.cv-save-step-num-2 { background:#e5e7eb; color:#9ca3af; }

.cv-save-step-num-done { background:#059669 !important; color:#fff !important; }

.cv-save-step-body { flex:1; min-width:0; }

.cv-save-step-label { font-weight:600; font-size:.9rem; color:var(--text); }

.cv-save-step-desc { font-size:.78rem; color:var(--muted); margin-top:.15rem; }



.cv-share-box { margin-top:1rem; background:#f0fdf4; border:1px solid #bbf7d0; border-radius:8px; padding:1rem; }

.cv-share-link-row { display:flex; gap:.5rem; margin-top:.5rem; }

.cv-share-link-row input { flex:1; padding:.5rem .75rem; border:1px solid var(--border); border-radius:7px; font-size:.85rem; background:var(--bg); color:var(--text); }



/* ── Preview Panel ─────────────────────────────────────────────────────────── */

.cv-preview-toggle-tab {

  position:sticky; top:calc(50vh - 17px); align-self:flex-start;

  display:flex; align-items:center; justify-content:center;

  width:34px; height:34px;

  background:#fff; color:var(--primary);

  border:1.5px solid var(--border2); border-radius:50%;

  cursor:pointer; z-index:10;

  box-shadow:0 2px 8px rgba(30,64,175,.15);

  transition:background .18s, color .18s, border-color .18s, box-shadow .18s;

  padding:0;

}

.cv-preview-toggle-tab:hover {

  background:var(--primary); color:#fff;

  border-color:var(--primary);

  box-shadow:0 4px 16px rgba(30,64,175,.35);

}

.cv-preview-toggle-tab svg { transition:transform .3s ease; }

.cv-builder-layout.cv-preview-hidden .cv-preview-toggle-tab svg { transform:rotate(180deg); }



/* Rebuild the 3-column layout: [form] [tab] [preview] */

.cv-builder-layout { grid-template-columns:1fr 34px 1fr; }

.cv-builder-layout.cv-preview-hidden { grid-template-columns:1fr 34px 0px; }

.cv-builder-layout.cv-preview-hidden .cv-preview-panel { display:none; }



.cv-preview-panel {

  position:sticky; top:80px; background:var(--bg2); border:1px solid var(--border);

  border-radius:12px; overflow:hidden; display:flex; flex-direction:column; max-height:calc(100vh - 96px);

}

.cv-preview-header {

  display:flex; justify-content:space-between; align-items:center;

  padding:.75rem 1rem; border-bottom:1px solid var(--border); background:var(--bg);

}

.cv-preview-label { font-size:.8rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); }

.cv-preview-action-btn { background:var(--primary); color:#fff; border:none; transition:background .2s; }

.cv-preview-action-btn:hover { background:#4338ca; color:#fff; }

.cv-preview-action-btn.cv-preview-action-saved { background:linear-gradient(135deg,#dc2626,#b91c1c); }

.cv-preview-action-btn.cv-preview-action-saved:hover { background:linear-gradient(135deg,#b91c1c,#991b1b); }

.cv-preview-frame {

  background:#d1d5db;

  padding:.75rem .75rem 2rem;

  max-height:none;

  overflow-y:auto;

  flex:1 1 auto;

  min-height:0;

  overscroll-behavior:contain;

  -webkit-overflow-scrolling:touch;

}

.cv-mobile-preview-btn { display:none; position:fixed; bottom:5rem; right:1.5rem; z-index:9999; }



/* ── CV View page ──────────────────────────────────────────────────────────── */

.cv-view-toolbar {

  display:flex; justify-content:space-between; align-items:center;

  padding:1rem 0; border-bottom:1px solid var(--border); margin-bottom:1.5rem;

}

.cv-view-wrap { padding-bottom:3rem; }

.cv-view-wrap #cv-preview { max-width:820px; margin:0 auto; }



/* ── Share Modal ───────────────────────────────────────────────────────────── */

.cv-modal-overlay {

  position:fixed; inset:0; background:rgba(0,0,0,.6); z-index:1000;

  display:flex; align-items:center; justify-content:center; padding:1rem;

}

.cv-modal {

  background:var(--bg2); border-radius:14px; padding:2rem; max-width:480px; width:100%;

  position:relative; box-shadow:0 20px 60px rgba(0,0,0,.3);

}

.cv-modal h3 { margin:0 0 .75rem; font-size:1.2rem; }

.cv-modal p { color:var(--muted); margin-bottom:1rem; font-size:.9rem; }

.cv-modal-close {

  position:absolute; top:.75rem; right:.75rem; background:none; border:none;

  font-size:1.1rem; cursor:pointer; color:var(--muted); padding:.25rem .5rem; border-radius:5px;

}

.cv-modal-close:hover { background:var(--bg); color:var(--text); }



/* ═══════════════════════════════════════════════════════════════════════════════

   CV TEMPLATES  (shared between preview + cv/view.php)

   ═══════════════════════════════════════════════════════════════════════════════ */

#cv-preview, .cv-view-wrap #cv-preview {

  font-size:13px; line-height:1.55; color:#1f2937; background:#fff;

  font-family:'Segoe UI', Arial, sans-serif;

}



/* ── Common sections ───────────────────────────────────────────────────────── */

.cv-section { margin-bottom:1.1rem; }

.cv-sec-title {

  font-size:1em; font-weight:700; text-transform:uppercase; letter-spacing:.08em;

  color:var(--cv-color,#4f46e5); border-bottom:2px solid var(--cv-color,#4f46e5);

  padding-bottom:.25rem; margin:0 0 .7rem;

}

.cv-entry { margin-bottom:.7rem; }

.cv-entry-head { display:flex; justify-content:space-between; align-items:flex-start; gap:.5rem; }

.cv-entry-head strong { font-size:1em; font-weight:700; }

.cv-entry-date { font-size:.85em; color:#6b7280; white-space:nowrap; flex-shrink:0; }

.cv-entry-sub { font-size:.9em; color:#4b5563; margin:.1rem 0; }

.cv-personal-grid { display:grid; gap:.45rem; }
.cv-personal-grid > div { display:grid; grid-template-columns:minmax(5rem,.35fr) minmax(0,1fr); gap:.65rem; align-items:baseline; }
.cv-personal-grid strong { white-space:nowrap; }
.cv-personal-grid span { overflow-wrap:anywhere; }

.cv-entry-desc { font-size:.88em; color:#374151; margin:.35rem 0 0; line-height:1.5; }

.cv-list { margin:.35rem 0 0; padding-left:1.25rem; }

.cv-list li { font-size:.9em; margin-bottom:.2rem; }

.cv-socials { font-size:.85em; color:#4b5563; }

.cv-link { font-size:.8em; color:var(--cv-color,#4f46e5); word-break:break-all; }

.cv-photo { width:70px; height:70px; border-radius:50%; object-fit:cover; float:right; margin:0 0 .5rem .75rem; }



/* ── Skill bars (Classic) ──────────────────────────────────────────────────── */

.cv-skills-grid { display:grid; grid-template-columns:1fr 1fr; gap:.4rem .75rem; }

.cv-skill { }

.cv-skill-chip { display:inline-block; border:1px solid #dbe3ef; background:#f8fafc; color:#334155; border-radius:999px; padding:.18rem .55rem; margin:0 .25rem .3rem 0; font-size:.78rem; font-weight:700; }

.cv-skill-label { display:flex; justify-content:space-between; align-items:baseline; gap:.5rem; font-size:.85em; margin-bottom:.15rem; }
.cv-skill-label span:first-child { min-width:0; overflow-wrap:anywhere; }
.cv-skill-label span:last-child { flex:0 0 auto; white-space:nowrap; }

.cv-skill-bar { height:6px; background:#e5e7eb; border-radius:3px; overflow:hidden; }

.cv-skill-fill { height:100%; background:var(--cv-color,#4f46e5); border-radius:3px; }



/* ── Classic ────────────────────────────────────────────────────────────────── */

.cv-tpl-classic .cv-header {

  background:var(--cv-color,#4f46e5); color:#fff; padding:1.5rem;

  display:flow-root;

}

.cv-tpl-classic .cv-name { font-size:1.8em; font-weight:800; margin:0 0 .2rem; }

.cv-tpl-classic .cv-headline { font-size:1em; opacity:.85; margin:0 0 .6rem; font-weight:400; }

.cv-tpl-classic .cv-contacts { display:flex; flex-wrap:wrap; gap:.25rem .75rem; font-size:.82em; opacity:.9; }

.cv-tpl-classic .cv-body { padding:1.25rem 1.5rem; }

.cv-tpl-classic .cv-photo { border:3px solid rgba(255,255,255,.5); }



/* ── Modern ─────────────────────────────────────────────────────────────────── */

.cv-tpl-modern .cv-modern-inner { display:flex; min-height:500px; }

.cv-tpl-modern .cv-sidebar {

  width:36%; background:var(--cv-color,#4f46e5); color:#fff; padding:1.5rem;

  flex-shrink:0;

}

.cv-tpl-modern .cv-main { flex:1; padding:1.5rem; overflow:hidden; }

.cv-tpl-modern .cv-name { font-size:1.4em; font-weight:800; margin:0 0 .2rem; line-height:1.2; }

.cv-tpl-modern .cv-headline { font-size:.82em; opacity:.8; margin:0 0 1rem; }

.cv-tpl-modern .cv-sidebar-section { margin-top:1rem; }

.cv-tpl-modern .cv-sidebar-section h3 {

  font-size:.75em; font-weight:700; text-transform:uppercase; letter-spacing:.08em;

  opacity:.6; margin:0 0 .4rem; border-bottom:1px solid rgba(255,255,255,.2); padding-bottom:.25rem;

}

.cv-tpl-modern .cv-contact-item { font-size:.8em; opacity:.85; margin-bottom:.25rem; word-break:break-all; }

.cv-tpl-modern .cv-sec-title { color:var(--cv-color,#4f46e5); }

.cv-tpl-modern .cv-photo-round { width:72px; height:72px; border-radius:50%; object-fit:cover; display:block; margin:0 auto .75rem; border:3px solid rgba(255,255,255,.4); float:none; }

/* Skill dots */

.cv-skill-modern { display:flex; justify-content:space-between; align-items:center; gap:.5rem; margin-bottom:.4rem; }

.cv-skill-modern span { font-size:.78em; opacity:.9; flex:1 1 auto; min-width:0; margin-right:0; overflow-wrap:anywhere; }

.cv-skill-dots { display:flex; flex:0 0 auto; gap:3px; }

.cv-dot { width:10px; height:10px; border-radius:50%; background:rgba(255,255,255,.25); }

.cv-dot.filled { background:rgba(255,255,255,.9); }

.cv-lang-item { display:flex; justify-content:space-between; align-items:baseline; gap:.5rem; min-width:0; overflow-wrap:anywhere; font-size:.8em; opacity:.85; margin-bottom:.25rem; }

.cv-lang-item span { flex:0 0 auto; white-space:nowrap; opacity:.65; font-size:.9em; }



/* ── Minimal ─────────────────────────────────────────────────────────────────── */

.cv-tpl-minimal { font-family:'Georgia', serif; padding:2rem; color:#111; }

.cv-tpl-minimal .cv-min-header { text-align:center; margin-bottom:1.5rem; padding-bottom:1rem; border-bottom:2px solid #111; }

.cv-tpl-minimal .cv-name { font-size:2em; font-weight:700; letter-spacing:.05em; text-transform:uppercase; margin:0 0 .2rem; color:#111; }

.cv-tpl-minimal .cv-headline { font-size:.95em; color:#555; font-style:italic; margin:.2rem 0 .5rem; }

.cv-tpl-minimal .cv-contacts { font-size:.8em; color:#666; }

.cv-tpl-minimal .cv-min-section { margin-bottom:1.25rem; }

.cv-tpl-minimal .cv-min-section h2 {

  font-size:.75em; font-weight:700; letter-spacing:.12em; color:#444;

  border-bottom:1px solid #ccc; padding-bottom:.25rem; margin:0 0 .6rem; font-family:'Segoe UI',Arial,sans-serif;

}

.cv-tpl-minimal .cv-min-entry { margin-bottom:.75rem; }

.cv-tpl-minimal .cv-min-entry-head { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:.25rem .75rem; }

.cv-tpl-minimal .cv-min-entry-head strong { flex:1 1 60%; min-width:0; overflow-wrap:anywhere; font-size:.95em; }

.cv-tpl-minimal .cv-min-entry-head span { flex:0 1 auto; min-width:0; margin-left:auto; overflow-wrap:anywhere; text-align:right; font-size:.8em; color:#666; }

.cv-tpl-minimal .cv-min-entry em { font-size:.85em; color:#555; display:block; }

.cv-tpl-minimal .cv-min-entry p { font-size:.88em; color:#333; margin:.3rem 0 0; }

.cv-tpl-minimal ul { margin:.35rem 0; padding-left:1.2rem; }

.cv-tpl-minimal li { font-size:.88em; }



/* ── Executive ───────────────────────────────────────────────────────────────── */

.cv-tpl-executive { font-family:'Segoe UI',Arial,sans-serif; color:#1a1a1a; }

.cv-tpl-executive .cv-exec-header { background:var(--cv-color); color:#fff; padding:1.5rem; display:flex; align-items:center; gap:1rem; }

.cv-tpl-executive .cv-exec-header .cv-name { color:#fff; font-size:1.8rem; margin:0; }

.cv-tpl-executive .cv-exec-header .cv-headline { color:rgba(255,255,255,.85); margin:.25rem 0 0; }

.cv-tpl-executive .cv-exec-header-info { flex:1; }

.cv-tpl-executive .cv-exec-contacts { color:rgba(255,255,255,.9); font-size:.82rem; margin-top:.4rem; display:flex; flex-wrap:wrap; gap:.4rem; }

.cv-tpl-executive .cv-exec-contacts span:not(:last-child)::after { content:' ·'; margin-left:.4rem; }

.cv-tpl-executive .cv-exec-body { display:grid; grid-template-columns:38% 1fr; }

.cv-tpl-executive .cv-exec-left { background:#f8fafc; padding:1rem; border-right:1px solid #e2e8f0; }

.cv-tpl-executive .cv-exec-right { padding:1rem; }

.cv-tpl-executive .cv-exec-section { margin-bottom:1rem; }

.cv-tpl-executive .cv-exec-section h3 { font-size:.72rem; text-transform:uppercase; letter-spacing:.08em; color:var(--cv-color); border-bottom:2px solid var(--cv-color); padding-bottom:.2rem; margin:0 0 .5rem; font-weight:700; }

.cv-tpl-executive .cv-exec-section p { font-size:.87rem; line-height:1.5; margin:0; }

.cv-tpl-executive .cv-exec-section ul { margin:.2rem 0; padding-left:1.1rem; }

.cv-tpl-executive .cv-exec-section li { font-size:.85rem; }



/* ── Sharp ────────────────────────────────────────────────────────────────────── */

.cv-tpl-sharp { font-family:'Segoe UI',Arial,sans-serif; color:#1a1a1a; }

.cv-tpl-sharp .cv-sharp-header { padding:1.5rem 1.5rem .75rem; }

.cv-tpl-sharp .cv-sharp-name { font-size:2.2rem; font-weight:900; letter-spacing:-.03em; line-height:1; margin:0 0 .25rem; color:#111; }

.cv-tpl-sharp .cv-sharp-title { color:var(--cv-color); font-size:1rem; font-weight:600; margin:0 0 .5rem; }

.cv-tpl-sharp .cv-contacts { font-size:.8rem; color:#666; display:flex; flex-wrap:wrap; gap:.35rem; }

.cv-tpl-sharp .cv-contacts span:not(:last-child)::after { content:' |'; margin-left:.35rem; }

.cv-tpl-sharp .cv-sharp-divider { height:4px; background:var(--cv-color); }

.cv-tpl-sharp .cv-sharp-body { padding:1rem 1.5rem; }

.cv-tpl-sharp .cv-sharp-section { margin-bottom:1.1rem; }

.cv-tpl-sharp .cv-sharp-sec { font-size:.68rem; font-weight:800; letter-spacing:.18em; color:var(--cv-color); margin:0 0 .5rem; padding-left:.6rem; border-left:4px solid var(--cv-color); }

.cv-tpl-sharp .cv-sharp-skills { display:grid; grid-template-columns:1fr 1fr; gap:.4rem; }

.cv-tpl-sharp .cv-sharp-skill-item { display:flex; align-items:center; gap:.5rem; font-size:.82rem; }

.cv-tpl-sharp .cv-sharp-skill-bar-wrap { flex:1; height:5px; background:#e2e8f0; border-radius:3px; overflow:hidden; }

.cv-tpl-sharp .cv-sharp-skill-fill { display:block; height:100%; background:var(--cv-color); border-radius:3px; }

.cv-tpl-sharp .cv-sharp-skill-name { width:110px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

.cv-tpl-sharp .cv-sharp-body p { font-size:.88rem; line-height:1.5; margin:0; }

.cv-tpl-sharp .cv-sharp-body ul { margin:.2rem 0; padding-left:1.1rem; }

.cv-tpl-sharp .cv-sharp-body li { font-size:.85rem; }



/* ── Creative ─────────────────────────────────────────────────────────────────── */

.cv-tpl-creative { font-family:'Segoe UI',Arial,sans-serif; }

.cv-tpl-creative .cv-creative-inner { display:flex; min-height:100%; }

.cv-tpl-creative .cv-creative-sidebar { width:37%; background:var(--cv-color); color:#fff; padding:1.5rem 1rem; }

.cv-tpl-creative .cv-creative-sidebar .cv-name { color:#fff; font-size:1.5rem; margin:0 0 .2rem; }

.cv-tpl-creative .cv-creative-sidebar .cv-headline { color:rgba(255,255,255,.8); font-size:.85rem; margin:.2rem 0; }

.cv-tpl-creative .cv-creative-section { margin-top:1.1rem; }

.cv-tpl-creative .cv-creative-section h3 { font-size:.68rem; text-transform:uppercase; letter-spacing:.1em; color:rgba(255,255,255,.65); margin:0 0 .4rem; }

.cv-tpl-creative .cv-creative-contact { font-size:.78rem; color:rgba(255,255,255,.9); margin-bottom:.2rem; word-break:break-all; }

.cv-tpl-creative .cv-creative-skills { display:flex; flex-wrap:wrap; gap:.3rem; }

.cv-tpl-creative .cv-creative-pill { background:rgba(255,255,255,.2); color:#fff; border-radius:999px; padding:.15rem .55rem; font-size:.72rem; }

.cv-tpl-creative .cv-creative-pill em { font-style:normal; opacity:.72; margin-left:.15rem; }

.cv-tpl-creative .cv-creative-lang { font-size:.82rem; color:rgba(255,255,255,.9); margin-bottom:.2rem; }

.cv-tpl-creative .cv-creative-lang em { color:rgba(255,255,255,.65); font-style:normal; }

.cv-tpl-creative .cv-creative-main { flex:1; padding:1.5rem 1rem; }

.cv-tpl-creative .cv-creative-main-section { margin-bottom:1.1rem; }

.cv-tpl-creative .cv-creative-main-section h2 { font-size:.72rem; text-transform:uppercase; letter-spacing:.08em; color:var(--cv-color); border-bottom:2px solid var(--cv-color); padding-bottom:.2rem; margin:0 0 .5rem; font-weight:700; }

.cv-tpl-creative .cv-creative-main-section p { font-size:.87rem; line-height:1.5; margin:0; }

.cv-tpl-creative .cv-creative-main-section ul { margin:.2rem 0; padding-left:1.1rem; }

.cv-tpl-creative .cv-creative-main-section li { font-size:.85rem; }

.cv-tpl-creative .cv-creative-timeline { padding-left:.5rem; }

.cv-tpl-creative .cv-creative-tl-item { position:relative; padding-left:1.2rem; margin-bottom:.85rem; border-left:2px solid var(--cv-color); }

.cv-tpl-creative .cv-creative-tl-dot { position:absolute; left:-5px; top:4px; width:8px; height:8px; border-radius:50%; background:var(--cv-color); }

.cv-tpl-creative .cv-creative-tl-content strong { font-size:.9rem; display:block; }

.cv-tpl-creative .cv-creative-tl-company { font-size:.82rem; color:#555; }

.cv-tpl-creative .cv-creative-tl-date { font-size:.78rem; color:#888; margin-bottom:.2rem; }

.cv-tpl-creative .cv-creative-tl-content p { font-size:.82rem; margin:.25rem 0 0; color:#444; }



.cv-tpl-portfolio { font-family:'Segoe UI',Arial,sans-serif; color:#172033; background:#f8fafc; padding:1.1rem; }

.cv-tpl-portfolio .cv-portfolio-hero { background:#111827; color:#fff; border-radius:8px; padding:1.35rem; }

.cv-tpl-portfolio .cv-portfolio-id { display:flex; align-items:center; gap:.9rem; }

.cv-tpl-portfolio .cv-photo-round { width:72px; height:72px; border-radius:50%; object-fit:cover; border:3px solid rgba(255,255,255,.35); }

.cv-tpl-portfolio .cv-name { color:#fff; font-size:1.9rem; line-height:1; margin:0; }

.cv-tpl-portfolio .cv-headline { color:#bae6fd; margin:.35rem 0 0; font-weight:600; }

.cv-tpl-portfolio .cv-portfolio-contact { display:flex; flex-wrap:wrap; gap:.35rem .7rem; margin-top:1rem; font-size:.78rem; color:#e5e7eb; }

.cv-tpl-portfolio .cv-portfolio-summary { margin:1rem 0; background:#fff; border-radius:8px; padding:1rem; border-left:5px solid var(--cv-color); }

.cv-tpl-portfolio h2 { font-size:.72rem; text-transform:uppercase; letter-spacing:.12em; color:var(--cv-color); margin:0 0 .45rem; }

.cv-tpl-portfolio p { font-size:.88rem; line-height:1.55; margin:0; }

.cv-tpl-portfolio .cv-portfolio-strip { display:flex; flex-wrap:wrap; gap:.35rem; margin-bottom:1rem; }

.cv-tpl-portfolio .cv-portfolio-strip span { background:#e0f2fe; color:#0c4a6e; border-radius:999px; padding:.25rem .65rem; font-size:.74rem; font-weight:700; }

.cv-tpl-portfolio .cv-portfolio-strip em { font-style:normal; color:#0369a1; opacity:.75; margin-left:.18rem; }

.cv-tpl-portfolio .cv-portfolio-grid { display:grid; grid-template-columns:1fr 1fr; gap:.8rem; }

.cv-tpl-portfolio .cv-portfolio-grid section { background:#fff; border-radius:8px; padding:.9rem; box-shadow:0 8px 22px rgba(15,23,42,.08); }



.cv-tpl-signature { font-family:Georgia,'Times New Roman',serif; color:#201a12; background:#fffdf8; padding:1.35rem; border-top:7px solid #111827; }

.cv-tpl-signature .cv-signature-head { display:flex; align-items:center; gap:.9rem; padding-bottom:.8rem; border-bottom:1px solid #d6a84f; }

.cv-tpl-signature .cv-signature-mark { width:62px; height:62px; border-radius:50%; background:#111827; color:#fff; display:grid; place-items:center; font-family:'Segoe UI',Arial,sans-serif; font-weight:900; letter-spacing:.08em; }

.cv-tpl-signature .cv-name { font-size:2rem; line-height:1; margin:0; color:#201a12; }

.cv-tpl-signature .cv-headline { color:#8a6722; font-style:italic; margin:.3rem 0 0; }

.cv-tpl-signature .cv-signature-contact { display:flex; flex-wrap:wrap; gap:.35rem .75rem; padding:.65rem 0; font-size:.78rem; color:#5f554a; border-bottom:1px solid #eee2c8; }

.cv-tpl-signature .cv-signature-body { display:grid; grid-template-columns:1.45fr .85fr; gap:1rem; padding-top:1rem; }

.cv-tpl-signature section { margin-bottom:1rem; }

.cv-tpl-signature h2 { font-family:'Segoe UI',Arial,sans-serif; font-size:.68rem; text-transform:uppercase; letter-spacing:.14em; color:#8a6722; margin:0 0 .45rem; }

.cv-tpl-signature p { font-size:.88rem; line-height:1.55; margin:0; }

.cv-tpl-signature aside { border-left:1px solid #eee2c8; padding-left:.9rem; }

.cv-tpl-signature .cv-signature-skill { margin-bottom:.55rem; font-family:'Segoe UI',Arial,sans-serif; font-size:.78rem; }

.cv-tpl-signature .cv-signature-skill span { display:block; margin-bottom:.18rem; font-weight:700; }

.cv-tpl-signature .cv-signature-skill b { display:block; height:5px; background:#d6a84f; border-radius:999px; }



/* ═══════════════════════════════════════════════════════════════════════════════

   PRINT STYLES  (PDF Download)

   ═══════════════════════════════════════════════════════════════════════════════ */

@media print {

  .site-header,.site-footer,.cv-hero,.cv-steps-bar,.cv-form-panel,

  .cv-preview-header,.cv-mobile-preview-btn,.cv-view-toolbar,

  .cv-builder-wrap > :not(.cv-builder-layout),

  .container > :not(.cv-view-wrap),

  nav, footer, .cv-nav-btns, .cv-saved-list { display:none !important; }

  body { background:#fff !important; margin:0 !important; padding:0 !important; }

  .cv-builder-layout { display:block !important; }

  .cv-preview-panel { position:static !important; border:none !important; background:transparent !important; }

  .cv-preview-frame { background:transparent !important; padding:0 !important; max-height:none !important; overflow:visible !important; }

  #cv-preview { box-shadow:none !important; width:100% !important; max-width:none !important; font-size:11pt; }

  .cv-view-wrap #cv-preview { max-width:none !important; }

  @page { margin:1cm; size:A4; }

}



/* ── Responsive ─────────────────────────────────────────────────────────────── */

@media (max-width:900px) {

  .cv-hero { padding:3.5rem 0 2.5rem; }

  .cv-hero-inner { grid-template-columns:1fr; gap:0; }

  .cv-hero-visual { display:none; }

  .cv-intel-head { align-items:stretch; }

  .cv-intel-grid { grid-template-columns:1fr; }

  .cv-intel-card { padding:.75rem; }

  .cv-preview-toggle-tab { display:none; }

  .cv-builder-layout { grid-template-columns:1fr; }

  .cv-preview-panel {

    position:fixed; bottom:0; left:0; right:0; z-index:500;

    border-radius:16px 16px 0 0; transform:translateY(100%);

    transition:transform .3s; height:min(86vh, calc(100dvh - 1rem)); max-height:86vh; overflow:hidden;

  }

  .cv-preview-panel.cv-mobile-open { transform:translateY(0); z-index:500; }

  .cv-preview-frame { max-height:none; min-height:0; padding-bottom:5.5rem; }

  .cv-mobile-preview-btn {

    display:flex;

    align-items:center;

    justify-content:center;

    width:58px;

    height:58px;

    border-radius:50%;

    background:linear-gradient(135deg,#1e40af,#4f46e5);

    color:#fff;

    border:none;

    cursor:pointer;

    font-size:1.5rem;

    line-height:1;

    box-shadow:0 4px 18px rgba(30,64,175,.5),0 2px 6px rgba(0,0,0,.18);

    transition:transform .18s,box-shadow .18s,background .2s;

    outline:none;

    z-index:9999;

    /* Force own stacking context so transform on panel cannot bury it */

    will-change:transform;

    isolation:isolate;

  }

  .cv-mobile-preview-btn:active {

    transform:scale(.9);

    box-shadow:0 2px 8px rgba(30,64,175,.4);

  }

  .cv-mobile-preview-btn.is-open {

    background:linear-gradient(135deg,#7c3aed,#4f46e5);

    box-shadow:0 4px 18px rgba(124,58,237,.5),0 2px 6px rgba(0,0,0,.18);

  }

  @keyframes cvFabPop {

    0%   { transform:scale(0) rotate(-90deg); opacity:0; }

    70%  { transform:scale(1.12) rotate(8deg); }

    100% { transform:scale(1) rotate(0); opacity:1; }

  }

  .cv-mobile-preview-btn { animation:cvFabPop .35s cubic-bezier(.34,1.56,.64,1) both; }

}

@media (max-width:560px) {

  .cv-field-grid { grid-template-columns:1fr; }
  .cv-ready-groups { grid-template-columns:1fr; }

  .cv-field-full { grid-column:1; }

  .cv-date-range { grid-template-columns:1fr; }

  .cv-date-range span { text-align:left; }

  .cv-tpl-cards { grid-template-columns:repeat(3,1fr); gap:.4rem; }

  .cv-steps-bar { gap:0; }

  .cv-step { min-width:55px; padding:.4rem .4rem; }

  .cv-step span { font-size:.65rem; }

  .cv-skills-grid { grid-template-columns:1fr; }

  .cv-tpl-modern .cv-modern-inner { flex-direction:column; }

  .cv-tpl-modern .cv-sidebar { width:100%; }

  .cv-tpl-portfolio .cv-portfolio-grid,

  .cv-tpl-signature .cv-signature-body { grid-template-columns:1fr; }

  .cv-tpl-signature aside { border-left:0; padding-left:0; border-top:1px solid #eee2c8; padding-top:.8rem; }

  .cv-saved-card { flex-wrap:wrap; }

}



/* ═══════════════════════════════════════════════════════════════════════════════

   NAV PREMIUM TAG

   ═══════════════════════════════════════════════════════════════════════════════ */

.nav-ats-link { position:relative; }

.nav-premium-tag {

  position:absolute; top:-7px; right:2px;

  background:linear-gradient(135deg,#b45309,#d97706);

  color:#fff; font-size:.58rem; font-weight:700;

  letter-spacing:.05em; line-height:1;

  padding:2px 5px; border-radius:999px;

  pointer-events:none;

  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);

}



/* ═══════════════════════════════════════════════════════════════════════════════

   PREMIUM TEMPLATE LOCK

   ═══════════════════════════════════════════════════════════════════════════════ */

.cv-tpl-card { position:relative; }

.cv-tpl-locked { opacity:.75; }

.cv-tpl-lock-overlay {

  position:absolute; inset:0; z-index:2; border-radius:10px;

  background:rgba(15,12,41,.55); backdrop-filter:blur(2px);

  display:flex; flex-direction:column; align-items:center; justify-content:center;

  gap:2px; pointer-events:none;

}

.cv-tpl-lock-overlay span { font-size:1.1rem; line-height:1; }

.cv-tpl-lock-overlay em { font-size:.6rem; font-weight:700; color:#fbbf24; font-style:normal; letter-spacing:.06em; }



/* ═══════════════════════════════════════════════════════════════════════════════

   UPGRADE MODAL (cv-builder)

   ═══════════════════════════════════════════════════════════════════════════════ */

.cv-upgrade-overlay {

  position:fixed; inset:0; z-index:10001;

  background:rgba(0,0,0,.65); backdrop-filter:blur(4px);

  display:flex; align-items:center; justify-content:center; padding:1rem;

}

.cv-upgrade-modal {

  background:#fff; border-radius:20px; padding:2rem 2rem 1.75rem;

  max-width:400px; width:100%; text-align:center; position:relative;

  box-shadow:0 24px 80px rgba(0,0,0,.35);

}

.cv-upgrade-close {

  position:absolute; top:.5rem; right:.5rem;

  width:36px; height:36px; border-radius:50%;

  background:none; border:none;

  font-size:1.15rem; color:#9ca3af; cursor:pointer; line-height:1;

  display:flex; align-items:center; justify-content:center;

  transition:background .15s, color .15s;

}

.cv-upgrade-close:hover { background:#f3f4f6; color:#111; }

.cv-upgrade-icon { font-size:2.5rem; margin-bottom:.75rem; }

.cv-upgrade-modal h2 { font-size:1.4rem; font-weight:800; margin-bottom:.5rem; color:#111; }

.cv-upgrade-modal p { color:#6b7280; font-size:.9rem; line-height:1.6; margin-bottom:1.25rem; }

.cv-upgrade-plans { display:flex; flex-direction:column; gap:.6rem; }

.cv-upgrade-lifetime-btn {

  background:linear-gradient(135deg,#6d28d9,#4f46e5); color:#fff; border:none;

  font-size:.95rem; padding:.7rem 1.5rem; border-radius:10px;

}

.cv-upgrade-monthly-btn {

  background:#fff; border:1.5px solid #d1d5db; color:#374151;

  font-size:.9rem; padding:.65rem 1.5rem; border-radius:10px;

}

.cv-upgrade-monthly-btn:hover { border-color:#6d28d9; color:#6d28d9; }

.cv-upgrade-note { font-size:.72rem; color:#9ca3af; margin-top:.85rem !important; margin-bottom:0 !important; }



/* ═══════════════════════════════════════════════════════════════════════════════

   PREMIUM PAGE

   ═══════════════════════════════════════════════════════════════════════════════ */

.prem-wrap { padding:3rem 0 4rem; max-width:800px; }

.prem-active-banner {

  display:flex; align-items:center; gap:1rem; background:#f0fdf4;

  border:1.5px solid #86efac; border-radius:12px; padding:1rem 1.25rem;

  margin-bottom:2rem;

}

.prem-crown { font-size:1.75rem; }

.prem-active-banner strong { display:block; font-weight:700; color:#166534; }

.prem-active-banner span { font-size:.85rem; color:#15803d; }

.prem-active-banner .btn { margin-left:auto; }



.prem-hero { text-align:center; margin-bottom:2.5rem; }

.prem-badge {

  display:inline-block; background:linear-gradient(135deg,#6d28d9,#4f46e5);

  color:#fff; font-size:.8rem; font-weight:700; letter-spacing:.05em;

  padding:.3rem .9rem; border-radius:999px; margin-bottom:1rem;

}

.prem-hero h1 { font-size:2rem; font-weight:800; color:#111; margin-bottom:.5rem; }

.prem-hero p  { color:#6b7280; font-size:1rem; }



.prem-features { display:grid; grid-template-columns:1fr 1fr; gap:1.25rem; margin-bottom:2.5rem; }

.prem-feat-col { border-radius:14px; padding:1.5rem; position:relative; }

.prem-feat-free { background:#f9fafb; border:1.5px solid #e5e7eb; }

.prem-feat-pro  { background:linear-gradient(135deg,#faf5ff,#eff6ff); border:2px solid #7c3aed; }

.prem-feat-popular {

  position:absolute; top:-12px; left:50%; transform:translateX(-50%);

  background:linear-gradient(135deg,#6d28d9,#4f46e5); color:#fff;

  font-size:.72rem; font-weight:700; letter-spacing:.05em;

  padding:.2rem .8rem; border-radius:999px; white-space:nowrap;

}

.prem-feat-col h3 { font-size:1.05rem; font-weight:700; margin-bottom:1rem; color:#111; }

.prem-feat-col ul { list-style:none; display:flex; flex-direction:column; gap:.55rem; }

.prem-feat-col li { font-size:.88rem; padding-left:1.5rem; position:relative; }

.prem-feat-col li.ok::before { content:'✓'; position:absolute; left:0; color:#16a34a; font-weight:700; }

.prem-feat-col li.no::before { content:'–'; position:absolute; left:0; color:#9ca3af; }

.prem-feat-col li.no { color:#9ca3af; }



.prem-promo-box {

  display:grid; grid-template-columns:1fr auto; gap:.9rem; align-items:center;

  margin:0 0 1.35rem; padding:1rem 1.1rem; border-radius:14px;

  background:linear-gradient(135deg,#eef2ff,#f0fdf4); border:1.5px solid #c7d2fe;

}

.prem-promo-copy strong { display:block; font-size:.95rem; color:#111827; margin-bottom:.15rem; }

.prem-promo-copy span { display:block; font-size:.82rem; color:#4b5563; line-height:1.45; }

.prem-promo-form { display:flex; gap:.5rem; align-items:center; }

.prem-promo-form input {

  width:150px; min-height:38px; border:1.5px solid #cbd5e1; border-radius:10px;

  padding:.45rem .7rem; font-weight:800; letter-spacing:.06em; text-transform:uppercase;

  background:#fff; color:#111827;

}

.prem-promo-form input:focus { outline:none; border-color:#4f46e5; box-shadow:0 0 0 3px rgba(79,70,229,.14); }

.prem-promo-msg { grid-column:1 / -1; min-height:1.1rem; font-size:.8rem; color:#64748b; }

.prem-promo-msg.ok { color:#15803d; font-weight:700; }

.prem-promo-msg.warn { color:#b45309; font-weight:700; }



.prem-plans { display:grid; grid-template-columns:1fr 1fr; gap:1.25rem; margin-bottom:1.5rem; }

.prem-plan {

  border-radius:16px; padding:1.75rem 1.5rem; text-align:center;

  background:#f9fafb; border:1.5px solid #e5e7eb; position:relative;

}

.prem-plan-highlight {

  background:linear-gradient(135deg,#faf5ff,#eff6ff);

  border-color:#6d28d9; border-width:2px;

}

.prem-plan-badge {

  position:absolute; top:-12px; left:50%; transform:translateX(-50%);

  background:linear-gradient(135deg,#b45309,#d97706); color:#fff;

  font-size:.72rem; font-weight:700; padding:.2rem .8rem; border-radius:999px; white-space:nowrap;

}

.prem-plan-name  { font-size:.85rem; font-weight:600; color:#6b7280; text-transform:uppercase; letter-spacing:.08em; margin-bottom:.5rem; }

.prem-plan-price { font-size:2.2rem; font-weight:800; color:#111; line-height:1.1; margin-bottom:.25rem; }

.prem-plan-price span { font-size:.9rem; font-weight:400; color:#9ca3af; }

.prem-plan-price .prem-price-main { font-size:2.2rem; font-weight:800; color:#111; }

.prem-plan-price .prem-price-old { font-size:1rem; font-weight:700; color:#9ca3af; text-decoration:line-through; margin-right:.25rem; }

.prem-plan-save { min-height:1.05rem; margin:.15rem 0 .2rem; color:#15803d; font-size:.78rem; font-weight:800; }

.prem-plan-note  { font-size:.78rem; color:#9ca3af; margin-bottom:1.25rem; }

.prem-buy-btn    { width:100%; background:linear-gradient(135deg,#6d28d9,#4f46e5); color:#fff; border:none; }

.prem-login-note { text-align:center; font-size:.88rem; color:#6b7280; }

.prem-secure-note { text-align:center; font-size:.78rem; color:#9ca3af; margin-top:1rem; }

.prem-test-notice {

  margin-top:1.25rem; padding:.85rem 1.1rem; border-radius:10px;

  background:#fefce8; border:1.5px dashed #fbbf24;

  font-size:.8rem; color:#78350f; line-height:1.8; text-align:center;

}

.prem-test-notice strong { display:block; margin-bottom:.2rem; font-size:.85rem; }



/* Payment modal */

.prem-modal-overlay {

  position:fixed; inset:0; background:rgba(0,0,0,.6); backdrop-filter:blur(4px);

  z-index:999; display:flex; align-items:center; justify-content:center; padding:1rem;

}

.prem-modal {

  background:#fff; border-radius:20px; padding:2.5rem 2rem; text-align:center;

  max-width:380px; width:100%; box-shadow:0 24px 80px rgba(0,0,0,.3);

}

#prem-modal-icon { font-size:3rem; margin-bottom:.75rem; }

.prem-modal h2   { font-size:1.4rem; font-weight:800; margin-bottom:.5rem; }

.prem-modal p    { color:#6b7280; margin-bottom:1.5rem; }



/* ═══════════════════════════════════════════════════════════════════════════════

   ATS CHECKER PAGE

   ═══════════════════════════════════════════════════════════════════════════════ */

.ats-wrap { padding:2.5rem 0 4rem; max-width:860px; }

.ats-header { display:flex; align-items:flex-start; gap:2rem; margin-bottom:2.5rem; flex-wrap:wrap; }

.ats-header-text { flex:1; min-width:260px; }

.ats-badge {

  display:inline-block; background:linear-gradient(135deg,#b45309,#d97706);

  color:#fff; font-size:.8rem; font-weight:700; padding:.3rem .9rem;

  border-radius:999px; margin-bottom:.75rem;

}

.ats-header h1 { font-size:1.9rem; font-weight:800; color:#111; margin-bottom:.5rem; }

.ats-header p  { color:#6b7280; font-size:.95rem; line-height:1.6; }



.ats-lock-card {

  background:linear-gradient(135deg,#faf5ff,#eff6ff); border:2px solid #7c3aed;

  border-radius:16px; padding:1.75rem 1.5rem; text-align:center;

  max-width:280px; flex-shrink:0;

}

.ats-lock-icon { font-size:2.5rem; margin-bottom:.5rem; }

.ats-lock-card h3 { font-size:1rem; font-weight:700; margin-bottom:.4rem; }

.ats-lock-card p  { font-size:.82rem; color:#6b7280; margin-bottom:1rem; line-height:1.5; }

.ats-upgrade-btn { background:linear-gradient(135deg,#6d28d9,#4f46e5); color:#fff; border:none; width:100%; }



.ats-welcome-banner {

  background:#f0fdf4; border:1.5px solid #86efac; border-radius:12px;

  padding:1rem 1.25rem; color:#166534; font-size:.92rem;

  margin-bottom:1.75rem; line-height:1.6;

}

.ats-no-cv { background:#fef3c7; border:1.5px solid #fcd34d; border-radius:12px; padding:1.25rem; color:#92400e; font-size:.9rem; }

.ats-no-cv a { color:#7c2d12; font-weight:600; }



.ats-form { background:#fff; border:1.5px solid #e5e7eb; border-radius:16px; padding:1.5rem; margin-bottom:2rem; }

.ats-form-row { margin-bottom:1rem; }

.ats-label { display:block; font-weight:600; font-size:.88rem; color:#374151; margin-bottom:.45rem; }

.ats-select {

  width:100%; padding:.6rem .85rem; border:1.5px solid #d1d5db; border-radius:8px;

  font-size:.9rem; color:#111; background:#fff; appearance:none;

}

.ats-jd {

  width:100%; padding:.75rem 1rem; border:1.5px solid #d1d5db; border-radius:8px;

  font-size:.88rem; color:#111; resize:vertical; font-family:inherit; line-height:1.6;

  margin-bottom:1rem;

}

.ats-jd:focus, .ats-select:focus { outline:none; border-color:#6d28d9; box-shadow:0 0 0 3px rgba(109,40,217,.1); }

.ats-submit-btn { background:linear-gradient(135deg,#6d28d9,#4f46e5); color:#fff; border:none; padding:.7rem 2rem; font-size:.95rem; }



/* Result */

.ats-result { }

.ats-score-card {

  background:linear-gradient(135deg,#faf5ff,#eff6ff); border:2px solid #7c3aed;

  border-radius:16px; padding:1.75rem; text-align:center; margin-bottom:1.5rem;

}

.ats-gauge-wrap { display:flex; justify-content:center; }

.ats-gauge { width:160px; height:100px; }

.ats-score-label { font-size:1.1rem; font-weight:700; margin:.25rem 0 .75rem; }

.ats-score-counts { display:flex; justify-content:center; gap:1rem; flex-wrap:wrap; }

.ats-ct { font-size:.82rem; font-weight:600; padding:.2rem .75rem; border-radius:999px; }

.ats-ct.matched { background:#d1fae5; color:#065f46; }

.ats-ct.partial  { background:#fef3c7; color:#92400e; }

.ats-ct.missing  { background:#fee2e2; color:#991b1b; }



.ats-kw-grid { display:grid; grid-template-columns:1fr 1fr; gap:1.25rem; margin-bottom:1.5rem; }

.ats-kw-col { background:#fff; border:1.5px solid #e5e7eb; border-radius:12px; padding:1.25rem; }

.ats-kw-head { font-size:.85rem; font-weight:700; margin-bottom:.75rem; }

.ats-kw-head.matched { color:#065f46; }

.ats-kw-head.partial  { color:#92400e; }

.ats-kw-head.missing  { color:#991b1b; }

.ats-kw-pills { display:flex; flex-wrap:wrap; gap:.4rem; }

.ats-pill { font-size:.75rem; padding:.25rem .6rem; border-radius:999px; font-weight:500; }

.ats-pill.matched { background:#d1fae5; color:#065f46; }

.ats-pill.partial  { background:#fef3c7; color:#92400e; }

.ats-pill.missing  { background:#fee2e2; color:#991b1b; }

.ats-empty { font-size:.82rem; color:#9ca3af; font-style:italic; }



.ats-tips { background:#fffbeb; border:1.5px solid #fcd34d; border-radius:12px; padding:1.25rem 1.5rem; }

.ats-tips h3 { font-size:.95rem; font-weight:700; color:#92400e; margin-bottom:.75rem; }

.ats-tips ul { list-style:disc; padding-left:1.25rem; display:flex; flex-direction:column; gap:.4rem; }

.ats-tips li { font-size:.88rem; color:#78350f; line-height:1.5; }

.ats-edit-cv-btn { display:inline-block; margin-top:1rem; background:linear-gradient(135deg,#6d28d9,#4f46e5); color:#fff; border:none; }



@media (max-width:700px) {

  .prem-features, .prem-plans { grid-template-columns:1fr; }

  .prem-promo-box { grid-template-columns:1fr; }

  .prem-promo-form { width:100%; }

  .prem-promo-form input { flex:1; width:auto; }

  .ats-header { flex-direction:column; }

  .ats-lock-card { max-width:100%; }

  .ats-kw-grid { grid-template-columns:1fr; }

}



/* ══════════════════════════════════════════════════════════════════════════════

   POST-A-JOB MODULE

   ══════════════════════════════════════════════════════════════════════════════ */



/* Nav button */

.nav-post-job-btn {

  background: linear-gradient(135deg, #f97316, #ea580c);

  color: #fff !important;

  border-radius: 8px;

  font-weight: 700;

  padding: .42rem 1rem !important;

  box-shadow: 0 2px 8px rgba(234,88,12,.3);

  transition: background .15s, box-shadow .15s, transform .1s !important;

}

.nav-post-job-btn:hover {

  background: linear-gradient(135deg, #ea580c, #c2410c) !important;

  color: #fff !important;

  text-decoration: none !important;

  box-shadow: 0 4px 14px rgba(234,88,12,.4) !important;

  transform: translateY(-1px);

}



/* User role badge in nav */

.user-role-badge {

  display: inline-block;

  background: var(--accent);

  color: #fff;

  font-size: .6rem;

  font-weight: 700;

  padding: 1px 5px;

  border-radius: 999px;

  vertical-align: middle;

  margin-left: 3px;

}



/* ── Role Select Page ────────────────────────────────────────────────────────── */

.role-select-page {

  min-height: 80vh;

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 2rem 1rem;

}

.role-select-card {

  background: #fff;

  border-radius: 16px;

  box-shadow: var(--shadow-lg);

  padding: 2.5rem 2rem;

  width: 100%;

  max-width: 500px;

  text-align: center;

}

.role-select-logo a { font-size: 1.4rem; font-weight: 800; color: var(--primary); }

.role-select-logo span { color: var(--accent); }

.role-select-card h1 { font-size: 1.5rem; margin: .75rem 0 .25rem; }

.role-select-sub { color: var(--muted); font-size: .9rem; margin-bottom: 1.5rem; }

.role-select-form { display: flex; flex-direction: column; gap: .75rem; }

.role-card {

  display: flex;

  align-items: center;

  gap: 1rem;

  background: var(--bg);

  border: 2px solid var(--border);

  border-radius: 12px;

  padding: 1rem 1.25rem;

  cursor: pointer;

  text-align: left;

  transition: border-color .15s, background .15s;

}

.role-card input[type=radio] { position: absolute; opacity: 0; pointer-events: none; }

.role-card-icon { font-size: 2rem; flex-shrink: 0; }

.role-card-body strong { display: block; font-size: 1rem; font-weight: 700; color: var(--text); }

.role-card-body span  { font-size: .85rem; color: var(--muted); }

.role-card-check { margin-left: auto; font-size: 1.25rem; color: var(--primary); opacity: 0; flex-shrink:0; }

.role-card-active { border-color: var(--primary); background: var(--blue-bg); }

.role-card-active .role-card-check { opacity: 1; }

.role-select-submit { margin-top: .5rem; }



/* ── Post-A-Job Landing ──────────────────────────────────────────────────────── */

.paj-hero {

  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 45%, #1d4ed8 100%);

  color: #fff;

  padding: 4rem 0 3.5rem;

  text-align: center;

}

.paj-hero h1 { font-size: clamp(2rem,5vw,3rem); font-weight: 800; margin-bottom: .75rem; color: #fff; }

.paj-hero p { font-size: 1.1rem; color: rgba(255,255,255,.8); max-width: 600px; margin: 0 auto 2rem; }

.paj-hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }

.paj-btn-primary {

  display: inline-flex; align-items: center; gap: .5rem;

  background: var(--accent); color: #fff;

  padding: .8rem 1.75rem; border-radius: 8px; font-weight: 700; font-size: 1rem;

}

.paj-btn-primary:hover { background: var(--accent-d); text-decoration: none; color: #fff; }

.paj-btn-outline {

  display: inline-flex; align-items: center; gap: .5rem;

  background: rgba(255,255,255,.15); color: #fff;

  border: 1.5px solid rgba(255,255,255,.4);

  padding: .8rem 1.75rem; border-radius: 8px; font-weight: 600;

}

.paj-btn-outline:hover { background: rgba(255,255,255,.25); text-decoration: none; color: #fff; }

.paj-hero-stats { display: flex; gap: 2.5rem; justify-content: center; flex-wrap: wrap; }

.paj-hero-stats div { display: flex; flex-direction: column; }

.paj-hero-stats strong { font-size: 1.6rem; font-weight: 800; }

.paj-hero-stats span  { font-size: .85rem; color: rgba(255,255,255,.7); }

.paj-section-title { font-size: 1.75rem; font-weight: 800; text-align: center; margin-bottom: 2rem; }

.paj-steps { padding: 3.5rem 0; }

.paj-steps-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 1.5rem; }

.paj-step { background: #fff; border-radius: 12px; padding: 1.5rem; box-shadow: var(--shadow); text-align: center; }

.paj-step-num { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1rem; margin-bottom: 1rem; }

.paj-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }

.paj-step p  { font-size: .88rem; color: var(--muted); }

.paj-features-section { background: var(--bg2); padding: 3.5rem 0; }

.paj-features-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 1.25rem; }

.paj-feature { background: #fff; border-radius: 12px; padding: 1.5rem; box-shadow: var(--shadow); }

.paj-feat-icon { font-size: 1.75rem; display: block; margin-bottom: .75rem; }

.paj-feature h4 { font-size: .95rem; font-weight: 700; margin-bottom: .4rem; }

.paj-feature p  { font-size: .85rem; color: var(--muted); }

.paj-pricing { padding: 3.5rem 0; }

.paj-pricing-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 1.5rem; margin-bottom: 1.5rem; }

.paj-plan {

  background: #fff; border: 2px solid var(--border);

  border-radius: 14px; padding: 2rem 1.5rem;

  display: flex; flex-direction: column; align-items: center; text-align: center;

  position: relative;

}

.paj-plan-highlight { border-color: var(--primary); box-shadow: var(--shadow-md); }

.paj-plan-badge {

  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);

  background: var(--primary); color: #fff; font-size: .75rem; font-weight: 700;

  padding: 3px 12px; border-radius: 999px;

}

.paj-plan-name { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }

.paj-plan-price { font-size: 2.2rem; font-weight: 800; color: var(--primary); margin-bottom: .75rem; }

.paj-plan-price span { font-size: 1rem; font-weight: 500; color: var(--muted); }

.paj-plan-features { list-style: none; text-align: left; margin: .75rem 0 1.5rem; width: 100%; }

.paj-plan-features li { font-size: .88rem; color: var(--text2); padding: .3rem 0; display: flex; align-items: center; gap: .5rem; }

.paj-plan-features .ok::before { content: '✅'; }

.paj-plan-features .no { color: var(--muted); }

.paj-plan-features .no::before { content: '—'; opacity:.5; }

.paj-plan-btn { display: block; width: 100%; background: var(--primary); color: #fff; border-radius: 8px; padding: .75rem; font-weight: 700; }

.paj-plan-btn:hover { background: var(--primary-d); text-decoration: none; color: #fff; }

.paj-plan-highlight .paj-plan-btn { background: var(--accent); }

.paj-plan-highlight .paj-plan-btn:hover { background: var(--accent-d); }

.paj-secure-note { text-align: center; color: var(--muted); font-size: .85rem; }

.paj-cta-bottom { background: linear-gradient(135deg, #1e3a8a, #1d4ed8); color: #fff; padding: 3.5rem 1rem; text-align: center; }

.paj-cta-bottom h2 { color: #fff; font-size: 2rem; margin-bottom: .5rem; }

.paj-cta-bottom p  { color: rgba(255,255,255,.8); margin-bottom: 1.5rem; }

.paj-cta-btn { padding: .9rem 2.5rem; font-size: 1rem; }



/* ── Recruiter Layout ────────────────────────────────────────────────────────── */

.rec-layout {

  display: grid;

  grid-template-columns: 230px 1fr;

  gap: 1.75rem;

  padding-top: 1.5rem;

  padding-bottom: 3rem;

  align-items: start;

}

.rec-sidebar {

  background: #fff;

  border-radius: 14px;

  box-shadow: var(--shadow);

  padding: 1.25rem;

  position: sticky;

  top: 80px;

}

.rec-company-card { display: flex; gap: .75rem; align-items: center; margin-bottom: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--border); }

.rec-company-logo { width: 44px; height: 44px; border-radius: 8px; object-fit: contain; border: 1px solid var(--border); }

.rec-company-initials { width: 44px; height: 44px; border-radius: 8px; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1rem; flex-shrink: 0; }

.rec-company-info { min-width: 0; }

.rec-company-info strong { display: block; font-size: .88rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.rec-company-view { font-size: .75rem; color: var(--primary); }

.rec-setup-prompt { background: #fffbeb; border: 1.5px solid #fcd34d; border-radius: 8px; padding: .75rem; margin-bottom: 1rem; font-size: .83rem; }

.rec-nav { display: flex; flex-direction: column; gap: .2rem; margin-bottom: 1rem; }

.rec-nav a { display: block; padding: .55rem .75rem; border-radius: 8px; font-size: .88rem; font-weight: 600; color: var(--text2); transition: background .15s, color .15s; }

.rec-nav a:hover, .rec-nav a.active { background: var(--blue-bg); color: var(--primary); text-decoration: none; }

.rec-sub-card { background: var(--bg2); border-radius: 10px; padding: 1rem; font-size: .83rem; color: var(--muted); margin-top: 1rem; }

.rec-sub-active { background: #dcfce7; }

.rec-sub-badge { font-weight: 700; font-size: .85rem; color: var(--text); margin-bottom: .3rem; }

.rec-sub-free { color: var(--text2); }

.rec-main { min-width: 0; }

.rec-page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }

.rec-page-head h1 { font-size: 1.5rem; }

.rec-page-sub { color: var(--muted); font-size: .88rem; margin-top: .2rem; }



/* Stats */

.rec-stats-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(120px,1fr)); gap: 1rem; margin-bottom: 1.5rem; }

.seeker-stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.rec-stat-card { background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 1.25rem 1rem; text-align: center; border-top: 3px solid var(--border2); }

.rec-stat-green { border-top-color: var(--success); }

.rec-stat-blue  { border-top-color: var(--primary-l); }

.rec-stat-amber { border-top-color: #f59e0b; }

.rec-stat-val   { font-size: 2rem; font-weight: 800; color: var(--text); line-height: 1; }

.rec-stat-lbl   { font-size: .78rem; color: var(--muted); margin-top: .3rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }



/* Sections */

.rec-section { background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 1.25rem 1.5rem; margin-bottom: 1.25rem; }

.rec-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }

.rec-section-head h2 { font-size: 1.05rem; font-weight: 700; }

.rec-section-head a  { font-size: .85rem; color: var(--primary); }

.rec-empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }

.rec-empty p { margin-bottom: .75rem; font-weight: 600; }



/* Table */

.rec-table-wrap { overflow-x: auto; }

.rec-table { width: 100%; border-collapse: collapse; font-size: .875rem; }

.rec-table th { background: var(--bg2); padding: .6rem .75rem; text-align: left; font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); white-space: nowrap; }

.rec-table td { padding: .75rem; border-bottom: 1px solid var(--border); vertical-align: middle; }

.rec-table tr:last-child td { border-bottom: none; }

.rec-table tr:hover td { background: var(--bg); }

.rec-job-title { font-weight: 700; font-size: .9rem; color: var(--text); }

.rec-job-meta  { font-size: .78rem; color: var(--muted); margin-top: .15rem; }

.rec-work-mode { font-weight: 500; }

.rec-featured-tag { background: #fef3c7; color: #92400e; font-size: .72rem; font-weight: 700; padding: 2px 7px; border-radius: 999px; margin-left: .3rem; }

.rec-app-link { color: var(--primary); font-weight: 700; }



/* Status badges */

.rec-status { display: inline-block; padding: .25rem .7rem; border-radius: 999px; font-size: .75rem; font-weight: 700; }

.rec-status-draft    { background:#f1f5f9; color:#475569; }

.rec-status-active   { background:#dcfce7; color:#16a34a; }

.rec-status-pending  { background:#fef3c7; color:#92400e; }

.rec-status-expired  { background:#fce7f3; color:#be185d; }

.rec-status-rejected { background:#fee2e2; color:#b91c1c; }



/* Action buttons */

.rec-actions { display: flex; gap: .35rem; flex-wrap: wrap; }

.rec-action-btn {

  display: inline-block;

  padding: .3rem .65rem;

  border-radius: 6px;

  font-size: .78rem;

  font-weight: 600;

  background: var(--bg2);

  color: var(--text2);

  border: none;

  cursor: pointer;

  white-space: nowrap;

  transition: background .15s;

}

.rec-action-btn:hover { background: var(--blue-bg); color: var(--primary); text-decoration: none; }

.rec-action-publish { background: #dcfce7; color: #16a34a; }

.rec-action-publish:hover { background: #bbf7d0; color: #15803d; }

.rec-action-delete  { background: #fee2e2; color: #b91c1c; }

.rec-action-delete:hover  { background: #fecaca; }



/* Applicants list (dashboard) */

.rec-applicants-list { display: flex; flex-direction: column; gap: .6rem; }

.rec-applicant-row { display: flex; align-items: center; gap: .75rem; padding: .6rem .5rem; border-radius: 8px; }

.rec-applicant-row:hover { background: var(--bg); }

.rec-applicant-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }

.rec-applicant-initial { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .85rem; flex-shrink: 0; }

.rec-applicant-info { min-width: 0; flex: 1; }

.rec-applicant-info strong { display: block; font-size: .88rem; font-weight: 700; }

.rec-applicant-info span  { font-size: .78rem; color: var(--muted); }

.rec-app-status { padding: .2rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 700; white-space: nowrap; }

.rec-app-applied    { background:#dbeafe; color:#1e40af; }

.rec-app-reviewed   { background:#fef3c7; color:#92400e; }

.rec-app-shortlisted{ background:#ede9fe; color:#6d28d9; }

.rec-app-rejected   { background:#fee2e2; color:#b91c1c; }

.rec-app-hired      { background:#dcfce7; color:#16a34a; }



/* Alerts */

.rec-alert { padding: .75rem 1rem; border-radius: 8px; font-size: .88rem; margin-bottom: 1rem; }

.rec-alert-success { background: #dcfce7; color: #15803d; border: 1px solid #86efac; }

.rec-alert-error   { background: #fee2e2; color: #b91c1c; border: 1px solid #fca5a5; }

.rec-alert-info    { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }



/* Form */

.rec-form { background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 1.5rem; }

.rec-form-section { margin-bottom: 1.75rem; padding-bottom: 1.75rem; border-bottom: 1px solid var(--border); }

.rec-form-section:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.rec-form-section-title { font-size: 1rem; font-weight: 700; margin-bottom: 1.25rem; color: var(--primary); border-left: 3px solid var(--primary); padding-left: .6rem; }

.rec-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.rec-span2 { grid-column: span 2; }

.rec-form-group { display: flex; flex-direction: column; gap: .35rem; }

.rec-form-group label { font-size: .85rem; font-weight: 600; color: var(--text2); }

.rec-form-group input, .rec-form-group select, .rec-form-group textarea {

  border: 1.5px solid var(--border2);

  border-radius: 8px;

  padding: .55rem .75rem;

  font-size: .9rem;

  font-family: inherit;

  background: var(--bg);

  color: var(--text);

  transition: border-color .15s;

}

.rec-form-group input:focus, .rec-form-group select:focus, .rec-form-group textarea:focus {

  outline: none; border-color: var(--primary); background: #fff;

}

.rec-form-group small { font-size: .78rem; color: var(--muted); }

.rec-form-group textarea { resize: vertical; min-height: 100px; }

.rec-req { color: #ef4444; }

.rec-radio-group { display: flex; flex-wrap: wrap; gap: .5rem; }

.rec-radio { display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .75rem; border-radius: 8px; border: 1.5px solid var(--border2); background: var(--bg); cursor: pointer; font-size: .85rem; font-weight: 600; transition: border-color .15s, background .15s; }

.rec-radio:has(input:checked) { border-color: var(--primary); background: var(--blue-bg); color: var(--primary); }

.rec-radio input { position: absolute; opacity: 0; }

.rec-form-actions { display: flex; gap: .75rem; flex-wrap: wrap; padding-top: 1.25rem; border-top: 1px solid var(--border); margin-top: 1.25rem; }

.rec-logo-preview { width: 80px; height: 80px; object-fit: contain; border: 1px solid var(--border); border-radius: 8px; margin-top: .5rem; }



/* Applicants Page */

.rec-applicants-grid { display: grid; gap: 1rem; }

.rec-app-card { background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 1.25rem; }

.rec-app-card-head { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }

.rec-app-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }

.rec-app-initial { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1rem; flex-shrink: 0; }

.rec-app-avatar-wrap { flex-shrink: 0; }

.rec-app-identity { flex: 1; min-width: 0; }

.rec-app-identity strong { display: block; font-weight: 700; }

.rec-app-date { font-size: .78rem; color: var(--muted); }

.rec-app-status-wrap { margin-left: auto; }

.rec-app-status-sel { border: 1.5px solid var(--border2); border-radius: 8px; padding: .3rem .55rem; font-size: .8rem; font-weight: 700; cursor: pointer; }

.rec-app-contact { display: flex; flex-direction: column; gap: .3rem; font-size: .88rem; margin-bottom: .75rem; }

.rec-app-contact a { color: var(--primary); }

.rec-masked { color: var(--muted); font-style: italic; filter: blur(3px); user-select: none; }

.rec-app-status-locked { font-size: .8rem; font-weight: 700; color: var(--muted); padding: .3rem .55rem; border: 1.5px dashed var(--border); border-radius: 8px; display: inline-block; cursor: default; }

.rec-locked-link { color: var(--muted); text-decoration: none; font-style: italic; }

.rec-app-cover { background: var(--bg); border-radius: 8px; padding: .75rem; font-size: .85rem; }

.rec-app-cover strong { display: block; font-weight: 700; margin-bottom: .3rem; }

.rec-app-cover p { color: var(--text2); }



/* ── Company Jobs Browse ────────────────────────────────────────────────────── */

.cj-hero { background: linear-gradient(135deg,#1e3a8a,#2563eb); color:#fff; padding:3rem 0 2.5rem; text-align:center; }

.cj-hero h1 { color:#fff; font-size:clamp(1.75rem,4vw,2.5rem); margin-bottom:.5rem; }

.cj-hero p  { color:rgba(255,255,255,.8); margin-bottom:1.5rem; }

.cj-search-form { display:flex; gap:.5rem; flex-wrap:wrap; max-width:800px; margin:0 auto; }

.cj-search-form input, .cj-search-form select { flex:1; min-width:140px; padding:.6rem 1rem; border-radius:8px; border:none; font-family:inherit; font-size:.9rem; }

.cj-search-form button { flex-shrink:0; }

.cj-layout { display:grid; grid-template-columns:200px 1fr; gap:1.75rem; align-items:start; }

.cj-sidebar { background:#fff; border-radius:12px; box-shadow:var(--shadow); padding:1rem; position:sticky; top:80px; }

.cj-sidebar-title { font-size:.8rem; font-weight:700; text-transform:uppercase; color:var(--muted); letter-spacing:.06em; margin-bottom:.75rem; }

.cj-cat-link { display:block; padding:.45rem .6rem; border-radius:7px; font-size:.85rem; font-weight:600; color:var(--text2); }

.cj-cat-link:hover, .cj-cat-link.active { background:var(--blue-bg); color:var(--primary); text-decoration:none; }

.cj-sidebar-cta { margin-top:1.25rem; padding-top:1.25rem; border-top:1px solid var(--border); font-size:.83rem; }

.cj-sidebar-cta strong { display:block; margin-bottom:.3rem; }

.cj-sidebar-cta p { color:var(--muted); margin-bottom:.75rem; }

.cj-main {}

.cj-results-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:1rem; font-size:.88rem; color:var(--muted); }

.cj-clear-link { color:var(--primary); font-weight:600; }

.cj-jobs-list { display:flex; flex-direction:column; gap:.85rem; }

.cj-job-card {

  display:grid;

  grid-template-columns:60px 1fr auto;

  gap:1rem;

  background:#fff;

  border-radius:12px;

  box-shadow:var(--shadow);

  padding:1rem 1.25rem;

  border:1.5px solid transparent;

  transition:border-color .15s, box-shadow .15s;

  align-items:start;

}

.cj-job-card:hover { border-color:var(--primary); box-shadow:var(--shadow-md); }

.cj-featured { border-color:#f59e0b; background:linear-gradient(to right,#fffbeb,#fff); }

.cj-job-logo { width:52px; flex-shrink:0; }

.cj-job-logo img { width:52px; height:52px; border-radius:8px; object-fit:contain; border:1px solid var(--border); }

.cj-logo-fallback { width:52px; height:52px; border-radius:8px; background:var(--primary); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:1rem; }

.cj-job-body { min-width:0; }

.cj-job-top { display:flex; gap:.5rem; margin-bottom:.4rem; flex-wrap:wrap; align-items:center; }

.cj-featured-badge { background:#fef3c7; color:#92400e; font-size:.72rem; font-weight:700; padding:2px 8px; border-radius:999px; }

.cj-job-title { font-size:1rem; font-weight:700; margin:.2rem 0 .4rem; }

.cj-job-title a { color:var(--text); }

.cj-job-title a:hover { color:var(--primary); text-decoration:none; }

.cj-job-company { display:flex; flex-wrap:wrap; gap:.6rem; font-size:.82rem; color:var(--muted); margin-bottom:.5rem; }

.cj-company-link { color:var(--primary); font-weight:600; }

.cj-company-link:hover { text-decoration:underline; }

.cj-job-tags { display:flex; flex-wrap:wrap; gap:.35rem; margin-bottom:.5rem; }

.cj-skills { display:flex; flex-wrap:wrap; gap:.3rem; }

.cj-skill-tag { background:var(--blue-bg); color:var(--primary); font-size:.72rem; font-weight:700; padding:2px 8px; border-radius:999px; }

.cj-job-actions { display:flex; flex-direction:column; align-items:flex-end; gap:.4rem; flex-shrink:0; }

.cj-job-ago { font-size:.75rem; color:var(--muted); }



/* ── Company Job Detail ────────────────────────────────────────────────────── */

.cjd-layout { display:grid; grid-template-columns:1fr 320px; gap:1.75rem; align-items:start; }

.cjd-card { background:#fff; border-radius:14px; box-shadow:var(--shadow); padding:1.75rem; }

.cjd-header { display:flex; gap:1.25rem; align-items:flex-start; margin-bottom:1.25rem; padding-bottom:1.25rem; border-bottom:1px solid var(--border); }

.cjd-logo-wrap { flex-shrink:0; }

.cjd-logo { width:72px; height:72px; border-radius:10px; object-fit:contain; border:1px solid var(--border); }

.cjd-logo-fallback { width:72px; height:72px; border-radius:10px; background:var(--primary); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:1.5rem; }

.cjd-head-info { flex:1; min-width:0; }

.cjd-head-info h1 { font-size:1.4rem; margin-bottom:.4rem; }

.cjd-company-row { display:flex; flex-wrap:wrap; gap:.6rem; font-size:.85rem; color:var(--muted); margin-bottom:.6rem; }

.cjd-company-link { color:var(--primary); font-weight:600; }

.cjd-badges { display:flex; flex-wrap:wrap; gap:.4rem; }

.cjd-meta-strip { display:flex; flex-wrap:wrap; gap:1rem; background:var(--bg); border-radius:8px; padding:.75rem 1rem; font-size:.83rem; margin-bottom:1.25rem; }

.cjd-meta-strip div { display:flex; align-items:center; gap:.3rem; color:var(--muted); }

.cjd-meta-strip span { font-weight:700; color:var(--text); }

.cjd-section { margin-bottom:1.5rem; }

.cjd-section h3 { font-size:1rem; font-weight:700; margin-bottom:.75rem; color:var(--text); border-left:3px solid var(--primary); padding-left:.6rem; }

.cjd-prose { font-size:.9rem; color:var(--text2); line-height:1.7; }

.cjd-skills { display:flex; flex-wrap:wrap; gap:.4rem; }

.cjd-company-section { background:var(--bg); border-radius:10px; padding:1rem 1.25rem; }

.cjd-company-tagline { color:var(--primary); font-weight:600; font-style:italic; margin-bottom:.5rem; }

.cjd-sidebar {}

.cjd-apply-card { background:#fff; border-radius:14px; box-shadow:var(--shadow-md); padding:1.5rem; position:sticky; top:80px; }

.cjd-apply-card h3 { font-size:1rem; font-weight:700; margin-bottom:.75rem; }

.cjd-applied-badge { background:#dcfce7; color:#16a34a; font-weight:700; padding:.6rem 1rem; border-radius:8px; text-align:center; }

.cjd-apply-form label { display:block; font-size:.82rem; font-weight:600; color:var(--text2); margin-bottom:.3rem; }

.cjd-apply-form textarea { width:100%; border:1.5px solid var(--border2); border-radius:8px; padding:.6rem .75rem; font-size:.88rem; font-family:inherit; resize:vertical; min-height:100px; }

.cjd-quick-info { margin-top:1.25rem; padding-top:1.25rem; border-top:1px solid var(--border); display:flex; flex-direction:column; gap:.4rem; }

.cjd-quick-info div { display:flex; justify-content:space-between; font-size:.83rem; }

.cjd-quick-info span { color:var(--muted); }

.cjd-quick-info strong { color:var(--text); }



/* ── Company Profile ────────────────────────────────────────────────────────── */

.comp-header { display:flex; gap:1.5rem; align-items:flex-start; background:#fff; border-radius:14px; box-shadow:var(--shadow); padding:1.75rem; margin-bottom:1.25rem; }

.comp-logo { width:88px; height:88px; border-radius:12px; object-fit:contain; border:1px solid var(--border); flex-shrink:0; }

.comp-logo-fallback { width:88px; height:88px; border-radius:12px; background:var(--primary); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:2rem; flex-shrink:0; }

.comp-name { font-size:1.6rem; margin-bottom:.3rem; display:flex; align-items:center; gap:.5rem; }

.comp-verified { background:#16a34a; color:#fff; border-radius:50%; width:22px; height:22px; display:inline-flex; align-items:center; justify-content:center; font-size:.7rem; font-weight:800; }

.comp-tagline { color:var(--muted); font-size:.95rem; font-style:italic; margin-bottom:.6rem; }

.comp-meta { display:flex; flex-wrap:wrap; gap:.75rem; font-size:.85rem; color:var(--muted); }

.comp-about { background:#fff; border-radius:12px; box-shadow:var(--shadow); padding:1.5rem; margin-bottom:1.25rem; }

.comp-about h2 { font-size:1.1rem; font-weight:700; margin-bottom:.75rem; }

.comp-jobs-section { background:#fff; border-radius:12px; box-shadow:var(--shadow); padding:1.5rem; }



/* ── Seeker Dashboard ────────────────────────────────────────────────────────── */

.sd-tabs { display:flex; gap:.25rem; border-bottom:2px solid var(--border); margin-bottom:1.25rem; flex-wrap:wrap; }

.sd-tab { padding:.65rem 1.1rem; font-size:.88rem; font-weight:600; color:var(--muted); border-bottom:2px solid transparent; margin-bottom:-2px; white-space:nowrap; }

.sd-tab:hover, .sd-tab.active { color:var(--primary); border-bottom-color:var(--primary); text-decoration:none; }

.sd-apps-list { display:flex; flex-direction:column; gap:.75rem; }

.sd-app-card { background:#fff; border-radius:10px; box-shadow:var(--shadow); padding:1rem 1.25rem; }

.sd-app-body { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; flex-wrap:wrap; }

.sd-app-job { flex:1; min-width:0; }

.sd-app-job h3 { font-size:1rem; font-weight:700; margin-bottom:.3rem; }

.sd-app-job h3 a { color:var(--text); }

.sd-app-job h3 a:hover { color:var(--primary); text-decoration:none; }

.sd-app-meta { display:flex; flex-wrap:wrap; gap:.6rem; font-size:.82rem; color:var(--muted); }

.sd-app-status-wrap { display:flex; flex-direction:column; align-items:flex-end; gap:.3rem; flex-shrink:0; }

.sd-app-status { display:inline-block; padding:.3rem .75rem; border-radius:999px; font-size:.78rem; font-weight:700; }

.sd-app-date { font-size:.75rem; color:var(--muted); }

.smart-match-panel { background:#fff; border:1px solid #dbeafe; border-radius:14px; box-shadow:var(--shadow); padding:1rem; margin-bottom:1.5rem; }

.smart-match-hero { display:flex; justify-content:space-between; gap:1rem; align-items:flex-start; padding:.25rem .25rem .9rem; border-bottom:1px solid #e5e7eb; }

.smart-kicker { display:inline-flex; color:#2563eb; font-size:.75rem; font-weight:800; text-transform:uppercase; letter-spacing:.04em; margin-bottom:.25rem; }

.smart-match-hero h2 { margin:0; color:#0f172a; font-size:1.35rem; line-height:1.2; }

.smart-match-hero p { margin:.35rem 0 0; color:#64748b; font-size:.9rem; }

.smart-hero-badges { display:flex; flex-wrap:wrap; gap:.4rem; justify-content:flex-end; }

.smart-hero-badges span, .smart-assistant-badge, .smart-auto-badge { display:inline-flex; align-items:center; border-radius:999px; padding:.28rem .55rem; font-size:.72rem; font-weight:800; background:#eff6ff; color:#1d4ed8; border:1px solid #bfdbfe; }

.smart-auto-badge { background:#ecfdf5; color:#047857; border-color:#a7f3d0; }

.smart-section-grid, .smart-bucket-row { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.65rem; margin:.85rem 0; }

.smart-mini-card, .smart-bucket-row div { border:1px solid #e5e7eb; border-radius:10px; padding:.75rem; background:#f8fafc; }

.smart-mini-card strong { display:block; font-size:1.45rem; line-height:1; color:#0f172a; }

.smart-mini-card span, .smart-bucket-row span { display:block; margin-top:.25rem; color:#64748b; font-size:.78rem; font-weight:700; }

.smart-bucket-row strong { display:block; color:#0f172a; font-size:.86rem; margin-bottom:.2rem; }

.smart-job-list { display:grid; gap:.8rem; }

.smart-job-card { border:1px solid #e5e7eb; border-radius:12px; padding:1rem; background:#fff; }

.smart-job-main { display:flex; align-items:flex-start; gap:.9rem; }

.smart-score-circle { width:76px; height:76px; border-radius:50%; display:grid; place-items:center; align-content:center; flex:0 0 auto; color:var(--score-color,#2563eb); background:linear-gradient(#fff,#fff) padding-box, conic-gradient(var(--score-color,#2563eb) var(--score), #e5e7eb 0) border-box; border:6px solid transparent; }

.smart-score-circle strong { font-size:1rem; line-height:1; }

.smart-score-circle span { font-size:.64rem; font-weight:800; text-transform:uppercase; }

.smart-job-copy { flex:1; min-width:0; }

.smart-job-top { display:flex; gap:.35rem; flex-wrap:wrap; margin-bottom:.35rem; }

.smart-job-copy h3 { margin:.1rem 0 .25rem; font-size:1.08rem; }

.smart-job-copy h3 a { color:#0f172a; }

.smart-job-copy h3 a:hover { color:#2563eb; text-decoration:none; }

.smart-job-meta, .smart-fit-row { display:flex; gap:.45rem; flex-wrap:wrap; color:#64748b; font-size:.8rem; }

.smart-fit-row { margin-top:.45rem; }

.smart-fit-row span { border:1px solid #e5e7eb; border-radius:999px; padding:.2rem .45rem; background:#f8fafc; font-weight:700; }

.smart-fit-row .fit-on { border-color:#bbf7d0; background:#f0fdf4; color:#166534; }

.smart-bars { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.7rem; margin:.9rem 0; }

.smart-bars span { display:block; color:#475569; font-size:.74rem; font-weight:800; margin-bottom:.25rem; }

.smart-bars b { display:block; height:8px; background:#e5e7eb; border-radius:999px; overflow:hidden; }

.smart-bars i { display:block; height:100%; background:linear-gradient(90deg,#2563eb,#059669); border-radius:999px; }

.smart-detail-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem; border-top:1px solid #f1f5f9; padding-top:.85rem; }

.smart-detail-grid h4 { margin:0 0 .3rem; font-size:.78rem; color:#0f172a; text-transform:uppercase; letter-spacing:.03em; }

.smart-detail-grid p, .smart-detail-grid li { color:#475569; font-size:.82rem; line-height:1.4; }

.smart-detail-grid ul { margin:.25rem 0 0; padding-left:1rem; }

.smart-chip-row { display:flex; flex-wrap:wrap; gap:.35rem; margin:.35rem 0; }

.smart-chip-row span { border:1px solid #bbf7d0; background:#f0fdf4; color:#166534; border-radius:999px; padding:.18rem .45rem; font-size:.72rem; font-weight:800; }

.smart-chip-row.missing span { border-color:#fed7aa; background:#fff7ed; color:#9a3412; }

.smart-muted, .smart-empty p { color:#64748b; font-size:.82rem; }

.smart-empty { border:1px dashed #bfdbfe; background:#eff6ff; border-radius:10px; padding:1rem; }

.smart-empty strong { color:#1e3a8a; }

.sd-cvs-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:1rem; }

.sd-cv-card { background:#fff; border-radius:10px; box-shadow:var(--shadow); padding:1rem 1.25rem; display:flex; align-items:center; justify-content:space-between; gap:1rem; }

.sd-cv-info { min-width:0; }

.sd-cv-info strong { display:block; font-weight:700; font-size:.9rem; }

.sd-cv-info span   { font-size:.78rem; color:var(--muted); }

.sd-cv-actions { display:flex; gap:.35rem; flex-shrink:0; }

.sd-cv-new {

  border:2px dashed var(--border2); border-radius:10px; padding:1.5rem;

  display:flex; flex-direction:column; align-items:center; justify-content:center;

  gap:.5rem; color:var(--muted); font-weight:600; font-size:.88rem;

  cursor:pointer; transition:border-color .15s, color .15s;

}

.sd-cv-new:hover { border-color:var(--primary); color:var(--primary); text-decoration:none; }



/* ── Responsive ────────────────────────────────────────────────────────────── */

@media (max-width:900px) {

  .rec-layout { grid-template-columns:1fr; }

  .rec-sidebar { position:static; }

  .cj-layout  { grid-template-columns:1fr; }

  .cjd-layout { grid-template-columns:1fr; }

  .cjd-apply-card { position:static; }

  .rec-form-grid { grid-template-columns:1fr; }

  .rec-span2 { grid-column:span 1; }

  .smart-match-hero { flex-direction:column; }

  .smart-hero-badges { justify-content:flex-start; }

  .smart-detail-grid { grid-template-columns:1fr; }

}

@media (max-width:640px) {

  .cj-job-card { grid-template-columns:1fr; }

  .cj-job-logo { display:none; }

  .rec-stats-grid { grid-template-columns:1fr 1fr; }

  .paj-steps-grid { grid-template-columns:1fr; }

  .paj-pricing-grid, .paj-features-grid { grid-template-columns:1fr; }

  .comp-header { flex-direction:column; }

  .smart-match-panel { padding:.75rem; border-radius:10px; }

  .smart-match-hero h2 { font-size:1.05rem; }

  .smart-section-grid, .smart-bucket-row, .smart-bars { grid-template-columns:1fr; }

  .smart-job-main { gap:.65rem; }

  .smart-score-circle { width:62px; height:62px; border-width:5px; }

}



/* ── Legal Pages ─────────────────────────────────────────────────────────── */

.legal-page { max-width:1000px; padding-top:2rem; padding-bottom:4rem; }



.legal-hero { text-align:center; padding:2.5rem 1rem 2rem; border-bottom:1px solid var(--border); margin-bottom:2rem; }

.legal-hero h1 { font-size:clamp(1.6rem,4vw,2.4rem); font-weight:800; color:var(--text); margin-bottom:.75rem; }

.legal-meta { display:flex; justify-content:center; gap:1.5rem; flex-wrap:wrap; font-size:.85rem; color:var(--text-muted); margin-bottom:1rem; }

.legal-meta strong { color:var(--text); }

.legal-intro { max-width:680px; margin:0 auto; color:var(--text-muted); line-height:1.7; font-size:.95rem; }



.legal-body { display:grid; grid-template-columns:220px 1fr; gap:2.5rem; align-items:start; }



.legal-toc { position:sticky; top:80px; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:1.25rem 1rem; font-size:.82rem; }

.legal-toc strong { display:block; font-size:.78rem; text-transform:uppercase; letter-spacing:.06em; color:var(--text-muted); margin-bottom:.75rem; }

.legal-toc ol { padding-left:1.1rem; margin:0; }

.legal-toc li { margin-bottom:.4rem; }

.legal-toc a { color:var(--text-muted); text-decoration:none; line-height:1.4; display:block; }

.legal-toc a:hover { color:var(--primary); }



.legal-content section { margin-bottom:2.5rem; padding-bottom:2rem; border-bottom:1px solid var(--border); }

.legal-content section:last-child { border-bottom:none; }

.legal-content h2 { font-size:1.15rem; font-weight:700; color:var(--text); margin-bottom:.75rem; scroll-margin-top:80px; }

.legal-content h3 { font-size:1rem; font-weight:600; color:var(--text); margin:1rem 0 .5rem; }

.legal-content p { color:var(--text-muted); line-height:1.75; margin-bottom:.75rem; font-size:.93rem; }

.legal-content ul, .legal-content ol { color:var(--text-muted); line-height:1.75; padding-left:1.4rem; margin-bottom:.75rem; font-size:.93rem; }

.legal-content li { margin-bottom:.35rem; }

.legal-content a { color:var(--primary); }

.legal-content a:hover { text-decoration:underline; }

.legal-content strong { color:var(--text); }



.legal-contact-box { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:1.25rem 1.5rem; }

.legal-contact-box p { margin-bottom:.4rem; }



.legal-table-wrap { overflow-x:auto; margin:1rem 0; }

.legal-table { width:100%; border-collapse:collapse; font-size:.85rem; }

.legal-table th { background:var(--surface); padding:.6rem .9rem; text-align:left; font-weight:600; color:var(--text); border:1px solid var(--border); }

.legal-table td { padding:.6rem .9rem; border:1px solid var(--border); color:var(--text-muted); vertical-align:top; line-height:1.5; }

.legal-table code { background:var(--surface); padding:.1em .35em; border-radius:3px; font-size:.82rem; color:var(--primary); }



@media (max-width:800px) {

  .legal-body { grid-template-columns:1fr; }

  .legal-toc { position:static; }

}



/* ── Footer Legal Links ───────────────────────────────────────────────────── */

.footer-legal-links { display:flex; flex-wrap:wrap; justify-content:center; gap:.5rem 1.25rem; margin-top:.5rem; font-size:.8rem; }

.footer-legal-links a { color:rgba(255,255,255,.55); text-decoration:none; }

.footer-legal-links a:hover { color:#fff; }



/* ── Role Select T&C ─────────────────────────────────────────────────────── */

.role-tnc-label { display:flex; align-items:flex-start; gap:.6rem; font-size:.85rem; color:var(--text-muted); cursor:pointer; margin:.25rem 0 1rem; line-height:1.5; }

.role-tnc-label input[type=checkbox] { margin-top:.15rem; flex-shrink:0; width:1rem; height:1rem; accent-color:var(--primary); cursor:pointer; }

.role-tnc-label a { color:var(--primary); }



/* ── Cookie Consent Banner ───────────────────────────────────────────────── */

.cookie-banner { position:fixed; bottom:0; left:0; right:0; z-index:9999; background:#1e293b; color:#e2e8f0; padding:1rem 1.5rem; box-shadow:0 -4px 20px rgba(0,0,0,.25); }

.cookie-banner-inner { max-width:1100px; margin:0 auto; display:flex; align-items:center; gap:1.25rem; flex-wrap:wrap; }

.cookie-banner-text { flex:1 1 300px; margin:0; font-size:.875rem; line-height:1.6; color:#cbd5e1; }

.cookie-banner-text a { color:#93c5fd; text-decoration:underline; }

.cookie-banner-text a:hover { color:#bfdbfe; }

.cookie-banner-actions { display:flex; gap:.75rem; align-items:center; flex-shrink:0; }

.cookie-btn-learn { font-size:.85rem; color:#94a3b8; text-decoration:none; padding:.4rem .8rem; border:1px solid rgba(255,255,255,.15); border-radius:6px; white-space:nowrap; }

.cookie-btn-learn:hover { color:#e2e8f0; border-color:rgba(255,255,255,.35); }

.cookie-btn-accept { font-size:.875rem; font-weight:600; background:var(--primary); color:#fff; border:none; border-radius:6px; padding:.5rem 1.25rem; cursor:pointer; white-space:nowrap; }

.cookie-btn-accept:hover { background:var(--primary-d); }

@media (max-width:600px) {

  .cookie-banner-inner { flex-direction:column; align-items:stretch; gap:.75rem; }
  .cookie-banner-text { flex:0 1 auto; }

  .cookie-banner-actions { justify-content:flex-end; }

}



/* ── SEO Section (category page) ────────────────────────────────────────────── */

.seo-section { margin-top:3rem; }



.seo-card { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg,12px); overflow:hidden; }



.seo-card-head { display:flex; align-items:center; gap:1.25rem; padding:1.5rem 1.75rem; background:linear-gradient(135deg,#eff6ff 0%,#f0fdf4 100%); border-bottom:1px solid var(--border); }

.seo-card-icon { font-size:2.75rem; line-height:1; flex-shrink:0; }

.seo-card-head h2 { font-size:1.1rem; font-weight:700; color:var(--text); margin:0 0 .2rem; }

.seo-card-head p { font-size:.875rem; color:var(--text-muted); margin:0; }



.seo-card-body { display:grid; grid-template-columns:1fr 1fr; }



.seo-card-text { padding:1.5rem 1.75rem; border-right:1px solid var(--border); }

.seo-card-text p { font-size:.9rem; color:var(--text-muted); line-height:1.8; margin-bottom:.85rem; }

.seo-card-text p:last-of-type { margin-bottom:1.25rem; }

.seo-card-cta { display:inline-block; font-size:.85rem; font-weight:600; color:var(--primary); background:var(--primary-l,#dbeafe); padding:.4rem .9rem; border-radius:6px; text-decoration:none; transition:background .15s; }

.seo-card-cta:hover { background:#bfdbfe; }



.seo-card-tips { padding:1.5rem 1.75rem; display:flex; flex-direction:column; gap:1.1rem; }

.seo-tip { display:flex; align-items:flex-start; gap:.85rem; }

.seo-tip-icon { font-size:1.2rem; line-height:1; flex-shrink:0; margin-top:.05rem; }

.seo-tip div { display:flex; flex-direction:column; gap:.15rem; }

.seo-tip strong { font-size:.88rem; font-weight:600; color:var(--text); }

.seo-tip span { font-size:.82rem; color:var(--text-muted); line-height:1.5; }



@media (max-width:720px) {

  .seo-card-body { grid-template-columns:1fr; }

  .seo-card-text { border-right:none; border-bottom:1px solid var(--border); }

}



/* ═══════════════════════════════════════════════════════════════════════════════

   COMPREHENSIVE RESPONSIVE SYSTEM

   Breakpoints: 1024px · 768px · 640px · 480px · 360px

   ═══════════════════════════════════════════════════════════════════════════════ */



/* ── 1024px — Large tablets, small laptops ─────────────────────────────────── */

@media (max-width:1024px) {

  /* Company job detail sidebar stacks */

  .cjd-layout { grid-template-columns:1fr; }

  .cjd-apply-card { position:static; }



  /* Admin stats: 5 cols → 3 cols */

  .au-stats { grid-template-columns:repeat(3,1fr); }



  /* Affiliate stats: 4 cols → 2 cols */

  .aff-two-col { grid-template-columns:1fr; }

}



/* ── 768px — Tablets portrait ──────────────────────────────────────────────── */

@media (max-width:768px) {

  /* Container padding */

  .container { padding-left:1rem; padding-right:1rem; }



  /* Category page header: icon + text side by side → stack */

  .cat-page-header { flex-direction:column; gap:.75rem; text-align:center; }

  .cat-big-icon { font-size:2.5rem; }



  /* Filter bar wraps on every page */

  .filter-bar form { flex-wrap:wrap; gap:.5rem; }

  .filter-bar form select { flex:1; min-width:130px; }

  .au-filter-bar { flex-wrap:wrap; }



  /* Company jobs layout: sidebar goes above */

  .cj-layout { grid-template-columns:1fr; }

  .cj-sidebar { position:static; display:flex; flex-wrap:wrap; gap:.5rem; align-items:center; }

  .cj-sidebar-title { width:100%; margin-bottom:.25rem; }

  .cj-cat-link { padding:.35rem .7rem; border:1.5px solid var(--border); border-radius:999px; }

  .cj-search-form { flex-direction:column; }

  .cj-search-form input, .cj-search-form select { width:100%; min-width:unset; }

  .cj-sidebar-cta { display:none; }



  /* Company job card: logo + body + actions → logo+body / actions below */

  .cj-job-card { grid-template-columns:52px 1fr; grid-template-rows:auto auto; }

  .cj-job-actions { grid-column:1/-1; flex-direction:row; align-items:center; justify-content:space-between; border-top:1px solid var(--border); padding-top:.6rem; margin-top:.25rem; }



  /* Recruiter layout: sidebar collapses */

  .rec-layout { grid-template-columns:1fr; }

  .rec-sidebar { display:none; }



  /* Recruiter applicant card head wraps */

  .rec-app-card-head { flex-wrap:wrap; gap:.5rem; }

  .rec-app-status-wrap { margin-left:0; width:100%; }

  .rec-app-status-sel, .rec-app-status-locked { width:100%; }



  /* Seeker dashboard */

  .sd-layout { grid-template-columns:1fr !important; }

  .sd-app-body { flex-wrap:wrap; }



  /* Help page */

  .help-layout { grid-template-columns:1fr; }

  .help-sidebar { flex-direction:row; flex-wrap:wrap; }

  .help-tip-card { flex:1; min-width:160px; }



  /* Work with us steps: 4 → 2 cols */

  .ww-steps { grid-template-columns:1fr 1fr; }



  /* Affiliate dashboard */

  .aff-two-col { grid-template-columns:1fr; }

  div.aff-stats-row { grid-template-columns:1fr 1fr !important; }



  /* Admin: hide less critical table cols handled per-page inline */

  .admin-header { flex-direction:column; align-items:flex-start; gap:.75rem; }

  .admin-header > div { flex-wrap:wrap; gap:.4rem; }



  /* Legal pages: TOC sidebar stacks */

  .legal-body { grid-template-columns:1fr !important; }

  .legal-toc { position:static !important; display:flex; flex-wrap:wrap; gap:.4rem; }

  .legal-toc a { padding:.3rem .7rem; background:var(--bg); border:1px solid var(--border); border-radius:999px; font-size:.78rem; }



  /* Affiliate stat cards row */

  div[style*="grid-template-columns:repeat(4"] { grid-template-columns:1fr 1fr !important; }

  div[style*="grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1.5rem"] { grid-template-columns:1fr !important; }



  /* SEO card tips */

  .seo-card-head { flex-direction:column; gap:.75rem; padding:1.25rem; }

  .seo-card-tips { padding:1.25rem; }

}



/* ── 640px — Large phones, small tablets ───────────────────────────────────── */

@media (max-width:640px) {

  /* Trust bar: wrap and reduce size */

  .trust-items { flex-wrap:wrap; gap:.5rem .75rem; font-size:.75rem; justify-content:center; }



  /* Hero sub text */

  .hero-sub { font-size:.9rem; }



  /* Category grid: 3 cols */

  .cat-grid { grid-template-columns:repeat(3,1fr); }



  /* Footer: 2 cols → 1 col */

  .footer-grid { grid-template-columns:1fr; gap:1.75rem; padding-top:2.5rem; padding-bottom:1.75rem; }

  .footer-brand { grid-column:auto; }

  .footer-social { align-items:flex-start; flex-direction:column; gap:.7rem; }

  .footer-bottom { text-align:left; }

  .footer-legal-links { justify-content:flex-start; gap:.45rem 1rem; }



  /* Search divider: hide the vertical pipe */

  .search-divider { display:none; }



  /* Company job detail header: logo left, info below */

  .cjd-header { flex-direction:column; gap:.75rem; }

  .cjd-logo, .cjd-logo-fallback { width:56px; height:56px; }



  /* Recruiter stats: 4 → 2 cols */

  .rec-stats-grid { grid-template-columns:1fr 1fr !important; }



  /* Admin stats: 3 → 2 cols */

  .au-stats { grid-template-columns:1fr 1fr; }

  .ht-stats { grid-template-columns:1fr 1fr; }

  .af-stats { grid-template-columns:1fr 1fr !important; }



  /* Work with us: 2 → 1 col */

  .ww-steps { grid-template-columns:1fr; }



  /* Help tip cards: 1 col */

  .help-sidebar { flex-direction:column; }

  .help-tip-card { min-width:unset; }



  /* Modals: full width */

  .au-modal { padding:1.25rem; max-width:100%; margin:0 .75rem; }



  /* Pager: smaller */

  .pager a { padding:.3rem .55rem; font-size:.82rem; }



  /* Withdrawal form */

  .aff-two-col > div:last-child { order:-1; }



  /* Section headings */

  .section-title { font-size:1.15rem; }



  /* Job detail header */

  .jd-header-top { flex-direction:column; gap:.75rem; }

  .jd-company-logo { align-self:flex-start; }

}



/* ── 480px — Phones ─────────────────────────────────────────────────────────── */

@media (max-width:480px) {

  /* Base */

  .container { padding-left:.75rem; padding-right:.75rem; }

  h1 { font-size:1.5rem; }



  /* Nav actions: tighter */

  .nav-actions { gap:.25rem; }

  .mobile-quick-ctas { max-width: 132px; gap: .22rem; }

  .mobile-live-chat-cta,

  .mobile-cv-builder-cta { padding: .24rem .42rem .24rem .34rem; gap: .32rem; }

  .mlc-icon { width: 25px; height: 25px; font-size: .82rem; }

  .mlc-copy strong { font-size: .7rem; }

  .mlc-copy em { font-size: .57rem; }

  .mlc-dot { width: 6px; height: 6px; }

  .mcv-free { font-size: .5rem; padding: 3px 4px; }



  /* Hero */

  .hero { padding: 2.5rem 1rem 2.25rem; }

  .hero-orb-1 { width: 220px; height: 220px; top: -80px; right: -50px; opacity: .6; }

  .hero-orb-2 { width: 200px; height: 200px; bottom: -70px; left: -40px; opacity: .6; }

  .hero-orb-3 { display: none; }

  .hero-orb { filter: blur(50px); }

  .hero h1, .hero-h1 { font-size: 1.65rem; line-height: 1.2; margin-bottom: .75rem; }

  .hero-h1-find { font-size: 1em; }

  .hero-sub { font-size: .88rem; margin-bottom: 1.25rem; }

  .hero-badge { font-size: .73rem; padding: .3rem .85rem; margin-bottom: 1.1rem; }

  .hero-search { margin-top: 1rem; }



  /* Category grid: 2 cols on very small */

  .cat-grid { grid-template-columns:repeat(2,1fr); }



  /* Stat cards: all 1 col */

  .au-stats, .ht-stats { grid-template-columns:1fr 1fr; }

  .af-stats { grid-template-columns:1fr 1fr !important; }



  /* Job card: tighter */

  .job-card { padding:.75rem .85rem; }

  .job-card-title { font-size:.95rem; }

  .job-meta { flex-wrap:wrap; gap:.3rem; }



  /* Tables: ensure horizontal scroll hint */

  .table-wrap { -webkit-overflow-scrolling:touch; }

  .table-wrap::after {

    content:'← Scroll →';

    display:block;

    text-align:center;

    font-size:.72rem;

    color:var(--muted);

    padding:.3rem 0;

  }



  /* Company job card: single col */

  .cj-job-card { grid-template-columns:1fr; }

  .cj-job-logo { display:none; }

  .cj-job-actions { flex-direction:column; align-items:stretch; }

  .cj-job-actions .btn { width:100%; text-align:center; justify-content:center; }



  /* Recruiter applicant cards */

  .rec-app-card { padding:.9rem; }

  .rec-app-avatar, .rec-app-initial { width:36px; height:36px; font-size:.85rem; }



  /* Work with us */

  .ww-card { padding:1rem; }

  .ww-earn-table { font-size:.82rem; }



  /* Admin table: minimal cols visible */

  .admin-header h1 { font-size:1.1rem; }



  /* Affiliate balance card */

  .aff-balance-val { font-size:1.75rem; }

  .aff-balance-card { padding:1.1rem; }



  /* Help form */

  .help-form-card { padding:1.1rem; }

  .help-ticket-head { flex-direction:column; gap:.4rem; }



  /* Flash messages */

  .flash { font-size:.84rem; padding:.7rem .9rem; }



  /* Buttons in action rows */

  .rec-form-actions { flex-direction:column; }

  .rec-form-actions .btn { width:100%; justify-content:center; }



  /* Modal footer buttons: stack */

  .modal-footer { flex-direction:column; }

  .modal-footer .btn { width:100%; justify-content:center; }

}



/* ── 360px — Very small phones (Galaxy A, older iPhones) ───────────────────── */

@media (max-width:360px) {

  .container { padding-left:.5rem; padding-right:.5rem; }



  /* Cat grid: 2 cols */

  .cat-grid { grid-template-columns:1fr 1fr; }



  /* Single-col stats always */

  .au-stats, .ht-stats, .af-stats { grid-template-columns:1fr !important; }



  /* Nav: tighter logo */

  .logo { font-size:1rem; }

  .logo img { height: 32px; }

  .mobile-quick-ctas { max-width: 116px; }

  .mlc-copy em { display: none; }

  .mcv-free { font-size: .48rem; }

  .logo-badge { display:none; }



  /* Job card: ultra compact */

  .job-card { padding:.65rem .75rem; gap:.35rem; }

  .job-card-company { font-size:.75rem; }



  /* CJ hero */

  .cj-hero { padding:1.75rem 0 1.5rem; }

  .cj-hero h1 { font-size:1.3rem; }

}



/* ── Touch / hover refinements ─────────────────────────────────────────────── */

@media (hover:none) {

  /* Remove hover-only dropdowns — JS handles tap already */

  .user-nav-widget:hover:not(.user-nav-open) .user-nav-drop { display:none; }

  .user-nav-widget.user-nav-open .user-nav-drop { display:block; }

  /* Increase tap targets */

  .btn { min-height:44px; }

  .btn-sm { min-height:36px; }

  nav a { min-height:44px; display:flex; align-items:center; }

}



/* ── Landscape phone — prevent overflow on short viewports ─────────────────── */

@media (max-width:768px) and (orientation:landscape) {

  .hero { padding:1.5rem 1rem 1.25rem; }

  .hero-stats { max-width: 500px; grid-template-columns: repeat(4,1fr); }

  .hero h1, .hero-h1 { font-size:1.3rem; }

  .hero-sub { margin-bottom:1rem; }

  .cv-hero { padding:2rem 0 1.5rem; }

  .cv-preview-panel { height:calc(100dvh - .75rem); max-height:none; }

}



/* ── Blog ────────────────────────────────────────────────────────────────────── */



/* Hero Redesign (Glassmorphism + Gradients) */
.blog-hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 1rem 4rem !important;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%) !important;
  color: #fff !important;
  text-align: center;
}
.blog-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.4) 0%, transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.4) 0%, transparent 50%) !important;
  opacity: 0.8;
  z-index: 0;
}
.blog-hero .container {
  position: relative;
  z-index: 2;
}

.blog-hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 99px;
  padding: 0.35rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

.blog-hero-h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.blog-hero-sub {
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.blog-cat-filters {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
}

.blog-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 99px;
  padding: 0.4rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.blog-cat-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.blog-cat-btn.active {
  background: #fff;
  color: #0f172a;
  border-color: #fff;
  box-shadow: 0 6px 15px rgba(255,255,255,0.25);
}

.blog-cat-cnt {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 99px;
  padding: 0.1rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.blog-cat-btn.active .blog-cat-cnt {
  background: #3b82f6;
  color: #fff;
}

/* Cards Redesign */
.blog-cat-badge {
  display: inline-block;
  background: linear-gradient(135deg, #e0e7ff, #dbeafe);
  color: #2563eb;
  border-radius: 99px;
  padding: 0.25rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.15);
}

.blog-cat-badge-sm { font-size: 0.7rem; padding: 0.2rem 0.6rem; }
.blog-date, .blog-views, .blog-author { font-size: 0.85rem; color: #64748b; font-weight: 500; }

/* Big card */
.blog-card-big {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.blog-card-big:hover {
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  transform: translateY(-4px);
  border-color: #cbd5e1;
}

.blog-card-meta { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.blog-card-title { font-size: 1.8rem; font-weight: 800; line-height: 1.3; margin: 0 0 1rem; }
.blog-card-title a { color: #0f172a; text-decoration: none; transition: color 0.2s; }
.blog-card-title a:hover { color: #2563eb; }
.blog-card-excerpt { color: #475569; line-height: 1.7; margin: 0 0 1.5rem; font-size: 1.05rem; }
.blog-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.5rem; border-top: 1px solid #f1f5f9; }

.blog-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.blog-tag {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 99px;
  padding: 0.2rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #64748b;
  transition: all 0.2s;
}
.blog-tag:hover { background: #f1f5f9; color: #334155; }

/* Small cards grid */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.blog-card-small {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
}
.blog-card-small:hover {
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
  transform: translateY(-4px);
  border-color: #cbd5e1;
}
.blog-card-small-title { font-size: 1.15rem; font-weight: 700; line-height: 1.4; margin: 0.5rem 0 0.75rem; }
.blog-card-small-title a { color: #0f172a; text-decoration: none; transition: color 0.2s; }
.blog-card-small-title a:hover { color: #2563eb; }
.blog-card-small-exc { font-size: 0.95rem; color: #64748b; line-height: 1.6; margin: 0 0 1rem; flex: 1; }
.blog-card-small-meta { display: flex; gap: 1rem; padding-top: 1rem; border-top: 1px solid #f1f5f9; }

/* Hindi blog section Redesign */
.blog-hindi-section {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  padding: 3.5rem 0;
  border-top: 1px solid #fdba74;
  border-bottom: 1px solid #fdba74;
}
.blog-hindi-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.blog-hindi-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: #fed7aa;
  color: #c2410c;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(194, 65, 12, 0.15);
}
.blog-hindi-head h2 { font-size: 1.8rem; font-weight: 800; line-height: 1.25; margin: 0 0 0.5rem; color: #431407; }
.blog-hindi-head p { max-width: 650px; margin: 0; color: #7c2d12; line-height: 1.65; font-size: 1.05rem; }

.blog-hindi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.blog-hindi-topic {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #fed7aa;
  border-radius: 16px;
  padding: 1.5rem;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(194, 65, 12, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.blog-hindi-topic::before {
  content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
  background: #f97316; opacity: 0; transition: opacity 0.3s;
}
.blog-hindi-topic:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(194, 65, 12, 0.15); border-color: #fdbf00; }
.blog-hindi-topic:hover::before { opacity: 1; }
.blog-hindi-topic strong { display: block; color: #431407; font-size: 1.15rem; font-weight: 700; line-height: 1.4; margin-bottom: 0.75rem; }
.blog-hindi-topic span { display: block; color: #9a3412; font-size: 0.95rem; line-height: 1.6; }

/* --- HERO REDESIGN --- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 1rem 4rem !important;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%) !important;
  color: #fff !important;
  text-align: center;
}
.hero-bg {
  background: radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.4) 0%, transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.4) 0%, transparent 50%) !important;
  opacity: 0.8;
  z-index: 0;
}
.hero-orb { display: none !important; }
.hero-grid-overlay {
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) !important;
  background-size: 30px 30px !important;
  opacity: 0.5 !important;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-badge {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #e2e8f0 !important;
  font-weight: 600 !important;
  border-radius: 99px !important;
  padding: 0.4rem 1.2rem !important;
}
.hero h1, .hero-h1 {
  font-size: clamp(2.5rem, 5vw, 4rem) !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 1.25rem !important;
}
.hero-h1-gradient {
  background: linear-gradient(to right, #60a5fa, #c084fc, #f97316) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem) !important;
  color: rgba(255, 255, 255, 0.8) !important;
  max-width: 600px;
  margin: 0 auto 2.5rem !important;
}
.hero-sub strong { color: #fff !important; }
/* Search box */
.search-form { max-width: 860px !important; margin: 0 auto 3rem !important; }
.search-row {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 16px !important;
  padding: 0.5rem !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  gap: 0.5rem !important;
}
.search-row input[type=search], .search-row select {
  background: rgba(255, 255, 255, 0.95) !important;
  border-radius: 10px !important;
  border: 1px solid transparent !important;
  padding: 0.8rem 1.2rem !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  transition: all 0.3s ease !important;
}
.search-row input[type=search]:focus, .search-row select:focus {
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.5) !important;
  outline: none !important;
}
.search-row .btn {
  border-radius: 10px !important;
  background: linear-gradient(135deg, #3b82f6, #6366f1) !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  padding: 0.8rem 1.8rem !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}
.search-row .btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4) !important;
}
/* Stats */
.hero-stats {
  display: flex !important;
  justify-content: center !important;
  gap: 1.5rem !important;
  flex-wrap: wrap !important;
  margin-top: 3rem !important;
}
.hero-stat {
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 16px !important;
  padding: 1.25rem 1.5rem !important;
  min-width: 160px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}
.hero-stat:hover {
  transform: translateY(-5px) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2) !important;
}
.hero-stat strong { color: #fff !important; font-size: 1.75rem !important; }
.hero-stat span { color: rgba(255, 255, 255, 0.7) !important; }
.trending-tags {
  margin-top: 2rem !important;
  color: rgba(255, 255, 255, 0.7) !important;
}
.trending-tags a {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  padding: 0.3rem 0.8rem !important;
  border-radius: 99px !important;
  transition: background 0.2s !important;
}
.trending-tags a:hover {
  background: rgba(255, 255, 255, 0.2) !important;
}
@media (max-width: 768px) {
  .hero { padding: 3.5rem 1rem 2.5rem !important; }
  .search-row { flex-direction: column !important; background: transparent !important; box-shadow: none !important; border: none !important; backdrop-filter: none !important; }
  .search-row input[type=search], .search-row select, .search-row .btn { width: 100% !important; margin-bottom: 0.5rem !important; }
  .hero-stats { gap: 1rem !important; }
  .hero-stat { min-width: 130px; padding: 1rem !important; }
}

/* --- JOB LISTINGS REDESIGN --- */
.job-card {
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  border-radius: 16px !important;
  padding: 1.25rem 1.5rem !important;
  margin-bottom: 1rem !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  overflow: hidden !important;
}
.job-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
  border-color: #93c5fd !important;
  transform: translateY(-4px) !important;
}
.job-card.featured {
  border-left: 5px solid #f97316 !important;
  background: linear-gradient(to right, rgba(249, 115, 22, 0.02), transparent) !important;
}
.job-card.featured::before {
  content: 'Premium' !important;
  position: absolute !important;
  top: 1rem !important;
  right: 1rem !important;
  background: linear-gradient(135deg, #f97316, #ea580c) !important;
  color: #fff !important;
  font-size: 0.7rem !important;
  font-weight: 800 !important;
  padding: 0.25rem 0.6rem !important;
  border-radius: 99px !important;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.3) !important;
}
.job-meta-top {
  display: flex !important;
  gap: 0.5rem !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  margin-bottom: 0.75rem !important;
}
.cat-tag {
  background: #f1f5f9 !important;
  color: #475569 !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  padding: 0.2rem 0.6rem !important;
  border-radius: 6px !important;
}
.badge-green { background: #dcfce7 !important; color: #16a34a !important; }
.badge-blue { background: #dbeafe !important; color: #2563eb !important; }
.badge {
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  padding: 0.2rem 0.6rem !important;
  border-radius: 6px !important;
  border: none !important;
}
.job-title {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  margin-bottom: 0.5rem !important;
  line-height: 1.4 !important;
}
.job-title a {
  color: #0f172a !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
}
.job-title a:hover {
  color: #2563eb !important;
}
.job-company {
  display: flex !important;
  gap: 1rem !important;
  font-size: 0.85rem !important;
  color: #64748b !important;
  flex-wrap: wrap !important;
}
.job-company span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.3rem !important;
}
.job-card-foot {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-size: 0.85rem !important;
  color: #94a3b8 !important;
  border-top: 1px dashed rgba(226, 232, 240, 0.8) !important;
  padding-top: 0.85rem !important;
  margin-top: 1rem !important;
}
.job-type {
  font-weight: 700 !important;
  color: #3b82f6 !important;
}
.job-ats-btn {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 0.35rem 0.85rem !important;
  font-weight: 700 !important;
  color: #475569 !important;
  transition: all 0.2s !important;
}
.job-ats-btn:hover {
  background: #eff6ff !important;
  border-color: #bfdbfe !important;
  color: #2563eb !important;
}

/* Job ATS checker dialog */
body.job-ats-open { overflow: hidden; }

.job-ats-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  place-items: center;
  padding: 1.25rem;
}

.job-ats-modal[hidden] { display: none !important; }
.job-ats-modal.open { display: grid; }

.job-ats-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, .72);
  backdrop-filter: blur(7px);
}

.job-ats-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(820px, calc(100vh - 2.5rem));
  overflow: auto;
  overscroll-behavior: contain;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 20px;
  box-shadow: 0 30px 90px rgba(2, 6, 23, .38);
}

.job-ats-close {
  position: absolute;
  z-index: 2;
  top: 1rem;
  right: 1rem;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: background .15s, transform .15s;
}

.job-ats-close:hover { background: rgba(255, 255, 255, .22); transform: scale(1.04); }

.job-ats-head {
  padding: 1.6rem 4.5rem 1.5rem 1.75rem;
  background:
    radial-gradient(circle at 90% 0%, rgba(96, 165, 250, .32), transparent 15rem),
    linear-gradient(135deg, #172554, #1e40af);
  color: #dbeafe;
}

.job-ats-kicker {
  display: inline-flex;
  margin-bottom: .55rem;
  padding: .22rem .55rem;
  border: 1px solid rgba(191, 219, 254, .3);
  border-radius: 999px;
  color: #bfdbfe;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.job-ats-head h2 { margin: 0 0 .3rem; color: #fff; font-size: 1.45rem; }
.job-ats-head p { margin: 0; color: #bfdbfe; font-size: .86rem; line-height: 1.5; }
.job-ats-content { padding: 1.5rem 1.75rem 1.75rem; }

.job-ats-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  min-height: 170px;
  color: #475569;
  font-weight: 700;
}

.job-ats-loading::before {
  content: '';
  width: 22px;
  height: 22px;
  border: 3px solid #dbeafe;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: job-ats-spin .75s linear infinite;
}

@keyframes job-ats-spin { to { transform: rotate(360deg); } }

.job-ats-score {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  background: #f8fbff;
}

.job-ats-score-num {
  display: grid;
  place-items: center;
  flex: 0 0 68px;
  width: 68px;
  height: 68px;
  border: 6px solid var(--ats-color, #2563eb);
  border-radius: 50%;
  color: #0f172a;
  background: #fff;
  font-size: 1.05rem;
  font-weight: 900;
}

.job-ats-score strong { display: block; color: #0f172a; font-size: 1rem; }
.job-ats-score span { display: block; margin-top: .2rem; color: #64748b; font-size: .8rem; }

.job-ats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
}

.job-ats-grid section {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
}

.job-ats-grid h3, .job-ats-tips h3 { margin: 0 0 .7rem; color: #0f172a; font-size: .82rem; }
.job-ats-pills { display: flex; flex-wrap: wrap; gap: .4rem; }

.job-ats-pill, .job-ats-empty {
  display: inline-flex;
  max-width: 100%;
  padding: .25rem .52rem;
  border-radius: 999px;
  font-size: .7rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.job-ats-pill.matched { background: #dcfce7; color: #166534; }
.job-ats-pill.partial { background: #fef3c7; color: #92400e; }
.job-ats-pill.missing { background: #fee2e2; color: #991b1b; }
.job-ats-empty { background: #f1f5f9; color: #64748b; }

.job-ats-tips {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid #c7d2fe;
  border-radius: 12px;
  background: #eef2ff;
}

.job-ats-tips ul { display: grid; gap: .45rem; margin: 0 0 .9rem; padding-left: 1.15rem; list-style: disc; }
.job-ats-tips li { color: #3730a3; font-size: .8rem; line-height: 1.5; }

.job-ats-edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: .48rem .9rem;
  border-radius: 8px;
  background: #1e40af;
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
  text-decoration: none;
}

.job-ats-edit:hover { background: #1e3a8a; color: #fff; text-decoration: none; }

.job-ats-error {
  display: grid;
  justify-items: start;
  gap: 1rem;
  padding: 1.1rem;
  border: 1px solid #fecaca;
  border-radius: 12px;
  background: #fef2f2;
  color: #991b1b;
}

@media (max-width: 700px) {
  .job-ats-modal { place-items: end center; padding: 0; }
  .job-ats-dialog { width: 100%; max-height: 92vh; border-radius: 20px 20px 0 0; border-bottom: 0; }
  .job-ats-head { padding: 1.35rem 4rem 1.25rem 1.2rem; }
  .job-ats-head h2 { font-size: 1.25rem; }
  .job-ats-content { padding: 1.15rem; }
  .job-ats-grid { grid-template-columns: 1fr; }
  .job-ats-score { align-items: flex-start; }
  .job-ats-score-num { flex-basis: 58px; width: 58px; height: 58px; border-width: 5px; font-size: .9rem; }
}

/* --- JOB DETAILS REDESIGN --- */
.job-detail {
  background: #ffffff !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 40px -10px rgba(0,0,0,0.08) !important;
  overflow: hidden !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  margin-bottom: 2rem !important;
}
.jd-header {
  position: relative !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
  background: #fafaf9 !important;
}
.jd-header-accent {
  height: 120px !important;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6) !important;
  position: absolute !important;
  top: 0 !important; left: 0 !important; right: 0 !important;
  z-index: 0 !important;
}
.jd-header-body {
  position: relative !important;
  z-index: 1 !important;
  padding: 2.5rem 2rem 2rem !important;
}
.jd-header-top {
  display: flex !important;
  gap: 1.5rem !important;
  align-items: flex-start !important;
  margin-bottom: 1.5rem !important;
}
.jd-company-logo {
  width: 80px !important;
  height: 80px !important;
  border-radius: 20px !important;
  font-size: 2rem !important;
  border: 4px solid #ffffff !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15) !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #fff !important;
  font-weight: 900 !important;
  margin-top: 1rem !important;
}
.jd-header-info { flex: 1 !important; margin-top: 3rem !important; }
.jd-header-info h1 {
  font-size: 2rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0.5rem 0 !important;
  line-height: 1.2 !important;
}
.jd-company {
  font-size: 0.95rem !important;
  color: #475569 !important;
  margin-bottom: 1rem !important;
}
.jd-badges {
  display: flex !important;
  gap: 0.5rem !important;
  flex-wrap: wrap !important;
}
.jd-actions {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  flex-wrap: wrap !important;
  padding-top: 1.5rem !important;
  border-top: 1px dashed rgba(226, 232, 240, 0.8) !important;
}
.jd-actions .btn {
  padding: 0.8rem 2rem !important;
  font-size: 1rem !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3) !important;
  transition: all 0.2s !important;
}
.jd-actions .btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4) !important;
}
.btn-save-job {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  padding: 0.8rem 1.25rem !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
  color: #475569 !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
}
.btn-save-job:hover {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}
.btn-save-job.saved {
  background: #fef2f2 !important;
  color: #ef4444 !important;
  border-color: #fca5a5 !important;
}
.views-count { margin-left: auto !important; color: #94a3b8 !important; font-size: 0.85rem !important; }
.jd-section {
  padding: 2.5rem 2rem !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6) !important;
}
.jd-section:last-child { border-bottom: none !important; }
.jd-section-head {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  margin-bottom: 1.5rem !important;
}
.jd-section-icon {
  background: #eff6ff !important;
  width: 40px !important; height: 40px !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  border-radius: 10px !important;
  font-size: 1.2rem !important;
}
.jd-section-head h2 { font-size: 1.4rem !important; font-weight: 800 !important; margin: 0 !important; }
.jd-content { font-size: 1.05rem !important; line-height: 1.7 !important; color: #334155 !important; }
.jd-meta-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
  gap: 1.5rem !important;
  background: #f8fafc !important;
  padding: 1.5rem !important;
  border-radius: 16px !important;
  border: 1px solid #e2e8f0 !important;
}
.meta-item { display: flex !important; flex-direction: column !important; gap: 0.25rem !important; }
.meta-item strong { font-size: 0.8rem !important; text-transform: uppercase !important; letter-spacing: 0.05em !important; color: #64748b !important; }
.meta-item span { font-size: 1.1rem !important; font-weight: 700 !important; color: #0f172a !important; }
.jd-apply-cta {
  margin: 2rem !important;
  padding: 2.5rem !important;
  border-radius: 20px !important;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6) !important;
  color: #fff !important;
  text-align: center !important;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3) !important;
}
.jd-apply-cta-title { font-size: 1.75rem !important; font-weight: 800 !important; margin-bottom: 0.5rem !important; }
.jd-apply-cta p { font-size: 1.05rem !important; color: rgba(255,255,255,0.85) !important; margin-bottom: 1.5rem !important; }
.jd-apply-cta .btn-apply {
  background: #fff !important; color: #1d4ed8 !important; padding: 0.85rem 2.5rem !important;
  border-radius: 99px !important; font-weight: 800 !important; font-size: 1.1rem !important;
  transition: transform 0.2s, box-shadow 0.2s !important; display: inline-block !important; text-decoration: none !important;
}
.jd-apply-cta .btn-apply:hover { transform: translateY(-2px) !important; box-shadow: 0 8px 24px rgba(255,255,255,0.3) !important; text-decoration: none !important; }
@media (max-width: 768px) {
  .jd-header-top { flex-direction: column !important; align-items: center !important; text-align: center !important; }
  .jd-company-logo { margin-top: -3rem !important; }
  .jd-header-info { margin-top: 0 !important; }
  .jd-badges, .jd-actions { justify-content: center !important; }
  .jd-actions { flex-direction: column !important; align-items: stretch !important; }
  .views-count { margin: 1rem auto 0 !important; }
  .jd-section { padding: 1.5rem !important; }
  .jd-apply-cta { margin: 1rem !important; padding: 1.5rem !important; }
}

/* --- ATS CHECKER REDESIGN --- */
.ats-wrap {
  max-width: 900px !important;
  margin: 3rem auto !important;
  padding: 0 1rem !important;
}
.ats-header {
  text-align: center !important;
  margin-bottom: 3rem !important;
}
.ats-badge {
  display: inline-block !important;
  background: #eff6ff !important;
  color: #1d4ed8 !important;
  font-weight: 800 !important;
  padding: 0.4rem 1rem !important;
  border-radius: 99px !important;
  font-size: 0.85rem !important;
  margin-bottom: 1rem !important;
  border: 1px solid #bfdbfe !important;
}
.ats-header h1 {
  font-size: clamp(2rem, 4vw, 3rem) !important;
  font-weight: 900 !important;
  color: #0f172a !important;
  line-height: 1.2 !important;
  margin-bottom: 1rem !important;
}
.ats-header p {
  font-size: 1.1rem !important;
  color: #64748b !important;
  max-width: 600px !important;
  margin: 0 auto !important;
}
.ats-lock-card {
  margin-top: 2rem !important;
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(248,250,252,0.9)) !important;
  backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  border-radius: 20px !important;
  padding: 3rem 2rem !important;
  box-shadow: 0 20px 40px rgba(0,0,0,0.05) !important;
  position: relative !important;
}
.ats-lock-icon {
  font-size: 3rem !important;
  margin-bottom: 1rem !important;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1)) !important;
}
.ats-lock-card h3 { font-size: 1.5rem !important; font-weight: 800 !important; color: #0f172a !important; margin-bottom: 0.5rem !important; }
.ats-upgrade-btn {
  display: inline-block !important;
  margin-top: 1.5rem !important;
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  color: #fff !important;
  font-weight: 800 !important;
  padding: 0.8rem 2rem !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.4) !important;
  transition: all 0.2s !important;
}
.ats-upgrade-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.5) !important;
  color: #fff !important;
}
.ats-form {
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  padding: 2.5rem !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 40px -10px rgba(0,0,0,0.08) !important;
  margin-bottom: 3rem !important;
}
.ats-label {
  display: block !important;
  font-weight: 800 !important;
  color: #1e293b !important;
  margin-bottom: 0.75rem !important;
  font-size: 1.05rem !important;
}
.ats-select, .ats-jd {
  width: 100% !important;
  background: #f8fafc !important;
  border: 2px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 1rem !important;
  font-size: 1rem !important;
  color: #0f172a !important;
  transition: all 0.2s !important;
  margin-bottom: 1.5rem !important;
  font-family: inherit !important;
}
.ats-select:focus, .ats-jd:focus {
  background: #fff !important;
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15) !important;
  outline: none !important;
}
.ats-submit-btn {
  width: 100% !important;
  background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
  color: #fff !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  padding: 1rem !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3) !important;
  transition: all 0.2s !important;
}
.ats-submit-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.4) !important;
}
.ats-result {
  margin-top: 3rem !important;
}
.ats-score-card {
  background: #ffffff !important;
  border-radius: 20px !important;
  padding: 3rem 2rem !important;
  text-align: center !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  box-shadow: 0 20px 40px rgba(0,0,0,0.05) !important;
  margin-bottom: 2rem !important;
  position: relative !important;
  overflow: hidden !important;
}
.ats-gauge-wrap {
  width: 180px !important;
  margin: 0 auto 1.5rem !important;
}
.ats-gauge {
  width: 100% !important;
  height: auto !important;
  overflow: visible !important;
}
.ats-score-label {
  font-size: 1.5rem !important;
  font-weight: 900 !important;
  margin-bottom: 1.5rem !important;
}
.ats-score-counts {
  display: flex !important;
  justify-content: center !important;
  gap: 1.5rem !important;
  flex-wrap: wrap !important;
}
.ats-ct {
  padding: 0.5rem 1rem !important;
  border-radius: 12px !important;
  font-weight: 800 !important;
  font-size: 0.9rem !important;
}
.ats-ct.matched { background: #dcfce7 !important; color: #16a34a !important; border: 1px solid #bbf7d0 !important; }
.ats-ct.partial { background: #fef9c3 !important; color: #ca8a04 !important; border: 1px solid #fef08a !important; }
.ats-ct.missing { background: #fee2e2 !important; color: #dc2626 !important; border: 1px solid #fecaca !important; }
.ats-kw-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
  gap: 1.5rem !important;
  margin-bottom: 2rem !important;
}
.ats-kw-col {
  background: #ffffff !important;
  border-radius: 16px !important;
  padding: 1.5rem !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03) !important;
}
.ats-kw-head {
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  margin-bottom: 1rem !important;
  padding-bottom: 0.75rem !important;
  border-bottom: 1px solid #e2e8f0 !important;
}
.ats-kw-head.matched { color: #16a34a !important; }
.ats-kw-head.partial { color: #ca8a04 !important; }
.ats-kw-head.missing { color: #dc2626 !important; }
.ats-kw-pills {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
}
.ats-pill {
  padding: 0.35rem 0.75rem !important;
  border-radius: 8px !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
}
.ats-pill.matched { background: #dcfce7 !important; color: #15803d !important; }
.ats-pill.partial { background: #fef9c3 !important; color: #a16207 !important; }
.ats-pill.missing { background: #fee2e2 !important; color: #b91c1c !important; }
.ats-empty { color: #94a3b8 !important; font-style: italic !important; font-size: 0.9rem !important; }
.ats-tips {
  background: linear-gradient(135deg, #f8fafc, #f1f5f9) !important;
  border-radius: 20px !important;
  padding: 2.5rem !important;
  border: 1px solid #e2e8f0 !important;
}
.ats-tips h3 { font-size: 1.4rem !important; font-weight: 800 !important; color: #0f172a !important; margin-bottom: 1rem !important; }
.ats-tips ul { list-style: none !important; padding: 0 !important; margin: 0 0 2rem !important; }
.ats-tips li {
  position: relative !important;
  padding-left: 2rem !important;
  margin-bottom: 1rem !important;
  color: #334155 !important;
  font-size: 1.05rem !important;
  line-height: 1.5 !important;
}
.ats-tips li::before {
  content: '👉' !important;
  position: absolute !important;
  left: 0 !important;
  top: 0.1rem !important;
}
.ats-edit-cv-btn {
  display: inline-block !important;
  background: #0f172a !important;
  color: #fff !important;
  font-weight: 800 !important;
  padding: 0.8rem 2rem !important;
  border-radius: 12px !important;
  transition: transform 0.2s !important;
}
.ats-edit-cv-btn:hover { transform: translateY(-2px) !important; color: #fff !important; }
@media (max-width: 768px) {
  .ats-form, .ats-score-card, .ats-tips { padding: 1.5rem !important; }
  .ats-gauge-wrap { width: 140px !important; }
}

/* --- Blog Post Redesign --- */
.blog-post-header {
  text-align: left;
  max-width: 960px;
  margin: 0 auto 1.5rem;
  padding-top: .5rem;
  animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-post-meta-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .4rem 1rem;
  flex-wrap: wrap;
  margin-bottom: .75rem;
  color: var(--muted);
  font-size: .85rem;
}
.blog-post-h1 {
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 .75rem;
  color: #0f172a;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.blog-post-excerpt {
  font-size: 1rem;
  color: #475569;
  line-height: 1.6;
  max-width: 800px;
  margin: 0;
}
.blog-post-author-bar {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: #f8fafc;
  padding: 0.5rem 1.25rem 0.5rem 0.5rem;
  border-radius: 99px;
  border: 1px solid #e2e8f0;
  text-align: left;
}
.blog-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

.blog-post-body {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.8;
  color: #334155;
  animation: fadeUp 0.8s ease;
}
.blog-post-body h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  color: #0f172a;
}
.blog-post-body h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  color: #1e293b;
}
.blog-post-body p {
  margin-bottom: 1.5rem;
}
.blog-post-body blockquote {
  border-left: 4px solid #3b82f6;
  background: linear-gradient(90deg, #eff6ff 0%, transparent 100%);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  font-size: 1.25rem;
  font-style: italic;
  color: #1e40af;
  border-radius: 0 12px 12px 0;
}
.blog-post-body ul, .blog-post-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}
.blog-post-body li {
  margin-bottom: 0.5rem;
}
.blog-post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 2rem 0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

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

.cv-seo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .8fr);
  gap: 2rem;
  align-items: start;
}
.cv-seo-grid h2,
.cv-faq-section h2 {
  margin-top: 0;
}
.cv-seo-grid p,
.cv-faq-grid p {
  color: var(--muted);
  line-height: 1.7;
}
.cv-seo-panel,
.cv-faq-grid article {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.cv-seo-panel ul {
  margin: .75rem 0 0;
  padding-left: 1.2rem;
  color: var(--text2);
  line-height: 1.7;
}
.cv-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.cv-faq-grid h3 {
  margin: 0 0 .5rem;
  font-size: 1rem;
}
.affiliate-products {
  margin: 1.75rem 0;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}
.affiliate-products h2 {
  margin: .75rem 0 1rem;
  font-size: 1.2rem;
}
.affiliate-disclosure {
  padding: .8rem 1rem;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  background: #fff7ed;
  color: #7c2d12;
  font-size: .88rem;
  line-height: 1.5;
}
.affiliate-product-grid {
  display: grid;
  gap: 1rem;
}
.affiliate-product-card a {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.affiliate-product-card a:hover,
.affiliate-product-card a:focus {
  border-color: #93c5fd;
  box-shadow: 0 12px 26px rgba(15,23,42,.08);
  transform: translateY(-1px);
}
.affiliate-product-card img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  background: #f8fafc;
  border-radius: 8px;
}
.affiliate-product-card strong,
.affiliate-product-card em,
.affiliate-product-card b {
  display: block;
}
.affiliate-product-card em {
  margin-top: .25rem;
  color: var(--muted);
  font-style: normal;
  font-size: .88rem;
}
.affiliate-product-card b {
  margin-top: .45rem;
  color: var(--primary);
  font-size: .9rem;
}
.affiliate-sitestripe-link a {
  display: block;
  padding: 1rem;
  border: 1px solid #fbbf24;
  border-left: 4px solid #f59e0b;
  border-radius: 8px;
  background: #fffbeb;
  color: #111827;
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.affiliate-sitestripe-link a:hover,
.affiliate-sitestripe-link a:focus {
  border-color: #f59e0b;
  box-shadow: 0 12px 26px rgba(146,64,14,.1);
  transform: translateY(-1px);
}
.affiliate-sitestripe-mark {
  display: inline-flex;
  margin-bottom: .45rem;
  padding: .18rem .48rem;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
}
.affiliate-sitestripe-link strong,
.affiliate-sitestripe-link em,
.affiliate-sitestripe-link b {
  display: block;
}
.affiliate-sitestripe-link em {
  margin-top: .25rem;
  color: #92400e;
  font-style: normal;
  font-size: .88rem;
}
.affiliate-sitestripe-link b {
  margin-top: .45rem;
  color: #b45309;
  font-size: .9rem;
}
@media (max-width: 860px) {
  .cv-seo-grid,
  .cv-faq-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .affiliate-product-card a {
    grid-template-columns: 72px 1fr;
  }
  .affiliate-product-card img {
    width: 72px;
    height: 72px;
  }
}

