/* ============================================================
   Jasmiza Solutions — Careers Portal
   Brand: #D41D60 (primary) | #1C3557 (secondary) | #FFFFFF
   Font: Roboto Flex
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght@8..144,300;8..144,400;8..144,500;8..144,600;8..144,700&display=swap');

/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Global overflow fix */
html { overflow-x: hidden; }
body { overflow-x: hidden; max-width: 100%; }

:root {
  --primary:        #D41D60;
  --primary-dark:   #b01650;
  --primary-light:  #fce8f0;
  --secondary:      #1C3557;
  --secondary-dark: #142640;
  --secondary-light:#e8edf4;
  --white:          #FFFFFF;
  --gray-50:        #f9fafb;
  --gray-100:       #f3f4f6;
  --gray-200:       #e5e7eb;
  --gray-300:       #d1d5db;
  --gray-400:       #9ca3af;
  --gray-500:       #6b7280;
  --gray-600:       #4b5563;
  --gray-700:       #374151;
  --gray-800:       #1f2937;
  --gray-900:       #111827;
  --success:        #10b981;
  --warning:        #f59e0b;
  --danger:         #ef4444;
  --info:           #3b82f6;
  --radius-sm:      6px;
  --radius:         10px;
  --radius-lg:      16px;
  --radius-xl:      24px;
  --shadow-sm:      0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow:         0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --shadow-lg:      0 10px 40px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.06);
  --shadow-primary: 0 4px 20px rgba(212,29,96,.25);
  --transition:     all .2s cubic-bezier(.4,0,.2,1);
  --font:           'Roboto Flex', 'Roboto', sans-serif;
  --nav-h:          72px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--gray-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ─── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  color: var(--secondary);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p  { color: var(--gray-600); line-height: 1.75; }

/* ─── Layout ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ─── Navigation ───────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo img { height: 44px; width: auto; }
.nav-logo-text { font-size: 1.1rem; font-weight: 700; color: var(--secondary); }
.nav-logo-text span { color: var(--primary); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: var(--transition);
}
.nav-link:hover { background: var(--gray-100); color: var(--secondary); }
.nav-link.active { color: var(--primary); background: var(--primary-light); }
.nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .9rem;
  box-shadow: var(--shadow-primary);
}
.nav-cta:hover { background: var(--primary-dark) !important; color: var(--white) !important; }

/* ─── Hero ─────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 60%, #0d1e35 100%);
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(212,29,96,.18) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(212,29,96,.10) 0%, transparent 50%);
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--gray-50);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,29,96,.15);
  border: 1px solid rgba(212,29,96,.3);
  color: #f9a8c9;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.4); }
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 span { color: var(--primary); }
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  display: block;
}
.hero-stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ─── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(212,29,96,.35);
}
.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}
.btn-secondary:hover {
  background: var(--secondary-dark);
  border-color: var(--secondary-dark);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
  color: var(--white);
}
.btn-ghost {
  background: transparent;
  color: var(--gray-600);
  border-color: var(--gray-200);
}
.btn-ghost:hover { background: var(--gray-100); color: var(--gray-800); }
.btn-sm { padding: 8px 16px; font-size: .85rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; }

/* ─── Filter Bar ───────────────────────────────────────────── */
.filter-bar {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 40px;
  border: 1px solid var(--gray-200);
}
.filter-bar-inner {
  display: grid;
  grid-template-columns: 1fr repeat(4, auto);
  gap: 12px;
  align-items: center;
}
.filter-search {
  position: relative;
}
.filter-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  pointer-events: none;
}
.filter-search input {
  width: 100%;
  padding: 11px 14px 11px 42px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .9rem;
  color: var(--gray-800);
  background: var(--gray-50);
  transition: var(--transition);
}
.filter-search input:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(212,29,96,.1);
}
.filter-select select {
  padding: 11px 36px 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .9rem;
  color: var(--gray-700);
  background: var(--gray-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
  appearance: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.filter-select select:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(212,29,96,.1);
}
.filter-active-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}
.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: .8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
}
.filter-tag-remove {
  cursor: pointer;
  opacity: .7;
  font-size: 1rem;
  line-height: 1;
}
.filter-tag-remove:hover { opacity: 1; }

/* ─── Job Cards ────────────────────────────────────────────── */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.job-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--gray-200);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.job-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.job-card.featured {
  border-color: var(--primary);
  background: linear-gradient(135deg, var(--white) 0%, #fff5f9 100%);
}
.job-card-featured-badge {
  position: absolute;
  top: -1px;
  right: 20px;
  background: var(--primary);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.job-card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.job-card-dept {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}
.job-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.3;
}
.job-card-title a { color: inherit; }
.job-card-title a:hover { color: var(--primary); }
.job-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .82rem;
  color: var(--gray-500);
}
.job-card-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}
.job-card-meta-item svg { flex-shrink: 0; }
.job-card-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.job-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}
.job-card-posted { font-size: .78rem; color: var(--gray-400); }

/* ─── Badges ───────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.badge-fulltime  { background: #dcfce7; color: #166534; }
.badge-contract  { background: #fef3c7; color: #92400e; }
.badge-freelance { background: #ede9fe; color: #5b21b6; }
.badge-internship{ background: #dbeafe; color: #1e40af; }
.badge-parttime  { background: #f3f4f6; color: #374151; }
.badge-default   { background: var(--gray-100); color: var(--gray-600); }
.level-intern      { background: #dbeafe; color: #1e40af; }
.level-graduate    { background: #dcfce7; color: #166534; }
.level-experienced { background: #fef3c7; color: #92400e; }
.level-senior      { background: #fce7f3; color: #9d174d; }
.level-default     { background: var(--gray-100); color: var(--gray-600); }

/* ─── Job Count & Sort Bar ─────────────────────────────────── */
.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.results-count { font-size: .9rem; color: var(--gray-500); }
.results-count strong { color: var(--secondary); }

/* ─── Empty State ──────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 80px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px dashed var(--gray-200);
}
.empty-state-icon {
  width: 72px; height: 72px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary);
}
.empty-state h3 { margin-bottom: 8px; }
.empty-state p  { margin-bottom: 24px; }

/* ─── Why Work With Us ─────────────────────────────────────── */
.perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.perk-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 1.5px solid var(--gray-200);
  transition: var(--transition);
}
.perk-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.perk-icon {
  width: 56px; height: 56px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--primary);
  font-size: 1.5rem;
}
.perk-card h4 { margin-bottom: 8px; font-size: 1rem; }
.perk-card p  { font-size: .875rem; }

/* ─── CTA Banner ───────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(212,29,96,.2) 0%, transparent 60%);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p  { color: rgba(255,255,255,.7); margin-bottom: 32px; font-size: 1.05rem; }

/* ─── Job Detail ───────────────────────────────────────────── */
.job-detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}
.job-detail-body {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--gray-200);
  padding: 40px;
}
.job-detail-body h2 {
  font-size: 1.2rem;
  color: var(--secondary);
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-light);
}
.job-detail-body h2:first-child { margin-top: 0; }
.job-detail-body p  { margin-bottom: 16px; }
.job-detail-body ul { padding-left: 0; margin-bottom: 16px; }
.job-detail-body ul li {
  padding: 6px 0 6px 24px;
  position: relative;
  color: var(--gray-600);
  font-size: .95rem;
}
.job-detail-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
}
.job-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--gray-200);
  padding: 28px;
}
.sidebar-card h4 {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray-400);
  margin-bottom: 16px;
}
.sidebar-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: .9rem;
}
.sidebar-meta-row:last-child { border-bottom: none; }
.sidebar-meta-icon { color: var(--primary); flex-shrink: 0; }
.sidebar-meta-label { color: var(--gray-400); font-size: .78rem; display: block; }
.sidebar-meta-value { color: var(--secondary); font-weight: 600; }
.share-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.share-btn {
  flex: 1;
  min-width: 80px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: .8rem;
  font-weight: 600;
  text-align: center;
  border: 1.5px solid var(--gray-200);
  color: var(--gray-600);
  transition: var(--transition);
  cursor: pointer;
  background: var(--white);
}
.share-btn:hover { border-color: var(--primary); color: var(--primary); }

/* ─── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--gray-400);
  margin-bottom: 32px;
}
.breadcrumb a { color: var(--gray-500); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { color: var(--gray-300); }
.breadcrumb-current { color: var(--gray-700); font-weight: 500; }

/* ─── Application Form ─────────────────────────────────────── */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--gray-200);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-section-title {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-light);
}
.form-section-title:first-child { margin-top: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--gray-700);
}
.form-label .required { color: var(--primary); margin-left: 2px; }
.form-control {
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .9rem;
  color: var(--gray-800);
  background: var(--gray-50);
  transition: var(--transition);
  width: 100%;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(212,29,96,.1);
}
.form-control::placeholder { color: var(--gray-400); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-hint { font-size: .78rem; color: var(--gray-400); }
.form-error { font-size: .78rem; color: var(--danger); display: none; }
.form-control.is-invalid { border-color: var(--danger); }
.form-control.is-invalid + .form-error { display: block; }

/* File Upload */
.file-upload-area {
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--gray-50);
  position: relative;
}
.file-upload-area:hover, .file-upload-area.drag-over {
  border-color: var(--primary);
  background: var(--primary-light);
}
.file-upload-area input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.file-upload-icon { color: var(--primary); margin-bottom: 12px; }
.file-upload-text { font-size: .9rem; color: var(--gray-600); }
.file-upload-text strong { color: var(--primary); }
.file-upload-hint { font-size: .78rem; color: var(--gray-400); margin-top: 4px; }
.file-selected { display: none; align-items: center; gap: 8px; color: var(--success); font-size: .875rem; font-weight: 600; }

/* Checkbox */
.form-check { display: flex; align-items: flex-start; gap: 10px; }
.form-check input[type="checkbox"] {
  width: 18px; height: 18px;
  border: 2px solid var(--gray-300);
  border-radius: 4px;
  cursor: pointer;
  accent-color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.form-check-label { font-size: .875rem; color: var(--gray-600); line-height: 1.5; }
.form-check-label a { color: var(--primary); font-weight: 600; }

/* Progress Steps */
.form-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
}
.form-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-400);
}
.form-step.active { color: var(--primary); }
.form-step.done   { color: var(--success); }
.form-step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  background: var(--white);
}
.form-step.active .form-step-num { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.form-step.done   .form-step-num { border-color: var(--success); color: var(--white); background: var(--success); }
.form-step-line { width: 48px; height: 2px; background: var(--gray-200); margin: 0 4px; }
.form-step.done + .form-step-line { background: var(--success); }

/* ─── Thank You Page ───────────────────────────────────────── */
.thankyou-card {
  max-width: 600px;
  margin: 80px auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--gray-200);
}
.thankyou-icon {
  width: 88px; height: 88px;
  background: linear-gradient(135deg, var(--primary-light), #fce8f0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  color: var(--primary);
  font-size: 2.5rem;
}
.thankyou-card h1 { font-size: 2rem; margin-bottom: 12px; }
.thankyou-card p  { font-size: 1.05rem; margin-bottom: 8px; }
.thankyou-steps {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 24px;
  margin: 32px 0;
  text-align: left;
}
.thankyou-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: .9rem;
  color: var(--gray-600);
}
.thankyou-step:last-child { border-bottom: none; }
.thankyou-step-num {
  width: 24px; height: 24px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ─── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--secondary-dark);
  color: rgba(255,255,255,.6);
  padding: 40px 0;
  margin-top: 80px;
  font-size: .875rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo img { height: 36px; filter: brightness(0) invert(1); opacity: .8; }
.footer-logo-text { color: rgba(255,255,255,.8); font-weight: 600; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: rgba(255,255,255,.5); font-size: .85rem; }
.footer-links a:hover { color: var(--primary); }
.footer-copy { color: rgba(255,255,255,.35); }

/* ─── Alerts ───────────────────────────────────────────────── */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.alert-danger  { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.alert-warning { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.alert-info    { background: #dbeafe; color: #1e40af; border: 1px solid #bfdbfe; }

/* ─── Admin Layout ─────────────────────────────────────────── */
.admin-layout { display: flex; min-height: 100vh; }

.admin-sidebar {
  width: 260px;
  background: var(--secondary-dark);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 50;
  overflow-y: auto;
}
.admin-sidebar-logo {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  gap: 12px;
}
.admin-sidebar-logo img { height: 36px; filter: brightness(0) invert(1); opacity: .9; }
.admin-sidebar-logo-text { color: var(--white); font-weight: 700; font-size: .95rem; line-height: 1.2; }
.admin-sidebar-logo-sub  { color: rgba(255,255,255,.4); font-size: .72rem; font-weight: 400; }

.admin-nav { padding: 16px 12px; flex: 1; }
.admin-nav-section {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  padding: 16px 8px 8px;
}
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,.65);
  font-size: .875rem;
  font-weight: 500;
  transition: var(--transition);
  margin-bottom: 2px;
  text-decoration: none;
}
.admin-nav-item:hover { background: rgba(255,255,255,.07); color: var(--white); }
.admin-nav-item.active { background: var(--primary); color: var(--white); }
.admin-nav-item svg { flex-shrink: 0; opacity: .8; }
.admin-nav-item.active svg { opacity: 1; }
.admin-nav-badge {
  margin-left: auto;
  background: var(--primary);
  color: var(--white);
  font-size: .68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 100px;
}
.admin-nav-item.active .admin-nav-badge { background: rgba(255,255,255,.25); }

.admin-sidebar-footer {
  padding: 16px 12px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.admin-sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,.65);
  font-size: .85rem;
}
.admin-sidebar-avatar {
  width: 32px; height: 32px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: .8rem;
  flex-shrink: 0;
}

.admin-main {
  margin-left: 260px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.admin-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: var(--shadow-sm);
}
.admin-topbar-title { font-size: 1.1rem; font-weight: 700; color: var(--secondary); }
.admin-topbar-actions { display: flex; align-items: center; gap: 12px; }
.admin-content { padding: 32px; flex: 1; }

/* Admin Stats Cards */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.admin-stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1.5px solid var(--gray-200);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
}
.admin-stat-card:hover { box-shadow: var(--shadow); border-color: var(--primary); }
.admin-stat-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.admin-stat-icon.pink   { background: var(--primary-light); color: var(--primary); }
.admin-stat-icon.navy   { background: var(--secondary-light); color: var(--secondary); }
.admin-stat-icon.green  { background: #dcfce7; color: #166534; }
.admin-stat-icon.amber  { background: #fef3c7; color: #92400e; }
.admin-stat-num   { font-size: 2rem; font-weight: 700; color: var(--secondary); line-height: 1; }
.admin-stat-label { font-size: .8rem; color: var(--gray-400); margin-top: 4px; }

/* Admin Table */
.admin-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--gray-200);
  overflow: hidden;
}
.admin-card-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.admin-card-title { font-size: 1rem; font-weight: 700; color: var(--secondary); }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gray-400);
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}
.admin-table td {
  padding: 14px 16px;
  font-size: .875rem;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--gray-50); }
.admin-table .job-title-cell { font-weight: 600; color: var(--secondary); }
.admin-table .job-title-cell small { display: block; font-weight: 400; color: var(--gray-400); font-size: .78rem; }

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 600;
}
.status-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.status-active   { background: #dcfce7; color: #166534; }
.status-inactive { background: var(--gray-100); color: var(--gray-500); }
.status-new        { background: #dbeafe; color: #1e40af; }
.status-reviewed   { background: #fef3c7; color: #92400e; }
.status-shortlisted{ background: #dcfce7; color: #166534; }
.status-rejected   { background: #fee2e2; color: #991b1b; }

/* Action Buttons */
.action-btns { display: flex; align-items: center; gap: 6px; }
.action-btn {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--gray-500);
  text-decoration: none;
}
.action-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.action-btn.danger:hover { border-color: var(--danger); color: var(--danger); background: #fee2e2; }

/* Admin Form */
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.admin-form-group { display: flex; flex-direction: column; gap: 6px; }
.admin-form-group.full { grid-column: 1 / -1; }
.admin-form-label { font-size: .875rem; font-weight: 600; color: var(--gray-700); }
.admin-form-label .required { color: var(--primary); }
.admin-form-control {
  padding: 10px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .9rem;
  color: var(--gray-800);
  background: var(--gray-50);
  transition: var(--transition);
  width: 100%;
}
.admin-form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(212,29,96,.1);
}
textarea.admin-form-control { resize: vertical; min-height: 160px; }
select.admin-form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.admin-form-hint { font-size: .78rem; color: var(--gray-400); }

/* Toggle Switch */
.toggle-wrap { display: flex; align-items: center; gap: 10px; }
.toggle {
  position: relative;
  width: 44px; height: 24px;
  flex-shrink: 0;
}
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--gray-300);
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  left: 3px; top: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.toggle input:checked + .toggle-slider { background: var(--primary); }
.toggle input:checked + .toggle-slider::before { transform: translateX(20px); }
.toggle-label { font-size: .875rem; color: var(--gray-600); font-weight: 500; }

/* Admin Login */
.admin-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 100%);
  padding: 24px;
}
.admin-login-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
}
.admin-login-logo {
  text-align: center;
  margin-bottom: 32px;
}
.admin-login-logo img { height: 56px; margin: 0 auto 12px; }
.admin-login-logo h2 { font-size: 1.3rem; margin-bottom: 4px; }
.admin-login-logo p  { font-size: .875rem; color: var(--gray-400); }

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
}
.page-btn {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); border-color: var(--primary); color: var(--white); }
.page-btn:disabled { opacity: .4; cursor: not-allowed; }

/* ─── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .job-detail-layout { grid-template-columns: 1fr; }
  .job-sidebar { position: static; }
  .admin-sidebar { width: 220px; }
  .admin-main { margin-left: 220px; }
}

@media (max-width: 768px) {
  /* Fix mobile overflow — prevent horizontal scroll */
  html, body { overflow-x: hidden; max-width: 100vw; }
  .container, .container-sm { padding: 0 16px; max-width: 100%; }
  .filter-bar-inner { grid-template-columns: 1fr; }
  .jobs-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .hero-stats > div { min-width: 80px; }
  .cta-banner { padding: 32px 20px; }
  .admin-sidebar { transform: translateX(-100%); transition: transform .3s; }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .admin-content { padding: 16px; }
  .thankyou-card { padding: 32px 20px; margin: 40px auto; }
  .form-card { padding: 20px; }
  .job-detail-body { padding: 20px; }
  .footer-inner { flex-direction: column; text-align: center; gap: 16px; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 12px; }
  .nav-links { display: none; }
  .nav { height: 60px; }
  /* Prevent wide elements from breaking layout */
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .hero { padding: 56px 0 48px; }
  .hero h1 { font-size: 1.8rem; }
  .hero-sub { font-size: 1rem; }
  .perks-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .section { padding: 48px 0; }
  .section-sm { padding: 32px 0; }
  /* Process steps — stack vertically on mobile */
  .process-steps-grid { grid-template-columns: 1fr !important; }
  .process-step-divider { display: none; }
  /* Filter bar */
  .filter-bar { padding: 16px; }
  .filter-select select, .filter-search input { width: 100%; }
  /* Job cards */
  .job-card { padding: 20px; }
  .job-card-footer { flex-direction: column; align-items: flex-start; gap: 12px; }
  /* CTA buttons */
  .hero > div > div { flex-direction: column; align-items: center; }
  .btn-lg { padding: 13px 24px; font-size: .95rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .hero { padding: 48px 0 40px; }
  .section { padding: 40px 0; }
  .perks-grid { grid-template-columns: 1fr; }
  .admin-stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 12px; }
  .hero-stat-num { font-size: 1.5rem; }
  .thankyou-card { padding: 28px 16px; }
  .cta-banner { padding: 28px 16px; }
  .cta-banner h2 { font-size: 1.3rem; }
}

/* ─── Utilities ────────────────────────────────────────────── */
.text-primary   { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-muted     { color: var(--gray-400) !important; }
.text-center    { text-align: center; }
.text-right     { text-align: right; }
.fw-600         { font-weight: 600; }
.fw-700         { font-weight: 700; }
.mt-0  { margin-top: 0; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0  { margin-bottom: 0; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.w-100  { width: 100%; }
.hidden { display: none !important; }

/* ─── Animations ───────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp .4s ease both; }
.fade-in-up-delay-1 { animation-delay: .1s; }
.fade-in-up-delay-2 { animation-delay: .2s; }
.fade-in-up-delay-3 { animation-delay: .3s; }

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.skeleton {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}