/* =============================================================
   WCSF Career Module — career.css
   Extends ngo-theme.css. Does NOT override existing classes.
   ============================================================= */

/* ─────────────────────────────────────────────────────────────
   CSS CUSTOM PROPERTIES (career-scoped)
───────────────────────────────────────────────────────────── */
:root {
  --career-gold:       #DEA21F;
  --career-navy:       #0a3d4e;
  --career-red:        #FD1D1D;
  --career-green:      #11A803;
  --career-purple:     #D51DDB;
  --career-gold-light: rgba(222, 162, 31, 0.12);
  --career-gold-mid:   rgba(222, 162, 31, 0.30);
  --career-shadow-sm:  0 2px 20px rgba(0, 0, 0, 0.08);
  --career-shadow-md:  0 8px 32px rgba(0, 0, 0, 0.14);
  --career-shadow-lg:  0 16px 48px rgba(0, 0, 0, 0.18);
  --career-radius:     12px;
  --career-radius-sm:  8px;
  --career-transition: all 0.3s ease;
}

/* =============================================================
   1. CAREER HERO
   ============================================================= */
.career-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0c2d3b 0%, #1a5276 50%, #0e3545 100%);
  overflow: hidden;
  padding: 80px 0 60px;
}

.career-hero .hero-mesh {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(222, 162, 31, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(26, 82, 118, 0.35) 0%, transparent 45%),
    radial-gradient(circle at 60% 80%, rgba(222, 162, 31, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

.career-hero .geo-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.career-hero .geo-lines::before,
.career-hero .geo-lines::after {
  content: '';
  position: absolute;
  border: 1px solid rgba(222, 162, 31, 0.12);
  border-radius: 50%;
}
.career-hero .geo-lines::before {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -80px;
}
.career-hero .geo-lines::after {
  width: 260px;
  height: 260px;
  bottom: -80px;
  left: 5%;
}

.career-hero .career-particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.18;
  animation: careerFloat 6s ease-in-out infinite;
}
.career-hero .career-particle:nth-child(1) { width: 14px; height: 14px; background: #DEA21F; top: 15%; left: 8%;  animation-delay: 0s; }
.career-hero .career-particle:nth-child(2) { width: 8px;  height: 8px;  background: #fff;    top: 70%; left: 15%; animation-delay: 1.2s; }
.career-hero .career-particle:nth-child(3) { width: 18px; height: 18px; background: #DEA21F; top: 40%; right: 10%;animation-delay: 2.4s; }
.career-hero .career-particle:nth-child(4) { width: 10px; height: 10px; background: #fff;    top: 80%; right: 20%;animation-delay: 0.8s; }
.career-hero .career-particle:nth-child(5) { width: 12px; height: 12px; background: #DEA21F; top: 25%; left: 55%; animation-delay: 3.6s; }

.career-hero .career-hero-content {
  position: relative;
  z-index: 2;
}

.career-hero .career-hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.career-hero .career-hero-title span { color: #DEA21F; }

.career-hero .career-hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.80);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 1.8rem;
}

.career-hero .career-hero-stats { display: flex; gap: 2rem; flex-wrap: wrap; }

.career-hero .career-hero-stat .stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #DEA21F;
  display: block;
}

.career-hero .career-hero-stat .stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* =============================================================
   2. CAREER BREADCRUMB
   ============================================================= */
.career-breadcrumb {
  background-color: #0a3d4e;
  padding: 10px 0;
}

.career-breadcrumb .breadcrumb { margin-bottom: 0; background: transparent; padding: 0; }

.career-breadcrumb .breadcrumb-item a {
  color: rgba(255,255,255,0.70);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.career-breadcrumb .breadcrumb-item a:hover { color: #DEA21F; }

.career-breadcrumb .breadcrumb-item.active {
  color: #DEA21F;
  font-size: 0.85rem;
  font-weight: 600;
}

.career-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: #DEA21F;
  content: "›";
  font-size: 1rem;
  line-height: 1;
}

/* =============================================================
   3. JOB CARD
   ============================================================= */
.career-job-card {
  background: #ffffff;
  border: 0;
  border-left: 4px solid #DEA21F;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.career-job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
  border-left-color: #FD1D1D;
}

.career-job-card .job-card-header {
  padding: 1rem 1.25rem 0.6rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.career-job-card .job-dept-badge {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(222,162,31,0.12);
  color: #DEA21F;
  border: 1px solid rgba(222,162,31,0.30);
  white-space: nowrap;
}

.career-job-card .job-card-body {
  padding: 0 1.25rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.career-job-card .job-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  color: #0a3d4e;
  margin-bottom: 0.55rem;
  line-height: 1.35;
}

.career-job-card .job-title a { color: inherit; text-decoration: none; transition: color 0.2s; }
.career-job-card .job-title a:hover { color: #DEA21F; }

.career-job-card .job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  margin-bottom: 0.75rem;
}

.career-job-card .job-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.80rem;
  color: #6c757d;
}

.career-job-card .job-meta-item i { color: #DEA21F; font-size: 0.78rem; flex-shrink: 0; }

.career-job-card .job-badge-urgent {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #FD1D1D;
  color: #ffffff;
  padding: 3px 9px;
  border-radius: 20px;
  animation: careerPulse 1.5s ease-in-out infinite;
}

.career-job-card .job-badge-featured {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #DEA21F;
  color: #ffffff;
  padding: 3px 9px;
  border-radius: 20px;
}

.career-job-card .job-salary {
  font-size: 0.90rem;
  font-weight: 600;
  color: #11A803;
  margin-bottom: 0.35rem;
}
.career-job-card .job-salary i { margin-right: 4px; }

.career-job-card .job-deadline {
  font-size: 0.76rem;
  color: #868e96;
  margin-top: auto;
  padding-top: 0.5rem;
}
.career-job-card .job-deadline i { color: #FD1D1D; margin-right: 4px; }

.career-job-card .job-card-footer {
  padding: 0.85rem 1.25rem;
  border-top: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: #fafafa;
}

.career-job-card .job-apply-btn,
.job-apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  color: #ffffff !important;
  background: linear-gradient(135deg, #DEA21F 0%, #f4b942 100%);
  border: none;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 3px 12px rgba(222,162,31,0.35);
  cursor: pointer;
}

.career-job-card .job-apply-btn:hover,
.job-apply-btn:hover {
  background: linear-gradient(135deg, #c48e15 0%, #DEA21F 100%);
  box-shadow: 0 5px 18px rgba(222,162,31,0.50);
  transform: translateY(-1px);
  color: #ffffff !important;
}

/* =============================================================
   4. INTERNSHIP CARD
   ============================================================= */
.career-intern-card {
  background: #ffffff;
  border: 0;
  border-left: 4px solid #11A803;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.career-intern-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
  border-left-color: #0a3d4e;
}

.career-intern-card .job-card-header {
  padding: 1rem 1.25rem 0.6rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.career-intern-card .job-card-body {
  padding: 0 1.25rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.career-intern-card .job-card-footer {
  padding: 0.85rem 1.25rem;
  border-top: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: #fafafa;
}

.intern-duration-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(17,168,3,0.12);
  color: #11A803;
  border: 1px solid rgba(17,168,3,0.28);
  padding: 3px 10px;
  border-radius: 20px;
}

.intern-certificate-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 600;
  background: rgba(222,162,31,0.12);
  color: #DEA21F;
  border: 1px solid rgba(222,162,31,0.30);
  padding: 2px 8px;
  border-radius: 4px;
}

.intern-mode-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.70rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}
.intern-mode-badge.mode-online  { background: rgba(13,110,253,0.10); color: #0d6efd; border: 1px solid rgba(13,110,253,0.25); }
.intern-mode-badge.mode-offline { background: rgba(253,126,20,0.12);  color: #fd7e14; border: 1px solid rgba(253,126,20,0.28); }
.intern-mode-badge.mode-hybrid  { background: rgba(213,29,219,0.10); color: #D51DDB; border: 1px solid rgba(213,29,219,0.25); }

/* =============================================================
   5. FILTER SIDEBAR
   ============================================================= */
.career-filter-sidebar {
  position: sticky;
  top: 80px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 1.4rem 1.25rem;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}

.career-filter-sidebar::-webkit-scrollbar { width: 4px; }
.career-filter-sidebar::-webkit-scrollbar-track { background: transparent; }
.career-filter-sidebar::-webkit-scrollbar-thumb { background: rgba(222,162,31,0.30); border-radius: 4px; }

.career-filter-sidebar .filter-section { margin-bottom: 1.4rem; }
.career-filter-sidebar .filter-section:last-child { margin-bottom: 0; }

.career-filter-sidebar .filter-section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #DEA21F;
  margin-bottom: 0.75rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid rgba(222,162,31,0.12);
}

.career-filter-sidebar .filter-search { position: relative; }

.career-filter-sidebar .filter-search input {
  width: 100%;
  padding: 8px 12px 8px 36px;
  font-size: 0.85rem;
  border: 1.5px solid #dee2e6;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: 'Inter', sans-serif;
}

.career-filter-sidebar .filter-search input:focus {
  border-color: #DEA21F;
  box-shadow: 0 0 0 3px rgba(222,162,31,0.12);
}

.career-filter-sidebar .filter-search .search-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: #adb5bd;
  font-size: 0.80rem;
  pointer-events: none;
}

.career-filter-sidebar .filter-check .form-check-input {
  width: 16px;
  height: 16px;
  cursor: pointer;
  border: 1.5px solid #ced4da;
  transition: border-color 0.2s, background-color 0.2s;
  margin-top: 2px;
}
.career-filter-sidebar .filter-check .form-check-input:checked {
  background-color: #DEA21F;
  border-color: #DEA21F;
}
.career-filter-sidebar .filter-check .form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(222,162,31,0.12);
}
.career-filter-sidebar .filter-check .form-check-label {
  font-size: 0.85rem;
  color: #495057;
  cursor: pointer;
  user-select: none;
  padding-left: 4px;
}
.career-filter-sidebar .filter-check .filter-count {
  font-size: 0.70rem;
  color: #adb5bd;
  margin-left: 4px;
}

.career-filter-sidebar .filter-clear-btn {
  font-size: 0.78rem;
  color: #FD1D1D;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}
.career-filter-sidebar .filter-clear-btn:hover { opacity: 0.75; }

/* =============================================================
   6. APPLICATION FORM
   ============================================================= */
.career-apply-form {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 2rem;
}

.apply-form-progress {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-bottom: 2.5rem;
  position: relative;
}

.apply-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}

.apply-progress-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: #dee2e6;
  z-index: 0;
  transition: background 0.4s;
}

.apply-progress-step.completed:not(:last-child)::after,
.apply-progress-step.active:not(:last-child)::after {
  background: #DEA21F;
}

.apply-step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #dee2e6;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: #adb5bd;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.apply-progress-step.completed .apply-step-circle {
  background: #DEA21F;
  border-color: #DEA21F;
  color: #ffffff;
}
.apply-progress-step.active .apply-step-circle {
  background: #ffffff;
  border-color: #DEA21F;
  color: #DEA21F;
  box-shadow: 0 0 0 4px rgba(222,162,31,0.12);
}

.apply-step-label {
  font-size: 0.70rem;
  font-weight: 600;
  color: #adb5bd;
  margin-top: 6px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}
.apply-progress-step.completed .apply-step-label,
.apply-progress-step.active .apply-step-label { color: #DEA21F; }

.apply-step { display: none; }
.apply-step.active { display: block; animation: fadeInStep 0.35s ease; }

@keyframes fadeInStep {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: translateX(0); }
}

.apply-step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 2px solid rgba(222,162,31,0.12);
}

.apply-step-header .step-icon {
  width: 42px;
  height: 42px;
  background: rgba(222,162,31,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #DEA21F;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.apply-step-header .step-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #0a3d4e;
  margin-bottom: 0;
}

.apply-step-header .step-subtitle {
  font-size: 0.80rem;
  color: #6c757d;
  margin-bottom: 0;
}

.file-drop-zone {
  border: 2px dashed rgba(222,162,31,0.30);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  background: rgba(222,162,31,0.12);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.file-drop-zone:hover,
.file-drop-zone.drag-over {
  border-color: #DEA21F;
  background: rgba(222,162,31,0.18);
}

.file-drop-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.file-drop-zone .drop-icon { font-size: 2.2rem; color: #DEA21F; margin-bottom: 0.6rem; display: block; }
.file-drop-zone .drop-text { font-size: 0.88rem; color: #495057; margin-bottom: 0.3rem; }
.file-drop-zone .drop-hint { font-size: 0.75rem; color: #adb5bd; }
.file-drop-zone .file-preview-name { margin-top: 0.8rem; font-size: 0.82rem; color: #11A803; font-weight: 500; }

.apply-declaration .form-check-input:checked { background-color: #0a3d4e; border-color: #0a3d4e; }
.apply-declaration .form-check-label { font-size: 0.83rem; color: #495057; }

/* =============================================================
   7. CAREER USER DASHBOARD
   ============================================================= */
.career-dashboard {
  display: flex;
  min-height: calc(100vh - 160px);
  background: #f4f6f9;
}

.career-dash-sidebar {
  width: 260px;
  min-width: 260px;
  background: #0a3d4e;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 0;
  box-shadow: 4px 0 20px rgba(0,0,0,0.12);
  transition: all 0.3s ease;
}

.career-dash-sidebar .dash-sidebar-brand {
  padding: 0 1.5rem 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  margin-bottom: 1rem;
}

.career-dash-sidebar .dash-sidebar-brand .brand-name {
  font-family: 'Poppins', sans-serif;
  font-size: 0.90rem;
  font-weight: 700;
  color: #DEA21F;
  margin-bottom: 2px;
}

.career-dash-sidebar .dash-sidebar-brand .brand-sub {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.55);
}

.career-dash-sidebar .dash-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 1.5rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  font-family: 'Inter', sans-serif;
  animation: dashNavSlide 0.25s ease both;
}

.career-dash-sidebar .dash-nav-item i { width: 18px; text-align: center; font-size: 0.90rem; flex-shrink: 0; }

.career-dash-sidebar .dash-nav-item:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.08);
  border-left-color: #DEA21F;
}

.career-dash-sidebar .dash-nav-item.active {
  color: #ffffff;
  background: rgba(222,162,31,0.15);
  border-left-color: #DEA21F;
  font-weight: 600;
}

.career-dash-sidebar .dash-nav-item.active i { color: #DEA21F; }

.career-dash-sidebar .dash-nav-section {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: rgba(255,255,255,0.35);
  padding: 1rem 1.5rem 0.3rem;
}

.career-dash-content {
  flex: 1;
  padding: 1.8rem;
  overflow-x: hidden;
}

.career-dash-content .dash-page-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #0a3d4e;
  margin-bottom: 0.2rem;
}

.career-dash-content .dash-page-sub {
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 1.5rem;
}

.career-stat-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  border-left: 4px solid #11A803;
  padding: 1.25rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.career-stat-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
  transform: translateY(-2px);
}

.career-stat-card .stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.career-stat-card .stat-icon.icon-gold   { background: rgba(222,162,31,0.12); color: #DEA21F; }
.career-stat-card .stat-icon.icon-green  { background: rgba(17,168,3,0.10);   color: #11A803; }
.career-stat-card .stat-icon.icon-red    { background: rgba(253,29,29,0.10);  color: #FD1D1D; }
.career-stat-card .stat-icon.icon-blue   { background: rgba(13,110,253,0.10); color: #0d6efd; }
.career-stat-card .stat-icon.icon-purple { background: rgba(213,29,219,0.10); color: #D51DDB; }

.career-stat-card .stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #0a3d4e;
  line-height: 1;
  margin-bottom: 3px;
}

.career-stat-card .stat-label { font-size: 0.78rem; color: #6c757d; font-weight: 500; }

.application-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

.application-status-badge.status-pending             { background: #e9ecef; color: #6c757d; }
.application-status-badge.status-reviewing           { background: rgba(13,110,253,0.12); color: #0d6efd; }
.application-status-badge.status-shortlisted         { background: rgba(222,162,31,0.12); color: #DEA21F; }
.application-status-badge.status-interview_scheduled { background: rgba(213,29,219,0.12); color: #D51DDB; }
.application-status-badge.status-selected            { background: rgba(17,168,3,0.12); color: #11A803; }
.application-status-badge.status-rejected            { background: rgba(253,29,29,0.12); color: #FD1D1D; }
.application-status-badge.status-on_hold             { background: rgba(253,126,20,0.12); color: #fd7e14; }

.application-timeline { position: relative; padding-left: 30px; }

.application-timeline::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #DEA21F, #dee2e6);
}

.timeline-item { position: relative; margin-bottom: 1.2rem; }
.timeline-item:last-child { margin-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -26px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #DEA21F;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-dot i { font-size: 0.55rem; color: #DEA21F; }

.timeline-item.timeline-current .timeline-dot { background: #DEA21F; }
.timeline-item.timeline-current .timeline-dot i { color: #ffffff; }

.timeline-content {
  background: #ffffff;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.timeline-content .timeline-title { font-size: 0.85rem; font-weight: 600; color: #0a3d4e; margin-bottom: 2px; }
.timeline-content .timeline-date  { font-size: 0.74rem; color: #adb5bd; }
.timeline-content .timeline-note  { font-size: 0.80rem; color: #6c757d; margin-top: 4px; margin-bottom: 0; }

/* =============================================================
   8. CAREERS HOMEPAGE SECTION
   ============================================================= */
.careers-home-section { background: #f8f9fa; padding: 80px 0; }

.careers-home-section .careers-section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #0a3d4e;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.careers-home-section .careers-section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #DEA21F, transparent);
  border-radius: 2px;
}

.careers-home-section .careers-section-title.text-center::after {
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
}

.careers-home-section .careers-section-sub {
  font-size: 0.95rem;
  color: #6c757d;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.careers-stats-bar {
  background: #0a3d4e;
  border-radius: 12px;
  padding: 1.5rem 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 2.5rem;
}

.careers-stats-bar .cstat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #DEA21F;
  line-height: 1;
  display: block;
}

.careers-stats-bar .cstat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.careers-stats-bar .cstat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.12);
}

/* =============================================================
   9. ADMIN CAREER SPECIFIC
   ============================================================= */
.career-admin-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.70rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.career-admin-badge.badge-job      { background: rgba(222,162,31,0.12); color: #DEA21F; }
.career-admin-badge.badge-intern   { background: rgba(17,168,3,0.12);   color: #11A803; }
.career-admin-badge.badge-active   { background: rgba(17,168,3,0.12);   color: #11A803; }
.career-admin-badge.badge-inactive { background: #e9ecef;               color: #6c757d; }
.career-admin-badge.badge-urgent   { background: rgba(253,29,29,0.12);  color: #FD1D1D; }
.career-admin-badge.badge-featured { background: rgba(222,162,31,0.12); color: #DEA21F; }
.career-admin-badge.badge-expired  { background: rgba(253,126,20,0.12); color: #fd7e14; }

.career-toggle-switch { position: relative; display: inline-block; width: 42px; height: 22px; }
.career-toggle-switch input { opacity: 0; width: 0; height: 0; }

.career-toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #ced4da;
  border-radius: 22px;
  transition: 0.3s;
}

.career-toggle-slider::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  left: 3px;
  bottom: 3px;
  background: #ffffff;
  border-radius: 50%;
  transition: 0.3s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.20);
}

.career-toggle-switch input:checked + .career-toggle-slider { background: #DEA21F; }
.career-toggle-switch input:checked + .career-toggle-slider::before { transform: translateX(20px); }
.career-toggle-switch input:focus  + .career-toggle-slider { box-shadow: 0 0 0 3px rgba(222,162,31,0.12); }

.interview-schedule-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  border-top: 3px solid #D51DDB;
  padding: 1rem 1.25rem;
  transition: all 0.3s ease;
}
.interview-schedule-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.14); }

.interview-schedule-card .interview-time { font-family: 'Poppins', sans-serif; font-size: 1.1rem; font-weight: 700; color: #0a3d4e; }
.interview-schedule-card .interview-candidate { font-size: 0.88rem; font-weight: 600; color: #343a40; margin-bottom: 2px; }
.interview-schedule-card .interview-position  { font-size: 0.78rem; color: #6c757d; }

.interview-schedule-card .interview-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.70rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
}
.interview-schedule-card .interview-type-badge.type-online  { background: rgba(13,110,253,0.10); color: #0d6efd; }
.interview-schedule-card .interview-type-badge.type-offline { background: rgba(253,126,20,0.10); color: #fd7e14; }

/* =============================================================
   10. RESPONSIVE
   ============================================================= */
@media (max-width: 991.98px) {
  .career-filter-sidebar {
    position: static;
    max-height: none;
    border-radius: 12px;
    margin-bottom: 1.5rem;
  }

  .career-filter-sidebar .filter-collapse-btn {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 0.90rem;
    font-weight: 600;
    color: #0a3d4e;
  }

  .career-filter-sidebar .filter-collapsible { margin-top: 0.75rem; }
}

@media (max-width: 767.98px) {
  .career-hero { min-height: 360px; padding: 60px 0 40px; }
  .career-hero .career-hero-stats { gap: 1.2rem; }

  .career-job-card,
  .career-intern-card { border-radius: 8px; }

  .career-apply-form { padding: 1.25rem; }

  .apply-form-progress {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 0.5rem;
  }

  .apply-progress-step { min-width: 70px; }
  .apply-step-label { font-size: 0.60rem; }

  .careers-stats-bar { padding: 1rem; gap: 0.75rem; }
  .careers-stats-bar .cstat-divider { display: none; }
  .careers-stats-bar .cstat-number { font-size: 1.5rem; }
  .careers-home-section { padding: 50px 0; }

  /* Dashboard → top bar */
  .career-dashboard { flex-direction: column; min-height: auto; }

  .career-dash-sidebar {
    width: 100%;
    min-width: 0;
    padding: 0.75rem 0;
    flex-direction: row;
    flex-wrap: wrap;
    box-shadow: 0 4px 12px rgba(0,0,0,0.10);
    overflow-x: auto;
  }

  .career-dash-sidebar .dash-sidebar-brand {
    width: 100%;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.10);
    margin-bottom: 0;
  }

  .career-dash-sidebar .dash-nav-section { display: none; }

  .career-dash-sidebar .dash-nav-item {
    padding: 8px 14px;
    border-left: none;
    border-bottom: 3px solid transparent;
    font-size: 0.80rem;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
  }

  .career-dash-sidebar .dash-nav-item:hover,
  .career-dash-sidebar .dash-nav-item.active {
    border-left-color: transparent;
    border-bottom-color: #DEA21F;
  }

  .career-dash-sidebar .dash-nav-item i { font-size: 1rem; width: auto; }

  .career-dash-content { padding: 1rem; }
}

@media (max-width: 575.98px) {
  .apply-step-circle { width: 30px; height: 30px; font-size: 0.72rem; }
  .apply-progress-step:not(:last-child)::after { top: 14px; }
}

/* =============================================================
   11. ANIMATIONS & KEYFRAMES
   ============================================================= */
@keyframes careerPulse {
  0%   { box-shadow: 0 0 0 0 rgba(253,29,29,0.55); }
  50%  { box-shadow: 0 0 0 7px rgba(253,29,29,0); }
  100% { box-shadow: 0 0 0 0 rgba(253,29,29,0); }
}

.career-pulse { animation: careerPulse 1.5s ease-in-out infinite; }

@keyframes careerFloat {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

.career-float { animation: careerFloat 4s ease-in-out infinite; }

@keyframes careerCountUp {
  from { opacity: 0; transform: scale(0.75); }
  to   { opacity: 1; transform: scale(1); }
}

.career-count-anim {
  animation: careerCountUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes dashNavSlide {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Card hover title color */
.career-job-card:hover .job-title,
.career-intern-card:hover .job-title { color: #DEA21F; }

/* Step progress fill transition */
.apply-progress-step::after { transition: background 0.5s ease; }

/* ─── Utility classes ─── */
.text-career-gold  { color: #DEA21F !important; }
.text-career-navy  { color: #0a3d4e !important; }
.text-career-green { color: #11A803 !important; }
.text-career-red   { color: #FD1D1D !important; }

.bg-career-gold-gradient { background: linear-gradient(135deg, #DEA21F 0%, #f4b942 100%); }
.bg-career-navy          { background-color: #0a3d4e !important; }

/* =============================================================
   15. CAREER DASHBOARD SIDEBAR (Admin Match)
   ============================================================= */
.career-dash-sidebar {
    background: linear-gradient(180deg, #0a3d4e 0%, #1a1a2e 100%) !important;
    padding: 0 !important;
    overflow-y: auto;
}

.career-dash-sidebar::-webkit-scrollbar { width: 5px; }
.career-dash-sidebar::-webkit-scrollbar-track { background: rgba(255,255,255,0.1); }
.career-dash-sidebar::-webkit-scrollbar-thumb { background: #7CFC00; border-radius: 5px; }

.career-dash-sidebar .sidebar-header {
    background: linear-gradient(135deg, #0a3d4e 0%, #1a5f7a 100%) !important;
    border-bottom: 2px solid #7CFC00 !important;
    padding: 25px 15px !important;
    margin-bottom: 0 !important;
}

.career-dash-sidebar .nav-menu {
    padding: 15px 0 !important;
    gap: 0 !important;
    list-style: none;
    margin: 0;
}

.career-dash-sidebar .nav-item {
    margin-bottom: 2px;
}

.career-dash-sidebar .nav-item a {
    color: rgba(255,255,255,0.8) !important;
    border-left: 3px solid transparent !important;
    border-radius: 0 !important;
    padding: 12px 25px !important;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.career-dash-sidebar .nav-item a.text-danger {
    color: #FF6B6B !important;
}

.career-dash-sidebar .nav-item a:hover,
.career-dash-sidebar .nav-item a.active {
    background: rgba(124, 252, 0, 0.15) !important;
    color: #7CFC00 !important;
    border-left: 3px solid #7CFC00 !important;
}

.career-dash-sidebar .nav-item a.text-danger:hover {
    background: rgba(255, 107, 107, 0.15) !important;
    color: #FF6B6B !important;
    border-left: 3px solid #FF6B6B !important;
}

.career-dash-sidebar .nav-item a i {
    color: #7CFC00 !important;
    margin-right: 12px !important;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.career-dash-sidebar .nav-item a.text-danger i {
    color: #FF6B6B !important;
}

.career-dash-sidebar .border-top {
    border-top: 1px solid rgba(255,255,255,0.1) !important;
    margin-top: 10px !important;
    padding-top: 10px !important;
}

/* =============================================================
   16. MOBILE SIDEBAR RESPONSIVENESS
   ============================================================= */
@media (max-width: 991px) {
    .career-dash-sidebar {
        position: fixed;
        left: -280px;
        top: 0;
        bottom: 0;
        z-index: 1040;
        transition: left 0.3s ease;
    }
    
    .career-dash-sidebar.active {
        left: 0;
    }
    
    #wrapper {
        position: relative;
        overflow-x: hidden;
    }
}
