:root {
  /* TPM-TUR, SA brand colors (from logo) */
  --brand-primary: #F2A11E;
  --brand-primary-hover: #D88A0C;
  --brand-secondary: #3FA9F5;
  --brand-secondary-strong: #1A7FCB;
  --brand-accent-dark: #1C3F6E;
  --brand-text: #1A1A1A;
  --brand-bg: #FFFFFF;

  /* Legacy names kept so existing rules keep working */
  --brand-navy: #1C3F6E;
  --brand-blue: #0F2A4A;
  --brand-accent: #3FA9F5;
  --brand-light: #EAF5FE;
  
  /* Semantic Colors */
  --ink: #1A1A1A;
  --muted: #64748b;
  --light-gray: #f1f5f9;
  --border: #e2e8f0;
  
  /* Status Colors */
  --success: #16a34a;
  --success-light: #dcfce7;
  --warning: #d97706;
  --warning-light: #fef3c7;
  --danger: #dc2626;
  --danger-light: #fee2e2;
  --info: #0ea5e9;
  --info-light: #e0f2fe;
  
  /* Border Radius */
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  
  /* Typography */
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: #fafbfc;
  line-height: 1.6;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

.text-brand { color: var(--brand-navy); }
.text-muted { color: var(--muted); }
.bg-brand { background: var(--brand-navy); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  border: none;
}

.btn-brand {
  background: var(--brand-navy);
  color: #fff;
}
.btn-brand:hover {
  background: var(--brand-blue);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline-brand {
  border: 2px solid var(--brand-navy);
  color: var(--brand-navy);
  background: transparent;
}
.btn-outline-brand:hover {
  background: var(--brand-navy);
  color: #fff;
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: var(--font-size-lg);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: var(--font-size-sm);
}

/* ============================================
   LOGO & BRANDING
   ============================================ */
.brand-logo {
  height: 32px;
  width: auto;
  display: block;
}

.brand-logo-lg {
  height: 40px;
  width: auto;
}

.brand-logo-sm {
  height: 24px;
  width: auto;
}

/* ============================================
   NAVIGATION
   ============================================ */
.site-nav {
  border-bottom: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.site-nav .nav-link {
  font-weight: 500;
  color: var(--ink);
  padding: 0.75rem 1rem;
  transition: color 0.2s ease;
}

.site-nav .nav-link:hover {
  color: var(--brand-navy);
}

.navbar-brand {
  font-weight: 700;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  background: linear-gradient(135deg, #f8fafc 0%, #e8eef5 100%);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(30, 58, 95, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero h1 {
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero .lead {
  color: var(--muted);
  font-size: var(--font-size-lg);
  line-height: 1.7;
}

/* ============================================
   SEARCH CARD
   ============================================ */
.search-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px -20px rgba(15, 23, 42, .15);
  padding: 1.5rem;
  border: 1px solid var(--border);
}

.vacancy-listing-shell {
  width: 100%;
  max-width: 100%;
}

.search-card .form-control,
.search-card .form-select {
  border: 1px solid var(--border);
  background: var(--light-gray);
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.search-card .form-control:focus,
.search-card .form-select:focus {
  border-color: var(--brand-navy);
  background: #fff;
  box-shadow: 0 0 0 3px var(--brand-light);
}

/* ============================================
   JOB CARDS
   ============================================ */
.job-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  height: 100%;
  transition: all 0.3s ease;
  background: #fff;
  cursor: pointer;
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--brand-light);
}

.job-card:focus-visible {
  outline: 3px solid var(--brand-light);
  outline-offset: 3px;
}

.job-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0.75rem 0;
}

.job-card-meta {
  color: var(--muted);
  font-size: var(--font-size-sm);
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.job-card-meta i {
  margin-right: 0.25rem;
}

.job-card .btn {
  pointer-events: none;
}

.application-error-summary {
  overflow-wrap: anywhere;
}

.application-form-shell {
  width: 100%;
}

.apply-form-actions {
  position: sticky;
  bottom: 0;
  background: #fff;
  z-index: 30;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
  padding: 0.875rem 0.75rem calc(0.875rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 20px rgba(15, 23, 42, 0.08);
}

.upload-zone {
  overflow: hidden;
}

.upload-zone .small {
  overflow-wrap: anywhere;
}

#cvUploadError {
  margin-bottom: 0.75rem;
}

/* ============================================
   PUBLIC HOME
   ============================================ */
.home-page {
  background: #fff;
}

.home-hero {
  min-height: 670px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #122b46;
}

.home-hero-image,
.home-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero-image {
  object-fit: cover;
  object-position: center 42%;
}

.home-hero-overlay {
  background: linear-gradient(90deg, rgba(9, 27, 46, 0.96) 0%, rgba(9, 27, 46, 0.86) 38%, rgba(9, 27, 46, 0.32) 70%, rgba(9, 27, 46, 0.12) 100%);
}

.home-hero-content {
  position: relative;
  z-index: 1;
  padding-top: 5rem;
  padding-bottom: 7.5rem;
}

.home-hero-copy {
  max-width: 690px;
}

.home-kicker,
.home-section-label {
  color: #2d72bd;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.home-kicker {
  color: #b9d8fb;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.home-hero h1 {
  max-width: 680px;
  margin: 0;
  color: #fff;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: 0;
}

.home-hero h1 span {
  color: #9dcbff;
}

.home-hero-copy p {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.125rem;
  line-height: 1.75;
  margin: 1.75rem 0 0;
}

.home-search {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: -3rem;
  display: grid;
  grid-template-columns: 1fr 0.8fr auto;
  align-items: stretch;
  max-width: 1060px;
  padding: 0.65rem;
  background: #fff;
  border: 1px solid #dfe7ef;
  box-shadow: 0 24px 60px rgba(8, 31, 55, 0.18);
}

.home-search-field {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 1.35rem;
  border-right: 1px solid #e4eaf0;
}

.home-search-field > i {
  color: #2d72bd;
  font-size: 1.2rem;
}

.home-search-field > div {
  min-width: 0;
  width: 100%;
}

.home-search-field label {
  display: block;
  color: #283b4e;
  font-size: 0.72rem;
  font-weight: 800;
  margin-bottom: 0.1rem;
}

.home-search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #0f172a;
  font-size: 0.875rem;
}

.home-search-field input::placeholder {
  color: #8795a3;
}

.home-search-button {
  border: 0;
  background: #1e3a5f;
  color: #fff;
  min-width: 190px;
  padding: 0.9rem 1.35rem;
  font-weight: 700;
  transition: background 0.2s ease;
}

.home-search-button:hover {
  background: #2d72bd;
}

.home-discovery {
  padding: 8.5rem 0 5.5rem;
  background: #fff;
}

.home-discovery-intro,
.home-jobs-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.home-discovery h2,
.home-jobs h2,
.home-trust h2 {
  color: #102a43;
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  letter-spacing: 0;
  margin: 0.55rem 0 0;
}

.home-discovery-intro > a,
.home-all-jobs {
  color: #1e3a5f;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.home-department-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #dfe6ed;
  border-left: 1px solid #dfe6ed;
}

.home-department-link {
  min-width: 0;
  min-height: 94px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border-right: 1px solid #dfe6ed;
  border-bottom: 1px solid #dfe6ed;
  color: #1b334b;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.home-department-link:hover {
  background: #f1f6fb;
  color: #2d72bd;
}

.home-department-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: #eaf3fc;
  color: #2d72bd;
  font-size: 1.05rem;
}

.home-department-arrow {
  color: #8a9aaa;
}

.home-jobs {
  padding: 5.5rem 0 6rem;
  background: #edf4fa;
}

.home-jobs-heading p {
  color: #63778b;
  margin: 0.75rem 0 0;
}

.home-job-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.home-job-card {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #dfe8f0;
  color: #102a43;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-job-card:hover {
  color: #102a43;
  transform: translateY(-4px);
  border-color: #b8cee1;
  box-shadow: 0 16px 36px rgba(30, 58, 95, 0.1);
}

.home-job-card:focus-visible,
.home-department-link:focus-visible,
.home-search-button:focus-visible {
  outline: 3px solid #76aee8;
  outline-offset: 3px;
}

.home-job-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.home-job-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: #1e3a5f;
  color: #fff;
}

.home-job-date {
  color: #7a8d9f;
  font-size: 0.75rem;
  font-weight: 600;
}

.home-job-department {
  color: #2d72bd;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.home-job-card h3 {
  color: #102a43;
  font-size: 1.1rem;
  line-height: 1.35;
  margin: 0.65rem 0 1rem;
}

.home-job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  color: #63778b;
  font-size: 0.76rem;
}

.home-job-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.home-job-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid #e5ebf0;
  color: #1e3a5f;
  font-size: 0.8rem;
  font-weight: 800;
}

.home-jobs-empty {
  padding: 4rem 2rem;
  text-align: center;
  background: #fff;
  border: 1px solid #dfe8f0;
}

.home-jobs-empty > i {
  color: #2d72bd;
  font-size: 2rem;
}

.home-trust {
  padding: 5.5rem 0;
  background: #fff;
}

.home-trust-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.home-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.home-trust-item > i {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  background: #eaf3fc;
  color: #2d72bd;
  font-size: 1.1rem;
}

.home-trust-item h3 {
  color: #102a43;
  font-size: 1rem;
  margin: 0 0 0.45rem;
}

.home-trust-item p {
  color: #63778b;
  font-size: 0.84rem;
  line-height: 1.65;
  margin: 0;
}

.home-page + .enterprise-footer {
  margin-top: 0;
}

@media (max-width: 991px) {
  .home-hero {
    min-height: 650px;
  }

  .home-hero-overlay {
    background: linear-gradient(90deg, rgba(9, 27, 46, 0.95) 0%, rgba(9, 27, 46, 0.76) 62%, rgba(9, 27, 46, 0.38) 100%);
  }

  .home-hero-copy {
    max-width: 620px;
  }

  .home-search {
    grid-template-columns: 1fr 1fr;
  }

  .home-search-field:nth-of-type(2) {
    border-right: 0;
  }

  .home-search-button {
    grid-column: 1 / -1;
    min-height: 52px;
  }

  .home-department-list,
  .home-job-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 2rem;
  }

  .home-trust-intro {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .home-hero {
    min-height: auto;
    align-items: flex-start;
  }

  .home-hero-image {
    object-position: 62% center;
  }

  .home-hero-overlay {
    background: linear-gradient(180deg, rgba(9, 27, 46, 0.84) 0%, rgba(9, 27, 46, 0.94) 66%, #091b2e 100%);
  }

  .home-hero-content {
    padding-top: 4.5rem;
    padding-bottom: 3rem;
  }

  .home-hero h1 {
    font-size: clamp(2.5rem, 10.8vw, 3.2rem);
  }

  .home-kicker {
    font-size: 0.6875rem;
    letter-spacing: 0.09em;
  }

  .home-hero-copy p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .home-search {
    position: relative;
    inset: auto;
    grid-template-columns: 1fr;
    margin-top: 2.5rem;
    padding: 0.55rem;
  }

  .home-search-field,
  .home-search-field:nth-of-type(2) {
    min-height: 68px;
    border-right: 0;
    border-bottom: 1px solid #e4eaf0;
  }

  .home-search-button {
    grid-column: auto;
  }

  .home-discovery {
    padding: 4.5rem 0;
  }

  .home-discovery-intro,
  .home-jobs-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .home-department-list,
  .home-job-grid,
  .home-trust-grid {
    grid-template-columns: 1fr;
  }

  .home-department-link {
    min-height: 78px;
  }

  .home-jobs,
  .home-trust {
    padding: 4.5rem 0;
  }

  .home-job-card {
    min-height: 270px;
  }

  .home-trust-intro {
    grid-column: auto;
  }

  .home-trust-grid {
    gap: 2rem;
  }
}

/* ============================================
   BADGES
   ============================================ */
.badge {
  font-weight: 600;
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  font-size: var(--font-size-xs);
  letter-spacing: 0.01em;
}

.badge-soft {
  background: var(--brand-light);
  color: var(--brand-navy);
}

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

.badge-warning {
  background: var(--warning-light);
  color: var(--warning);
}

.badge-danger {
  background: var(--danger-light);
  color: var(--danger);
}

.badge-info {
  background: var(--info-light);
  color: var(--info);
}

/* ============================================
   STAT CARDS
   ============================================ */
.stat-card {
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.stat-card:hover {
  box-shadow: var(--shadow-md);
}

.stat-card-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-card-label {
  color: var(--muted);
  font-size: var(--font-size-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-light);
  color: var(--brand-navy);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* ============================================
   SECTION TITLES
   ============================================ */
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--brand-navy);
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 1rem;
}

/* ============================================
   FORMS
   ============================================ */
.form-label {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
  font-size: var(--font-size-sm);
}

.form-control,
.form-select {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: var(--font-size-base);
  transition: all 0.2s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brand-navy);
  box-shadow: 0 0 0 3px var(--brand-light);
  outline: none;
}

.form-control::placeholder {
  color: #94a3b8;
}

.invalid-feedback {
  color: var(--danger);
  font-size: var(--font-size-sm);
  margin-top: 0.25rem;
}

/* ============================================
   ADMIN SIDEBAR - MODERN ENTERPRISE DESIGN
   ============================================ */
.admin-sidebar {
  width: 280px;
  min-height: 100vh;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
}

/* Sidebar Header - Professional Structure */
.admin-sidebar .sidebar-header {
  padding: 2rem 1.5rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-sidebar .sidebar-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: opacity 0.2s ease;
  gap: 0.25rem;
}

.admin-sidebar .sidebar-brand:hover {
  opacity: 0.9;
}

/* CSS Wordmark - Professional Typography */
.admin-sidebar .sidebar-brand-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1;
}

.admin-sidebar .sidebar-brand-primary {
  font-size: 1.625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 0.125rem;
}

.admin-sidebar .sidebar-brand-secondary {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}

/* Sidebar Navigation - Senior Engineer Structure */
.admin-sidebar .sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem 0;
}

.admin-sidebar .nav-section {
  display: flex;
  flex-direction: column;
}

.admin-sidebar .nav-section-secondary {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-sidebar .nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all 0.15s ease-in-out;
}

.admin-sidebar .nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-left-color: #60a5fa;
}

.admin-sidebar .nav-link.active {
  color: #fff;
  font-weight: 600;
  background: rgba(59, 130, 246, 0.15);
  border-left-color: #3b82f6;
}

.admin-sidebar .nav-link i {
  flex-shrink: 0;
  width: 20px;
  font-size: 1.125rem;
  text-align: center;
}

.admin-sidebar .nav-link span {
  flex: 1;
}

/* ============================================
   ADMIN CONTENT
   ============================================ */
.admin-content {
  margin-left: 280px;
  min-height: 100vh;
  background: #f8fafc;
}

.admin-topbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 2rem !important;
}

.admin-topbar h5 {
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.admin-sidebar .nav-link i {
  font-size: 1.125rem;
  width: 20px;
  text-align: center;
}

.admin-sidebar hr {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 1rem 1.5rem;
}

/* ============================================
   ADMIN CONTENT
   ============================================ */
.admin-content {
  margin-left: 280px;
  min-height: 100vh;
  background: var(--light-gray);
}

.admin-topbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 2rem !important;
}

/* ============================================
   TABLES - ENTERPRISE STYLE
   ============================================ */
.table-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.table {
  margin-bottom: 0;
  font-size: 0.9375rem;
}

.table thead th {
  background: #fafbfc;
  color: #475569;
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  border-top: none;
  white-space: nowrap;
}

.table tbody td {
  padding: 1.125rem 1.25rem;
  vertical-align: middle;
  border-top: 1px solid #f1f5f9;
  color: var(--ink);
}

.table tbody tr {
  transition: all 0.15s ease;
}

.table tbody tr:hover {
  background: #f8fafc;
}

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

/* Action buttons in tables */
.table .btn-icon {
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #fff;
  color: #64748b;
  transition: all 0.15s ease;
}

.table .btn-icon:hover {
  background: var(--light-gray);
  color: var(--ink);
  border-color: #cbd5e1;
}

.table .btn-icon.btn-danger {
  border-color: var(--danger-light);
  color: var(--danger);
}

.table .btn-icon.btn-danger:hover {
  background: var(--danger);
  color: #fff;
  border-color: var(--danger);
}

/* ============================================
   FOOTER - ENTERPRISE GRADE
   ============================================ */
.enterprise-footer {
  background: var(--brand-navy);
  color: #fff;
  padding: 0;
  margin-top: 6rem;
  position: relative;
  overflow: hidden;
}

.enterprise-footer::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 89, 152, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* Footer Brand Hero Section */
.footer-brand-section {
  padding: 5rem 0 4rem;
  position: relative;
  z-index: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-content {
  padding-right: 2rem;
}

.footer-brand-logo {
  height: 40px;
  width: auto;
  margin-bottom: 1.5rem;
  display: block;
  /* Logo displays normally - no filter needed */
}

.footer-brand-tagline {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
  font-weight: 400;
}

/* Footer Navigation Columns */
.footer-nav-col {
  margin-bottom: 2rem;
}

.footer-nav-title {
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
  opacity: 0.6;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.2s ease;
  display: inline-block;
  position: relative;
}

.footer-nav-link:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-nav-link::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  width: 6px;
  height: 1px;
  background: var(--brand-accent);
  transition: transform 0.2s ease;
}

.footer-nav-link:hover::before {
  transform: translateY(-50%) scaleX(1);
}

/* Footer Bottom Bar */
.footer-bottom-bar {
  padding: 2rem 0;
  position: relative;
  z-index: 1;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  margin: 0;
  font-weight: 400;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-legal-link {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  transition: color 0.2s ease;
}

.footer-legal-link:hover {
  color: #fff;
}

.footer-separator {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
}

/* Responsive Design */
@media (max-width: 991px) {
  .footer-brand-section {
    padding: 4rem 0 3rem;
  }
  
  .footer-brand-content {
    padding-right: 0;
    margin-bottom: 3rem;
  }
  
  .footer-nav-col {
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 767px) {
  .enterprise-footer {
    margin-top: 4rem;
  }
  
  .footer-brand-section {
    padding: 3rem 0 2rem;
  }
  
  .footer-brand-logo {
    height: 32px;
    margin-bottom: 1rem;
  }
  
  .footer-brand-tagline {
    font-size: 0.9375rem;
  }
  
  .footer-bottom-bar {
    padding: 1.5rem 0;
    text-align: center;
  }
  
  .footer-legal-links {
    justify-content: center;
    margin-top: 1rem;
  }
  
  .footer-copyright {
    text-align: center;
  }
}

/* Accessibility */
.footer-nav-link:focus,
.footer-legal-link:focus {
  outline: 2px solid var(--brand-accent);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Print Styles */
@media print {
  .enterprise-footer {
    background: #fff;
    color: #000;
    border-top: 2px solid #000;
  }
  
  .footer-brand-logo {
    filter: none;
  }
  
  .footer-nav-link,
  .footer-legal-link,
  .footer-copyright {
    color: #000;
  }
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.alert-success {
  background: var(--success-light);
  color: var(--success);
  border: 1px solid var(--success);
}

.alert-danger {
  background: var(--danger-light);
  color: var(--danger);
  border: 1px solid var(--danger);
}

.alert-warning {
  background: var(--warning-light);
  color: var(--warning);
  border: 1px solid var(--warning);
}

.alert-info {
  background: var(--info-light);
  color: var(--info);
  border: 1px solid var(--info);
}

/* ============================================
   VACANCY DETAILS
   ============================================ */
.vacancy-header {
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin: 0;
}

.newsletter-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}

.newsletter-form-main {
  max-width: 600px;
  margin: 0 auto;
}

.input-group-newsletter {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.newsletter-input-main {
  flex: 1;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  transition: all 0.3s ease;
}

.newsletter-input-main:focus {
  background: #fff;
  border-color: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
  outline: none;
}

.newsletter-input-main::placeholder {
  color: #999;
}

.btn-newsletter-submit {
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 700;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.btn-newsletter-submit:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.newsletter-note {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
}

.newsletter-note i {
  margin-right: 0.5rem;
}

/* ============================================
   MAIN FOOTER (Webflow Style)
   ============================================ */
.site-footer {
  background: #f5f5f7;
  color: #1d1d1f;
  padding: 0;
}

.footer-top {
  padding: 4rem 0 3rem;
}

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

.footer-logo {
  height: 38px;
  width: auto;
  display: block;
  opacity: 1;
}

.footer-tagline {
  color: #86868b;
  font-size: 0.9375rem;
  font-weight: 400;
  margin: 0;
  font-style: italic;
}

.footer-social-label {
  color: #86868b;
  font-size: 0.8125rem;
  font-weight: 500;
}

/* Footer Headings */
.footer-heading {
  color: #1d1d1f;
  font-weight: 700;
  font-size: 0.6875rem;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 175rem;
}

.footer-links a {
  color: #515154;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
  font-weight: 400;
}

.footer-links a:hover {
  color: #06c;
  text-decoration: underline;
}

/* Social Links */
.footer-social {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8e8ed;
  border: none;
  border-radius: 8px;
  color: #1d1d1f;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.social-link:hover {
  background: #d2d2d7;
  transform: scale(1.05);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid #d2d2d7;
  padding: 1.5rem 0;
  margin-top: 2rem;
}

.footer-bottom p {
  color: #86868b;
  font-size: 0.8125rem;
  font-weight: 400;
}

.footer-bottom i {
  color: #34c759;
}

/* ============================================
   QUICK APPLY CTA
   ============================================ */
.quick-apply-cta {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
}

.quick-apply-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

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

.quick-apply-title {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.quick-apply-title i {
  color: #fbbf24;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.quick-apply-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}

.btn-quick-apply {
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  background: #fff;
  color: #1e3a8a;
  border: none;
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  display: inline-block;
}

.btn-quick-apply:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  color: #1e3a8a;
}

/* Responsive */
@media (max-width: 991px) {
  .newsletter-title {
    font-size: 2rem;
  }
  
  .input-group-newsletter {
    flex-direction: column;
  }
  
  .btn-newsletter-submit {
    width: 100%;
  }
  
  .quick-apply-title {
    font-size: 1.25rem;
  }
  
  .btn-quick-apply {
    width: 100%;
    margin-top: 1rem;
  }
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid #e5e7eb;
  padding-top: 2rem;
  margin-top: 3rem;
}

.footer-bottom p {
  color: #999;
  font-size: 0.875rem;
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
  border-radius: var(--radius-md);
  border: none;
  padding: 1rem 1.25rem;
  font-weight: 500;
}

.alert-success {
  background: var(--success-light);
  color: var(--success);
}

.alert-danger {
  background: var(--danger-light);
  color: var(--danger);
}

.alert-warning {
  background: var(--warning-light);
  color: var(--warning);
}

.alert-info {
  background: var(--info-light);
  color: var(--info);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Large tablets and below (lg) */
@media (max-width: 991px) {
  .admin-sidebar {
    transform: translateX(-100%);
  }
  
  .admin-content {
    margin-left: 0;
  }
  
  .hero {
    padding: 3rem 0 2rem;
  }
  
  .hero h1 {
    font-size: 2.25rem;
  }
  
  .job-card {
    padding: 1.25rem;
  }
  
  .wizard-card {
    padding: 1.5rem;
  }
  
  /* Make sticky sidebar not sticky on tablets */
  .sticky-top {
    position: static !important;
  }
}

/* Tablets and below (md) */
@media (max-width: 767px) {
  .hero {
    padding: 2rem 0 1.5rem;
  }
  
  .hero h1 {
    font-size: 1.875rem;
    line-height: 1.3;
  }
  
  .hero .lead {
    font-size: 1rem;
  }
  
  .search-card {
    padding: 1rem;
  }

  .search-card .row > [class*='col-'] {
    width: 100%;
  }

  .search-card .btn {
    width: 100%;
  }
  
  .search-card .btn {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
  }
  
  .page-header h2 {
    font-size: 1.5rem;
  }
  
  .stat-card {
    padding: 1.25rem;
  }
  
  .stat-card-value {
    font-size: 2rem;
  }
  
  .job-card {
    padding: 1rem;
  }
  
  .job-card h5 {
    font-size: 1rem;
  }
  
  .job-hero h1 {
    font-size: 1.75rem;
  }
  
  .filter-row .form-control,
  .filter-row .form-select {
    font-size: 0.875rem;
  }
  
  .wizard-card {
    padding: 1.25rem;
  }

  .job-card-meta {
    gap: 0.5rem;
  }

  .job-hero .small {
    display: grid !important;
    gap: 0.375rem !important;
    grid-template-columns: 1fr;
  }

  .job-hero-meta span,
  .job-hero .small span {
    display: inline-flex !important;
    align-items: flex-start;
    gap: 0.375rem !important;
    line-height: 1.35;
  }

  .job-hero-meta i,
  .job-hero .small i {
    margin-top: 0.1rem;
  }

  .apply-form-actions {
    gap: 0.5rem;
  }

  .apply-form-actions .btn {
    flex: 1 1 0;
    min-width: 0;
  }
  
  .form-step h5 {
    font-size: 1.125rem;
  }
  
  .step-progress {
    gap: 0.375rem;
  }
  
  .step-progress .dot {
    height: 5px;
  }
  
  .upload-zone {
    padding: 1.5rem 1rem;
  }
  
  .upload-zone i {
    font-size: 2rem !important;
  }
  
  .exp-block {
    padding: 1rem;
  }
}

/* Large phones and below (sm) */
@media (max-width: 576px) {
  :root {
    --spacing: 0.875rem;
  }
  
  .hero {
    padding: 1.5rem 0 1rem;
  }
  
  .hero h1 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 0.75rem !important;
  }
  
  .hero .section-eyebrow {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
  }
  
  .hero .lead {
    font-size: 0.9375rem;
    margin-bottom: 1rem !important;
  }
  
  .search-card {
    padding: 0.875rem;
    margin-top: 1.5rem !important;
  }
  
  .search-card .form-control {
    font-size: 0.875rem;
    padding: 0.625rem 0.875rem;
  }
  
  .search-card .btn {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    white-space: nowrap;
  }
  
  .search-card .btn i {
    font-size: 0.875rem;
  }
  
  .section-eyebrow {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
  }
  
  h2 {
    font-size: 1.375rem;
  }
  
  .page-header {
    padding: 1.25rem 0;
  }
  
  .page-header h2 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem !important;
  }
  
  .page-header .badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.625rem;
  }
  
  .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
  }
  
  .btn-sm {
    padding: 0.375rem 0.875rem;
    font-size: 0.8125rem;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  
  .filter-row {
    gap: 0.625rem;
  }
  
  .filter-row .form-control,
  .filter-row .form-select {
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
  }
  
  .filter-row .form-label {
    font-size: 0.8125rem;
    margin-bottom: 0.375rem;
  }
  
  .job-card {
    padding: 1rem;
  }
  
  .job-card h5 {
    font-size: 0.9375rem;
    margin-top: 0.75rem !important;
  }
  
  .job-card .meta {
    font-size: 0.8125rem;
  }
  
  .job-card .badge-soft {
    font-size: 0.75rem;
    padding: 0.25rem 0.625rem;
  }
  
  .job-card .btn {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
  }
  
  .job-hero {
    padding: 1.5rem;
    margin-bottom: 1.5rem !important;
  }
  
  .job-hero h1 {
    font-size: 1.375rem;
    margin-bottom: 0.75rem !important;
  }
  
  .job-hero .badge-soft {
    font-size: 0.75rem;
    padding: 0.375rem 0.625rem;
    margin-bottom: 0.75rem !important;
  }
  
  .job-hero .small,
  .job-hero-meta {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 0.5rem !important;
    font-size: 0.8125rem;
  }

  .job-hero .small span,
  .job-hero-meta span {
    display: inline-flex !important;
    align-items: flex-start;
    gap: 0.375rem !important;
    line-height: 1.35;
  }

  .job-hero .small i,
  .job-hero-meta i {
    margin-top: 0.1rem;
  }
  
  .content-block h5 {
    font-size: 1rem;
    margin-top: 1.25rem;
  }
  
  .content-block p {
    font-size: 0.9375rem;
  }
  
  .wizard-card {
    padding: 1rem;
  }

  .job-hero {
    padding: 1.25rem;
  }

  .job-hero .small,
  .job-hero-meta {
    gap: 0.375rem !important;
  }

  .application-form-shell {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  .apply-form-actions {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  
  .wizard-card .btn-brand {
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
  }
  
  .form-step h5 {
    font-size: 1rem;
    margin-bottom: 1rem !important;
  }
  
  .form-label {
    font-size: 0.8125rem;
    margin-bottom: 0.375rem;
  }
  
  .form-control,
  .form-select {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }
  
  .form-check-label {
    font-size: 0.875rem;
  }
  
  .step-progress {
    gap: 0.25rem;
    margin-bottom: 1.25rem;
  }
  
  .step-progress .dot {
    height: 4px;
    min-width: 8px;
  }
  
  .upload-zone {
    padding: 1.25rem 0.75rem;
  }
  
  .upload-zone i {
    font-size: 1.75rem !important;
  }
  
  .upload-zone p {
    font-size: 0.8125rem;
  }
  
  .upload-zone .fw-semibold {
    font-size: 0.875rem;
  }
  
  .exp-block {
    padding: 0.875rem;
  }
  
  .stat-card {
    padding: 1rem;
  }
  
  .stat-icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }
  
  .stat-card h5 {
    font-size: 0.9375rem;
  }
  
  .stat-card .small {
    font-size: 0.8125rem;
  }
  
  .pagination .page-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }
  
  .auth-card {
    padding: 1.5rem 1.25rem;
  }
  
  .auth-logo img {
    height: 32px;
  }
  
  .auth-card h4 {
    font-size: 1.25rem;
  }
  
  .site-footer {
    padding: 2rem 0 1.5rem;
  }
  
  .site-footer h6 {
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
  }
  
  .site-footer .footer-link {
    font-size: 0.8125rem;
  }
  
  .navbar-brand img {
    height: 28px;
  }
  
  .empty-state {
    padding: 2rem 1rem;
  }
  
  .empty-state i {
    font-size: 2.5rem !important;
  }
  
  .empty-state h5 {
    font-size: 1rem;
  }
  
  .empty-state p {
    font-size: 0.875rem;
  }
}

/* Extra small phones (xs) */
@media (max-width: 375px) {
  .hero h1 {
    font-size: 1.375rem;
  }
  
  .search-card {
    padding: 0.75rem;
  }
  
  .search-card .btn {
    font-size: 0.8125rem;
    padding: 0.5rem 0.875rem;
  }
  
  .job-card {
    padding: 0.875rem;
  }
  
  .job-card h5 {
    font-size: 0.875rem;
  }
  
  .wizard-card {
    padding: 0.875rem;
  }
  
  .form-control,
  .form-select {
    padding: 0.5rem 0.625rem;
    font-size: 0.8125rem;
  }
  
  .auth-card {
    padding: 1.25rem 1rem;
  }
}

/* ============================================
   UTILITIES
   ============================================ */
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-sm { border-radius: var(--radius-sm); }
.rounded-pill { border-radius: 999px; }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

/* ============================================
   AUTHENTICATION PAGES
   ============================================ */
.auth-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8fafc 0%, #e8eef5 100%);
  padding: 2rem 1rem;
  position: relative;
  overflow: hidden;
}

.auth-shell::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(30, 58, 95, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.auth-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 440px;
  border: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.auth-logo {
  margin-bottom: 2rem;
}

.auth-logo img {
  height: 40px;
  width: auto;
}

.auth-card h4 {
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.auth-card .small {
  color: var(--muted);
}

@media (max-width: 576px) {
  .auth-card {
    padding: 2rem 1.5rem;
  }
}
.job-hero .badge-soft { background: rgba(255,255,255,.12); color: #fff; }

.content-block h5 { font-weight: 700; margin-top: 1.75rem; }
.content-block p, .content-block li { color: #334155; }

/* ---------- Multi-step form ---------- */
.step-progress { display:flex; gap: .5rem; margin-bottom: 2rem; }
.step-progress .dot {
  flex:1; height: 6px; border-radius: 999px; background: #e5e7eb;
}
.step-progress .dot.active { background: var(--brand); }
.form-step { display:none; }
.form-step.active { display:block; animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity:0; transform: translateY(6px);} to {opacity:1; transform:none;} }

.wizard-card {
  background:#fff; border:1px solid #eef0f6; border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: 0 20px 45px -30px rgba(15,23,42,.3);
}

.exp-block {
  border: 1px dashed #cbd5e1; border-radius: var(--radius-md); padding: 1.25rem; position: relative; margin-bottom: 1rem;
}

.upload-zone {
  border: 2px dashed #cbd5e1; border-radius: var(--radius-md);
  padding: 2rem; text-align:center; cursor:pointer; background:#f8fafc; transition: border-color .15s;
}
.upload-zone.dragover { border-color: var(--brand); background: var(--brand-light); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); }
.footer-link { color: rgba(255,255,255,.65); text-decoration:none; }
.footer-link:hover { color: #fff; }

/* ---------- Admin ---------- */
.admin-sidebar {
  background: #0f172a; min-height: 100vh; color: #fff; width: 260px;
}
.admin-sidebar .nav-link { color: rgba(255,255,255,.7); border-radius: var(--radius-md); padding: .65rem 1rem; font-weight: 500; }
.admin-sidebar .nav-link.active, .admin-sidebar .nav-link:hover { background: rgba(255,255,255,.08); color: #fff; }
.admin-topbar { border-bottom: 1px solid #eef0f6; background:#fff; }
.admin-content { background: #f8fafc; min-height:100vh; }
.table-card { background:#fff; border-radius: var(--radius-lg); border:1px solid #eef0f6; }

.status-pill { border-radius: 999px; padding: .3rem .7rem; font-size: .75rem; font-weight: 700; }
.status-received { background:#eef2ff; color:#2f5ff7; }
.status-under_review { background:#fef3c7; color:#b45309; }
.status-shortlisted { background:#dcfce7; color:#15803d; }
.status-interview { background:#e0e7ff; color:#4338ca; }
.status-offer { background:#fae8ff; color:#a21caf; }
.status-hired { background:#dcfce7; color:#166534; }
.status-rejected { background:#fee2e2; color:#b91c1c; }
.status-withdrawn { background:#f1f5f9; color:#64748b; }

.auth-shell {
  min-height: 100vh; display:flex; align-items:center; justify-content:center;
  background: radial-gradient(circle at 20% 20%, #1e293b 0%, #0f172a 70%);
}
.auth-card { background:#fff; border-radius: var(--radius-lg); padding: 2.5rem; width: 100%; max-width: 420px; }

/* ============================================
   MOBILE TOUCH ENHANCEMENTS
   ============================================ */

/* Ensure all buttons have proper touch targets (44x44px minimum) */
@media (max-width: 767px) {
  .btn,
  .page-link,
  .form-check-input,
  .nav-link {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  .btn-sm {
    min-height: 40px;
    min-width: 40px;
  }
  
  /* Improve tap targets for links */
  a {
    -webkit-tap-highlight-color: rgba(30, 58, 95, 0.1);
  }
  
  /* Prevent zoom on input focus for iOS */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="date"],
  input[type="password"],
  textarea,
  select {
    font-size: 16px !important;
  }
  
  /* Better spacing for mobile forms */
  .form-control:focus,
  .form-select:focus {
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.15);
  }
  
  /* Improve navbar mobile menu */
  .navbar-toggler {
    padding: 0.5rem 0.75rem;
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Better modal spacing on mobile */
  .modal-body {
    padding: 1.25rem;
  }
  
  /* Improve dropdown menu on mobile */
  .dropdown-menu {
    font-size: 0.9375rem;
  }
  
  .dropdown-item {
    padding: 0.75rem 1rem;
    min-height: 44px;
  }
}

/* ============================================
   ACCESSIBILITY IMPROVEMENTS
   ============================================ */

/* Focus visible for keyboard navigation */
*:focus-visible {
  outline: 3px solid var(--brand-accent);
  outline-offset: 2px;
}

/* Skip to content link for screen readers */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--brand-navy);
  color: white;
  padding: 0.5rem 1rem;
  text-decoration: none;
  z-index: 100;
}

.skip-to-content:focus {
  top: 0;
}

/* Better color contrast for badges */
.badge-soft {
  font-weight: 600;
}

/* Smooth scroll for anchor links */
html {
  scroll-behavior: smooth;
}

/* Loading state */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .no-print,
  .site-nav,
  .site-footer,
  .admin-sidebar,
  .admin-topbar,
  .btn,
  .pagination {
    display: none !important;
  }
  
  .admin-content {
    margin-left: 0;
  }
  
  body {
    background: white;
  }
  
  .job-card,
  .wizard-card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}
