/* ============================================================
   SOMO AFRICA - CAREERS DESIGN SYSTEM
   Modern, dynamic aesthetics matching Somo's brand identity
   ============================================================ */

:root {
  --somo-navy: #1e2144;
  --somo-navy-dark: #14162e;
  --somo-navy-light: #2c3061;
  --somo-gold: #fec848;
  --somo-gold-hover: #f5b927;
  --somo-gold-soft: rgba(254, 200, 72, 0.15);
  --somo-orange: #c8510e;
  --somo-orange-soft: rgba(200, 81, 14, 0.12);
  --somo-teal: #00A5A2;
  --somo-teal-soft: rgba(0, 165, 162, 0.12);
  --somo-red: #C4233C;
  --somo-red-soft: rgba(196, 35, 60, 0.12);
  
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #1e2144;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;
  --border-color: rgba(30, 33, 68, 0.1);
  --border-focus: rgba(254, 200, 72, 0.8);
  
  --shadow-sm: 0 2px 8px rgba(30, 33, 68, 0.04);
  --shadow-md: 0 8px 24px rgba(30, 33, 68, 0.08);
  --shadow-lg: 0 16px 40px rgba(30, 33, 68, 0.12);
  --shadow-hover: 0 20px 48px rgba(30, 33, 68, 0.16);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Page wrapper & Global body styling for careers */
body.careers-page {
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

.careers-main {
  padding-top: 57px; /* Nav height offset */
  min-height: calc(100vh - 200px);
}

/* Reusable Container */
.careers-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.careers-hero {
  position: relative;
  background: radial-gradient(circle at 85% 15%, rgba(254, 200, 72, 0.12) 0%, transparent 45%),
              radial-gradient(circle at 10% 80%, rgba(0, 165, 162, 0.08) 0%, transparent 40%),
              #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 80px 0 70px;
  overflow: hidden;
}

.careers-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%231e2144' fill-opacity='0.025' fill-rule='evenodd'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
  pointer-events: none;
}

.careers-hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

/* Glowing Tag Badge */
.careers-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  background: var(--somo-gold-soft);
  color: var(--somo-navy);
  border: 1px solid rgba(254, 200, 72, 0.5);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.careers-badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--somo-orange);
  box-shadow: 0 0 0 rgba(200, 81, 14, 0.4);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(200, 81, 14, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(200, 81, 14, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 81, 14, 0); }
}

.careers-hero-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--somo-navy);
  margin: 0 0 20px 0;
  letter-spacing: -0.02em;
}

.careers-hero-title .highlight-text {
  color: var(--somo-orange);
  font-style: italic;
  position: relative;
}

.careers-hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 36px 0;
  max-width: 760px;
}

/* Hero Stats Bar */
.careers-hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(30, 33, 68, 0.08);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--somo-navy);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
}

/* ============================================================
   ABOUT / BRAND SECTION
   ============================================================ */
.careers-about-section {
  padding: 80px 0;
  background: #ffffff;
}

.careers-about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

@media (min-width: 992px) {
  .careers-about-grid {
    grid-template-columns: 5fr 7fr;
    gap: 64px;
  }
}

.section-tag {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--somo-orange);
  margin-bottom: 12px;
  display: block;
}

.section-heading {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--somo-navy);
  line-height: 1.25;
  margin: 0 0 20px 0;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

/* Footprint Card */
.footprint-card {
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.footprint-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--somo-gold-soft);
  color: var(--somo-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.footprint-content h4 {
  margin: 0 0 6px 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--somo-navy);
}

.footprint-content p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Program / Platform Showcase Cards */
.platforms-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .platforms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.platform-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.platform-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--somo-gold);
  opacity: 0;
  transition: var(--transition-fast);
}

.platform-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(254, 200, 72, 0.4);
}

.platform-card:hover::after {
  opacity: 1;
}

.platform-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}

.platform-icon.gold {
  background: var(--somo-gold-soft);
  color: var(--somo-navy);
}

.platform-icon.teal {
  background: var(--somo-teal-soft);
  color: var(--somo-teal);
}

.platform-icon.orange {
  background: var(--somo-orange-soft);
  color: var(--somo-orange);
}

.platform-card:hover .platform-icon.gold {
  background: var(--somo-gold);
  color: var(--somo-navy);
}

.platform-card:hover .platform-icon.teal {
  background: var(--somo-teal);
  color: #ffffff;
}

.platform-card:hover .platform-icon.orange {
  background: var(--somo-orange);
  color: #ffffff;
}

.platform-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--somo-navy);
  margin: 0 0 10px 0;
}

.platform-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.platform-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--somo-orange);
}

/* Callout Banner */
.changemaker-callout {
  background: linear-gradient(135deg, var(--somo-navy) 0%, var(--somo-navy-light) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-top: 28px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.changemaker-callout::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 200, 72, 0.25) 0%, transparent 70%);
}

.changemaker-callout h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--somo-gold);
  margin: 0 0 10px 0;
}

.changemaker-callout p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   EXPLORE JOBS SECTION
   ============================================================ */
.careers-listings-section {
  padding: 80px 0 100px;
  background: var(--bg-page);
  border-top: 1px solid var(--border-color);
}

.listings-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.listings-header .section-heading {
  margin-bottom: 12px;
}

.listings-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Filter Controls Bar */
.jobs-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 880px;
  margin: 0 auto 36px;
  background: #ffffff;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.dept-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dept-pill {
  border: 1px solid transparent;
  background: var(--bg-page);
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: inherit;
}

.dept-pill:hover {
  background: rgba(254, 200, 72, 0.2);
  color: var(--somo-navy);
}

.dept-pill.active {
  background: var(--somo-navy);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(30, 33, 68, 0.2);
}

.jobs-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  width: 100%;
  max-width: 260px;
}

.jobs-search-box i {
  color: var(--text-subtle);
  font-size: 0.85rem;
}

.jobs-search-box input {
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--text-main);
  outline: none;
  width: 100%;
}

/* Job Cards Container */
.jobs-list-wrapper {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Individual Job Card */
.job-item-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 768px) {
  .job-item-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.job-item-card:hover {
  border-color: rgba(254, 200, 72, 0.6);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.job-meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.job-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
}

.job-meta-badge.dept {
  background: var(--somo-gold-soft);
  color: var(--somo-navy);
}

.job-meta-badge.loc {
  background: var(--bg-page);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

.job-meta-badge.type {
  background: var(--somo-teal-soft);
  color: var(--somo-teal);
}

.job-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--somo-navy);
  margin: 0 0 8px 0;
  transition: var(--transition-fast);
}

.job-item-card:hover .job-card-title {
  color: var(--somo-orange);
}

.job-card-summary {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  max-width: 600px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.job-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--somo-orange);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: var(--transition-fast);
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(200, 81, 14, 0.2);
}

.job-cta-btn:hover {
  background: #a94107;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(200, 81, 14, 0.28);
}

.job-cta-btn i {
  transition: transform 0.2s ease;
}

.job-cta-btn:hover i {
  transform: translateX(4px);
}

/* Empty & Loading states */
.jobs-loading-spinner,
.jobs-empty-state {
  text-align: center;
  padding: 60px 20px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-color);
}

.jobs-loading-spinner i {
  font-size: 2.2rem;
  color: var(--somo-orange);
  margin-bottom: 16px;
}

.jobs-empty-state i {
  font-size: 3rem;
  color: var(--text-subtle);
  margin-bottom: 16px;
}

.jobs-empty-state h4 {
  font-size: 1.3rem;
  color: var(--somo-navy);
  margin: 0 0 8px 0;
}

.jobs-empty-state p {
  color: var(--text-muted);
  margin: 0;
}

/* ============================================================
   JOB DETAIL VIEW & APPLICATION FORM
   ============================================================ */
/* ============================================================
   JOB DETAIL VIEW & APPLICATION FORM
   ============================================================ */
.job-detail-breadcrumb {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 18px 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.back-link:hover {
  color: var(--somo-orange);
}

/* Detail Hero */
.job-detail-hero {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 36px 0 42px;
}

.detail-hero-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 992px) {
  .detail-hero-layout {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.detail-hero-left {
  max-width: 780px;
}

.job-detail-hero .careers-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.job-detail-hero .careers-badge-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-dot 2s infinite;
}

.job-detail-hero .detail-hero-title,
.job-detail-view h1.detail-hero-title {
  font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: clamp(2rem, 3.8vw, 3rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.25 !important;
  color: #1e2144 !important;
  margin: 10px 0 16px 0 !important;
  text-align: left !important;
}

.detail-specs-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.spec-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 6px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
}

.spec-item i {
  color: var(--somo-orange);
  font-size: 0.85rem;
}

.apply-anchor-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--somo-orange);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 8px 18px;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(200, 81, 14, 0.2);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.apply-anchor-btn:hover {
  background: #a94107;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(200, 81, 14, 0.3);
}

/* Main Two-Column Layout */
.job-detail-body {
  padding: 48px 0 80px;
}

.detail-columns-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 992px) {
  .detail-columns-grid {
    grid-template-columns: 7fr 5fr;
    gap: 48px;
    align-items: start;
  }
}

/* Left Column: Job Description & Details */
.detail-content-col {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.detail-block h2 {
  font-size: 1.3rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.015em !important;
  color: #1e2144 !important;
  margin: 0 0 12px 0 !important;
  text-transform: none !important;
}

.detail-block-heading {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1e2144;
  margin: 0 0 18px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: -0.015em;
}

.heading-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #ffedd5;
  color: var(--somo-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.detail-body-text {
  font-size: 1rem;
  color: #475569;
  line-height: 1.8;
  white-space: pre-line;
}

/* Why Join Callout Box */
.why-join-box {
  background: #fffbf5;
  border: 1px solid #fed7aa;
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.why-join-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffedd5;
  color: var(--somo-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.why-join-text h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e2144;
  margin: 0 0 6px 0;
}

.why-join-text p {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

/* Checkmark List */
.checklist-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checklist-items li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  color: #334155;
  line-height: 1.6;
}

.checklist-items li i {
  color: #0d9488;
  background: #f0fdfa;
  border-radius: 50%;
  padding: 3px;
  font-size: 0.95rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Benefits Container Box */
.benefits-boxed-grid {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 24px 28px;
}

.benefits-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefits-grid li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.96rem;
  color: #334155;
  line-height: 1.6;
}

.benefits-grid li i {
  color: var(--somo-orange);
  background: #fff7ed;
  border-radius: 50%;
  padding: 3px;
  font-size: 0.95rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Right Column: Sticky Application Form Card */
.application-sticky-col {
  position: static;
}

@media (min-width: 992px) {
  .application-sticky-col {
    position: sticky;
    top: 80px;
    align-self: start;
  }
}

.app-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.app-card-topbar {
  height: 4px;
  background: var(--somo-orange);
}

.app-card-inner {
  padding: 28px 26px;
}

.app-card-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1e2144;
  margin: 0 0 6px 0;
  letter-spacing: -0.015em;
}

.app-card-header p {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0 0 20px 0;
  line-height: 1.5;
}

/* Form Groups & Inputs */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: #1e2144;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 0.92rem;
  color: #1e2144;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-sizing: border-box;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--somo-orange);
  box-shadow: 0 0 0 3px rgba(200, 81, 14, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 90px;
}

/* File Upload Zone */
.file-upload-dropzone {
  position: relative;
  border: 2px dashed #cbd5e1;
  background: #f8fafc;
  border-radius: 8px;
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.file-upload-dropzone:hover,
.file-upload-dropzone.drag-active {
  border-color: var(--somo-orange);
  background: rgba(200, 81, 14, 0.04);
}

.file-upload-dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-dropzone-inner i {
  font-size: 1.6rem;
  color: #94a3b8;
  margin-bottom: 6px;
  transition: var(--transition-fast);
}

.file-upload-dropzone:hover .file-dropzone-inner i {
  color: var(--somo-orange);
}

.file-name-display {
  font-size: 0.86rem;
  font-weight: 700;
  color: #1e2144;
  margin-bottom: 2px;
}

.file-hint {
  font-size: 0.76rem;
  color: #64748b;
  margin: 0;
}

/* Submit Action Button */
.submit-app-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--somo-orange);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(200, 81, 14, 0.2);
  transition: var(--transition-fast);
  margin-top: 6px;
}

.submit-app-btn:hover {
  background: #a94107;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(200, 81, 14, 0.3);
}

.submit-app-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Confirmation Success State */
.app-success-card {
  text-align: center;
  padding: 30px 10px;
}

.success-check-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--somo-teal-soft);
  color: var(--somo-teal);
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  animation: bounce-check 1s ease;
}

@keyframes bounce-check {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-12px); }
  60% { transform: translateY(-6px); }
}

.app-success-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--somo-navy);
  margin: 0 0 10px 0;
}

.app-success-card p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.btn-secondary-app {
  width: 100%;
  padding: 12px 20px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--somo-navy);
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-secondary-app:hover {
  background: var(--bg-page);
  border-color: var(--somo-navy);
}

/* Toast Message */
.careers-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background: var(--somo-navy);
  color: #ffffff;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  animation: slide-up 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 420px;
}

.careers-toast.error {
  border-left: 4px solid var(--somo-red);
}

.careers-toast.success {
  border-left: 4px solid var(--somo-teal);
}

@keyframes slide-up {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Responsive Tweaks */
@media (max-width: 600px) {
  .careers-hero {
    padding: 50px 0 40px;
  }
  .job-item-card {
    padding: 20px;
  }
  .app-card-inner {
    padding: 24px 18px;
  }
  .why-join-box {
    flex-direction: column;
  }
}
