@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --navy-dark: #071931;
  --navy-primary: #0b2240;
  --navy-light: #16365f;
  --blue-accent: #0056cc;
  --blue-hover: #0045a3;
  --blue-light: #e6f0fa;
  --bg-main: #f4f6fa;
  --card-bg: #ffffff;
  --text-dark: #1f2937;
  --text-muted: #6b7280;
  --border-color: #e5e7eb;
  
  --status-delivered-bg: #e6f4ea;
  --status-delivered-text: #137333;
  --status-process-bg: #e8f0fe;
  --status-process-text: #1a73e8;
  --status-pending-bg: #fef7e0;
  --status-pending-text: #b06000;
  --status-completed-bg: #e6f4ea;
  --status-completed-text: #137333;
  
  --font-title: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.3s ease;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Typography & General Buttons */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--navy-primary);
  font-weight: 600;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 14px;
  transition: var(--transition);
}

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

.btn-primary:hover {
  background-color: var(--blue-hover);
}

.btn-secondary {
  background-color: #f3f4f6;
  color: var(--text-dark);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: #e5e7eb;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}

.badge-delivered {
  background-color: var(--status-delivered-bg);
  color: var(--status-delivered-text);
}

.badge-process {
  background-color: var(--status-process-bg);
  color: var(--status-process-text);
}

.badge-pending {
  background-color: var(--status-pending-bg);
  color: var(--status-pending-text);
}

.badge-completed {
  background-color: var(--status-completed-bg);
  color: var(--status-completed-text);
}

/* Top Navigation Bar (Shared Style Concept) */
.top-bar {
  background-color: var(--navy-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  padding: 8px 4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

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

.top-bar-item svg {
  width: 14px;
  height: 14px;
  color: var(--blue-accent);
}

.top-bar-right a {
  transition: var(--transition);
}

.top-bar-right a:hover {
  color: white;
}

/* Brand Header */
.main-header {
  background-color: white;
  padding: 15px 4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.brand-logo {
  height: 48px;
  width: auto;
}

.brand-details h1 {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.brand-details p {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-weight: 500;
  font-size: 14px;
}

.nav-links a {
  color: var(--text-dark);
  transition: var(--transition);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a.active, .nav-links a:hover {
  color: var(--blue-accent);
  border-bottom-color: var(--blue-accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.profile-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #ea4335;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
}

/* ==========================================
   CUSTOMER INTERFACE - INVOICE TRACKING
   ========================================== */
.hero-tracker {
  background: radial-gradient(circle at top right, rgba(230, 240, 250, 0.8), rgba(255, 255, 255, 1));
  padding: 80px 4% 50px 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-content {
  max-width: 550px;
}

.hero-content h2 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
}

.hero-content h2 span {
  color: var(--blue-accent);
}

.hero-content p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 30px;
}

.search-box-container {
  background: white;
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.search-box-container h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.search-box-container p {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.search-form {
  display: flex;
  gap: 12px;
}

.search-input-wrapper {
  position: relative;
  flex: 1;
}

.search-form input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.search-form input:focus {
  border-color: var(--blue-accent);
  box-shadow: 0 0 0 3px rgba(0, 86, 204, 0.15);
}

.hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-image-wrapper img {
  max-width: 90%;
  height: auto;
}

/* Customer Tracking Results Card */
.tracking-results-wrapper {
  padding: 40px 4%;
  max-width: 1200px;
  margin: 0 auto;
}

.result-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 30px;
  border: 1px solid var(--border-color);
  display: none; /* Shown dynamically via JS */
  animation: fadeInUp 0.4s ease forwards;
}

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

.status-header-summary {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 30px;
}

.summary-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.summary-item .label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.summary-item .val {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy-primary);
}

.summary-item .val-large {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy-primary);
}

/* Timeline component */
.timeline-section {
  margin-bottom: 40px;
}

.timeline-track {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin: 40px 0 20px 0;
  padding: 0 40px;
}

.timeline-line {
  position: absolute;
  top: 25px;
  left: 80px;
  right: 80px;
  height: 4px;
  background-color: var(--border-color);
  z-index: 1;
}

.timeline-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: var(--blue-accent);
  width: 0%; /* Dynamic update via JS */
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.step-icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: white;
  border: 4px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--text-muted);
}

.step-icon-circle svg {
  width: 20px;
  height: 20px;
  stroke-width: 2px;
}

.timeline-step.active .step-icon-circle {
  border-color: var(--blue-accent);
  background-color: var(--blue-light);
  color: var(--blue-accent);
  box-shadow: 0 0 0 6px rgba(0, 86, 204, 0.1);
}

.timeline-step.completed .step-icon-circle {
  border-color: var(--blue-accent);
  background-color: var(--blue-accent);
  color: white;
}

.step-title {
  font-size: 13px;
  font-weight: 700;
  margin-top: 12px;
  color: var(--navy-primary);
}

.step-date {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

.step-desc {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 4px;
  max-width: 120px;
}

/* Detail Grid Layout */
.invoice-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.detail-section-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 8px;
}

.detail-table-card {
  background-color: #fafbfc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 13px;
  border-bottom: 1px dashed var(--border-color);
}

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

.detail-label {
  color: var(--text-muted);
  font-weight: 500;
}

.detail-value {
  color: var(--navy-primary);
  font-weight: 600;
  text-align: right;
}

.detail-notes-card {
  background-color: var(--blue-light);
  border-left: 4px solid var(--blue-accent);
  padding: 16px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 13px;
  margin-top: 16px;
}

.detail-notes-card h4 {
  font-size: 12px;
  margin-bottom: 4px;
}

/* ==========================================
   ADMIN INTERFACE - INVOICE MANAGEMENT
   ========================================== */
.admin-container {
  display: flex;
  min-height: 100vh;
}

/* Sidebar Styling */
.admin-sidebar {
  width: 250px;
  background-color: var(--navy-dark);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  flex-direction: column;
  padding: 24px 0;
  flex-shrink: 0;
}

.sidebar-brand {
  padding: 0 24px 30px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-menu {
  list-style: none;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.menu-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  border-left: 4px solid transparent;
  transition: var(--transition);
}

.menu-item a svg {
  width: 18px;
  height: 18px;
  opacity: 0.7;
}

.menu-item.active a, .menu-item a:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: white;
  border-left-color: var(--blue-accent);
}

.menu-item.active a svg {
  opacity: 1;
  color: var(--blue-accent);
}

.sidebar-help {
  margin: 20px;
  padding: 16px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  font-size: 12px;
  text-align: center;
}

.sidebar-help h4 {
  color: white;
  margin-bottom: 6px;
}

.sidebar-help p {
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
}

/* Admin Views Routing Classes */
.admin-view {
  display: none;
  animation: fadeIn 0.3s ease-in-out forwards;
}
.admin-view.active {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

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

/* Admin Main Content Layout */
.admin-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: #f8fafc;
  overflow-x: hidden;
}

.admin-header {
  background-color: white;
  border-bottom: 1px solid var(--border-color);
  padding: 16px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.admin-user-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-user-details {
  text-align: right;
  font-size: 12px;
}

.admin-user-details h4 {
  font-size: 13px;
  font-weight: 700;
}

.admin-user-details p {
  color: var(--text-muted);
}

.admin-content-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

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

.page-breadcrumbs {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.page-breadcrumbs span {
  margin: 0 4px;
}

/* Stat Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.stat-card {
  background-color: white;
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow);
}

.stat-info h4 {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.stat-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy-primary);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon.total {
  background-color: #f3f4f6;
  color: var(--navy-primary);
}

.stat-icon.pending {
  background-color: #fffbeb;
  color: var(--status-pending-text);
}

.stat-icon.process {
  background-color: #eff6ff;
  color: var(--status-process-text);
}

.stat-icon.delivered {
  background-color: #f0fdf4;
  color: var(--status-delivered-text);
}

/* Filters & Tables Section */
.data-card {
  background-color: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
}

.filter-bar {
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.filter-left {
  display: flex;
  gap: 12px;
  flex: 1;
  min-width: 300px;
}

.search-wrapper {
  position: relative;
  flex: 1;
}

.search-wrapper input {
  width: 100%;
  padding: 10px 16px 10px 36px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  outline: none;
  font-size: 13px;
}

.search-wrapper svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

.filter-select {
  padding: 10px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  outline: none;
  font-size: 13px;
  background-color: white;
  min-width: 130px;
}

/* Invoices Table styling */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.invoices-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}

.invoices-table th {
  background-color: #fafbfc;
  padding: 14px 20px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
}

.invoices-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-dark);
}

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

.invoices-table tr:hover {
  background-color: #f8fafc;
}

.col-tracking {
  font-weight: 700;
  color: var(--navy-primary);
}

.col-amount {
  font-weight: 600;
}

.table-actions {
  display: flex;
  gap: 8px;
}

.action-btn {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.action-btn:hover {
  background-color: var(--blue-accent);
  color: white;
  border-color: var(--blue-accent);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  padding: 20px;
  border-top: 1px solid var(--border-color);
}

.page-link {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  transition: var(--transition);
}

.page-link:hover, .page-link.active {
  background-color: var(--blue-accent);
  color: white;
  border-color: var(--blue-accent);
}

.page-link.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* OCR & UPLOAD SECTION */
.upload-container {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 30px;
}

.upload-left {
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.upload-right {
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow);
}

.drag-area {
  border: 2px dashed #0056cc33;
  background-color: #0056cc03;
  border-radius: var(--radius-md);
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.drag-area:hover, .drag-area.active {
  background-color: var(--blue-light);
  border-color: var(--blue-accent);
}

.drag-icon-wrapper {
  margin-bottom: 12px;
}

.drag-icon-wrapper svg {
  width: 48px;
  height: 48px;
  color: var(--blue-accent);
}

.drag-area h4 {
  font-size: 14px;
  margin-bottom: 8px;
}

.drag-area p {
  font-size: 11px;
  color: var(--text-muted);
}

.drag-area input[type="file"] {
  display: none;
}

/* OCR Progress animation overlay */
.ocr-progress-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(11, 34, 64, 0.95);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.ocr-progress-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.scan-beam {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--blue-accent), transparent);
  box-shadow: 0 0 10px var(--blue-accent);
  animation: scan 2s linear infinite;
}

@keyframes scan {
  0% { top: 0%; }
  50% { top: 100%; }
  100% { top: 0%; }
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Extraction Form Panel */
.extraction-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

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

.form-group-full {
  grid-column: span 2;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.input-status-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 13px;
  outline: none;
  font-family: var(--font-body);
  transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue-accent);
}

.input-status-icon {
  position: absolute;
  right: 12px;
  color: #24b273;
  width: 16px;
  height: 16px;
  display: none;
}

.form-group.success .input-status-icon {
  display: block;
}

.form-group.success input {
  padding-right: 36px;
  border-color: #24b273;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Toast Notifications */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: var(--navy-primary);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
  z-index: 1000;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.success {
  border-left: 4px solid #24b273;
}

/* Modal details view */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(7, 25, 49, 0.5);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-card {
  background-color: white;
  width: 90%;
  max-width: 800px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: zoomIn 0.3s ease forwards;
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  background-color: var(--navy-primary);
  color: white;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  color: white;
}

.modal-body {
  padding: 30px;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-close {
  color: white;
  opacity: 0.7;
  font-size: 24px;
  transition: var(--transition);
}

.modal-close:hover {
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-tracker {
    flex-direction: column;
    padding-top: 40px;
  }
  .hero-content {
    max-width: 100%;
  }
  .upload-container {
    grid-template-columns: 1fr;
  }
  .invoice-detail-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .timeline-track {
    overflow-x: auto;
    padding-bottom: 20px;
  }
}

/* Custom Timeline Colors per step requested by user */
.timeline-step#step-pending.active .step-icon-circle {
  border-color: #eab308;
  background-color: #fef9c3;
  color: #ca8a04;
  box-shadow: 0 0 0 6px rgba(234, 179, 8, 0.15);
}
.timeline-step#step-pending.completed .step-icon-circle {
  border-color: #eab308;
  background-color: #eab308;
  color: white;
}
.timeline-step#step-process.active .step-icon-circle {
  border-color: #10b981;
  background-color: #d1fae5;
  color: #059669;
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.15);
}
.timeline-step#step-process.completed .step-icon-circle {
  border-color: #10b981;
  background-color: #10b981;
  color: white;
}
.timeline-step#step-delivered.active .step-icon-circle {
  border-color: #3b82f6;
  background-color: #dbeafe;
  color: #2563eb;
  box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.15);
}
.timeline-step#step-delivered.completed .step-icon-circle {
  border-color: #3b82f6;
  background-color: #3b82f6;
  color: white;
}
.timeline-step#step-completed.active .step-icon-circle {
  border-color: #ef4444;
  background-color: #fee2e2;
  color: #dc2626;
  box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.15);
}
.timeline-step#step-completed.completed .step-icon-circle {
  border-color: #ef4444;
  background-color: #ef4444;
  color: white;
}
