/* ==========================================================================
   AUTO APEX CAR TRANSPORT - CSS STYLESHEET
   Full Viewport (100vh) Responsive Layout System
   ========================================================================== */

:root {
  --color-primary-navy: #0B1E36;
  --color-dark-navy: #06152B;
  --color-heading-navy: #0B1B3D;
  --color-accent-orange: #F05A24;
  --color-accent-orange-hover: #D94814;
  --color-text-dark: #1E293B;
  --color-text-muted: #64748B;
  --color-text-light: #94A3B8;
  --color-bg-light: #F8FAFC;
  --color-border: #E2E8F0;
  
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1240px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-card: 0 8px 24px -6px rgba(11, 30, 54, 0.1);
  --shadow-float: 0 16px 36px -8px rgba(0, 0, 0, 0.16);
}

/* Reset & Global Full Viewport Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
}

body {
  font-family: var(--font-family);
  color: var(--color-text-dark);
  background-color: var(--color-bg-light);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* ==========================================================================
   1. TOP ANNOUNCEMENT BAR
   ========================================================================== */
.top-bar {
  background-color: var(--color-primary-navy);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 500;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-info-list {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-info-item {
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.92;
}

.top-icon {
  width: 13px;
  height: 13px;
  stroke: #FFFFFF;
}

.divider {
  margin: 0 4px;
  opacity: 0.4;
}

.top-social-list {
  display: flex;
  align-items: center;
  gap: 10px;
}

.follow-text {
  opacity: 0.8;
  font-size: 11px;
  margin-right: 2px;
}

.social-icon {
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-icon:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* ==========================================================================
   2. MAIN NAVBAR
   ========================================================================== */
.navbar {
  background-color: #FFFFFF;
  height: 58px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  position: relative;
  z-index: 100;
  flex-shrink: 0;
}

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

.brand-logo {
  display: flex;
  align-items: center;
}

.brand-logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.2s ease;
}

.brand-logo-img:hover {
  transform: scale(1.02);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-item {
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-heading-navy);
  padding: 18px 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  position: relative;
  white-space: nowrap;
  line-height: 1;
  height: 100%;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Sliding Glowing Underline Indicator */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent-orange), #FF8A00);
  border-radius: 4px 4px 0 0;
  transition: width 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), left 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.nav-link:hover {
  color: var(--color-accent-orange);
  transform: translateY(-2px);
}

.nav-link:hover::after,
.nav-item.active .nav-link::after {
  width: 100%;
  left: 0;
  box-shadow: 0 0 12px rgba(240, 90, 36, 0.7);
}

.nav-item.active .nav-link {
  color: var(--color-accent-orange);
}

/* Remove static old pseudo element */
.nav-item.active::after {
  display: none;
}

.arrow-down {
  font-size: 11px;
  display: inline-block;
  opacity: 0.7;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}

.nav-item:hover .arrow-down {
  transform: rotate(180deg);
  color: var(--color-accent-orange);
  opacity: 1;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.phone-block {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s ease;
}

.phone-block:hover {
  transform: scale(1.03);
}

.phone-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-heading-navy);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.phone-block:hover .phone-icon-circle {
  background-color: var(--color-heading-navy);
  color: #FFFFFF;
  transform: rotate(12deg);
  box-shadow: 0 4px 12px rgba(6, 21, 43, 0.2);
}

.phone-icon-circle svg {
  width: 14px;
  height: 14px;
}

.phone-details {
  display: flex;
  flex-direction: column;
}

.phone-number {
  font-size: 14px;
  font-weight: 800;
  color: var(--color-heading-navy);
  line-height: 1.1;
}

.phone-sub {
  font-size: 10px;
  color: var(--color-text-muted);
  font-weight: 500;
}

.btn-quote-nav {
  background-color: var(--color-accent-orange);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 12px rgba(240, 90, 36, 0.25);
}

.btn-quote-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.6s ease;
}

.btn-quote-nav:hover::before {
  left: 100%;
}

.btn-quote-nav:hover {
  background-color: var(--color-accent-orange-hover);
  transform: translateY(-2.5px) scale(1.02);
  box-shadow: 0 8px 22px rgba(240, 90, 36, 0.45);
}

.btn-quote-nav .btn-arrow {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-quote-nav:hover .btn-arrow {
  transform: translateX(4px) scale(1.2);
}

.btn-quote-nav:hover {
  background-color: var(--color-accent-orange-hover);
  transform: translateY(-1px);
}

.btn-arrow {
  font-size: 14px;
  transition: transform 0.2s ease;
}

.btn-quote-nav:hover .btn-arrow,
.btn-submit-quote:hover .btn-arrow {
  transform: translateX(3px);
}

/* ==========================================================================
   3. HERO SECTION (Viewport Flexible & Scalable)
   ========================================================================== */
.hero-section {
  position: relative;
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  padding: 16px 0;
  overflow: hidden;
  background-color: #EBF1F6;
  min-height: 380px;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.3s ease;
}

.hero-overlay {
  display: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: center;
}

/* Left Hero Content - Completely transparent without any background box or fade */
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.hero-tagline {
  font-size: 12px;
  font-weight: 800;
  color: var(--color-accent-orange);
  letter-spacing: 1.4px;
  display: block;
  margin-bottom: 6px;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.9);
}

.hero-title {
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 800;
  color: var(--color-heading-navy);
  line-height: 1.12;
  letter-spacing: -0.8px;
  margin-bottom: 10px;
  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.9), 0 2px 12px rgba(255, 255, 255, 0.7);
}

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

.navy-amp {
  color: var(--color-heading-navy);
}

.hero-description {
  font-size: 13.5px;
  color: #1E293B;
  font-weight: 600;
  max-width: 460px;
  line-height: 1.45;
  margin-bottom: 18px;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.95);
}

/* Hero Glass Features Bar */
.hero-features-glass {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  box-shadow: 0 8px 20px -4px rgba(11, 30, 54, 0.08);
  max-width: 620px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-icon-circle {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background-color: var(--color-primary-navy);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon-circle svg {
  width: 15px;
  height: 15px;
  stroke: #FFFFFF;
}

.feature-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.feature-text strong {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-heading-navy);
}

.feature-text span {
  font-size: 10px;
  color: var(--color-text-muted);
  margin-top: 1px;
}

/* Right Quote Form Card */
.quote-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-float);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.quote-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--color-heading-navy);
  margin-bottom: 2px;
}

.quote-subtitle {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  font-weight: 500;
}

.quote-form-element {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.form-group label {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--color-heading-navy);
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  stroke: var(--color-text-muted);
  pointer-events: none;
  z-index: 3;
}

.select-chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-size: 14px;
  color: var(--color-text-muted);
  pointer-events: none;
  z-index: 3;
}

.input-wrap .form-select,
.input-wrap .form-input,
.form-select,
.form-input {
  width: 100%;
  padding: 8px 28px 8px 38px !important;
  font-size: 12px;
  font-family: var(--font-family);
  color: var(--color-text-dark);
  background-color: #F8FAFC;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-select:focus,
.form-input:focus {
  border-color: var(--color-accent-orange);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(240, 90, 36, 0.12);
}

.btn-submit-quote {
  background-color: var(--color-accent-orange);
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 4px;
  transition: background-color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 3px 10px rgba(240, 90, 36, 0.25);
  font-family: var(--font-family);
}

.btn-submit-quote:hover {
  background-color: var(--color-accent-orange-hover);
  transform: translateY(-1px);
}

.quote-footer-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #F1F5F9;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
  color: var(--color-text-muted);
}

.badge-icon {
  width: 12px;
  height: 12px;
  stroke: var(--color-heading-navy);
}

.badge-separator {
  color: #CBD5E1;
  font-size: 10px;
}

/* ==========================================================================
   4. HOW IT WORKS SECTION
   ========================================================================== */
/* Keyframe Animations for How It Works Steps */
@keyframes arrowFlow {
  0% {
    stroke-dashoffset: 20;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes stepPulseGlow {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(240, 90, 36, 0.4);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 14px 3px rgba(240, 90, 36, 0.35);
  }
}

.how-it-works-section {
  padding: 8px 0;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}

.section-tagline {
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--color-accent-orange);
  letter-spacing: 1.3px;
  margin-bottom: 6px;
}

.how-it-works-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 12px 24px;
  box-shadow: 0 10px 30px rgba(11, 27, 61, 0.08);
  border: 1px solid var(--color-border);
  transition: box-shadow 0.3s ease;
}

.how-it-works-card:hover {
  box-shadow: 0 14px 40px rgba(11, 27, 61, 0.12);
}

.steps-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  padding: 6px 8px;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.step-item:hover {
  transform: translateY(-3px);
  background: rgba(240, 90, 36, 0.05);
}

.step-icon-wrap {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background-color: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-heading-navy);
  transition: all 0.3s ease;
  animation: stepPulseGlow 3.5s infinite ease-in-out;
}

.step-item:nth-child(1) .step-icon-wrap { animation-delay: 0s; }
.step-item:nth-child(3) .step-icon-wrap { animation-delay: 0.7s; }
.step-item:nth-child(5) .step-icon-wrap { animation-delay: 1.4s; }
.step-item:nth-child(7) .step-icon-wrap { animation-delay: 2.1s; }
.step-item:nth-child(9) .step-icon-wrap { animation-delay: 2.8s; }

.step-item:hover .step-icon-wrap {
  background-color: var(--color-accent-orange);
  color: #FFFFFF !important;
  transform: scale(1.15) rotate(6deg);
  box-shadow: 0 6px 18px rgba(240, 90, 36, 0.45);
}

.step-icon-wrap svg {
  width: 18px;
  height: 18px;
}

.step-content {
  display: flex;
  flex-direction: column;
}

.step-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--color-heading-navy);
  line-height: 1.15;
}

.step-desc {
  font-size: 9.5px;
  color: var(--color-text-muted);
  line-height: 1.25;
  margin-top: 1px;
}

.step-arrow {
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-arrow svg {
  width: 28px;
  height: 10px;
}

.step-arrow svg path {
  stroke: var(--color-accent-orange);
  stroke-dasharray: 5 3;
  animation: arrowFlow 1.2s linear infinite;
}

/* ==========================================================================
   5. STATS & KEY BENEFITS GRID
   ========================================================================== */
.stats-section {
  padding: 6px 0 12px 0;
  flex-shrink: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.stat-card {
  background-color: var(--color-dark-navy);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(6, 21, 43, 0.2);
}

.stat-icon-wrap {
  width: 34px;
  height: 34px;
  min-width: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon {
  width: 28px;
  height: 28px;
}

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

.stat-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.15;
}

.stat-number {
  font-size: 15px;
  font-weight: 800;
  color: #FFFFFF;
  display: block;
}

.stat-desc {
  font-size: 10px;
  color: var(--color-text-light);
  margin-top: 1px;
  line-height: 1.2;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (Fluid for Laptop / Mobile Screens)
   ========================================================================== */
@media (max-height: 720px) and (min-width: 1025px) {
  .hero-section {
    padding: 8px 0;
  }
  .quote-card {
    padding: 14px 16px;
  }
  .quote-form-element {
    gap: 6px;
  }
  .how-it-works-card {
    padding: 8px 18px;
  }
  .stat-card {
    padding: 10px 12px;
  }
}

@media (max-width: 1024px) {
  html, body {
    height: auto;
    overflow-y: auto;
  }
  .hero-container {
    grid-template-columns: 1fr;
  }
  .hero-right {
    max-width: 440px;
    margin: 0 auto;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    flex-direction: column;
    gap: 14px;
  }
  .step-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 768px) {
  .top-bar-container {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }
  .nav-menu {
    display: none;
  }
  .hero-title {
    font-size: 26px;
  }
  .hero-features-glass {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CONTACT US PAGE STYLES (Matching White Horse reference GUI)
   ========================================================================== */
.contact-page-body {
  height: auto !important;
  overflow-y: auto !important;
}

/* Contact Hero Section */
.contact-hero-section {
  position: relative;
  padding: 28px 0 28px 0;
  background-color: #06152B;
  color: #FFFFFF;
  overflow: visible;
}

.contact-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  background-color: #06152B;
}

.contact-hero-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  filter: brightness(0.8) contrast(1.1);
}

.contact-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(8, 22, 40, 0.92) 0%, rgba(8, 22, 40, 0.75) 50%, rgba(8, 22, 40, 0.4) 100%);
}

.contact-hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 36px;
  align-items: flex-start;
}

.breadcrumb {
  font-size: 12px;
  color: #CBD5E1;
  margin-bottom: 8px;
  font-weight: 500;
}

.contact-hero-title {
  font-size: 38px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.contact-hero-desc {
  font-size: 13.5px;
  color: #E2E8F0;
  line-height: 1.45;
  margin-bottom: 24px;
}

/* 4 Circular Quick Info Badges */
.contact-quick-info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.quick-info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.quick-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-orange);
  transition: transform 0.2s ease, background 0.2s ease;
}

.quick-info-item:hover .quick-icon-circle {
  transform: translateY(-2px);
  background: var(--color-accent-orange);
  color: #FFFFFF;
}

.quick-icon-circle svg {
  width: 20px;
  height: 20px;
}

.quick-info-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.quick-title {
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
}

.quick-val {
  font-size: 10.5px;
  color: #CBD5E1;
  margin-top: 2px;
  word-break: break-all;
}

/* Right Card: Send Us a Message (Kept intact with high z-index overlay) */
.contact-hero-right {
  position: relative;
  z-index: 10;
}

.send-message-card {
  background: #FFFFFF;
  color: var(--color-text-dark);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
  border: 1px solid var(--color-border);
}

.form-card-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-heading-navy);
  margin-bottom: 4px;
}

.form-card-sub {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.contact-form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-form-group label {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-heading-navy);
}

.contact-input,
.contact-select,
.contact-textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 12.5px;
  font-family: var(--font-family);
  color: var(--color-text-dark);
  background-color: #F8FAFC;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.select-wrapper {
  position: relative;
}

.select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-size: 14px;
  color: var(--color-text-muted);
  pointer-events: none;
}

.contact-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 28px;
}

.contact-input:focus,
.contact-select:focus,
.contact-textarea:focus {
  border-color: var(--color-accent-orange);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(240, 90, 36, 0.12);
}

.btn-send-message {
  background-color: var(--color-accent-orange);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  padding: 12px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
  transition: background-color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(240, 90, 36, 0.25);
  font-family: var(--font-family);
}

.btn-send-message:hover {
  background-color: var(--color-accent-orange-hover);
  transform: translateY(-1px);
}

.send-icon {
  width: 16px;
  height: 16px;
}

.form-security-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 14px;
}

.sec-icon {
  width: 14px;
  height: 14px;
  stroke: var(--color-text-muted);
}

/* Middle Section: Get in Touch (Directly underneath dark hero background image) */
.get-in-touch-section {
  padding: 24px 0 24px 0;
  background-color: #F8FAFC;
  position: relative;
  z-index: 5;
  margin-top: 0;
}

.touch-header {
  margin-bottom: 20px;
}

.touch-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-heading-navy);
}

.touch-sub {
  font-size: 13px;
  color: var(--color-text-muted);
}

.touch-card-container {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.touch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.touch-column {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.touch-icon-wrap {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background-color: #EFF6FF;
  color: #0B57D0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.touch-icon-wrap svg {
  width: 20px;
  height: 20px;
}

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

.touch-col-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--color-heading-navy);
  margin-bottom: 4px;
}

.touch-text {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* Lower Section: Our Locations & Australia Map */
.locations-map-section {
  padding: 0 0 50px 0;
  background-color: #F8FAFC;
}

.locations-map-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
}

.locations-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.locations-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-heading-navy);
}

.locations-sub {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.location-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.location-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background-color: #F8FAFC;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.location-item.active {
  border-color: var(--color-accent-orange);
  background-color: #FFFBF8;
}

.location-main {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.loc-pin {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 2px;
}

.loc-details {
  display: flex;
  flex-direction: column;
}

.loc-name {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--color-heading-navy);
}

.loc-addr {
  font-size: 11.5px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.loc-phone {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-heading-navy);
  white-space: nowrap;
}

/* Map Card */
.map-card {
  background: #DCEBFA;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}

.map-graphic-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 380px;
}

.aus-map-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.map-controls {
  position: absolute;
  right: 16px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.map-btn {
  width: 32px;
  height: 32px;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-heading-navy);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.map-btn svg {
  width: 16px;
  height: 16px;
}

/* Comprehensive Footer */
.site-footer {
  background-color: var(--color-dark-navy);
  color: #FFFFFF;
  padding-top: 50px;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr 1fr 1.3fr;
  gap: 32px;
  padding-bottom: 40px;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  margin-bottom: 12px;
  filter: brightness(1.1);
}

.footer-brand-text {
  font-size: 12px;
  color: var(--color-text-light);
  line-height: 1.5;
  margin-bottom: 16px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.foot-soc {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: background 0.2s ease, transform 0.2s ease;
}

.foot-soc:hover {
  background: var(--color-accent-orange);
  transform: translateY(-2px);
}

.foot-soc svg {
  width: 14px;
  height: 14px;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 12px;
  color: var(--color-text-light);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-accent-orange);
}

.foot-touch-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--color-text-light);
  margin-bottom: 10px;
}

.foot-touch-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-accent-orange);
  min-width: 16px;
  margin-top: 2px;
}

.foot-touch-item strong {
  display: block;
  color: #FFFFFF;
  font-size: 13px;
}

.foot-touch-item span {
  font-size: 11px;
}

.abn-text {
  font-size: 11px;
  color: var(--color-text-light);
  margin-top: 12px;
}

.sub-footer {
  background-color: #040E1E;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
  color: var(--color-text-light);
}

.sub-footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sub-footer strong {
  color: #FFFFFF;
}

@media (max-width: 1024px) {
  .contact-hero-container {
    grid-template-columns: 1fr;
  }
  .locations-map-container {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .touch-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .contact-quick-info {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-row-2 {
    grid-template-columns: 1fr;
  }
  .touch-grid {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ABOUT US PAGE STYLES (Matching Reference GUI)
   ========================================================================== */
.about-page-body {
  height: auto !important;
  overflow-y: auto !important;
}

/* About Hero Section */
.about-hero-section {
  position: relative;
  padding: 48px 0 54px 0;
  background-color: var(--color-primary-navy);
  color: #FFFFFF;
  overflow: hidden;
}

.about-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.about-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.about-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 45%, rgba(255, 255, 255, 0.2) 100%);
}

.about-hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-hero-left {
  color: var(--color-heading-navy);
}

.about-hero-title {
  font-size: 38px;
  font-weight: 800;
  color: var(--color-heading-navy);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.about-hero-desc {
  font-size: 14px;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 540px;
}

.about-badges-grid {
  display: flex;
  align-items: center;
  gap: 20px;
}

.about-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-badge-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background-color: var(--color-primary-navy);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-badge-icon svg {
  width: 18px;
  height: 18px;
}

.about-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.about-badge-text strong {
  font-size: 13px;
  font-weight: 800;
  color: var(--color-heading-navy);
}

.about-badge-text span {
  font-size: 11px;
  color: var(--color-text-muted);
}

/* 3 Middle Cards: Mission, Values, Statistics */
.about-cards-section {
  padding: 40px 0 30px 0;
  background-color: #F8FAFC;
}

.about-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.6fr;
  gap: 20px;
}

.about-info-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

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

.card-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-orange {
  background-color: #FFF4F0;
  color: var(--color-accent-orange);
}

.card-icon-wrap svg {
  width: 18px;
  height: 18px;
}

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

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

.card-paragraph {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.values-list li {
  font-size: 12.5px;
  color: var(--color-text-dark);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chk-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #FFF4F0;
  color: var(--color-accent-orange);
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.stats-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  height: 100%;
  align-items: center;
}

.stat-mini-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 8px;
  background-color: #F8FAFC;
  border-radius: var(--radius-md);
  border: 1px solid #F1F5F9;
}

.stat-circle-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #EFF6FF;
  color: #0B57D0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.stat-circle-icon svg {
  width: 18px;
  height: 18px;
}

.stat-val {
  font-size: 15px;
  font-weight: 800;
  color: var(--color-heading-navy);
  line-height: 1.1;
}

.stat-lbl {
  font-size: 10px;
  color: var(--color-text-muted);
  margin-top: 3px;
  line-height: 1.2;
}

/* Timeline "Our Journey" & "Why Choose Us" Card */
.journey-why-section {
  padding: 10px 0 40px 0;
  background-color: #F8FAFC;
}

.journey-why-container {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
}

.journey-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.journey-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-heading-navy);
  margin-bottom: 24px;
}

.timeline-wrapper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  position: relative;
}

.timeline-wrapper::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: #E2E8F0;
  z-index: 1;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.timeline-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #FFF4F0;
  border: 2px solid #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.timeline-icon-circle svg {
  width: 16px;
  height: 16px;
}

.timeline-year {
  font-size: 11px;
  font-weight: 800;
  color: var(--color-accent-orange);
  margin-bottom: 2px;
}

.timeline-heading {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--color-heading-navy);
  line-height: 1.2;
  margin-bottom: 4px;
}

.timeline-text {
  font-size: 10px;
  color: var(--color-text-muted);
  line-height: 1.35;
}

/* Why Choose Us Card */
.why-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #FFFFFF;
  box-shadow: var(--shadow-float);
  min-height: 320px;
}

.why-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.why-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(6, 21, 43, 0.95) 0%, rgba(6, 21, 43, 0.82) 100%);
}

.why-content {
  position: relative;
  z-index: 2;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.why-title {
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.why-sub {
  font-size: 11.5px;
  color: #CBD5E1;
  line-height: 1.4;
  margin-bottom: 18px;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.why-list li {
  font-size: 12px;
  color: #FFFFFF;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.why-chk {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--color-accent-orange);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* CTA Banner Section */
.cta-banner-section {
  background-color: var(--color-dark-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
}

.cta-banner-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cta-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cta-logo-emblem {
  height: 44px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: brightness(1.2);
}

.cta-title {
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
}

.cta-sub {
  font-size: 12px;
  color: var(--color-text-light);
  margin-top: 2px;
}

.cta-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-cta-orange {
  background-color: var(--color-accent-orange);
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(240, 90, 36, 0.25);
}

.btn-cta-orange:hover {
  background-color: var(--color-accent-orange-hover);
  transform: translateY(-1px);
}

.btn-cta-outline {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-cta-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #FFFFFF;
}

.phone-svg {
  width: 15px;
  height: 15px;
}

@media (max-width: 1024px) {
  .about-hero-container {
    grid-template-columns: 1fr;
  }
  .about-cards-grid {
    grid-template-columns: 1fr;
  }
  .journey-why-container {
    grid-template-columns: 1fr;
  }
  .timeline-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline-wrapper::before {
    display: none;
  }
  .cta-banner-container {
    flex-direction: column;
    text-align: center;
  }
  .cta-left {
    flex-direction: column;
  }
}

/* ==========================================================================
   CUSTOMER REVIEWS PAGE STYLES (Matching Reference GUI)
   ========================================================================== */
.reviews-page-body {
  height: auto !important;
  overflow-y: auto !important;
}

/* Reviews Hero Section */
.reviews-hero-section {
  position: relative;
  padding: 40px 0 46px 0;
  background-color: var(--color-primary-navy);
  color: #FFFFFF;
  overflow: hidden;
}

.reviews-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.reviews-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.65) contrast(1.1);
}

.reviews-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(8, 22, 40, 0.92) 0%, rgba(8, 22, 40, 0.75) 50%, rgba(8, 22, 40, 0.4) 100%);
}

.reviews-hero-container {
  position: relative;
  z-index: 2;
}

.reviews-hero-title {
  font-size: 40px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.reviews-hero-desc {
  font-size: 14px;
  color: #E2E8F0;
  line-height: 1.5;
  margin-bottom: 28px;
}

.reviews-badges-bar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  max-width: 960px;
}

.rev-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rev-badge-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background-color: #EFF6FF;
  color: #0B57D0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rev-badge-icon svg {
  width: 18px;
  height: 18px;
}

.rev-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.rev-badge-text strong {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--color-heading-navy);
}

.rev-badge-text span {
  font-size: 10.5px;
  color: var(--color-text-muted);
}

/* Reviews Main Layout Grid */
.reviews-main-section {
  padding: 36px 0 50px 0;
  background-color: #F8FAFC;
}

.reviews-main-container {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: flex-start;
}

/* Overall Ratings Summary Card */
.ratings-summary-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
}

.summary-top-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
}

.score-box {
  display: flex;
  flex-direction: column;
  border-right: 1px solid #F1F5F9;
  padding-right: 20px;
}

.score-num {
  font-size: 52px;
  font-weight: 800;
  color: var(--color-heading-navy);
  line-height: 1;
}

.stars-row {
  color: #F59E0B;
  font-size: 18px;
  letter-spacing: 2px;
  margin: 4px 0 2px 0;
}

.based-on {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.rating-bars-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}

.star-lbl {
  width: 44px;
  color: var(--color-text-muted);
  font-weight: 600;
}

.bar-bg {
  flex: 1;
  height: 6px;
  background-color: #F1F5F9;
  border-radius: 3px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background-color: #0B1B3D;
  border-radius: 3px;
}

.count-val {
  width: 32px;
  text-align: right;
  color: var(--color-text-muted);
  font-size: 10.5px;
}

/* Category Pills & Filters Box */
.categories-filter-box {
  display: flex;
  flex-direction: column;
}

.cat-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--color-heading-navy);
  margin-bottom: 12px;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.cat-pill {
  background-color: #FFF4F0;
  color: var(--color-heading-navy);
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(240, 90, 36, 0.2);
}

.diamond-icon {
  color: var(--color-accent-orange);
  font-size: 10px;
}

.pill-score {
  color: var(--color-accent-orange);
  font-weight: 800;
  margin-left: 2px;
}

/* Search & Filter Bar */
.filter-controls-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.search-ic {
  position: absolute;
  left: 10px;
  width: 14px;
  height: 14px;
  stroke: var(--color-text-muted);
}

.rev-search-input {
  width: 100%;
  padding: 8px 12px 8px 30px;
  font-size: 12px;
  font-family: var(--font-family);
  background-color: #F8FAFC;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  outline: none;
}

.rev-select {
  flex: 1;
  padding: 8px 24px 8px 10px;
  font-size: 12px;
  font-family: var(--font-family);
  background-color: #F8FAFC;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  outline: none;
}

.btn-sort {
  background-color: var(--color-heading-navy);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border: none;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
}

.sort-ic {
  width: 14px;
  height: 14px;
}

/* Reviews Feed Cards */
.reviews-feed {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-card-item {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.rev-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.rev-user-block {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.user-avatar-circle {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background-color: #EFF6FF;
  color: #0B57D0;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.user-name-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--color-heading-navy);
}

.verified-badge {
  font-size: 10px;
  font-weight: 700;
  color: #10B981;
  background-color: #ECFDF5;
  padding: 2px 8px;
  border-radius: 12px;
}

.user-location {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 1px;
}

.user-service-tag {
  font-size: 11px;
  color: var(--color-text-dark);
  font-weight: 600;
  margin-top: 4px;
}

.rev-rating-date {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stars-yellow {
  color: #F59E0B;
  font-size: 15px;
  letter-spacing: 1.5px;
}

.rev-date {
  font-size: 11px;
  color: var(--color-text-muted);
}

.dots-menu {
  font-size: 16px;
  color: var(--color-text-muted);
  cursor: pointer;
}

.rev-headline {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--color-heading-navy);
  margin-bottom: 6px;
}

.rev-text {
  font-size: 13px;
  color: var(--color-text-dark);
  line-height: 1.5;
}

/* Official Reply Box */
.official-reply-box {
  background-color: #F8FAFC;
  border-left: 3px solid var(--color-accent-orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 12px 16px;
  margin-top: 14px;
}

.reply-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  margin-bottom: 4px;
}

.reply-header strong {
  color: var(--color-heading-navy);
  font-weight: 800;
}

.reply-date {
  color: var(--color-text-muted);
  font-size: 10.5px;
}

.reply-text {
  font-size: 12px;
  color: var(--color-text-dark);
  line-height: 1.45;
}

/* Right Sidebar Cards */
.reviews-right-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sidebar-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.side-card-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--color-heading-navy);
  margin-bottom: 4px;
}

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

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

.side-card-desc {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

.btn-write-review {
  width: 100%;
  background-color: var(--color-heading-navy);
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 700;
  padding: 11px;
  border: none;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-family: var(--font-family);
}

.btn-write-review:hover {
  background-color: var(--color-accent-orange);
}

.pencil-ic {
  width: 15px;
  height: 15px;
}

.share-footnote {
  font-size: 10.5px;
  color: var(--color-text-muted);
  margin-top: 10px;
  text-align: center;
  line-height: 1.35;
}

/* Platform Review Buttons */
.platform-buttons-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.platform-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 4px;
  background-color: #F8FAFC;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--color-heading-navy);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.platform-btn:hover {
  border-color: var(--color-accent-orange);
  background-color: #FFFBF8;
}

.plat-ic {
  width: 20px;
  height: 20px;
}

/* Commitment Items */
.commitment-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.commit-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #F1F5F9;
}

.commit-lbl {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-dark);
  font-weight: 600;
}

.commit-ic {
  width: 15px;
  height: 15px;
  stroke: var(--color-accent-orange);
}

.commit-val {
  font-weight: 800;
  color: var(--color-heading-navy);
  font-size: 12px;
}

.commit-footnote {
  font-size: 10.5px;
  color: var(--color-text-muted);
  line-height: 1.35;
}

@media (max-width: 1024px) {
  .reviews-main-container {
    grid-template-columns: 1fr;
  }
  .summary-top-grid {
    grid-template-columns: 1fr;
  }
  .score-box {
    border-right: none;
    border-bottom: 1px solid #F1F5F9;
    padding-bottom: 16px;
    margin-bottom: 16px;
  }
  .reviews-badges-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .filter-controls-row {
    flex-direction: column;
  }
  .reviews-badges-bar {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ADMIN DASHBOARD PANEL STYLES (Matching Reference GUI)
   ========================================================================== */
.admin-page-body {
  margin: 0;
  padding: 0;
  background-color: #F4F7FA;
  font-family: var(--font-family);
  color: var(--color-text-dark);
  height: 100vh;
  overflow: hidden;
}

.admin-layout-wrapper {
  display: flex;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

/* Sidebar */
.admin-sidebar {
  width: 250px;
  min-width: 250px;
  background-color: var(--color-dark-navy);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-logo-area {
  padding: 16px 20px;
  background-color: #040E1E;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.1);
}

.sidebar-menu-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
}

.menu-group-label {
  font-size: 10px;
  font-weight: 800;
  color: #64748B;
  letter-spacing: 1px;
  padding: 12px 10px 6px 10px;
}

.sidebar-menu-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: #94A3B8;
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sidebar-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transition: left 0.5s ease;
}

.sidebar-link:hover::before {
  left: 100%;
}

.sidebar-link:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  padding-left: 18px;
  transform: translateX(4px);
}

.sidebar-item.active > .sidebar-link {
  background: linear-gradient(90deg, #0B57D0 0%, #0B1B3D 100%);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(11, 87, 208, 0.35);
  border-left: 3.5px solid var(--color-accent-orange);
}

.sb-icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), stroke 0.3s ease;
}

.sidebar-link:hover .sb-icon {
  transform: scale(1.2) rotate(6deg);
  stroke: var(--color-accent-orange);
}

.sb-arrow {
  margin-left: auto;
  font-size: 14px;
  transform: rotate(90deg);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sidebar-item.open .sb-arrow {
  transform: rotate(270deg);
}

.sidebar-sub-menu {
  padding: 4px 0 4px 36px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sub-item a {
  font-size: 11.5px;
  color: #94A3B8;
  padding: 6px 0;
  display: block;
  position: relative;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sub-item a:hover,
.sub-item.active a {
  color: #FFFFFF;
  font-weight: 700;
  padding-left: 8px;
}

.sub-item a::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--color-accent-orange);
  opacity: 0;
  transition: opacity 0.25s ease, left 0.25s ease;
}

.sub-item a:hover::before,
.sub-item.active a::before {
  opacity: 1;
  left: -8px;
}

.sidebar-help-card {
  margin-top: auto;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  text-align: center;
  margin-top: 20px;
}

.help-card-icon {
  width: 20px;
  height: 20px;
  color: var(--color-accent-orange);
  margin-bottom: 6px;
}

.sidebar-help-card strong {
  display: block;
  font-size: 12px;
  color: #FFFFFF;
}

.sidebar-help-card p {
  font-size: 10.5px;
  color: #94A3B8;
  margin: 2px 0 10px 0;
}

.btn-sidebar-contact {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 4px;
  display: inline-block;
  transition: background 0.2s ease;
}

.btn-sidebar-contact:hover {
  background: var(--color-accent-orange);
}

/* Main Content Area */
.admin-main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

/* Top Nav Header */
.admin-top-nav {
  height: 56px;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  flex-shrink: 0;
}

.top-nav-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.toggle-menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
}

.toggle-menu-btn svg {
  width: 20px;
  height: 20px;
}

.admin-search-wrap {
  position: relative;
  width: 320px;
}

.admin-search-ic {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  stroke: var(--color-text-muted);
}

.admin-search-input {
  width: 100%;
  padding: 7px 12px 7px 32px;
  font-size: 12px;
  font-family: var(--font-family);
  background-color: #F8FAFC;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  outline: none;
}

.top-nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-icon-btn {
  background: none;
  border: none;
  position: relative;
  cursor: pointer;
  color: var(--color-text-muted);
  padding: 6px;
  display: flex;
  align-items: center;
}

.nav-icon-btn svg {
  width: 18px;
  height: 18px;
}

.badge-count {
  position: absolute;
  top: 2px;
  right: 2px;
  font-size: 9px;
  font-weight: 800;
  color: #FFFFFF;
  border-radius: 8px;
  padding: 1px 4px;

}

.badge-orange { background-color: var(--color-accent-orange); }
.badge-blue { background-color: #0B57D0; }

.admin-user-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 10px;
  border-left: 1px solid var(--color-border);
}

.user-avatar-blue {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #0B57D0;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-avatar-blue svg {
  width: 18px;
  height: 18px;
}

.user-profile-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.user-display-name {
  font-size: 12px;
  font-weight: 800;
  color: var(--color-heading-navy);
}

.user-role-label {
  font-size: 10px;
  color: var(--color-text-muted);
}

/* Body Container */
.admin-body-container {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-page-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-heading-navy);
}

.admin-breadcrumb {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.btn-primary-action {
  background-color: #0B57D0;
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 700;
  padding: 9px 16px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(11, 87, 208, 0.25);
}

/* 4 Metric Cards Grid */
.metric-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.metric-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.metric-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.metric-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--color-text-muted);
}

.metric-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-heading-navy);
  margin-top: 4px;
}

.metric-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.metric-icon-circle svg {
  width: 18px;
  height: 18px;
}

.icon-bg-blue { background-color: #EFF6FF; color: #0B57D0; }
.icon-bg-green { background-color: #ECFDF5; color: #10B981; }
.icon-bg-yellow { background-color: #FEF3C7; color: #D97706; }
.icon-bg-red { background-color: #FEE2E2; color: #EF4444; }

.metric-change {
  font-size: 10.5px;
  color: var(--color-text-muted);
  margin-top: 10px;
}

.trend-up span { color: #10B981; font-weight: 800; }
.trend-down span { color: #EF4444; font-weight: 800; }

/* Filter Controls Box */
.admin-filters-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.filters-inputs-grid {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.filter-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.filter-group label {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--color-heading-navy);
}

.input-with-ic {
  position: relative;
}

.field-ic {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  stroke: var(--color-text-muted);
}

.filter-input,
.filter-select {
  width: 100%;
  padding: 7px 10px;
  font-size: 11.5px;
  font-family: var(--font-family);
  background-color: #F8FAFC;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  outline: none;
}

.filter-actions-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-filter-submit {
  background-color: #0B57D0;
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 700;
  padding: 7px 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-filter-submit svg {
  width: 12px;
  height: 12px;
}

.btn-filter-reset {
  background: none;
  border: none;
  color: #0B57D0;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  padding: 7px 8px;
}

/* Table & Drawer Layout Grid */
.table-view-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  flex: 1;
}

.table-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.table-header-tabs-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid var(--color-border);
}

.tab-links-group {
  display: flex;
  gap: 12px;
}

.tbl-tab {
  background: none;
  border: none;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--color-text-muted);
  padding: 6px 0;
  cursor: pointer;
  position: relative;
}

.tbl-tab.active {
  color: #0B57D0;
}

.tbl-tab.active::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #0B57D0;
}

.btn-export {
  background-color: #F8FAFC;
  border: 1px solid var(--color-border);
  font-size: 11px;
  font-weight: 700;
  color: var(--color-heading-navy);
  padding: 5px 12px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.btn-export svg {
  width: 12px;
  height: 12px;
}

/* Data Table */
.table-scroll-wrapper {
  flex: 1;
  overflow-x: auto;
}

.admin-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
}

.admin-data-table th {
  background-color: #F8FAFC;
  color: var(--color-text-muted);
  font-weight: 700;
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--color-border);
}

.admin-data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #F1F5F9;
  vertical-align: middle;
}

.tr-row:hover {
  background-color: #F8FAFC;
}

.tr-row.selected {
  background-color: #EFF6FF;
}

.th-cb, .td-cb {
  width: 30px;
  text-align: center;
}

.date-sub, .cust-email, .cust-phone, .veh-sub {
  font-size: 10px;
  color: var(--color-text-muted);
}

.pin-green { color: #10B981; }
.pin-orange { color: var(--color-accent-orange); }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
}

.status-badge.sm { font-size: 9.5px; padding: 2px 6px; }

.badge-transit { background-color: #EFF6FF; color: #0B57D0; }
.badge-booked { background-color: #F3E8FF; color: #7C3AED; }
.badge-confirmed { background-color: #ECFDF5; color: #10B981; }
.badge-delivered { background-color: #D1FAE5; color: #059669; }
.badge-cancelled { background-color: #FEE2E2; color: #EF4444; }

.pay-paid { color: #10B981; font-weight: 700; font-size: 10px; }
.pay-unpaid { color: #EF4444; font-weight: 700; font-size: 10px; }
.pay-refunded { color: var(--color-text-muted); font-size: 10px; }

.btn-dots {
  background: none;
  border: none;
  font-size: 16px;
  color: var(--color-text-muted);
  cursor: pointer;
}

.text-right { text-align: right; }

/* Table Pagination Bar */
.table-pagination-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  border-top: 1px solid var(--color-border);
  background-color: #FFFFFF;
}

.entries-info {
  font-size: 11px;
  color: var(--color-text-muted);
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 4px;
}

.pg-btn {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: 1px solid var(--color-border);
  background-color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pg-btn.active {
  background-color: #0B57D0;
  color: #FFFFFF;
  border-color: #0B57D0;
}

.pg-dots {
  font-size: 11px;
  color: var(--color-text-muted);
  padding: 0 2px;
}

.per-page-select {
  font-size: 11px;
  padding: 3px 6px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  margin-left: 8px;
}

/* Right Details Drawer Panel */
.details-drawer-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
}

.drawer-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--color-heading-navy);
}

.drawer-sub-ref {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  font-size: 11px;
}

.btn-close-drawer {
  background: none;
  border: none;
  font-size: 14px;
  color: var(--color-text-muted);
  cursor: pointer;
}

.drawer-scroll-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.drawer-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sec-label-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  color: #0B57D0;
}

.sec-ic {
  width: 14px;
  height: 14px;
  stroke: #0B57D0;
}

.info-kv-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
}

.kv-row {
  display: flex;
  justify-content: space-between;
}

.kv-row .k { color: var(--color-text-muted); }
.kv-row .v { color: var(--color-text-dark); text-align: right; }
.kv-row .v.bold { font-weight: 700; }
.text-navy { color: var(--color-heading-navy) !important; }
.link-blue { color: #0B57D0; font-weight: 700; }

.route-timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  padding-left: 12px;
  border-left: 2px stroke #E2E8F0;
}

.route-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  position: relative;
}

.point-pin {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  position: absolute;
  left: -17px;
  top: 4px;
}

.point-pin.green { background-color: #10B981; }
.point-pin.orange { background-color: var(--color-accent-orange); }

.point-title {
  font-size: 10px;
  color: var(--color-text-muted);

}

.point-val {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--color-heading-navy);
}

.point-time {
  font-size: 10px;
  color: var(--color-text-muted);
}

.vehicle-thumb-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background-color: #F8FAFC;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.car-thumb-icon {
  width: 50px;
  height: 34px;
}

.veh-thumb-details {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.veh-thumb-title {
  font-size: 12px;
  color: var(--color-heading-navy);
}

.veh-thumb-type {
  font-size: 10px;
  color: var(--color-text-muted);
}

.veh-spec-line {
  font-size: 10px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.veh-rego {
  font-size: 10px;
  font-weight: 700;
  color: #0B57D0;
}

.drawer-action-buttons {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}

.btn-drawer-blue {
  background-color: #0B57D0;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  padding: 8px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.btn-drawer-outline {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  color: var(--color-heading-navy);
  font-size: 11.5px;
  font-weight: 700;
  padding: 7px;
  border-radius: 4px;
  cursor: pointer;
}

.btn-drawer-danger {
  background: #FFF5F5;
  border: 1px solid #FEE2E2;
  color: #EF4444;
  font-size: 11.5px;
  font-weight: 700;
  padding: 7px;
  border-radius: 4px;
  cursor: pointer;
}

@media (max-width: 1200px) {
  .table-view-grid {
    grid-template-columns: 1fr;
  }
  .details-drawer-card {
    display: none;
  }
  .metric-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   TRACK VEHICLE PAGE STYLES (Matching Reference GUI)
   ========================================================================== */
.track-page-body {
  height: auto !important;
  overflow-y: auto !important;
}

/* Track Hero Section */
.track-hero-section {
  position: relative;
  padding: 44px 0 50px 0;
  background-color: var(--color-primary-navy);
  color: #FFFFFF;
  overflow: hidden;
}

.track-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.track-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.65) contrast(1.1);
}

.track-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(6, 21, 43, 0.95) 0%, rgba(6, 21, 43, 0.78) 50%, rgba(6, 21, 43, 0.45) 100%);
}

.track-hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  align-items: center;
}

.track-hero-left {
  color: #FFFFFF;
}

.track-hero-title {
  font-size: 42px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.track-hero-desc {
  font-size: 15px;
  color: #CBD5E1;
  line-height: 1.5;
}

/* Track Search Card */
.track-search-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.2);
}

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

.track-tabs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
  background-color: #F8FAFC;
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.track-tab {
  flex: 1;
  background: none;
  border: none;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--color-text-muted);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.track-tab.active {
  background-color: #0B57D0;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(11, 87, 208, 0.25);
}

.tab-ic {
  width: 14px;
  height: 14px;
}

.track-input-form {
  margin-bottom: 12px;
}

.track-input-row {
  display: flex;
  gap: 10px;
}

.track-main-input {
  flex: 1;
  padding: 12px 16px;
  font-size: 13.5px;
  font-family: var(--font-family);
  background-color: #F8FAFC;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  outline: none;
  font-weight: 600;
  color: var(--color-heading-navy);
  transition: border-color 0.2s ease;
}

.track-main-input:focus {
  border-color: #0B57D0;
}

.btn-track-now {
  background-color: var(--color-accent-orange);
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 800;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(240, 90, 36, 0.25);
}

.btn-track-now:hover {
  background-color: var(--color-accent-orange-hover);
  transform: translateY(-1px);
}

.track-subnote {
  font-size: 11.5px;
  color: var(--color-text-muted);
}

.track-subnote a {
  color: #0B57D0;
  font-weight: 700;
  text-decoration: underline;
}

/* Tracking Results Main Layout Grid */
.tracking-results-section {
  padding: 36px 0 40px 0;
  background-color: #F8FAFC;
}

.tracking-results-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  align-items: flex-start;
}

/* Left Details Card */
.tracking-details-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.ref-lbl {
  font-size: 13.5px;
  color: var(--color-heading-navy);
  font-weight: 800;
}

.ref-code {
  font-size: 16px;
  font-weight: 800;
  color: #0B57D0;
  margin-left: 6px;
}

/* Route Endpoint Visualizer Bar */
.route-endpoints-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #F8FAFC;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  border: 1px solid var(--color-border);
}

.endpoint-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.point-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-green { background-color: #10B981; }
.dot-orange { background-color: var(--color-accent-orange); }

.end-city {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--color-heading-navy);
}

.end-lbl {
  font-size: 10.5px;
  color: var(--color-text-muted);
}

.route-middle-line {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 16px;
}

.route-middle-line::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: repeating-linear-gradient(90deg, #CBD5E1 0 6px, transparent 6px 12px);
}

.line-truck-ic {
  width: 24px;
  height: 24px;
  stroke: #0B57D0;
  background-color: #FFFFFF;
  padding: 3px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  position: relative;
  z-index: 2;
}

/* Metric Info Boxes Grid */
.track-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.metric-info-box {
  background-color: #F8FAFC;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.metric-box-ic {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #EFF6FF;
  color: #0B57D0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.metric-box-ic svg {
  width: 18px;
  height: 18px;
}

.m-lbl {
  display: block;
  font-size: 10.5px;
  color: var(--color-text-muted);
}

.m-val {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--color-heading-navy);
}

.m-sub {
  display: block;
  font-size: 10px;
  color: var(--color-text-muted);
}

/* Tracking Status Timeline Block */
.status-heading {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--color-heading-navy);
  margin-bottom: 16px;
}

.status-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.status-step {
  display: flex;
  gap: 14px;
  min-height: 54px;
}

.step-icon-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 22px;
}

.step-check-ic {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #10B981;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-current-ic {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #EFF6FF;
  color: #0B57D0;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0B57D0;
}

.step-pending-ic {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #F1F5F9;
  color: #94A3B8;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-line {
  flex: 1;
  width: 2px;
  background-color: #E2E8F0;
  margin: 4px 0;
}

.step-content {
  flex: 1;
  padding-bottom: 14px;
}

.step-title-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--color-heading-navy);
}

.text-blue { color: #0B57D0 !important; }
.text-muted { color: var(--color-text-muted) !important; }

.step-loc-tag {
  font-size: 10.5px;
  color: var(--color-text-muted);
}

.current-tag {
  font-weight: 700;
  color: #0B57D0;
  background-color: #EFF6FF;
  padding: 2px 8px;
  border-radius: 10px;
}

.step-timestamp {
  display: block;
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.step-subtext {
  font-size: 11.5px;
  color: var(--color-text-dark);
  margin-top: 3px;
  font-weight: 600;
}

/* Action Buttons Row */
.track-actions-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 12px;
  margin-top: 8px;
}

.btn-action-outline {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  color: var(--color-heading-navy);
  font-size: 12.5px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.btn-action-outline:hover {
  border-color: #0B57D0;
}

.btn-action-blue {
  background-color: #0B57D0;
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 700;
  padding: 10px 14px;
  border: none;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(11, 87, 208, 0.25);
  transition: background 0.2s ease;
}

.btn-action-blue:hover {
  background-color: #0843A4;
}

.act-ic {
  width: 15px;
  height: 15px;
}

/* Right Live Map Display Card */
.live-map-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  position: relative;
  min-height: 480px;
}

.map-view-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 480px;
}

.tracking-map-svg {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.map-zoom-buttons {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 5;
}

.m-zoom-btn {
  width: 28px;
  height: 28px;
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 16px;
  font-weight: 800;
  color: var(--color-heading-navy);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.current-location-card {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--color-border);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 180px;
}

.loc-card-lbl {
  font-size: 10px;
  color: var(--color-text-muted);
  font-weight: 700;
  text-transform: uppercase;
}

.loc-card-place {
  font-size: 13px;
  font-weight: 800;
  color: var(--color-heading-navy);
}

.loc-card-time {
  font-size: 10px;
  color: var(--color-text-muted);
}

.link-gmaps {
  font-size: 11px;
  color: #0B57D0;
  font-weight: 700;
  margin-top: 4px;
}

/* Bottom 4 Features Bar */
.track-features-section {
  padding: 0 0 46px 0;
  background-color: #F8FAFC;
}

.track-features-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.t-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.t-feat-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.t-feat-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background-color: #EFF6FF;
  color: #0B57D0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.t-feat-icon svg {
  width: 18px;
  height: 18px;
}

.t-feat-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.t-feat-text strong {
  font-size: 13px;
  font-weight: 800;
  color: var(--color-heading-navy);
}

.t-feat-text span {
  font-size: 11px;
  color: var(--color-text-muted);
}

@media (max-width: 1024px) {
  .track-hero-container {
    grid-template-columns: 1fr;
  }
  .tracking-results-container {
    grid-template-columns: 1fr;
  }
  .t-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .track-input-row {
    flex-direction: column;
  }
  .track-metrics-grid {
    grid-template-columns: 1fr;
  }
  .track-actions-row {
    grid-template-columns: 1fr;
  }
  .t-features-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   GET INSTANT QUOTE PAGE STYLES (Matching Reference GUI)
   ========================================================================== */
.quote-page-body {
  height: auto !important;
  overflow-y: auto !important;
}

/* Quote Hero Section */
.quote-hero-section {
  position: relative;
  padding: 40px 0 46px 0;
  background-color: var(--color-primary-navy);
  color: #FFFFFF;
  overflow: hidden;
}

.quote-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.quote-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.65) contrast(1.1);
}

.quote-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(6, 21, 43, 0.95) 0%, rgba(6, 21, 43, 0.8) 50%, rgba(6, 21, 43, 0.45) 100%);
}

.quote-hero-container {
  position: relative;
  z-index: 2;
}

.quote-hero-title {
  font-size: 40px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}

.quote-hero-subtitle {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-accent-orange);
  margin-bottom: 8px;
}

.quote-hero-desc {
  font-size: 14px;
  color: #CBD5E1;
  line-height: 1.5;
  margin-bottom: 26px;
}

.quote-badges-bar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  max-width: 960px;
}

.q-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.q-badge-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background-color: #EFF6FF;
  color: #0B57D0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.q-badge-icon svg {
  width: 18px;
  height: 18px;
}

.q-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.q-badge-text strong {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--color-heading-navy);
}

.q-badge-text span {
  font-size: 10.5px;
  color: var(--color-text-muted);
}

/* Quote Form Main Layout Grid */
.quote-form-section {
  padding: 36px 0 50px 0;
  background-color: #F8FAFC;
}

.quote-form-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Step Tracker Bar */
.quote-step-tracker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 16px 32px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.tracker-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #F1F5F9;
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tracker-item.active .step-num {
  background-color: #0B57D0;
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(11, 87, 208, 0.25);
}

.step-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--color-text-muted);
}

.tracker-item.active .step-label {
  color: var(--color-heading-navy);
}

.tracker-line {
  flex: 1;
  height: 2px;
  background-color: #E2E8F0;
  margin: 0 16px;
  margin-bottom: 20px;
}

/* Form & Sidebar Grid */
.quote-workspace-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: flex-start;
}

.quote-main-form-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.form-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid #F1F5F9;
}

.form-block:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.form-block-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--color-heading-navy);
}

.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

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

.field-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-wrap label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--color-heading-navy);
}

.form-select, .form-input, .form-textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 12.5px;
  font-family: var(--font-family);
  background-color: #F8FAFC;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  outline: none;
  color: var(--color-heading-navy);
}

.input-wrap .form-select,
.input-wrap .form-input {
  padding-left: 38px !important;
}

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

.form-select:focus, .form-input:focus, .form-textarea:focus {
  border-color: #0B57D0;
  background-color: #FFFFFF;
}

/* Door to Door / Depot to Depot Buttons */
.type-btn-group {
  display: flex;
  gap: 8px;
}

.type-btn {
  flex: 1;
  background-color: #F8FAFC;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 8px 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-heading-navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.type-btn.active {
  background-color: #EFF6FF;
  border-color: #0B57D0;
  color: #0B57D0;
}

.t-ic {
  width: 16px;
  height: 16px;
}

/* Condition Buttons */
.condition-btn-group {
  display: flex;
  gap: 8px;
}

.cond-btn {
  flex: 1;
  background-color: #F8FAFC;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--color-heading-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.cond-btn.active {
  background-color: #ECFDF5;
  border-color: #10B981;
  color: #059669;
}

.cond-chk {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #10B981;
  color: #FFFFFF;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cond-cross {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #EF4444;
  color: #FFFFFF;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Toggle Switch Controls */
.toggle-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.toggle-checkbox {
  display: none;
}

.toggle-label {
  width: 40px;
  height: 22px;
  background-color: #CBD5E1;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.toggle-label::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #FFFFFF;
  transition: transform 0.2s ease;
}

.toggle-checkbox:checked + .toggle-label {
  background-color: #0B57D0;
}

.toggle-checkbox:checked + .toggle-label::after {
  transform: translateX(18px);
}

.toggle-status {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--color-text-muted);
}

/* Additional Options Switches Cards */
.options-switches-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.switch-card {
  background-color: #F8FAFC;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sw-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sw-ic {
  width: 20px;
  height: 20px;
  stroke: #0B57D0;
}

.sw-info strong {
  display: block;
  font-size: 12px;
  color: var(--color-heading-navy);
}

.sw-info span {
  font-size: 10px;
  color: var(--color-text-muted);
}

/* Submit Action Button */
.btn-submit-quote-step {
  width: 100%;
  background-color: var(--color-accent-orange);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 800;
  padding: 14px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 14px rgba(240, 90, 36, 0.3);
  margin-top: 10px;
}

.btn-submit-quote-step:hover {
  background-color: var(--color-accent-orange-hover);
  transform: translateY(-1px);
}

/* Right Sidebar Cards */
.quote-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.q-side-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.summary-side-card {
  background-color: #06152B;
  color: #FFFFFF;

}

.q-side-header {
  padding: 18px 20px 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.q-side-title {
  font-size: 16px;
  font-weight: 800;
  color: #FFFFFF;
}

.summary-side-card .q-side-title { color: #FFFFFF; }
.why-side-card { padding: 20px; }
.why-side-card .q-side-title { color: var(--color-heading-navy); }

.q-side-sub {
  font-size: 11px;
  color: #94A3B8;
  margin-top: 2px;
}

.q-route-visual {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.q-route-pt {
  display: flex;
  align-items: center;
  gap: 8px;
}

.q-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.q-dot.green { background-color: #10B981; }
.q-dot.orange { background-color: var(--color-accent-orange); }

.q-route-pt .lbl { display: block; font-size: 10px; color: #94A3B8; }
.q-route-pt .val { display: block; font-size: 12px; color: #FFFFFF; }

.q-line-middle {
  flex: 1;
  padding: 0 10px;
}

.dashed-line {
  display: block;
  height: 2px;
  background: repeating-linear-gradient(90deg, #64748B 0 4px, transparent 4px 8px);
}

.q-summary-list {
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.q-sum-row {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
}

.q-sum-row .k { color: #94A3B8; }
.q-sum-row .v { color: #FFFFFF; font-weight: 700; }

.fill-form-prompt {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  color: #CBD5E1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.prompt-ic {
  width: 18px;
  height: 18px;
  stroke: var(--color-accent-orange);
}

.fill-form-prompt strong { color: var(--color-accent-orange); }

/* Why Choose Us Items */
.why-us-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.why-us-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.w-ic-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #EFF6FF;
  color: #0B57D0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.w-ic-circle svg {
  width: 16px;
  height: 16px;
}

.why-us-item strong {
  display: block;
  font-size: 12.5px;
  color: var(--color-heading-navy);
}

.why-us-item span {
  font-size: 10.5px;
  color: var(--color-text-muted);
}

/* Need Help Bar */
.need-help-bar {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.help-left strong {
  display: block;
  font-size: 15px;
  color: var(--color-heading-navy);
}

.help-left span {
  font-size: 12px;
  color: var(--color-text-muted);
}

.help-contact-items {
  display: flex;
  align-items: center;
  gap: 24px;
}

.h-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.h-ic {
  width: 20px;
  height: 20px;
  stroke: #0B57D0;
}

.h-item strong {
  display: block;
  font-size: 12.5px;
  color: var(--color-heading-navy);
}

.h-item span {
  font-size: 10.5px;
  color: var(--color-text-muted);
}

@media (max-width: 1024px) {
  .quote-workspace-grid {
    grid-template-columns: 1fr;
  }
  .form-grid-3 {
    grid-template-columns: 1fr;
  }
  .need-help-bar {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .help-contact-items {
    flex-direction: column;
    gap: 12px;
  }
  .quote-badges-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   DRIVER DASHBOARD PORTAL STYLES (Matching Reference GUI)
   ========================================================================== */
.driver-page-body {
  margin: 0;
  padding: 0;
  background-color: #F4F7FA;
  font-family: var(--font-family);
  color: var(--color-text-dark);
  height: 100vh;
  overflow: hidden;
}

.driver-layout-wrapper {
  display: flex;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

/* Sidebar */
.driver-sidebar {
  width: 240px;
  min-width: 240px;
  background-color: var(--color-dark-navy);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.driver-brand-logo .driver-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.1);
}

.sb-badge {
  font-size: 10px;
  font-weight: 800;
  color: #FFFFFF;
  border-radius: 10px;
  padding: 1px 6px;
  margin-left: auto;
}

.badge-red { background-color: #EF4444; }

/* Driver Main Header */
.driver-main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.driver-top-nav {
  height: 60px;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  flex-shrink: 0;
}

.driver-welcome-title {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.d-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-heading-navy);
}

.d-sub {
  font-size: 11px;
  color: var(--color-text-muted);
}

.d-phone-support, .d-chat-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 12px;
  border-right: 1px solid var(--color-border);
}

.d-phone-ic, .d-chat-ic {
  width: 18px;
  height: 18px;
  stroke: #0B57D0;
}

.d-phone-support strong, .d-chat-status strong {
  display: block;
  font-size: 11.5px;
  color: var(--color-heading-navy);
}

.d-phone-support span, .d-chat-status span {
  font-size: 10px;
  color: var(--color-text-muted);
}

.online-tag { color: #10B981 !important; font-weight: 700; }

.driver-user-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 10px;
  border-left: 1px solid var(--color-border);
}

.driver-avatar-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #0B57D0;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.driver-avatar-circle svg {
  width: 18px;
  height: 18px;
}

/* Driver Body Container */
.driver-body-container {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* 5 Top Metric Cards Grid */
.driver-metric-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.d-metric-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.d-metric-left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.d-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.d-icon-circle svg {
  width: 18px;
  height: 18px;
}

.icon-blue { background-color: #EFF6FF; color: #0B57D0; }
.icon-green { background-color: #ECFDF5; color: #10B981; }
.icon-orange { background-color: #FFF4F0; color: var(--color-accent-orange); }
.icon-purple { background-color: #F3E8FF; color: #7C3AED; }
.icon-sky { background-color: #E0F2FE; color: #0284C7; }

.d-lbl {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-text-muted);
}

.d-val {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-heading-navy);
  margin-top: 2px;
}

.d-link {
  font-size: 10.5px;
  font-weight: 700;
  color: #0B57D0;
  margin-top: 4px;
  display: inline-block;
}

.d-sub {
  font-size: 10px;
  color: var(--color-text-muted);
}

.text-green { color: #10B981 !important; font-weight: 700; }

/* Workspace Grid (Schedule + Map vs Job Details) */
.driver-workspace-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 18px;
  align-items: flex-start;
}

.driver-left-workspace {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.d-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.d-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.d-card-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--color-heading-navy);
}

.d-header-link {
  font-size: 11.5px;
  font-weight: 700;
  color: #0B57D0;
}

/* Today's Schedule List */
.schedule-items-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.schedule-item {
  display: grid;
  grid-template-columns: 120px 1fr 140px;
  gap: 16px;
  background-color: #F8FAFC;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  align-items: center;
}

.sched-time-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sched-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.num-green { background-color: #10B981; }
.num-blue { background-color: #0B57D0; }

.sched-time {
  font-size: 13px;
  font-weight: 800;
  color: var(--color-heading-navy);
}

.sched-tag {
  font-size: 10px;
  color: var(--color-text-muted);
}

.sched-details-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sched-header-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sched-ref {
  font-size: 11.5px;
  color: var(--color-text-dark);
}

.sched-ref strong { color: #0B57D0; }

.sched-route-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.route-point-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11.5px;
}

.route-point-item .city {
  color: var(--color-heading-navy);
  font-weight: 800;
}

.route-point-item .addr {
  font-size: 10px;
  color: var(--color-text-muted);
  display: block;
}

.sched-veh-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.sched-car-thumb {
  width: 50px;
  height: 30px;
  margin-bottom: 4px;
}

.sched-veh-col strong {
  font-size: 12px;
  color: var(--color-heading-navy);
}

.sched-veh-col .sub {
  font-size: 10px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.btn-job-blue {
  background-color: #0B57D0;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.btn-job-outline {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  color: var(--color-heading-navy);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
}

/* Route Map Display */
.map-card { padding: 0; overflow: hidden; }

.driver-map-wrapper {
  position: relative;
  width: 100%;
  height: 260px;
}

.driver-map-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Current Job Details Drawer */
.job-details-card {
  display: flex;
  flex-direction: column;
}

.mt-2 { margin-top: 4px; }

.job-details-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.job-meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  padding-bottom: 8px;
  border-bottom: 1px solid #F1F5F9;
}

.job-meta-row .lbl { color: var(--color-text-muted); display: block; }
.job-meta-row .val { color: var(--color-heading-navy); font-size: 12px; }

.job-route-line {
  font-size: 11px;
}

.job-route-line .lbl { color: var(--color-text-muted); display: block; }
.job-route-line .val { color: #0B57D0; font-size: 12px; margin-top: 2px; display: block; }

.loc-step-card {
  background-color: #F8FAFC;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 11px;
}

.step-lbl-row {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-heading-navy);
}

.step-time { font-size: 10.5px; color: var(--color-text-muted); }
.step-addr { font-weight: 600; color: var(--color-text-dark); }

.step-contact-line {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px dashed #E2E8F0;
  font-size: 10.5px;
}

.phone-link { color: #0B57D0; font-weight: 700; }

.job-veh-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sec-lbl { font-size: 11px; font-weight: 700; color: var(--color-text-muted); }

.veh-flex-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #F8FAFC;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.car-icon-thumb { font-size: 20px; }

.veh-flex-box strong { font-size: 12px; color: var(--color-heading-navy); }
.veh-flex-box p { font-size: 10.5px; color: var(--color-text-muted); }
.veh-flex-box .vin { font-size: 9.5px; color: var(--color-text-muted); }

.payment-line-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--color-heading-navy);
}

.job-actions-buttons {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.btn-job-call {
  flex: 1;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  color: var(--color-heading-navy);
  font-size: 11.5px;
  font-weight: 700;
  padding: 8px;
  border-radius: 4px;
  cursor: pointer;
}

.btn-job-action-blue {
  flex: 1;
  background-color: #0B57D0;
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 700;
  padding: 8px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* Bottom Grid Cards */
.driver-bottom-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.updates-timeline {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.upd-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11px;
}

.upd-time { display: block; font-size: 10px; color: var(--color-text-muted); }
.upd-text { color: var(--color-text-dark); font-weight: 600; }

.dot-blue { color: #0B57D0; }
.dot-muted { color: var(--color-text-muted); }

.docs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.doc-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}

.doc-ic {
  width: 16px;
  height: 16px;
  stroke: #0B57D0;
}

.doc-item strong { display: block; color: var(--color-heading-navy); font-size: 11.5px; }
.doc-item span { font-size: 10px; color: var(--color-text-muted); }

.verified-tag {
  font-size: 9.5px;
  font-weight: 700;
  color: #10B981;
  background-color: #ECFDF5;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: auto;
}

.earnings-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.earn-row {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
}

.earn-row .k { color: var(--color-text-muted); }
.earn-row .v { color: var(--color-heading-navy); }

.btn-earn-details {
  width: 100%;
  background-color: #0B57D0;
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 700;
  padding: 8px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 6px;
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.qa-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 6px;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.qa-btn:hover { transform: translateY(-1px); }

.qa-ic { width: 18px; height: 18px; }

.qa-green { background-color: #ECFDF5; color: #059669; }
.qa-blue { background-color: #EFF6FF; color: #0B57D0; }
.qa-orange { background-color: #FFF4F0; color: var(--color-accent-orange); }
.qa-purple { background-color: #F3E8FF; color: #7C3AED; }

@media (max-width: 1200px) {
  .driver-metric-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .driver-workspace-grid {
    grid-template-columns: 1fr;
  }
  .driver-bottom-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   EXECUTIVE ADMIN DASHBOARD STYLES (Matching Reference GUI)
   ========================================================================== */
.admin-dashboard-title-header {
  margin-bottom: 4px;
}

.dash-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-heading-navy);
}

.dash-sub {
  font-size: 12px;
  color: var(--color-text-muted);
}

.date-range-badge-picker {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #F8FAFC;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--color-heading-navy);
  cursor: pointer;
}

.date-range-badge-picker svg {
  width: 15px;
  height: 15px;
  stroke: #0B57D0;
}

.date-range-badge-picker .arrow-dn {
  font-size: 10px;
  color: var(--color-text-muted);
}

/* 6 Metric Cards Grid */
.metric-cards-grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.icon-bg-purple { background-color: #F3E8FF; color: #7C3AED; }
.icon-bg-teal { background-color: #CCFBF1; color: #0D9488; }
.icon-bg-orange { background-color: #FFF4F0; color: var(--color-accent-orange); }

/* 3 Analytics Charts Grid */
.analytics-charts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.dash-chart-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.dash-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.dash-card-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--color-heading-navy);
}

.dash-filter-select {
  background-color: #F8FAFC;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  color: var(--color-heading-navy);
}

.chart-legend-row {
  display: flex;
  gap: 14px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.leg-item { display: flex; align-items: center; gap: 5px; }

.leg-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.leg-dot.blue { background-color: #0B57D0; }
.leg-dot.green { background-color: #10B981; }
.leg-dot.orange { background-color: var(--color-accent-orange); }
.leg-dot.red { background-color: #EF4444; }
.leg-dot.purple { background-color: #7C3AED; }
.leg-dot.grey { background-color: #CBD5E1; }

.chart-svg-container {
  width: 100%;
  height: 160px;
}

.line-chart-svg, .bar-chart-svg {
  width: 100%;
  height: 100%;
}

/* Donut Chart Layout */
.donut-chart-flex {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

.donut-svg-wrap {
  position: relative;
  width: 110px;
  height: 110px;
  flex-shrink: 0;
}

.donut-svg { width: 100%; height: 100%; transform: rotate(-90deg); }

.donut-center-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  line-height: 1.1;
}

.donut-center-text strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--color-heading-navy);
}

.donut-center-text span {
  font-size: 10px;
  color: var(--color-text-muted);
}

.donut-legend-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.donut-leg-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}

.donut-leg-row span { color: var(--color-text-muted); }
.donut-leg-row strong { color: var(--color-heading-navy); font-size: 11px; }

/* Middle Workspace Grid */
.dash-middle-grid {
  display: grid;
  grid-template-columns: 1fr 340px 240px;
  gap: 18px;
  align-items: flex-start;
}

.dash-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.dash-header-link {
  font-size: 11px;
  font-weight: 700;
  color: #0B57D0;
}

.dash-mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
}

.dash-mini-table th {
  text-align: left;
  padding: 8px 10px;
  font-size: 10.5px;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
}

.dash-mini-table td {
  padding: 10px;
  border-bottom: 1px solid #F1F5F9;
  color: var(--color-text-dark);
}

.ref-blue { color: #0B57D0; }

.australia-map-wrap {
  width: 100%;
  height: 220px;
}

.aus-map-svg {
  width: 100%;
  height: 100%;
}

.qa-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.qa-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 8px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  transition: transform 0.2s ease;
}

.qa-tile:hover { transform: translateY(-1px); }

.qa-tile svg { width: 18px; height: 18px; }

.qa-sky { background-color: #E0F2FE; color: #0284C7; }
.qa-red { background-color: #FEF2F2; color: #EF4444; }

/* Bottom Workspace Grid */
.dash-bottom-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.top-customers-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cust-rank-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
}

.c-avatar-sm {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #EFF6FF;
  color: #0B57D0;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.c-info strong { display: block; color: var(--color-heading-navy); font-size: 11.5px; }
.c-info span { font-size: 10px; color: var(--color-text-muted); }

.c-spent { margin-left: auto; color: #0B57D0; font-size: 11.5px; }

.revenue-summary-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rev-row {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
}

.rev-row .k { color: var(--color-text-muted); }
.rev-row .v { color: var(--color-heading-navy); }

.font-800 { font-weight: 800; }

.sys-overview-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.sys-row {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
}

.sys-row span { color: var(--color-text-muted); }
.sys-row strong { color: var(--color-heading-navy); }

.text-orange { color: var(--color-accent-orange) !important; }
.text-red { color: #EF4444 !important; }
.status-online { color: #10B981 !important; font-weight: 700; }

@media (max-width: 1400px) {
  .metric-cards-grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }
  .analytics-charts-grid {
    grid-template-columns: 1fr;
  }
  .dash-middle-grid {
    grid-template-columns: 1fr;
  }
  .dash-bottom-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   NAVBAR LOGIN DROPDOWN & LOGIN PAGES STYLES
   ========================================================================== */
.login-dropdown-wrap {
  position: relative;
  display: inline-block;
}

.btn-login-nav {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background-color: #F1F5F9;
  color: var(--color-heading-navy);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-family);
}

.btn-login-nav:hover,
.login-dropdown-wrap:hover .btn-login-nav {
  background-color: #E2E8F0;
  border-color: #CBD5E1;
  color: var(--color-accent-orange);
}

.login-ic {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

.login-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 250px;
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--color-border);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s ease;
}

.login-dropdown-wrap:hover .login-dropdown-menu,
.login-dropdown-wrap.active .login-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.login-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.login-dropdown-item:hover {
  background-color: #F8FAFC;
}

.item-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.login-dropdown-item strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-heading-navy);
}

.login-dropdown-item span {
  font-size: 10.5px;
  color: var(--color-text-muted);
}

/* LOGIN PAGES */
.login-page-body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow-x: hidden;
}

.login-bg-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
}

.login-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6) contrast(1.1);
}

.login-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(6, 21, 43, 0.92) 0%, rgba(6, 21, 43, 0.75) 100%);
}

.login-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  padding: 24px 16px;
}

.login-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.login-brand-header {
  text-align: center;
  margin-bottom: 24px;
}

.login-logo {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
}

.login-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-heading-navy);
  margin-bottom: 4px;
}

.login-subtitle {
  font-size: 12px;
  color: var(--color-text-muted);
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.login-options-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
}

.remember-check {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text-muted);
  cursor: pointer;
}

.forgot-link {
  color: #0B57D0;
  font-weight: 700;
}

.btn-login-submit {
  width: 100%;
  padding: 12px;
  font-size: 13px;
  font-weight: 800;
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: transform 0.2s ease, background-color 0.2s ease;
  margin-top: 6px;
}

.btn-login-submit:hover {
  transform: translateY(-1px);
}

.btn-admin-color { background-color: #0B57D0; }
.btn-driver-color { background-color: #10B981; }
.btn-customer-color { background-color: var(--color-accent-orange); }

.login-switch-links {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #E2E8F0;
  text-align: center;
}

.login-switch-links span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.switch-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.switch-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-heading-navy);
  background-color: #F1F5F9;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  transition: all 0.2s ease;
}

.switch-tag:hover {
  background-color: #E2E8F0;
  color: var(--color-accent-orange);
}

.login-footer-text {
  text-align: center;
  margin-top: 18px;
  font-size: 11.5px;
}

.login-footer-text a {
  color: var(--color-text-muted);
  font-weight: 600;
}

.login-footer-text a:hover {
  color: var(--color-heading-navy);
}

/* ==========================================================================
   TAX INVOICE DOCUMENT STYLES (Matching Reference GUI)
   ========================================================================== */
.invoice-page-body {
  margin: 0;
  padding: 0;
  background-color: #E2E8F0;
  font-family: var(--font-family);
  color: var(--color-text-dark);
  min-height: 100vh;
}

.invoice-actions-bar {
  background-color: var(--color-dark-navy);
  color: #FFFFFF;
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.actions-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-action-back {
  color: #94A3B8;
  font-size: 13px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.btn-action-back:hover {
  color: #FFFFFF;
}

.actions-right-group {
  display: flex;
  gap: 10px;
}

.btn-action-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-action-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-action-solid {
  background-color: var(--color-accent-orange);
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 16px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-action-solid:hover {
  background-color: var(--color-accent-orange-hover);
}

/* Paper Document */
.invoice-document-wrapper {
  padding: 24px 16px 48px 16px;
}

.invoice-paper-card {
  max-width: 920px;
  margin: 0 auto;
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Inv Header */
.inv-header {
  display: grid;
  grid-template-columns: 220px 1fr 240px;
  gap: 20px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 2px solid #F1F5F9;
}

.inv-brand-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.inv-company-highlights {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  color: var(--color-text-muted);
}

.hl-item { display: flex; align-items: center; gap: 6px; }

.inv-title-box {
  text-align: right;
}

.inv-main-title {
  font-size: 32px;
  font-weight: 900;
  color: var(--color-heading-navy);
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.inv-meta-grid {
  display: grid;
  grid-template-columns: auto auto;
  gap: 2px 10px;
  justify-content: end;
  font-size: 11.5px;
}

.meta-k { color: var(--color-text-muted); text-align: right; }
.meta-v { color: var(--color-heading-navy); text-align: left; }

.text-blue { color: #0B57D0 !important; }
.text-red { color: #EF4444 !important; }

/* 3 Info Cards Grid */
.inv-three-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 16px;
}

.inv-card {
  background-color: #F8FAFC;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.inv-card-badge {
  background-color: var(--color-heading-navy);
  color: #FFFFFF;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.bdg-ic { width: 14px; height: 14px; }

.inv-card-content {
  padding: 12px 14px;
  font-size: 11.5px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cust-name { font-size: 13px; color: var(--color-heading-navy); }
.cust-address { color: var(--color-text-dark); line-height: 1.35; }
.cust-contact { color: var(--color-text-muted); font-size: 11px; }

.kv-list .kv-line { display: flex; font-size: 11px; margin-bottom: 2px; }
.kv-list .k { color: var(--color-text-muted); width: 105px; flex-shrink: 0; }
.kv-list .v { color: var(--color-heading-navy); font-weight: 600; }

.graphic-banner-card {
  align-items: center;
  justify-content: center;
  padding: 12px;
  text-align: center;
  background-color: #EFF6FF;
  border-color: #BFDBFE;
}

.carrier-truck-svg-wrap {
  width: 170px;
  height: 65px;
}

.carrier-truck-svg { width: 100%; height: 100%; }

.thank-you-script {
  font-family: 'Caveat', cursive;
  font-size: 18px;
  font-weight: 700;
  color: #0B57D0;
  margin-top: 4px;
}

/* Transit Route & Vehicle Details Card */
.inv-transit-details-card {
  background-color: #F8FAFC;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 1fr 140px 1fr 1.2fr;
  gap: 16px;
  align-items: center;
}

.loc-tag {
  font-size: 10px;
  font-weight: 800;
  margin-bottom: 4px;
  display: inline-block;
}

.loc-tag.green { color: #10B981; }
.loc-tag.orange { color: var(--color-accent-orange); }
.loc-tag.blue { color: #0B57D0; }

.loc-city { display: block; font-size: 13px; color: var(--color-heading-navy); }
.loc-addr { font-size: 10.5px; color: var(--color-text-muted); line-height: 1.3; }
.loc-time { font-size: 10px; color: var(--color-text-muted); margin-top: 2px; display: block; }

.distance-divider-col {
  text-align: center;
}

.dist-line {
  position: relative;
  border-bottom: 2px dashed #CBD5E1;
  margin-bottom: 6px;
}

.truck-icon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #F8FAFC;
  padding: 0 4px;
  font-size: 14px;
}

.dist-text strong { display: block; font-size: 9.5px; color: var(--color-text-muted); }
.dist-text span { font-size: 10px; color: #0B57D0; font-weight: 700; }

.veh-col {
  border-left: 1px solid var(--color-border);
  padding-left: 16px;
}

.veh-title { font-size: 13px; color: var(--color-heading-navy); }
.veh-sub { font-size: 10.5px; color: var(--color-text-muted); }
.veh-ids { font-size: 9.5px; color: var(--color-text-muted); display: block; margin-top: 2px; }

/* Charges Table */
.inv-charges-table-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.charges-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
}

.charges-table th {
  background-color: var(--color-heading-navy);
  color: #FFFFFF;
  padding: 10px 14px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.charges-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #F1F5F9;
  color: var(--color-text-dark);
}

.td-desc strong { display: block; color: var(--color-heading-navy); font-size: 12px; }
.td-desc span { font-size: 10px; color: var(--color-text-muted); }

.bold { font-weight: 700; }

.subtotal-tr {
  background-color: #F8FAFC;
}

.subtotal-lbl {
  font-weight: 800;
  color: var(--color-heading-navy);
  font-size: 12px;
}

.subtotal-val {
  font-weight: 800;
  color: var(--color-heading-navy);
  font-size: 13px;
}

/* Financial Summary Grid */
.inv-financial-summary-grid {
  display: grid;
  grid-template-columns: 1fr 280px 180px;
  gap: 16px;
  align-items: stretch;
}

.notes-card {
  background-color: #F8FAFC;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sec-label { font-size: 11px; font-weight: 800; color: var(--color-heading-navy); margin-bottom: 6px; }

.notes-text { font-size: 10.5px; color: var(--color-text-muted); line-height: 1.4; }

.payment-methods-box { margin-top: 12px; }
.pay-lbl { font-size: 10px; font-weight: 700; color: var(--color-text-muted); display: block; margin-bottom: 4px; }

.pay-icons-row { display: flex; gap: 6px; }
.pay-tag { font-size: 9.5px; font-weight: 800; padding: 2px 8px; border-radius: 4px; border: 1px solid var(--color-border); background-color: #FFF; }
.pay-tag.visa { color: #1A1F71; }
.pay-tag.master { color: #EB001B; }
.pay-tag.amex { color: #006FCF; }
.pay-tag.apple { color: #000; }

.totals-card {
  background-color: #F8FAFC;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11.5px;
}

.tot-row { display: flex; justify-content: space-between; }
.tot-row .k { color: var(--color-text-muted); }
.tot-row .v { color: var(--color-heading-navy); }

.grand-total .k, .grand-total .v { font-size: 13px; font-weight: 800; }

.amount-paid { border-top: 1px dashed #CBD5E1; padding-top: 6px; margin-top: 2px; }

.balance-due-box {
  background-color: var(--color-heading-navy);
  color: #FFFFFF;
  border-radius: 4px;
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 800;
}

.bal-val { font-size: 15px; color: #FFFFFF; }

.paid-stamp-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid #10B981;
  border-radius: var(--radius-sm);
  background-color: #ECFDF5;
  padding: 12px;
}

.paid-stamp-badge {
  text-align: center;
}

.stamp-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #10B981;
}

.stamp-txt { font-size: 24px; font-weight: 900; letter-spacing: 1px; }
.stamp-check { width: 22px; height: 22px; stroke: #10B981; }

.stamp-date { font-size: 11px; font-weight: 700; color: #059669; }

.stamp-thankyou {
  font-family: 'Caveat', cursive;
  font-size: 20px;
  font-weight: 700;
  color: #10B981;
  margin-top: 4px;
}

/* Bottom Three Cards Grid */
.inv-bottom-three-cards-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 180px;
  gap: 16px;
}

.bottom-card {
  background-color: #F8FAFC;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 11px;
}

.b-head { font-weight: 800; color: var(--color-heading-navy); margin-bottom: 6px; }

.b-kv-list .b-kv { display: flex; font-size: 10.5px; margin-bottom: 2px; }
.b-kv-list .k { color: var(--color-text-muted); width: 100px; flex-shrink: 0; }
.b-kv-list .v { color: var(--color-heading-navy); }

.help-box-card { background-color: #EFF6FF; border-color: #BFDBFE; }

.b-head-flex { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }
.help-ic { width: 18px; height: 18px; stroke: #0B57D0; }
.help-sub { font-size: 10px; color: var(--color-text-muted); }

.help-contacts p { margin-bottom: 2px; color: var(--color-heading-navy); }

.qr-track-card {
  background-color: var(--color-heading-navy);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
}

.qr-box {
  width: 50px;
  height: 50px;
  background-color: #FFF;
  border-radius: 4px;
  padding: 4px;
  flex-shrink: 0;
}

.qr-code-svg { width: 100%; height: 100%; }

.qr-text strong { display: block; font-size: 12px; color: #FFFFFF; }
.qr-text span { font-size: 10px; color: #94A3B8; }

/* Inv Footer Strip */
.inv-footer-strip {
  background-color: var(--color-heading-navy);
  color: #FFFFFF;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10.5px;
}

.inv-foot-col strong { color: #FFFFFF; margin-right: 6px; }
.inv-foot-col span { color: #CBD5E1; }

@media print {
  .no-print { display: none !important; }
  body { background-color: #FFFFFF !important; }
  .invoice-document-wrapper { padding: 0 !important; }
  .invoice-paper-card { box-shadow: none !important; padding: 0 !important; max-width: 100% !important; }
}

/* ==========================================================================
   SERVICES PAGE STYLES (Matching Reference GUI)
   ========================================================================== */
.services-page-body {
  margin: 0;
  padding: 0;
  background-color: #FFFFFF;
  font-family: var(--font-family);
  color: var(--color-text-dark);
}

/* Services Hero Section */
.services-hero-section {
  position: relative;
  padding: 64px 0 72px 0;
  min-height: 460px;
  display: flex;
  align-items: center;
  background-color: var(--color-primary-navy);
  color: #FFFFFF;
  overflow: hidden;
}

.services-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.services-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  filter: brightness(0.92) contrast(1.05);
}

.services-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(6, 21, 43, 0.97) 0%, rgba(6, 21, 43, 0.82) 42%, rgba(6, 21, 43, 0.2) 75%, transparent 100%);
}

.services-hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.services-breadcrumb {
  font-size: 12px;
  color: #CBD5E1;
  margin-bottom: 12px;
  font-weight: 500;
}

.services-breadcrumb a {
  color: #CBD5E1;
  text-decoration: none;
}

.services-breadcrumb a:hover {
  color: var(--color-accent-orange);
}

.services-breadcrumb span {
  color: var(--color-accent-orange);
  font-weight: 700;
}

.services-hero-title {
  font-size: 42px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

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

.services-hero-sub {
  font-size: 15px;
  color: #E2E8F0;
  max-width: 620px;
  line-height: 1.5;
  margin-bottom: 24px;
}

.services-hero-badges-row {
  display: flex;
  gap: 16px;
}

.hero-badge-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
}

.badge-pill-icon {
  font-size: 20px;
}

.badge-pill-text strong {
  display: block;
  font-size: 12px;
  color: #FFFFFF;
}

.badge-pill-text span {
  font-size: 10.5px;
  color: #CBD5E1;
}

/* What We Offer Section */
.services-offer-section {
  padding: 56px 0;
  background-color: #FFFFFF;
}

.services-section-header {
  margin-bottom: 32px;
}

.services-section-header.center {
  text-align: center;
}

.section-tag-orange {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: var(--color-accent-orange);
  letter-spacing: 1.5px;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.services-section-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-heading-navy);
}

.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-offer-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.service-offer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.service-card-img-wrap {
  position: relative;
  width: 100%;
  height: 190px;
  overflow: hidden;
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-offer-card:hover .service-card-img {
  transform: scale(1.06);
}

.service-card-badge-circle {
  position: absolute;
  bottom: 12px;
  left: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--color-heading-navy);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease;
}

.service-offer-card:hover .service-card-badge-circle {
  background-color: var(--color-accent-orange);
  transform: rotate(12deg) scale(1.1);
}

.service-card-badge-circle svg {
  width: 18px;
  height: 18px;
}

.service-card-body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--color-heading-navy);
  margin-bottom: 8px;
}

.service-card-desc {
  font-size: 12.5px;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}

.service-learn-link {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-accent-orange);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.3s ease;
}

.service-offer-card:hover .service-learn-link {
  gap: 8px;
}

.service-learn-link .arr {
  transition: transform 0.3s ease;
}

.service-offer-card:hover .service-learn-link .arr {
  transform: translateX(4px);
}

/* Why Choose Auto Apex Section */
.why-choose-services-section {
  padding: 56px 0;
  background-color: #F8FAFC;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.why-choose-badges-bar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.why-badge-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 22px 14px;
  text-align: center;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.why-badge-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.why-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #F1F5F9;
  color: var(--color-heading-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.why-badge-card:hover .why-icon-circle {
  background-color: var(--color-heading-navy);
  color: #FFFFFF;
  transform: rotate(12deg) scale(1.08);
}

.why-icon-circle svg {
  width: 20px;
  height: 20px;
}

.why-badge-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--color-heading-navy);
  margin-bottom: 6px;
}

.why-badge-desc {
  font-size: 11px;
  color: var(--color-text-muted);
  line-height: 1.45;
}

@media (max-width: 1024px) {
  .services-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-choose-badges-bar {
    grid-template-columns: repeat(3, 1fr);
  }
  .services-hero-badges-row {
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .services-cards-grid {
    grid-template-columns: 1fr;
  }
  .why-choose-badges-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   ELEGANT CTA BANNER STYLES (Matching Reference GUI)
   ========================================================================== */
.cta-banner {
  background-color: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
  padding: 32px 0;
  position: relative;
  z-index: 10;
}

.cta-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cta-logo-emblem {
  height: 52px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.cta-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-heading-navy);
  letter-spacing: -0.3px;
  margin-bottom: 3px;
}

.cta-sub {
  font-size: 14px;
  font-weight: 600;
  color: #64748B;
}

.cta-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-cta-orange {
  background: linear-gradient(135deg, var(--color-accent-orange) 0%, #FF8A00 100%);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(240, 90, 36, 0.35);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
}

.btn-cta-orange:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(240, 90, 36, 0.5);
  background: linear-gradient(135deg, #E04E1B 0%, #F05A24 100%);
}

.btn-cta-outline {
  background-color: var(--color-heading-navy);
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 800;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--color-heading-navy);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
}

.btn-cta-outline:hover {
  background-color: #0B57D0;
  border-color: #0B57D0;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(11, 87, 208, 0.3);
}

.phone-svg {
  width: 16px;
  height: 16px;
  stroke: #FFFFFF;
}

@media (max-width: 900px) {
  .cta-container {
    flex-direction: column;
    text-align: center;
  }
  .cta-left {
    flex-direction: column;
  }
  .cta-right {
    flex-direction: column;
    width: 100%;
  }
  .btn-cta-orange, .btn-cta-outline {
    width: 100%;
    justify-content: center;
  }
}

/* Contact Us Footer Column Styles (Matching Reference Screenshot) */
.footer-contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.4;
}

.foot-ic {
  font-size: 16px;
  line-height: 1.2;
  flex-shrink: 0;
  margin-top: 1px;
}

.foot-contact-link {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  word-break: break-word;
  transition: color 0.25s ease;
}

.foot-contact-link:hover {
  color: var(--color-accent-orange);
}

/* ==========================================================================
   COMPREHENSIVE FULL VIEWPORT & RESPONSIVE LAYOUT ENGINE
   Supports: Ultra-Wide (1600px+), Desktop (1200px-1599px), Laptop (992px-1199px),
   Tablet (768px-991px), Mobile (<768px)
   ========================================================================== */

/* 1. Ultra-Wide & High-Res Desktop Scaling (≥1440px / 4K Monitors) */
@media (min-width: 1440px) {
  :root {
    --max-width: 1380px;
  }
  .container {
    padding: 0 32px;
  }
}

@media (min-width: 1800px) {
  :root {
    --max-width: 1560px;
  }
  .container {
    padding: 0 40px;
  }
}

/* 2. Responsive Table Scroll Wrapper */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  background: #FFFFFF;
}

/* 3. Hamburger Navigation Menu Styling */
.hamburger-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 38px;
  height: 38px;
  padding: 8px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  z-index: 101;
  transition: all 0.3s ease;
}

.hamburger-toggle:hover {
  background-color: var(--color-bg-light);
  border-color: var(--color-accent-orange);
}

.hamburger-line {
  width: 100%;
  height: 2.5px;
  background-color: var(--color-heading-navy);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.hamburger-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 4. Laptop & Small Desktop Breakpoint (992px - 1199px) */
@media (max-width: 1199px) {
  .nav-menu {
    gap: 14px;
  }
  .nav-link {
    font-size: 12.5px;
  }
  .phone-details {
    display: none;
  }
  .hero-section {
    min-height: auto;
    padding: 24px 0;
  }
}

/* 5. Tablet & Mobile Navigation Breakpoint (≤992px) */
@media (max-width: 992px) {
  .hamburger-toggle {
    display: flex;
  }

  .navbar {
    height: 64px;
  }

  .navbar-container {
    position: relative;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px 20px;
    border-bottom: 3px solid var(--color-accent-orange);
    box-shadow: 0 16px 32px rgba(11, 30, 54, 0.15);
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 999;
  }

  .nav-menu.mobile-open {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 15px;
    width: 100%;
    justify-content: space-between;
  }

  .nav-link::after {
    display: none;
  }

  .top-info-list .top-info-item:nth-child(3) {
    display: none;
  }
}

/* 6. Tablet Layout Adaptation (≤768px) */
@media (max-width: 768px) {
  .top-bar {
    padding: 6px 0;
  }

  .top-info-list .top-info-item:nth-child(2),
  .top-social-list {
    display: none;
  }

  .top-bar-container {
    justify-content: center;
  }

  .phone-block {
    display: none;
  }

  .btn-quote-nav {
    padding: 8px 12px;
    font-size: 12px;
  }

  .hero-container,
  .quote-grid,
  .services-hero-grid,
  .contact-grid,
  .about-grid,
  .track-grid,
  .admin-layout-grid,
  .booking-mgmt-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .services-cards-grid,
  .reviews-grid,
  .why-choose-badges-bar {
    grid-template-columns: 1fr;
  }

  .auth-card,
  .login-card {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 24px 18px;
  }

  .invoice-container {
    padding: 20px 14px;
  }
}

/* 7. Mobile Viewport Optimization (≤480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }

  h1 { font-size: 26px !important; }
  h2 { font-size: 22px !important; }
  h3 { font-size: 18px !important; }

  .btn-quote-nav,
  .btn-submit-quote,
  .btn-cta-orange,
  .btn-cta-outline {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .brand-logo-img {
    height: 38px;
  }
}

/* 8. Full Viewport Centered Screen Utilities */
.full-screen-centered {
  min-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px 16px;
}

/* ==========================================================================
   JOB ID BADGE, DRIVER ASSIGNMENT & REAL-TIME FILTER STYLES
   ========================================================================== */
.job-id-badge {
  display: inline-block;
  background-color: var(--color-primary-navy);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
  margin-bottom: 2px;
  box-shadow: 0 2px 6px rgba(11, 30, 54, 0.2);
}

.job-id-badge.sm {
  font-size: 10px;
  padding: 2px 6px;
  margin-right: 4px;
}

.ref-sub {
  color: #0B57D0;
  font-size: 12px;
}

.driver-assign-select {
  appearance: none;
  -webkit-appearance: none;
  background: #F1F5F9 url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1E36' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") no-repeat right 8px center;
  background-size: 12px;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-sm);
  padding: 6px 26px 6px 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-heading-navy);
  cursor: pointer;
  transition: all 0.2s ease;
  max-width: 190px;
  width: 100%;
}

.driver-assign-select:hover,
.driver-assign-select:focus {
  border-color: var(--color-accent-orange);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 2px rgba(240, 90, 36, 0.15);
  outline: none;
}

.driver-assigned-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}


/* Toast Notifications */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: var(--color-primary-navy);
  color: #FFFFFF;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-float);
  border-left: 4px solid var(--color-accent-orange);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  width: 20px;
  height: 20px;
  stroke: var(--color-accent-orange);
}

/* No Results Row */
.no-results-row td {
  text-align: center;
  padding: 40px 20px !important;
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 600;
}

/* ==========================================================================
   ASSIGN DRIVER ACTION BUTTON & ASSIGNMENT MODAL STYLES
   ========================================================================== */

/* Action Button in Booking Management Table */
.btn-assign-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.btn-assign-action.unassigned {
  background: linear-gradient(135deg, #0B57D0 0%, #0041A3 100%);
  color: #FFFFFF;
  border-color: #0B57D0;
}

.btn-assign-action.unassigned:hover {
  background: linear-gradient(135deg, #F05A24 0%, #D04513 100%);
  border-color: #F05A24;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(240, 90, 36, 0.3);
}

.btn-assign-action.assigned {
  background-color: #ECFDF5;
  color: #047857;
  border-color: #A7F3D0;
}

.btn-assign-action.assigned:hover {
  background-color: #D1FAE5;
  border-color: #10B981;
  color: #065F46;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.2);
}

.btn-assign-action .truck-sub {
  font-size: 11px;
  opacity: 0.85;
  font-weight: 600;
}

.btn-assign-action .action-icon {
  font-size: 13px;
}

/* Pop-Up Window / Modal Overlay */
.assign-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(11, 30, 54, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.assign-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.assign-modal-dialog {
  background: #FFFFFF;
  border-radius: 16px;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(11, 30, 54, 0.35);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.assign-modal-backdrop.active .assign-modal-dialog {
  transform: translateY(0) scale(1);
}

/* Modal Header */
.assign-modal-header {
  background: linear-gradient(135deg, #0B1E36 0%, #152E50 100%);
  color: #FFFFFF;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid var(--color-accent-orange);
  position: relative;
}

.modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-header-icon {
  width: 42px;
  height: 42px;
  background: rgba(240, 90, 36, 0.15);
  border: 1px solid rgba(240, 90, 36, 0.4);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-orange);
}

.modal-header-icon svg {
  width: 22px;
  height: 22px;
}

.assign-modal-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
}

.assign-modal-header p {
  margin: 2px 0 0 0;
  font-size: 12px;
  color: #94A3B8;
}

.btn-modal-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #FFFFFF;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-modal-close:hover {
  background: rgba(239, 68, 68, 0.8);
  color: #FFFFFF;
  transform: rotate(90deg);
}

/* Modal Body Content */
.assign-modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: #F8FAFC;
}

.modal-card-block {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.modal-block-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #0B1E36;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-block-title svg {
  width: 16px;
  height: 16px;
  color: #0B57D0;
}

/* Job Detail Grid */
.modal-job-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 580px) {
  .modal-job-meta-grid {
    grid-template-columns: 1fr;
  }
}

.meta-item {
  background: #F1F5F9;
  padding: 10px 12px;
  border-radius: 8px;
  border-left: 3px solid #0B57D0;
}

.meta-item .lbl {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #64748B;
  margin-bottom: 2px;
}

.meta-item .val {
  font-size: 13px;
  font-weight: 800;
  color: #0B1E36;
}

/* Route Visualizer */
.modal-route-visualizer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #BFDBFE;
  position: relative;
}

.route-node {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
}

.route-node-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}

.route-node-icon.pickup {
  background: #10B981;
  color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.route-node-icon.delivery {
  background: #F05A24;
  color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(240, 90, 36, 0.2);
}

.route-node-text strong {
  display: block;
  font-size: 14px;
  color: #0B1E36;
}

.route-node-text span {
  font-size: 12px;
  color: #475569;
}

.route-arrow-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 12px;
  color: #0B57D0;
}

.route-arrow-line {
  width: 60px;
  height: 2px;
  background: repeating-linear-gradient(90deg, #0B57D0, #0B57D0 4px, transparent 4px, transparent 8px);
  margin: 4px 0;
}

/* Modal Form Inputs */
.modal-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 580px) {
  .modal-form-grid {
    grid-template-columns: 1fr;
  }
}

.modal-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-form-group label {
  font-size: 12px;
  font-weight: 700;
  color: #0B1E36;
  display: flex;
  align-items: center;
  gap: 6px;
}

.modal-form-select {
  width: 100%;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #0B1E36;
  background-color: #FFFFFF;
  border: 2px solid #CBD5E1;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-form-select:focus {
  border-color: #0B57D0;
  box-shadow: 0 0 0 3px rgba(11, 87, 208, 0.15);
  outline: none;
}

/* Modal Footer Actions */
.assign-modal-footer {
  padding: 16px 24px;
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

.btn-modal-cancel {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  color: #64748B;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-modal-cancel:hover {
  background: #E2E8F0;
  color: #1E293B;
}

.btn-modal-submit {
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 800;
  color: #FFFFFF;
  background: linear-gradient(135deg, #0B57D0 0%, #0041A3 100%);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(11, 87, 208, 0.25);
  transition: all 0.25s ease;
}

.btn-modal-submit:hover {
  background: linear-gradient(135deg, #F05A24 0%, #D04513 100%);
  box-shadow: 0 6px 16px rgba(240, 90, 36, 0.35);
  transform: translateY(-1px);
}

/* ==========================================================================
   GENERATE INVOICE BUTTON & MODAL CALCULATION STYLES
   ========================================================================== */

/* Generate Invoice Action Button in Booking Table */
.btn-generate-invoice {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #4F46E5 0%, #3730A3 100%);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  margin-right: 6px;
}

.btn-generate-invoice:hover {
  background: linear-gradient(135deg, #7C3AED 0%, #5B21B6 100%);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35);
  transform: translateY(-1px);
}

.btn-generate-invoice.issued {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
  box-shadow: none;
}

.btn-generate-invoice.issued:hover {
  background: #D1FAE5;
  color: #065F46;
}

/* Real-Time Tax & Total Calculation Card in Modal */
.invoice-calc-box {
  background: linear-gradient(135deg, #F8FAFC 0%, #EEF2FF 100%);
  border: 2px solid #C7D2FE;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.calc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #475569;
}

.calc-row .lbl {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.calc-row .val {
  font-weight: 700;
  color: #1E293B;
  font-size: 14px;
}

.calc-row.calc-grand-total {
  border-top: 2px dashed #818CF8;
  padding-top: 10px;
  margin-top: 4px;
}

.calc-row.calc-grand-total .lbl {
  font-size: 15px;
  font-weight: 800;
  color: #1E1B4B;
}

.calc-row.calc-grand-total .val {
  font-size: 18px;
  font-weight: 800;
  color: #047857;
  background: #D1FAE5;
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px solid #A7F3D0;
}

.modal-form-input {
  width: 100%;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: #0B1E36;
  background-color: #FFFFFF;
  border: 2px solid #CBD5E1;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.modal-form-input:focus {
  border-color: #4F46E5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
  outline: none;
}

/* Checkbox Dest List */
.sync-destinations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 6px;
}

@media (max-width: 580px) {
  .sync-destinations-grid {
    grid-template-columns: 1fr;
  }
}

.sync-dest-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F1F5F9;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: #334155;
  border: 1px solid #E2E8F0;
}

.sync-dest-item input[type="checkbox"] {
  accent-color: #4F46E5;
  width: 15px;
  height: 15px;
}

/* ==========================================================================
   INVOICE TAB - LIST VIEW & EDIT MODAL STYLES
   ========================================================================== */

.invoice-list-section {
  max-width: 1100px;
  margin: 24px auto;
  padding: 0 20px;
}

.invoice-list-card {
  background: #FFFFFF;
  border-radius: 14px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.invoice-list-header {
  background: linear-gradient(135deg, #0B1E36 0%, #152E50 100%);
  color: #FFFFFF;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid var(--color-accent-orange);
}

.invoice-list-header h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
}

.invoice-list-header p {
  margin: 2px 0 0 0;
  font-size: 12px;
  color: #94A3B8;
}

.invoice-search-bar {
  padding: 14px 20px;
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.inv-search-input {
  max-width: 320px;
  width: 100%;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 600;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  background: #FFFFFF;
}

.inv-search-input:focus {
  border-color: #0B57D0;
  outline: none;
}

.invoices-table-wrapper {
  overflow-x: auto;
}

.invoices-list-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}

.invoices-list-table th {
  background: #F1F5F9;
  color: #0B1E36;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid #E2E8F0;
}

.invoices-list-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #F1F5F9;
  vertical-align: middle;
}

.invoices-list-table tr.inv-row {
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.invoices-list-table tr.inv-row:hover {
  background-color: #EFF6FF;
}

.invoices-list-table tr.inv-row.active-view {
  background-color: #DBEAFE;
  border-left: 4px solid #0B57D0;
}

.btn-inv-view {
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 700;
  color: #FFFFFF;
  background: linear-gradient(135deg, #0B57D0 0%, #0041A3 100%);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-right: 4px;
}

.btn-inv-view:hover {
  background: linear-gradient(135deg, #F05A24 0%, #D04513 100%);
}

.btn-inv-edit {
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 700;
  color: #3B82F6;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-inv-edit:hover {
  background: #3B82F6;
  color: #FFFFFF;
}

/* ==========================================================================
   TOP ADMIN NAVIGATION TABS BAR & EXPANDED FULL-WIDTH JOBS LIST STYLES
   ========================================================================== */

.admin-top-navbar {
  background: linear-gradient(135deg, #0B1E36 0%, #152E50 100%);
  border-bottom: 3px solid var(--color-accent-orange);
  padding: 12px 32px;
  box-shadow: 0 4px 16px rgba(11, 30, 54, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.admin-top-navbar-container {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.admin-top-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-top-logo {
  height: 42px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: #FFFFFF;
  padding: 2px 8px;
}

.admin-portal-tag {
  font-size: 10px;
  font-weight: 800;
  color: #FFFFFF;
  background: linear-gradient(135deg, #F05A24 0%, #D04513 100%);
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.admin-horizontal-tabs-nav {
  display: flex;
  align-items: center;
}

.admin-tabs-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.admin-tab-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  color: #94A3B8;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.admin-tab-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.tab-item.active .admin-tab-link {
  background: rgba(240, 90, 36, 0.18);
  color: #FFFFFF;
  border: 1px solid rgba(240, 90, 36, 0.5);
  box-shadow: 0 4px 12px rgba(240, 90, 36, 0.25);
}

.tab-item.active .admin-tab-link .tab-ic {
  stroke: var(--color-accent-orange);
}

.tab-ic {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.admin-top-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Expanded Full Width Job List Layout & Scroll Fixes */
html, body {
  overflow-x: hidden;
  overflow-y: auto !important;
  height: auto !important;
}

body.admin-page-body {
  overflow-x: hidden;
  overflow-y: auto !important;
  min-height: 100vh;
  height: auto !important;
  background-color: #F8FAFC;
}

.admin-fullwidth-layout {
  width: 100%;
  min-height: 100vh;
  height: auto !important;
  overflow: visible !important;
  background-color: #F8FAFC;
}

.admin-expanded-main {
  max-width: 1600px;
  margin: 0 auto;
  padding: 24px 32px;
  overflow: visible !important;
}

.admin-expanded-main .table-view-card,
.booking-table-card,
.table-view-card,
.invoices-table-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 10px 30px rgba(11, 30, 54, 0.06);
}

.admin-expanded-main .booking-table {
  width: 100%;
  min-width: 980px;
}

.admin-expanded-main .booking-table th,
.admin-expanded-main .booking-table td {
  padding: 14px 18px;
}

/* ==========================================================================
   DRIVER MANAGEMENT & AUSTRALIAN COMPLIANCE DIRECTORY STYLES
   ========================================================================== */

/* Add New Driver Action Button (Top Left Corner) */
.btn-add-driver {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #F05A24 0%, #D04513 100%);
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 800;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(240, 90, 36, 0.3);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn-add-driver:hover {
  background: linear-gradient(135deg, #FF6B35 0%, #E04E1B 100%);
  box-shadow: 0 6px 20px rgba(240, 90, 36, 0.45);
  transform: translateY(-2px);
}

/* Driver Directory Header Bar */
.driver-directory-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  background: #FFFFFF;
  padding: 16px 24px;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.driver-dir-title-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.driver-dir-title-wrap h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #0B1E36;
}

.driver-dir-title-wrap p {
  margin: 2px 0 0 0;
  font-size: 12px;
  color: #64748B;
}

/* Drivers Table */
.drivers-table-wrapper {
  background: #FFFFFF;
  border-radius: 14px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 10px 30px rgba(11, 30, 54, 0.06);
  overflow-x: auto;
  margin-bottom: 32px;
}

.drivers-roster-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}

.drivers-roster-table th {
  background: #F1F5F9;
  color: #0B1E36;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
  padding: 14px 18px;
  text-align: left;
  border-bottom: 2px solid #CBD5E1;
}

.drivers-roster-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #F1F5F9;
  vertical-align: middle;
}

.drivers-roster-table tr:hover {
  background-color: #F8FAFC;
}

.btn-driver-update {
  padding: 6px 12px;
  font-size: 11.5px;
  font-weight: 700;
  color: #FFFFFF;
  background: linear-gradient(135deg, #0B57D0 0%, #0041A3 100%);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-right: 6px;
}

.btn-driver-update:hover {
  background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
  transform: translateY(-1px);
}

.btn-driver-delete {
  padding: 6px 12px;
  font-size: 11.5px;
  font-weight: 700;
  color: #DC2626;
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-driver-delete:hover {
  background: #DC2626;
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* Compliance Badges */
.compliance-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 4px;
}

.compliance-pill.verified {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
}

/* Document Upload Grid in Modal */
.doc-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (max-width: 580px) {
  .doc-upload-grid {
    grid-template-columns: 1fr;
  }
}

.doc-upload-card {
  background: #F8FAFC;
  border: 2px dashed #CBD5E1;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.2s ease;
}

.doc-upload-card:hover {
  border-color: #F05A24;
  background: #FFF7ED;
}

.doc-upload-card label {
  font-size: 11.5px;
  font-weight: 700;
  color: #0B1E36;
  display: flex;
  align-items: center;
  gap: 6px;
}

.doc-upload-card input[type="file"] {
  font-size: 11px;
  color: #475569;
}

/* ==========================================================================
   FLEET VEHICLES & NHVR COMPLIANCE DIRECTORY STYLES
   ========================================================================== */

/* Add New Vehicle Button (Top Left Corner) */
.btn-add-vehicle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0B57D0 0%, #0041A3 100%);
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 800;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(11, 87, 208, 0.3);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn-add-vehicle:hover {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  box-shadow: 0 6px 20px rgba(11, 87, 208, 0.45);
  transform: translateY(-2px);
}

.btn-vehicle-edit {
  padding: 6px 12px;
  font-size: 11.5px;
  font-weight: 700;
  color: #FFFFFF;
  background: linear-gradient(135deg, #F05A24 0%, #D04513 100%);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-right: 6px;
}

.btn-vehicle-edit:hover {
  background: linear-gradient(135deg, #FF6B35 0%, #E04E1B 100%);
  transform: translateY(-1px);
}

.btn-vehicle-delete {
  padding: 6px 12px;
  font-size: 11.5px;
  font-weight: 700;
  color: #DC2626;
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-vehicle-delete:hover {
  background: #DC2626;
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* Delete Selected & Export Excel Buttons in Booking Management */
.btn-delete-selected {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: #DC2626;
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-delete-selected:hover {
  background: #DC2626;
  color: #FFFFFF;
  border-color: #DC2626;
  transform: translateY(-1px);
}

.btn-export-excel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: #047857;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-export-excel:hover {
  background: #10B981;
  color: #FFFFFF;
  border-color: #10B981;
  transform: translateY(-1px);
}

/* ==========================================================================
   JOB DETAILS & 4-DIGIT SECURITY KEY STYLES
   ========================================================================== */

.security-pin-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
  color: #C2410C;
  border: 1.5px dashed #F97316;
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 13px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  letter-spacing: 1px;
  box-shadow: 0 2px 4px rgba(249, 115, 22, 0.1);
}

.btn-job-edit {
  padding: 6px 12px;
  font-size: 11.5px;
  font-weight: 700;
  color: #FFFFFF;
  background: linear-gradient(135deg, #0B57D0 0%, #0041A3 100%);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-right: 6px;
}

.btn-job-edit:hover {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  transform: translateY(-1px);
}

.btn-job-delete {
  padding: 6px 12px;
  font-size: 11.5px;
  font-weight: 700;
  color: #DC2626;
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-job-delete:hover {
  background: #DC2626;
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* Admin, Driver & Customer Logout Buttons */
.btn-admin-logout {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(239, 68, 68, 0.15);
  color: #EF4444;
  border: 1px solid rgba(239, 68, 68, 0.4);
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn-admin-logout:hover {
  background: #DC2626;
  color: #FFFFFF;
  border-color: #DC2626;
  transform: translateY(-1px);
}

/* ==========================================================================
   DRIVER DASHBOARD PORTAL STYLES
   ========================================================================== */

.btn-start-job {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 800;
  color: #FFFFFF;
  background: linear-gradient(135deg, #10B981 0%, #047857 100%);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-start-job:hover {
  background: linear-gradient(135deg, #059669 0%, #065F46 100%);
  box-shadow: 0 6px 14px rgba(16, 185, 129, 0.45);
  transform: translateY(-1px);
}

.btn-job-started-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 800;
  color: #065F46;
  background: #D1FAE5;
  border: 1.5px solid #10B981;
  border-radius: 6px;
  white-space: nowrap;
}

.driver-portal-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.driver-portal-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
  border-color: #CBD5E1;
}

.btn-view-job {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  font-size: 11.5px;
  font-weight: 700;
  color: #0B57D0;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-right: 6px;
}

.btn-view-job:hover {
  background: #0B57D0;
  color: #FFFFFF;
  border-color: #0B57D0;
  transform: translateY(-1px);
}

.btn-accept-job {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 13.5px;
  font-weight: 800;
  color: #FFFFFF;
  background: linear-gradient(135deg, #10B981 0%, #047857 100%);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  transition: all 0.2s ease;
}

.btn-accept-job:hover {
  background: linear-gradient(135deg, #059669 0%, #065F46 100%);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.45);
  transform: translateY(-1px);
}

.btn-reject-job {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 13.5px;
  font-weight: 800;
  color: #DC2626;
  background: #FEF2F2;
  border: 1.5px solid #FCA5A5;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-reject-job:hover {
  background: #DC2626;
  color: #FFFFFF;
  border-color: #DC2626;
  transform: translateY(-1px);
}

.badge-rejected {
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FCA5A5;
}

/* ==========================================================================
   ADMIN UPLOAD DATA & MEDIA GALLERY STYLES
   ========================================================================== */

.upload-panel-card {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

.upload-dropzone {
  border: 2px dashed rgba(240, 90, 36, 0.4);
  background: rgba(30, 41, 59, 0.4);
  border-radius: 12px;
  padding: 36px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.upload-dropzone:hover,
.upload-dropzone.dragover {
  border-color: #F05A24;
  background: rgba(240, 90, 36, 0.08);
  box-shadow: 0 0 20px rgba(240, 90, 36, 0.2);
  transform: translateY(-2px);
}

.dropzone-icon-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(240, 90, 36, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.upload-dropzone:hover .dropzone-icon-circle {
  transform: scale(1.1);
}

.dropzone-supported-types span {
  font-size: 12px;
  font-weight: 600;
  color: #94A3B8;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.staged-files-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 140px;
  overflow-y: auto;
}

.staged-file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(30, 41, 59, 0.7);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: #E2E8F0;
}

.staged-file-name {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

.btn-sample-pick {
  background: rgba(11, 87, 208, 0.15);
  color: #38BDF8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-sample-pick:hover {
  background: #0B57D0;
  color: #FFFFFF;
}

.admin-input-field,
.admin-select-field,
.admin-textarea-field {
  width: 100%;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #F8FAFC;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-input-field:focus,
.admin-select-field:focus,
.admin-textarea-field:focus {
  outline: none;
  border-color: #F05A24;
  box-shadow: 0 0 0 3px rgba(240, 90, 36, 0.2);
}

.admin-select-field option {
  background: #0F172A;
  color: #F8FAFC;
}

.progress-bar-bg {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #F05A24, #10B981);
  transition: width 0.2s ease;
}

/* Gallery Toolbar & Tabs */
.gallery-tab-btn {
  background: transparent;
  border: none;
  color: #94A3B8;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gallery-tab-btn:hover {
  color: #FFFFFF;
}

.gallery-tab-btn.active {
  background: #F05A24;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(240, 90, 36, 0.4);
}

/* Gallery Media Cards Grid */
.gallery-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

.gallery-cards-grid.list-view-mode {
  grid-template-columns: 1fr;
}

.gallery-media-card {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  cursor: pointer;
}

.gallery-media-card:hover {
  transform: translateY(-5px);
  border-color: rgba(240, 90, 36, 0.5);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.media-thumbnail-wrap {
  position: relative;
  width: 100%;
  height: 210px;
  background: #0B1120;
  overflow: hidden;
  cursor: pointer;
}

.list-view-mode .gallery-media-card {
  flex-direction: row;
  align-items: center;
}

.list-view-mode .media-thumbnail-wrap {
  width: 240px;
  height: 140px;
  flex-shrink: 0;
}

.media-img-preview,
.media-video-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.4s ease, filter 0.3s ease;
}

.gallery-media-card:hover .media-img-preview {
  transform: scale(1.06);
}

.media-overlay-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #38BDF8;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(56, 189, 248, 0.4);
  display: flex;
  align-items: center;
  gap: 4px;
}

.media-overlay-badge.badge-video {
  color: #F05A24;
  border-color: rgba(240, 90, 36, 0.4);
}

.media-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-media-card:hover .media-hover-overlay {
  opacity: 1;
}

.btn-overlay-action {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #0F172A;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-overlay-action:hover {
  transform: scale(1.12);
  background: #F05A24;
  color: #FFFFFF;
}

.media-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.media-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #F8FAFC;
  margin-bottom: 6px;
  line-height: 1.3;
}

.media-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #94A3B8;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.category-pill {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(52, 211, 153, 0.3);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
}

/* Lightbox Modal */
.media-lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(3, 7, 18, 0.88);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.media-lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content-card {
  background: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  width: 100%;
  max-width: 1040px;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.lightbox-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border: none;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox-close-btn:hover {
  background: #EF4444;
}

.lightbox-body-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  min-height: 520px;
}

@media (max-width: 868px) {
  .lightbox-body-grid {
    grid-template-columns: 1fr;
    max-height: 85vh;
    overflow-y: auto;
  }
}

.lightbox-media-viewer {
  background: #030712;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-media-viewer img,
.lightbox-media-viewer video {
  max-width: 100%;
  max-height: 500px;
  border-radius: 12px;
  object-fit: contain;
}

.lightbox-info-panel {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.lightbox-tag-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.badge-media-type {
  background: rgba(240, 90, 36, 0.2);
  color: #F05A24;
  border: 1px solid rgba(240, 90, 36, 0.4);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
}

.badge-category {
  background: rgba(14, 165, 233, 0.15);
  color: #38BDF8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
}

.lightbox-media-title {
  font-size: 22px;
  font-weight: 800;
  color: #F8FAFC;
  margin-bottom: 8px;
}

.lightbox-media-desc {
  font-size: 14px;
  color: #94A3B8;
  line-height: 1.5;
  margin-bottom: 24px;
}

.lightbox-meta-list {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.meta-item-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.meta-label {
  color: #94A3B8;
}

.meta-val {
  color: #E2E8F0;
}

.lightbox-actions-row {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.btn-delete-action {
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-delete-action:hover {
  background: #EF4444;
  color: #FFFFFF;
}

/* Toast Notifications */
.admin-toast-alert {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10B981;
  color: #34D399;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: slideInDown 0.3s ease forwards;
}

.admin-toast-alert.alert-deleted {
  background: rgba(239, 68, 68, 0.15);
  border-color: #EF4444;
  color: #F87171;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   INSTANT QUOTE ANIMATED TRUCK TRANSIT ROUTE BANNER
   ========================================================================== */

.truck-transit-route-banner {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 16px 24px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.route-location-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 16px;
  border-radius: 12px;
  flex-shrink: 0;
}

.pill-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pickup-icon-bg {
  background: rgba(11, 87, 208, 0.25);
  color: #38BDF8;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.dropoff-icon-bg {
  background: rgba(240, 90, 36, 0.25);
  color: #F05A24;
  border: 1px solid rgba(240, 90, 36, 0.4);
}

.pill-text-wrap {
  display: flex;
  flex-direction: column;
}

.pill-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #94A3B8;
  text-transform: uppercase;
}

.pill-city-name {
  font-size: 14px;
  font-weight: 800;
  color: #F8FAFC;
  white-space: nowrap;
}

.route-highway-track {
  position: relative;
  flex: 1;
  margin: 0 24px;
  height: 54px;
  display: flex;
  align-items: center;
}

.road-lane-line {
  width: 100%;
  height: 6px;
  background: #1E293B;
  border-radius: 4px;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
  border-bottom: 2px dashed rgba(240, 90, 36, 0.6);
}

.anim-truck-wrapper {
  position: absolute;
  left: 0;
  bottom: 6px;
  width: calc(100% - 115px);
  height: 50px;
  pointer-events: none;
}

.truck-car-vehicle {
  position: absolute;
  left: 0;
  top: 0;
  animation: driveTruckAlongRoute 6s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

.wheel-rotate circle {
  animation: spinWheel 0.6s linear infinite;
  transform-origin: center;
}

@keyframes driveTruckAlongRoute {
  0% {
    transform: translateX(0px);
    opacity: 0.2;
  }
  5% {
    opacity: 1;
  }
  85% {
    opacity: 1;
    transform: translateX(100%);
  }
  95% {
    opacity: 0;
    transform: translateX(100%);
  }
  100% {
    opacity: 0;
    transform: translateX(0px);
  }
}

@keyframes spinWheel {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .truck-transit-route-banner {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }

  .route-highway-track {
    width: 100%;
    margin: 10px 0;
  }
}

/* ==========================================================================
   QUOTE FORM BUTTON GROUPS (Condition & Type Buttons)
   ========================================================================== */
.condition-btn-group,
.type-btn-group {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.cond-btn,
.type-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: #94A3B8;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cond-btn:hover,
.type-btn:hover {
  background: rgba(30, 41, 59, 0.9);
  color: #F8FAFC;
  border-color: rgba(255, 255, 255, 0.3);
}

/* Active Running Button (Green Glow) */
.cond-btn.active {
  background: rgba(16, 185, 129, 0.2) !important;
  border-color: #10B981 !important;
  color: #34D399 !important;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.3);
}

/* Active Non-Running Button (Red Glow) */
.cond-btn:nth-child(2).active {
  background: rgba(239, 68, 68, 0.2) !important;
  border-color: #EF4444 !important;
  color: #F87171 !important;
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.3);
}

/* Active Type Button (Orange Glow) */
.type-btn.active {
  background: rgba(240, 90, 36, 0.2) !important;
  border-color: #F05A24 !important;
  color: #FFFFFF !important;
  box-shadow: 0 0 14px rgba(240, 90, 36, 0.3);
}

.cond-chk {
  color: #10B981;
  font-weight: 900;
}

.cond-cross {
  color: #EF4444;
  font-weight: 900;
}

.t-ic {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   GLOBAL COMPREHENSIVE RESPONSIVE CSS DESIGN SYSTEM
   ========================================================================== */

/* 1. Base Container & Responsiveness Rules */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

img, svg, video, iframe {
  max-width: 100%;
  height: auto;
}

/* 2. Large Desktops & Laptops (1200px - 1400px) */
@media (max-width: 1399px) {
  .container {
    max-width: 1140px;
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* 3. Laptops & Small Desktops (992px - 1199px) */
@media (max-width: 1199px) {
  .container {
    max-width: 960px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav-menu {
    gap: 12px;
  }

  .nav-link {
    font-size: 12.5px;
    padding: 6px 10px;
  }

  .tracking-results-container {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .steps-grid {
    flex-wrap: wrap;
    gap: 16px;
  }

  .step-arrow {
    display: none;
  }
}

/* 4. Tablets & iPad Portrait (768px - 991px) */
@media (max-width: 991px) {
  .container {
    max-width: 720px;
  }

  /* Header Navigation */
  .header-container {
    padding: 10px 16px;
  }

  .nav-menu {
    gap: 8px;
  }

  .nav-link {
    font-size: 12px;
    padding: 5px 8px;
  }

  .nav-actions {
    gap: 8px;
  }

  /* Grids & Cards */
  .tracking-results-container {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .how-it-works-card {
    padding: 16px;
  }

  .steps-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .step-item {
    width: 100%;
  }

  .step-arrow {
    display: none;
  }

  /* Quote Form */
  .form-grid-2,
  .form-grid-3,
  .form-grid-4 {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .quote-summary-card {
    position: static;
    margin-top: 20px;
  }
}

/* 5. Mobile Devices & Smartphones (max-width: 767px) */
@media (max-width: 767px) {
  .container {
    width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }

  /* Header & Mobile Navigation */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .header-container {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 8px 12px;
  }

  .logo-img {
    height: 38px;
  }

  .nav-menu {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    padding: 6px 0;
    gap: 6px;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 6px;
  }

  .nav-item {
    flex-shrink: 0;
  }

  .nav-link {
    font-size: 11.5px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
  }

  .nav-actions {
    gap: 6px;
  }

  .btn-nav-call,
  .btn-nav-portal {
    font-size: 11px;
    padding: 6px 10px;
  }

  /* Hero Section & Search Form */
  .hero-section {
    padding: 30px 0 20px 0;
  }

  .hero-title {
    font-size: 24px;
    line-height: 1.25;
  }

  .hero-subtitle {
    font-size: 13px;
  }

  .track-tabs-row {
    flex-wrap: wrap;
    gap: 6px;
  }

  .track-tab {
    font-size: 11.5px;
    padding: 8px 12px;
    flex: 1 1 auto;
    text-align: center;
    justify-content: center;
  }

  .track-input-row {
    flex-direction: column;
    gap: 10px;
  }

  .track-main-input {
    width: 100%;
    font-size: 14px;
    padding: 12px 14px;
  }

  .btn-track-now {
    width: 100%;
    justify-content: center;
    padding: 12px;
  }

  /* Forms & Grids */
  .form-grid-2,
  .form-grid-3,
  .form-grid-4 {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Table Responsiveness with Horizontal Scroll */
  .table-responsive,
  .admin-table-wrapper,
  .driver-table-wrapper,
  .cust-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 16px;
    border-radius: 8px;
  }

  table {
    min-width: 650px;
  }

  /* Track Vehicle Page Responsive Map & Timeline */
  .live-map-card .map-view-wrapper {
    height: 260px !important;
  }

  .tracking-details-card {
    padding: 14px !important;
  }

  .track-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .route-endpoints-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .route-middle-line {
    display: none;
  }

  .track-metrics-grid {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  .track-actions-row {
    flex-direction: column;
    gap: 10px;
  }

  .btn-action-outline,
  .btn-action-blue {
    width: 100%;
    justify-content: center;
  }
}

/* 6. Extra Small Screens (320px - 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 20px;
  }

  .section-title {
    font-size: 18px;
  }

  .btn-primary,
  .btn-secondary,
  .btn-orange {
    width: 100%;
    padding: 12px 16px;
    text-align: center;
    justify-content: center;
  }
}

/* ==========================================================================
   ADMIN NEW BOOKING CREATION PAGE STYLES
   ========================================================================== */

.new-booking-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 8px 0 40px 0;
}

.new-booking-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  padding: 32px;
  margin-bottom: 24px;
}

.form-section-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 28px;
  transition: all 0.2s ease;
}

.form-section-card:hover {
  border-color: #CBD5E1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.form-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #E2E8F0;
}

.form-section-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0B1E36 0%, #1E3A8A 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.form-section-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
}

.form-section-header p {
  font-size: 0.82rem;
  color: #64748B;
  margin: 2px 0 0 0;
}

.new-booking-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

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

@media (max-width: 992px) {
  .new-booking-grid-3 {
    grid-template-columns: 1fr;
  }
}

.form-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-field-group label .req-star {
  color: #EF4444;
  margin-left: 4px;
}

.btn-inline-toggle {
  background: transparent;
  border: none;
  color: #2563EB;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  transition: color 0.15s ease;
}

.btn-inline-toggle:hover {
  color: #1D4ED8;
}

.form-input-field,
.form-select-field,
.form-textarea-field {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.92rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #0F172A;
  background-color: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.form-input-field:focus,
.form-select-field:focus,
.form-textarea-field:focus {
  outline: none;
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  background-color: #FFFFFF;
}

.form-input-field::placeholder {
  color: #94A3B8;
}

/* Manual Custom Location Card */
.manual-location-panel {
  display: none;
  margin-top: 14px;
  background: #FFFFFF;
  border: 2px dashed #93C5FD;
  border-radius: 12px;
  padding: 18px;
  animation: fadeInDown 0.25s ease forwards;
}

.manual-location-panel.active {
  display: block;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.manual-panel-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1E40AF;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.manual-panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.btn-add-location-submit {
  margin-top: 12px;
  background: #2563EB;
  color: #FFFFFF;
  border: none;
  padding: 9px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-add-location-submit:hover {
  background: #1D4ED8;
  transform: translateY(-1px);
}

/* Form Actions Bar */
.new-booking-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid #E2E8F0;
  flex-wrap: wrap;
}

.btn-save-booking {
  background: linear-gradient(135deg, #F05A24 0%, #D04513 100%);
  color: #FFFFFF;
  font-size: 0.98rem;
  font-weight: 800;
  padding: 14px 32px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(240, 90, 36, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}

.btn-save-booking:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(240, 90, 36, 0.4);
}

.btn-reset-booking {
  background: #F1F5F9;
  color: #475569;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 10px;
  border: 1px solid #CBD5E1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-reset-booking:hover {
  background: #E2E8F0;
  color: #1E293B;
}

.btn-cancel-booking {
  color: #64748B;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease;
}

.btn-cancel-booking:hover {
  color: #0F172A;
}

/* Custom Success Modal */
.custom-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.custom-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.custom-modal-dialog {
  background: #FFFFFF;
  border-radius: 20px;
  max-width: 540px;
  width: 100%;
  padding: 36px 32px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  text-align: center;
  transform: scale(0.92);
  transition: transform 0.25s ease;
}

.custom-modal-backdrop.active .custom-modal-dialog {
  transform: scale(1);
}

.modal-icon-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #DCFCE7;
  color: #16A34A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 20px auto;
  box-shadow: 0 0 0 8px rgba(220, 252, 231, 0.5);
}

.modal-title-text {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 8px;
}

.modal-desc-text {
  font-size: 0.92rem;
  color: #64748B;
  margin-bottom: 24px;
  line-height: 1.5;
}

.modal-booking-summary-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 28px;
  text-align: left;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.88rem;
  border-bottom: 1px dashed #E2E8F0;
}

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

.summary-label {
  color: #64748B;
  font-weight: 600;
}

.summary-val {
  color: #0F172A;
  font-weight: 700;
}

.modal-actions-group {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.btn-modal-primary {
  background: #0B1E36;
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn-modal-primary:hover {
  background: #1E3A8A;
}

.btn-modal-secondary {
  background: #F1F5F9;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-modal-secondary:hover {
  background: #E2E8F0;
}

/* ==========================================================================
   DELIVER STATUS MENU & VIN DETAILS MODAL STYLES
   ========================================================================== */
.btn-deliver-status-menu {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #F05A24, #EA580C);
  color: #FFFFFF;
  border: none;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(240, 90, 36, 0.3);
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-deliver-status-menu:hover {
  background: linear-gradient(135deg, #E04812, #C2410C);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(240, 90, 36, 0.4);
}

.deliver-status-modal-content {
  background: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  width: 92%;
  max-width: 950px;
  padding: 30px;
  color: #F8FAFC;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  max-height: 90vh;
  overflow-y: auto;
}

.ds-filter-card {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 14px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: 16px;
  align-items: end;
}

.ds-filter-label {
  font-size: 12px;
  font-weight: 800;
  color: #38BDF8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  display: block;
}

.ds-input-field {
  width: 100%;
  background: #0B1E36;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
}

.ds-input-field:focus {
  border-color: #38BDF8;
}

.ds-vin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.ds-vin-card {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.ds-vin-card:hover {
  border-color: #F05A24;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(240, 90, 36, 0.2);
  background: rgba(30, 41, 59, 0.95);
}

.ds-vin-tag {
  font-family: monospace;
  background: rgba(240, 90, 36, 0.15);
  color: #FF8A65;
  border: 1px solid rgba(240, 90, 36, 0.3);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  display: inline-block;
}

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

.vin-detail-block {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px;
}

.vin-detail-title {
  font-size: 13px;
  font-weight: 800;
  color: #38BDF8;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.vin-field-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
}

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

.vin-field-lbl {
  color: #94A3B8;
}

.vin-field-val {
  color: #F8FAFC;
  font-weight: 700;
}
