/* ═══════════════════════════════════════════════════════════
   DrivingJobs.online — Design System & Styles
   ═══════════════════════════════════════════════════════════ */

/* ─── Google Fonts ─── */
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600&family=Barlow+Condensed:wght@500;600;700;800&display=swap');

/* ─── CSS Variables ─── */
:root {
  --brand: #D85A30;
  --brand-dark: #993C1D;
  --brand-light: #FAECE7;
  --navy: #185FA5;
  --navy-dark: #0C447C;
  --navy-light: #E6F1FB;
  --green: #3B6D11;
  --green-light: #EAF3DE;
  --amber: #854F0B;
  --amber-light: #FAEEDA;
  --red: #A32D2D;
  --red-light: #FCEBEB;
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --surface2: #F4F3EF;
  --border: #E2E0D8;
  --border2: #D3D1C7;
  --text: #1A1A18;
  --muted: #5F5E5A;
  --hint: #888780;
  --r: 8px;
  --rl: 12px;
  --rxl: 16px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.07), 0 4px 12px rgba(0, 0, 0, 0.05);
  --star-filled: #EF9F27;
  --star-empty: #D3D1C7;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--navy-dark);
}

img {
  max-width: 100%;
  height: auto;
}

input,
select,
textarea,
button {
  font-family: inherit;
  font-size: inherit;
}

/* ─── Typography ─── */
h1,
h2,
h3,
h4,
h5 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

h4 {
  font-size: 1.25rem;
  font-weight: 700;
}

h5 {
  font-size: 1rem;
  font-weight: 600;
}

.font-display {
  font-family: 'Barlow Condensed', sans-serif;
}

.font-body {
  font-family: 'Barlow', sans-serif;
}

/* ─── Container ─── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-sm {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-xs {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Eyebrow Label ─── */
.eyebrow {
  font-family: 'Barlow', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--brand);
}

/* ═══════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.95);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.navbar-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0;
}

.navbar-logo .logo-driving {
  color: var(--brand);
}

.navbar-logo .logo-jobs {
  color: var(--text);
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.navbar-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.2s;
  padding: 8px 0;
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--text);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--r);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand);
  color: white;
}

.btn-primary:hover {
  background: var(--brand-dark);
  color: white;
}

.btn-secondary {
  background: var(--navy);
  color: white;
}

.btn-secondary:hover {
  background: var(--navy-dark);
  color: white;
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--border2);
  color: var(--text);
  background: var(--surface2);
}

.btn-green {
  background: var(--green);
  color: white;
}

.btn-green:hover {
  background: #2c5509;
  color: white;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn:disabled,
.btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-applied {
  background: var(--green-light);
  color: var(--green);
  border: 1px solid #c4dda8;
}

/* ═══════════════════════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════════════════════ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: 20px 24px;
  transition: box-shadow 0.2s;
}

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

.card-bordered-top-orange {
  border-top: 3px solid var(--brand);
}

.card-bordered-top-navy {
  border-top: 3px solid var(--navy);
}

.card-bordered-left-orange {
  border-left: 3px solid var(--brand);
}

.card-bordered-left-amber {
  border-left: 3px solid var(--amber);
}

.card-green-tint {
  background: #f4fbe9;
}

.card-navy-tint {
  background: var(--navy-light);
}

.card-orange-tint {
  background: var(--brand-light);
}

/* ═══════════════════════════════════════════════════════════
   BADGES
   ═══════════════════════════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

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

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

.badge-orange {
  background: var(--brand-light);
  color: var(--brand-dark);
}

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

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

.badge-gray {
  background: var(--surface2);
  color: var(--muted);
}

/* ─── Tags (rounded border pills) ─── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid;
}

.tag-tow {
  background: var(--brand-light);
  color: var(--brand-dark);
  border-color: #f0cbb8;
}

.tag-box {
  background: var(--navy-light);
  color: var(--navy-dark);
  border-color: #b8d4f0;
}

/* ═══════════════════════════════════════════════════════════
   PROGRESS BARS
   ═══════════════════════════════════════════════════════════ */
.progress-bar {
  width: 100%;
  height: 6px;
  background: var(--surface2);
  border-radius: 100px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 100px;
  transition: width 0.4s ease;
}

.progress-green .progress-fill {
  background: var(--green);
}

.progress-orange .progress-fill {
  background: var(--brand);
}

.progress-navy .progress-fill {
  background: var(--navy);
}

.progress-red .progress-fill {
  background: var(--red);
}

/* ═══════════════════════════════════════════════════════════
   STARS
   ═══════════════════════════════════════════════════════════ */
.stars {
  display: inline-flex;
  gap: 2px;
}

.star {
  color: var(--star-empty);
  font-size: 1rem;
}

.star.filled {
  color: var(--star-filled);
}

/* ═══════════════════════════════════════════════════════════
   AVATARS
   ═══════════════════════════════════════════════════════════ */
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  flex-shrink: 0;
}

.avatar-sm {
  width: 32px;
  height: 32px;
  font-size: 0.75rem;
}

.avatar-md {
  width: 44px;
  height: 44px;
  font-size: 0.9rem;
}

.avatar-lg {
  width: 64px;
  height: 64px;
  font-size: 1.3rem;
}

.avatar-xl {
  width: 80px;
  height: 80px;
  font-size: 1.6rem;
}

.avatar-orange {
  background: var(--brand-light);
  color: var(--brand-dark);
}

.avatar-navy {
  background: var(--navy-light);
  color: var(--navy-dark);
}

.avatar-green {
  background: var(--green-light);
  color: var(--green);
}

.avatar-amber {
  background: var(--amber-light);
  color: var(--amber);
}

/* ═══════════════════════════════════════════════════════════
   TOGGLE SWITCHES
   ═══════════════════════════════════════════════════════════ */
.toggle {
  position: relative;
  width: 44px;
  height: 24px;
  appearance: none;
  background: var(--border2);
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.2s;
  border: none;
  flex-shrink: 0;
}

.toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.toggle:checked {
  background: var(--green);
}

.toggle:checked::after {
  transform: translateX(20px);
}

/* ═══════════════════════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════════════════════ */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--text);
}

.form-hint {
  font-size: 0.8rem;
  color: var(--hint);
  margin-top: 4px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--surface);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(216, 90, 48, 0.12);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ─── Filter Pills ─── */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.filter-pill {
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
  background: var(--surface);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.filter-pill:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.filter-pill.active {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}

/* ─── Benefit pills (toggle) ─── */
.benefit-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.benefit-pill {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
  background: var(--surface);
}

.benefit-pill.selected {
  background: var(--green-light);
  color: var(--green);
  border-color: #c4dda8;
}

.benefit-pill:hover {
  border-color: var(--brand);
}

/* ═══════════════════════════════════════════════════════════
   SMS BUBBLES
   ═══════════════════════════════════════════════════════════ */
.sms-bubble {
  background: var(--surface2);
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--text);
  max-width: 340px;
  line-height: 1.5;
  position: relative;
}

.sms-bubble+.sms-bubble {
  margin-top: 10px;
}

/* ═══════════════════════════════════════════════════════════
   PIPELINE / KANBAN
   ═══════════════════════════════════════════════════════════ */
.pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  overflow-x: auto;
}

.pipeline-column {
  background: var(--surface2);
  border-radius: var(--rl);
  padding: 16px;
  min-width: 250px;
  min-height: 300px;
}

.pipeline-column-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 0.95rem;
}

.pipeline-count {
  background: var(--border);
  color: var(--muted);
  border-radius: 100px;
  padding: 2px 10px;
  font-size: 0.75rem;
  font-weight: 600;
}

.pipeline-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 14px;
  margin-bottom: 10px;
  cursor: default;
  transition: box-shadow 0.15s;
}

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

.pipeline-card.hired-card {
  background: #f4fbe9;
  border-color: #c4dda8;
}

/* ═══════════════════════════════════════════════════════════
   TAB BAR
   ═══════════════════════════════════════════════════════════ */
.tab-bar {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 32px;
  overflow-x: auto;
}

.tab-link {
  padding: 12px 24px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: all 0.2s;
  text-decoration: none;
}

.tab-link:hover {
  color: var(--text);
}

.tab-link.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

/* ═══════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════ */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}

.hero .eyebrow {
  margin-bottom: 16px;
  display: block;
}

.hero h1 {
  margin-bottom: 16px;
  font-size: 3.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 32px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Stats Bar ─── */
.stats-bar {
  background: var(--brand);
  padding: 24px 0;
  color: white;
}

.stats-bar .container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  opacity: 0.9;
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════════ */
.section {
  padding: 80px 0;
}

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

.section-header .eyebrow {
  margin-bottom: 12px;
  display: block;
}

.section-header p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 12px auto 0;
}

/* ─── Feature Grid (7 things) ─── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 28px;
}

.feature-card .icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
  display: block;
}

.feature-card h4 {
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ─── Two-col Cards ─── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.three-col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

/* ─── Comparison Table ─── */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: var(--rl);
  overflow: hidden;
}

.comparison-table th,
.comparison-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.comparison-table th {
  background: var(--surface2);
  font-weight: 700;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
}

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

.comparison-table td:first-child {
  font-weight: 500;
}

/* ─── Pricing Cards ─── */
.pricing-card {
  text-align: center;
  padding: 32px 28px;
  position: relative;
}

.pricing-card .price {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  margin: 16px 0 8px;
}

.pricing-card .price-period {
  color: var(--muted);
  font-size: 0.9rem;
}

.pricing-card ul {
  list-style: none;
  margin: 20px 0;
  text-align: left;
}

.pricing-card ul li {
  padding: 6px 0;
  font-size: 0.95rem;
  color: var(--muted);
  list-style: none !important;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.pricing-tick {
  color: var(--green);
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
  line-height: 1;
}

.pricing-pill {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: white;
  padding: 4px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════════════════════════
   JOB CARDS
   ═══════════════════════════════════════════════════════════ */
.job-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
}

.job-card-body {
  flex: 1;
}

.job-card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 2px;
  color: var(--text);
}

.job-card-company {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.job-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.job-card-pay {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
}

.job-card-pay.tow {
  color: var(--brand);
}

.job-card-pay.box {
  color: var(--navy);
}

.job-card-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.job-card-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--hint);
  margin-top: 10px;
}

/* ═══════════════════════════════════════════════════════════
   CITY POOL LIST
   ═══════════════════════════════════════════════════════════ */
.pool-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.pool-row:last-child {
  border-bottom: none;
}

.pool-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.pool-dot.active {
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(59, 109, 17, 0.2);
  animation: pulse 2s infinite;
}

.pool-dot.coming-soon {
  background: var(--border2);
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(59, 109, 17, 0.2);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(59, 109, 17, 0.1);
  }
}

.pool-name {
  font-weight: 600;
  flex: 1;
}

.pool-stats {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--muted);
}

.pool-avatars {
  display: flex;
  margin-left: 8px;
}

.pool-avatars .avatar {
  margin-left: -8px;
  border: 2px solid var(--surface);
}

/* ═══════════════════════════════════════════════════════════
   PROFILE PAGE
   ═══════════════════════════════════════════════════════════ */
.profile-header {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.profile-info h2 {
  margin-bottom: 4px;
}

.profile-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.profile-stats-row {
  display: flex;
  gap: 32px;
  margin: 20px 0;
}

.profile-stat {
  text-align: center;
}

.profile-stat .stat-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--text);
}

.profile-stat .stat-label {
  font-size: 0.8rem;
  color: var(--muted);
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.info-card {
  padding: 16px 20px;
}

.info-card .info-label {
  font-size: 0.8rem;
  color: var(--hint);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.info-card .info-value {
  font-weight: 600;
  font-size: 1rem;
}

/* ─── Credential Cards ─── */
.credential-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.credential-card {
  padding: 20px;
}

.credential-card h5 {
  margin-bottom: 8px;
}

.credential-card .progress-bar {
  margin-top: 10px;
}

/* ─── Review Cards ─── */
.review-card {
  padding: 20px 24px;
  margin-bottom: 16px;
}

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

.review-company-info {
  flex: 1;
}

.review-company-name {
  font-weight: 600;
}

.review-dates {
  font-size: 0.8rem;
  color: var(--hint);
}

.review-comment {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 12px;
}

.category-bars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0;
}

.category-bar-item {}

.category-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 4px;
}

/* ─── Aggregate Score ─── */
.aggregate-score {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 4rem;
  color: var(--brand);
  line-height: 1;
}

/* ═══════════════════════════════════════════════════════════
   APPLICATION LIST
   ═══════════════════════════════════════════════════════════ */
.application-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.application-row:last-child {
  border-bottom: none;
}

.application-info {
  flex: 1;
}

.application-title {
  font-weight: 600;
}

.application-company {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ═══════════════════════════════════════════════════════════
   SEARCH BAR
   ═══════════════════════════════════════════════════════════ */
.search-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.search-bar .form-input {
  flex: 1;
}

/* ═══════════════════════════════════════════════════════════
   CREDENTIAL ALERT ROWS
   ═══════════════════════════════════════════════════════════ */
.cred-alert-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-left: 3px solid;
  margin-bottom: 12px;
  background: var(--surface);
  border-radius: var(--r);
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cred-alert-row.urgent {
  border-left-color: var(--brand);
}

.cred-alert-row.warning {
  border-left-color: var(--amber);
}

.cred-alert-info {
  flex: 1;
}

/* ═══════════════════════════════════════════════════════════
   DRIVER POOL (COMPANY VIEW)
   ═══════════════════════════════════════════════════════════ */
.driver-pool-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  margin-bottom: 12px;
}

.driver-pool-info {
  flex: 1;
}

.driver-pool-name {
  font-weight: 600;
}

.driver-pool-details {
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  gap: 12px;
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════════
   MESSAGES / ALERTS
   ═══════════════════════════════════════════════════════════ */
.messages {
  margin-bottom: 24px;
}

.alert {
  padding: 14px 20px;
  border-radius: var(--r);
  font-size: 0.9rem;
  margin-bottom: 12px;
  font-weight: 500;
}

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

.alert-error {
  background: var(--red-light);
  color: var(--red);
  border: 1px solid #f0b8b8;
}

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

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

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.6);
  padding: 48px 0 24px;
  margin-top: 80px;
}

.footer .container {
  text-align: center;
}

.footer-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: white;
  margin-bottom: 8px;
}

.footer-logo .logo-driving {
  color: var(--brand);
}

.footer p {
  font-size: 0.85rem;
}

/* ═══════════════════════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════════════════════ */
.text-center {
  text-align: center;
}

.text-muted {
  color: var(--muted);
}

.text-hint {
  color: var(--hint);
}

.text-brand {
  color: var(--brand);
}

.text-navy {
  color: var(--navy);
}

.text-green {
  color: var(--green);
}

.text-sm {
  font-size: 0.85rem;
}

.text-xs {
  font-size: 0.75rem;
}

.fw-600 {
  font-weight: 600;
}

.fw-700 {
  font-weight: 700;
}

.mt-0 {
  margin-top: 0;
}

.mt-8 {
  margin-top: 8px;
}

.mt-16 {
  margin-top: 16px;
}

.mt-24 {
  margin-top: 24px;
}

.mt-32 {
  margin-top: 32px;
}

.mt-48 {
  margin-top: 48px;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-8 {
  margin-bottom: 8px;
}

.mb-16 {
  margin-bottom: 16px;
}

.mb-24 {
  margin-bottom: 24px;
}

.mb-32 {
  margin-bottom: 32px;
}

.gap-8 {
  gap: 8px;
}

.gap-12 {
  gap: 12px;
}

.gap-16 {
  gap: 16px;
}

.gap-24 {
  gap: 24px;
}

.d-flex {
  display: flex;
}

.align-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-1 {
  flex: 1;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .credential-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pipeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .two-col,
  .three-col,
  .form-row {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .credential-grid {
    grid-template-columns: 1fr;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .pipeline {
    grid-template-columns: 1fr;
  }

  .category-bars {
    grid-template-columns: 1fr;
  }

  .navbar-nav {
    display: none;
  }

  .stats-bar .container {
    flex-direction: column;
    gap: 8px;
  }

  .search-bar {
    flex-direction: column;
  }

  .job-card {
    flex-direction: column;
  }

  .job-card-actions {
    flex-direction: row;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  h1 {
    font-size: 1.8rem;
  }

  .hero {
    padding: 48px 0 40px;
  }

  .hero-buttons {
    flex-direction: column;
  }
}