/* ==========================================================================
   SANCOWORK BRAND STYLESHEET (SANCOPACK BRAND GUIDELINE 2026)
   Colors: Cam Sanco (#F5821F), Xanh Pack (#203F9A), Navy Sanco (#12275F)
   ========================================================================== */

:root {
  /* Brand Core Colors */
  --sanco-orange: #F5821F;
  --sanco-orange-hover: #e07111;
  --sanco-orange-light: #FDEBD9;
  --sanco-blue: #203F9A;
  --sanco-blue-hover: #19337e;
  --sanco-navy: #12275F;
  --sanco-navy-dark: #0a173b;
  --sanco-blue-dark: #1A4E78;
  --sanco-blue-light: #E8EDF8;
  
  /* Neutral & Utility Colors */
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-subtle: #f1f5f9;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --border-light: #e2e8f0;
  
  /* Status Colors */
  --success: #10B981;
  --success-bg: #ecfdf5;
  --warning: #F59E0B;
  --warning-bg: #fffbeb;
  --danger: #EF4444;
  --danger-bg: #fef2f2;
  --info: #0284C7;
  --info-bg: #f0f9ff;
  --purple: #8B5CF6;
  --purple-bg: #f5f3ff;
  --gold: #D97706;
  
  /* Shadows & Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px -2px rgba(18, 39, 95, 0.08), 0 2px 6px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 32px -4px rgba(18, 39, 95, 0.12), 0 4px 12px -2px rgba(0,0,0,0.04);

  /* Typography */
  --font-heading: 'Be Vietnam Pro', -apple-system, sans-serif;
  --font-body: 'Be Vietnam Pro', 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Top Announcement */
.top-announcement-bar {
  background: var(--sanco-navy-dark);
  color: #ffffff;
  padding: 8px 24px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--sanco-orange);
}

.announcement-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge-tag {
  background: var(--sanco-orange);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: var(--success);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--success);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Main Header */
.main-header {
  background: var(--sanco-navy);
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-container {
  max-width: 1720px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-area {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.brand-single-logo {
  height: 46px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  transition: all 0.25s ease;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
}

.brand-single-logo:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 4px 12px rgba(245, 130, 31, 0.4));
}

.product-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.highlight-orange { color: var(--sanco-orange); }

.product-tagline {
  font-size: 9.5px;
  color: #94a3b8;
  font-weight: 600;
  letter-spacing: 1px;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-btn {
  background: transparent;
  color: #cbd5e1;
  border: none;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 11px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.nav-btn.active {
  background: var(--sanco-orange);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(245, 130, 31, 0.35);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.role-selector-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.role-label {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
}

.role-dropdown {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

.role-dropdown option {
  background: var(--sanco-navy-dark);
  color: #ffffff;
}

.user-status-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s;
}

.user-status-card:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--sanco-orange);
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sanco-blue);
  color: #ffffff;
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-info {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.user-title {
  font-size: 10.5px;
  color: #cbd5e1;
}

.admin-badge {
  background: rgba(245, 130, 31, 0.25);
  color: #fdba74;
  border: 1px solid var(--sanco-orange);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
}

/* Mobile Quick Nav */
.mobile-quick-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--sanco-navy-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 10px;
  z-index: 999;
  justify-content: space-around;
}

.m-nav-btn {
  background: transparent;
  color: #cbd5e1;
  border: none;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.m-nav-btn.active {
  background: var(--sanco-orange);
  color: #ffffff;
}

/* Main Content */
.content-container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 28px 24px 60px 24px;
  width: 100%;
  flex: 1;
}

.tab-content {
  display: none;
  animation: fadeIn 0.25s ease-out;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--sanco-navy) 0%, #17357d 60%, var(--sanco-blue) 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 130, 31, 0.2);
  color: #fdba74;
  border: 1px solid rgba(245, 130, 31, 0.4);
  font-size: 11.5px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.pulse-icon {
  width: 8px;
  height: 8px;
  background: var(--sanco-orange);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--sanco-orange);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.highlight-gradient {
  background: linear-gradient(90deg, #F5821F 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 15.5px;
  line-height: 1.7;
  color: #e2e8f0;
  margin-bottom: 28px;
  max-width: 660px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
}

.stat-desc {
  font-size: 12px;
  color: #cbd5e1;
  font-weight: 500;
}

.hero-visual-col {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.hero-banner-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.floating-glass-card {
  position: absolute;
  background: rgba(18, 39, 95, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.floating-glass-card.top-right { top: 16px; right: 16px; }
.floating-glass-card.bottom-left { bottom: 16px; left: 16px; }
.floating-glass-card p { font-size: 11px; color: #cbd5e1; margin: 0; }
.icon-chip { font-size: 22px; }

/* Buttons */
.btn {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--sanco-orange);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(245, 130, 31, 0.35);
}

.btn-primary:hover {
  background: var(--sanco-orange-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--sanco-blue);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

.btn-outline-white {
  background: #ffffff;
  color: var(--sanco-navy);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-outline-white:hover {
  background: var(--sanco-blue-light);
  color: var(--sanco-blue);
}

.btn-success { background: var(--success); color: #ffffff; }
.btn-success:hover { background: #059669; }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-group { display: flex; align-items: center; gap: 10px; }
.w-full { width: 100%; }
.mt-32 { margin-top: 32px; }
.mt-24 { margin-top: 24px; }
.mt-16 { margin-top: 16px; }
.mt-12 { margin-top: 12px; }
.mb-24 { margin-bottom: 24px; }
.my-16 { margin-top: 16px; margin-bottom: 16px; }

/* Section Cards */
.section-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.section-header { margin-bottom: 28px; }
.section-header.text-center { text-align: center; }

.section-kicker {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--sanco-orange);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: var(--sanco-navy);
  margin-top: 4px;
}

.section-subtext {
  font-size: 14.5px;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 6px auto 0 auto;
}

/* Category Grid */
.jobs-categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.job-cat-card {
  background: var(--bg-body);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s;
  cursor: pointer;
}

.job-cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--sanco-orange);
  box-shadow: var(--shadow-md);
  background: #fffaf5;
}

.job-cat-icon { font-size: 32px; margin-bottom: 12px; }
.job-cat-title { font-size: 15px; font-weight: 700; color: var(--sanco-navy); margin-bottom: 8px; }
.job-cat-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.5; flex: 1; margin-bottom: 14px; }
.job-cat-meta { display: flex; flex-direction: column; gap: 6px; }
.price-text { font-size: 12px; font-weight: 800; color: var(--sanco-orange); }

/* Benefits Grid */
.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.benefit-box {
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-light);
}

.benefit-box.employer-side { background: #f0fdf4; border-color: #bbf7d0; }
.benefit-box.worker-side { background: #eff6ff; border-color: #bfdbfe; }

.benefit-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.benefit-header .b-icon { font-size: 28px; }
.benefit-header h3 { font-size: 18px; font-weight: 800; color: var(--sanco-navy); }

.benefit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13.5px;
}

/* ==========================================================================
   ADVANCED FILTER & SEARCH BAR
   ========================================================================== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.card-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: var(--sanco-navy);
}

.card-body { padding: 22px; }

.advanced-filter-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1fr 1fr;
  gap: 14px;
  align-items: flex-end;
}

.filter-col label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--sanco-navy);
  margin-bottom: 6px;
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 12px;
  font-size: 14px;
  color: var(--text-muted);
}

.search-input-wrap input {
  width: 100%;
  padding: 9px 12px 9px 36px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 13px;
  outline: none;
}

.form-control {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 13px;
  outline: none;
  background: #ffffff;
}

.form-control:focus, .search-input-wrap input:focus {
  border-color: var(--sanco-orange);
}

.filter-sub-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  font-size: 12.5px;
}

.filter-result-count {
  font-weight: 700;
  color: var(--sanco-blue);
}

.sort-options {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sort-options select {
  padding: 4px 8px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 12px;
}

/* ==========================================================================
   WORKER DIRECTORY CARDS (WITH LEVEL & PROJECT STATS)
   ========================================================================== */
.workers-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.worker-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}

.worker-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--sanco-orange);
}

.worker-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.w-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--sanco-navy);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--sanco-orange);
  flex-shrink: 0;
}

.w-header-info { flex: 1; }

.w-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.w-name { font-size: 16px; font-weight: 800; color: var(--sanco-navy); }
.w-rating { font-size: 12.5px; font-weight: 700; color: #b45309; }

.level-tag {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-top: 4px;
  letter-spacing: 0.5px;
}

.level-tag.level-4 { background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; }
.level-tag.level-3 { background: #e0e7ff; color: #3730a3; border: 1px solid #c7d2fe; }
.level-tag.level-2 { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.level-tag.level-1 { background: #f1f5f9; color: #475569; border: 1px solid #cbd5e1; }

.w-profession {
  font-size: 13px;
  font-weight: 700;
  color: var(--sanco-orange);
  margin-top: 2px;
}

.w-projects-track {
  background: var(--bg-body);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin: 12px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.track-item { display: flex; flex-direction: column; }
.track-num { font-family: var(--font-heading); font-size: 16px; font-weight: 800; color: var(--sanco-navy); }
.track-lbl { font-size: 10.5px; color: var(--text-muted); font-weight: 600; }

.w-recent-projects {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 14px;
  flex: 1;
}

.w-recent-projects strong { color: var(--sanco-navy); }

.w-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  gap: 10px;
}

.w-price { font-size: 14px; font-weight: 800; color: var(--sanco-navy); }

/* ==========================================================================
   WORKER WALLET & STATUS BAR
   ========================================================================== */
.worker-wallet-badge {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: var(--radius-md);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}

.wallet-icon { font-size: 26px; }
.wallet-label { font-size: 11px; color: #166534; font-weight: 600; display: block; }
.wallet-amount { font-family: var(--font-heading); font-size: 18px; font-weight: 900; color: #15803d; }

.worker-statusbar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-sm);
  gap: 20px;
}

.ws-left { display: flex; align-items: center; gap: 18px; }
.ws-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--sanco-navy);
  color: #fff;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--sanco-orange);
}

.ws-name-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ws-name-row h3 { font-size: 18px; font-weight: 800; color: var(--sanco-navy); }
.rating-pill { background: #fef3c7; color: #92400e; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: var(--radius-sm); }
.ws-skills { font-size: 13px; color: var(--text-secondary); margin: 4px 0 6px 0; }
.ws-badges { display: flex; gap: 8px; }
.skill-chip { font-size: 11px; background: var(--sanco-blue-light); color: var(--sanco-blue); padding: 2px 8px; border-radius: var(--radius-sm); font-weight: 600; }

.ws-right { display: flex; gap: 20px; text-align: center; border-left: 1px solid var(--border-light); padding-left: 20px; }
.ws-stat-col { display: flex; flex-direction: column; }
.ws-stat-val { font-size: 20px; font-weight: 900; color: var(--sanco-navy); }
.ws-stat-lbl { font-size: 11px; color: var(--text-muted); font-weight: 600; }

/* Active Jobs Feed */
.jobs-feed-list { display: flex; flex-direction: column; gap: 14px; }
.job-feed-item {
  background: var(--bg-body);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: all 0.2s;
}

.job-feed-item:hover {
  background: #ffffff;
  border-color: var(--sanco-orange);
  box-shadow: var(--shadow-sm);
}

.job-feed-left { flex: 1; }
.jf-title-row { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.jf-title { font-size: 15px; font-weight: 800; color: var(--sanco-navy); }
.urgency-badge { background: #fee2e2; color: #991b1b; font-size: 10.5px; font-weight: 800; padding: 2px 6px; border-radius: var(--radius-sm); animation: pulseDot 2s infinite; }
.jf-desc { font-size: 13px; color: var(--text-secondary); margin-bottom: 6px; }
.jf-meta-row { display: flex; gap: 16px; font-size: 12px; color: var(--text-muted); }

.job-feed-right { text-align: right; min-width: 180px; }
.jf-pay { font-family: var(--font-heading); font-size: 18px; font-weight: 900; color: var(--success); display: block; margin-bottom: 8px; }

/* ==========================================================================
   REVIEWS & BLIND REVIEW STREAM
   ========================================================================== */
.reviews-stream { display: flex; flex-direction: column; gap: 14px; }
.review-item {
  background: var(--bg-body);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.review-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.reviewer-name { font-size: 13.5px; font-weight: 700; color: var(--sanco-navy); }
.review-stars { color: #f59e0b; font-size: 14px; }
.review-text { font-size: 13px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 8px; }
.review-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.r-tag { font-size: 11px; background: #e2e8f0; color: #334155; padding: 2px 6px; border-radius: 4px; font-weight: 600; }

.blind-review-alert {
  background: #fefce8;
  border: 1px solid #fef08a;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 12px;
  color: #854d0e;
  margin-top: 14px;
}

/* ==========================================================================
   ACADEMY & TRAINING CARDS
   ========================================================================== */
.academy-hero-banner {
  background: linear-gradient(135deg, var(--sanco-blue-dark) 0%, var(--sanco-navy) 100%);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 32px;
}

.academy-badge {
  background: var(--sanco-orange);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 12px;
}

.academy-hero-banner h2 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.academy-hero-banner p { font-size: 14px; color: #cbd5e1; max-width: 780px; }

.training-methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.training-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
}

.training-card.highlight {
  border-color: var(--sanco-orange);
  background: #fffdfb;
}

.t-badge {
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  align-self: flex-start;
  margin-bottom: 14px;
}

.t-badge.online { background: #e0f2fe; color: #0369a1; }
.t-badge.offline { background: #fef3c7; color: #92400e; }
.t-badge.mentor { background: #dcfce7; color: #166534; }

.t-icon { font-size: 32px; margin-bottom: 10px; }
.training-card h3 { font-size: 17px; font-weight: 800; color: var(--sanco-navy); margin-bottom: 8px; }
.training-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 14px; flex: 1; }

.t-checklist {
  list-style: none;
  font-size: 12.5px;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

/* Level Ladder Grid */
.level-ladder-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.level-step-card {
  background: var(--bg-body);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.level-step-card.highlight {
  border-color: var(--sanco-orange);
  background: #fffaf5;
}

.lvl-header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.lvl-num { font-size: 11px; font-weight: 800; background: var(--sanco-navy); color: #fff; padding: 2px 6px; border-radius: var(--radius-sm); }
.lvl-header h4 { font-size: 15px; font-weight: 800; color: var(--sanco-navy); }
.lvl-salary { font-family: var(--font-heading); font-size: 17px; font-weight: 900; color: var(--success); margin-bottom: 8px; }
.lvl-salary span { font-size: 12px; font-weight: 500; color: var(--text-muted); }
.lvl-desc { font-size: 12.5px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 12px; flex: 1; }
.lvl-req { font-size: 11px; font-weight: 700; color: var(--sanco-blue); background: var(--sanco-blue-light); padding: 6px 8px; border-radius: var(--radius-sm); }

/* ==========================================================================
   MODALS & FORMS
   ========================================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(18, 39, 95, 0.7);
  backdrop-filter: blur(6px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active { display: flex; animation: fadeIn 0.2s ease-out; }
.modal-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 580px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-box.modal-lg { max-width: 720px; }
.modal-header {
  padding: 18px 24px;
  background: var(--sanco-navy);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title { font-size: 17px; font-weight: 800; }
.modal-close-btn { background: transparent; color: #ffffff; border: none; font-size: 18px; cursor: pointer; }
.modal-body { padding: 24px; overflow-y: auto; }
.modal-footer { margin-top: 24px; display: flex; align-items: center; justify-content: flex-end; gap: 12px; }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--sanco-navy); margin-bottom: 6px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.supplies-combo-box {
  background: var(--sanco-blue-light);
  border: 1.5px dashed var(--sanco-blue);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}

/* Star rating input */
.rating-stars-input {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 32px;
  cursor: pointer;
}

.star-btn { color: #cbd5e1; transition: color 0.15s; }
.star-btn.active { color: #f59e0b; }
.rating-text-feedback { font-size: 13px; font-weight: 700; color: #b45309; margin-top: 6px; display: block; }

.quick-tags-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-chip {
  font-size: 12px;
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.15s;
}

.tag-chip.active { background: var(--sanco-blue); color: #fff; border-color: var(--sanco-blue); }

/* Toast */
.toast-container { position: fixed; top: 24px; right: 24px; z-index: 3000; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--sanco-navy);
  color: #ffffff;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  border-left: 4px solid var(--sanco-orange);
  min-width: 300px;
  max-width: 420px;
}

.toast.success { border-left-color: var(--success); }
.toast.danger { border-left-color: var(--danger); }

/* Badges */
.badge { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: var(--radius-sm); }
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-primary { background: var(--sanco-blue-light); color: var(--sanco-blue); }

/* Footer */
.main-footer {
  background: var(--sanco-navy-dark);
  color: #94a3b8;
  padding: 24px;
  font-size: 12.5px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
}

.footer-container {
  max-width: 1480px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-left strong { color: #ffffff; }

/* Laptop Responsive Header (<= 1440px) */
@media (max-width: 1440px) {
  .header-container {
    padding: 8px 16px;
    gap: 10px;
  }
  .brand-single-logo {
    height: 36px;
    max-width: 185px;
  }
  .nav-btn {
    font-size: 12px;
    padding: 6px 9px;
    gap: 4px;
  }
  .header-actions {
    gap: 8px;
  }
  .header-eco-pill {
    display: none !important; /* Highlighted in Top Bar */
  }
  .role-dropdown {
    font-size: 11.5px;
    padding: 5px 6px;
    max-width: 140px;
  }
  .user-status-card {
    padding: 4px 8px;
    gap: 6px;
  }
  .user-avatar {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }
  .user-info {
    display: none;
  }
  .admin-badge {
    font-size: 9px;
    padding: 1px 5px;
  }
}
  .jobs-categories-grid { grid-template-columns: repeat(3, 1fr); }
  .workers-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .advanced-filter-grid { grid-template-columns: repeat(2, 1fr); }
  .level-ladder-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-2-col { grid-template-columns: 1fr; }
  .training-methods-grid { grid-template-columns: 1fr; }
  .workers-cards-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .mobile-quick-nav { display: flex; }
}

/* Ecosystem Buttons */
.top-bar-eco-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--sanco-orange);
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 20px;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(245, 130, 31, 0.4);
  transition: all 0.2s ease;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.top-bar-eco-btn:hover {
  background: #ff9133;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 130, 31, 0.6);
}

.header-eco-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #F5821F, #d96f12);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 5px 10px;
  border-radius: 16px;
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 800;
  text-decoration: none !important;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(245, 130, 31, 0.35);
  transition: all 0.2s ease;
}

.header-eco-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 130, 31, 0.55);
}

.header-eco-pill .eco-tag {
  background: #12275F;
  color: #ffffff;
  font-size: 8px;
  padding: 1px 5px;
  border-radius: 5px;
  font-weight: 800;
}

.btn-ecosystem, a.btn-ecosystem {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  background: linear-gradient(135deg, #F5821F, #d96f12) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  color: #ffffff !important;
  padding: 7px 15px !important;
  border-radius: 20px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  box-shadow: 0 2px 10px rgba(245, 130, 31, 0.45) !important;
  margin-left: 8px !important;
}

.btn-ecosystem:visited, a.btn-ecosystem:visited {
  color: #ffffff !important;
}

.btn-ecosystem:hover, a.btn-ecosystem:hover {
  background: linear-gradient(135deg, #ff9133, #F5821F) !important;
  color: #ffffff !important;
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: 0 4px 15px rgba(245, 130, 31, 0.6) !important;
}

.btn-ecosystem .badge-mini {
  background: #12275F !important;
  color: #ffffff !important;
  font-size: 9px !important;
  padding: 2px 7px !important;
  border-radius: 8px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  font-weight: 800 !important;
}

