:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --dark-bg: #0f172a;
  --card-bg: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
}

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

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  max-width: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background-color: #f8fafc;
  line-height: 1.6;
}

/* Header Navbar */
.navbar {
  background: var(--dark-bg);
  color: #fff;
  padding: 16px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  color: #38bdf8;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #38bdf8;
}

/* Hero Section */
.hero-section {
  background: radial-gradient(circle at 50% 0%, #1e293b 0%, #0f172a 100%);
  color: #fff;
  padding: 55px 20px 65px;
  text-align: center;
  position: relative;
}

.hero-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: #94a3b8;
  max-width: 680px;
  margin: 0 auto 32px;
}

/* Tracker Input Box */
.tracker-box {
  max-width: 720px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

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

.tracker-input {
  flex: 1;
  padding: 16px 20px;
  font-size: 1.05rem;
  border: 2px solid transparent;
  border-radius: 12px;
  outline: none;
  background: #fff;
  color: var(--text-main);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.tracker-input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.2);
}

.track-btn {
  background: linear-gradient(135deg, #2563eb 0%, #0284c7 100%);
  color: #fff;
  border: none;
  padding: 0 32px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}

.track-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
}

.sample-pills {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #94a3b8;
}

.sample-pill {
  background: rgba(255, 255, 255, 0.12);
  padding: 5px 14px;
  border-radius: 20px;
  cursor: pointer;
  color: #e2e8f0;
  font-weight: 500;
  transition: background 0.2s, transform 0.15s;
}

.sample-pill:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

/* Container */
.container {
  max-width: 1020px;
  margin: -35px auto 50px;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

.card {
  background: var(--card-bg);
  border-radius: 18px;
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: 0 6px 25px rgba(0,0,0,0.05);
  margin-bottom: 30px;
}

/* Realistic Official Brand Courier Cards */
.couriers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.courier-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 14px 16px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.courier-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  border-color: #cbd5e1;
  color: var(--primary);
}

.brand-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 4px;
}

.brand-badge svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Ad Banners */
.ad-banner {
  background: #f1f5f9;
  border: 2px dashed #cbd5e1;
  padding: 16px;
  text-align: center;
  color: #94a3b8;
  font-size: 0.85rem;
  border-radius: 12px;
  margin: 24px 0;
}

/* ==========================================================================
   Tracking Results UI - Modern SaaS Logistics Dashboard Redesign
   ========================================================================== */
#tracking-results {
  margin-bottom: 35px;
}

.tracking-result-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
}

.result-card-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Carrier Header Color Variations */
.result-card-header.header-ups { background: linear-gradient(135deg, #1f120b 0%, #3d2415 100%); }
.result-card-header.header-usps { background: linear-gradient(135deg, #00223d 0%, #004b87 100%); }
.result-card-header.header-fedex { background: linear-gradient(135deg, #27094b 0%, #4d148c 100%); }
.result-card-header.header-dhl { background: linear-gradient(135deg, #6b0208 0%, #a3030c 100%); }
.result-card-header.header-tcs { background: linear-gradient(135deg, #870d12 0%, #ba1219 100%); }

.header-left-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.courier-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #38bdf8;
  letter-spacing: 0.3px;
  width: fit-content;
}

.tracking-id-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.3px;
}

.route-subtitle {
  font-size: 0.88rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
}

.route-arrow {
  color: #38bdf8;
  font-weight: bold;
}

/* Quick Actions Group */
.action-buttons-group {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.action-btn-sm {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #f8fafc;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.action-btn-sm:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.header-right-status {
  display: flex;
  align-items: center;
}

.status-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.status-badge-pill.in-transit {
  background: rgba(37, 99, 235, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.4);
}

.status-badge-pill.out-for-delivery {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.4);
}

.status-badge-pill.delivered {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.4);
}

.status-dot-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  position: relative;
}

.status-badge-pill.in-transit .status-dot-pulse {
  background: #3b82f6;
  box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
  animation: pulse-blue 1.8s infinite;
}

.status-badge-pill.out-for-delivery .status-dot-pulse {
  background: #f59e0b;
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
  animation: pulse-amber 1.8s infinite;
}

.status-badge-pill.delivered .status-dot-pulse {
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-green 1.8s infinite;
}

@keyframes pulse-blue {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(59, 130, 246, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}
@keyframes pulse-amber {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}
@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Card Body */
.result-card-body {
  padding: 32px 28px;
}

/* Estimated Delivery Banner */
.estimated-delivery-banner {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.eta-left-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.eta-icon {
  font-size: 1.8rem;
}

.eta-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #1e40af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.eta-date-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1e3a8a;
}

.eta-days-badge {
  background: #2563eb;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 5px 14px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

/* Stepper Bar */
.stepper-wrapper {
  margin: 10px 0 35px;
  position: relative;
}

.stepper-track-bg {
  position: absolute;
  top: 20px;
  left: 8%;
  right: 8%;
  height: 4px;
  background: #e2e8f0;
  z-index: 1;
  border-radius: 2px;
}

.stepper-track-progress {
  position: absolute;
  top: 20px;
  left: 8%;
  height: 4px;
  background: linear-gradient(90deg, #2563eb 0%, #0284c7 100%);
  z-index: 2;
  border-radius: 2px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stepper-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 3;
}

.step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.step-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #cbd5e1;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.step-node.completed .step-circle {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.step-node.active .step-circle {
  background: #0284c7;
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 0 0 5px rgba(56, 189, 248, 0.25);
  animation: pulse-node 2s infinite;
}

@keyframes pulse-node {
  0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(56, 189, 248, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

.step-title {
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
}

.step-node.completed .step-title,
.step-node.active .step-title {
  color: #0f172a;
  font-weight: 700;
}

/* Package Specifications Grid */
.specs-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.package-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.spec-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.spec-box-icon {
  font-size: 1.2rem;
  background: #f1f5f9;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.spec-box-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
}

.spec-box-value {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
}

/* Carrier Details Box */
.carrier-details-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px 24px;
  margin: 28px 0;
}

.carrier-details-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.carrier-header-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
}

.carrier-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.carrier-detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #ffffff;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid #edf2f7;
}

.carrier-detail-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.carrier-detail-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: #0f172a;
  word-break: break-word;
}

.carrier-detail-value a {
  color: #2563eb;
  text-decoration: none;
}

.carrier-detail-value a:hover {
  text-decoration: underline;
}

.carrier-desc-text {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 14px;
  line-height: 1.5;
}

/* Timeline */
.timeline-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.timeline-list-modern {
  list-style: none;
  position: relative;
  padding-left: 24px;
}

.timeline-list-modern::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 7px;
  width: 2px;
  background: #e2e8f0;
}

.timeline-item-modern {
  position: relative;
  margin-bottom: 20px;
}

.timeline-item-modern:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -24px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #cbd5e1;
  transition: all 0.2s ease;
}

.timeline-item-modern:first-child .timeline-marker {
  background: #2563eb;
  border-color: #38bdf8;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

.timeline-content-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.timeline-item-modern:first-child .timeline-content-card {
  background: #ffffff;
  border-color: #93c5fd;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.08);
}

.timeline-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline-date-stamp {
  font-size: 0.8rem;
  font-weight: 600;
  color: #2563eb;
  background: #eff6ff;
  padding: 3px 10px;
  border-radius: 6px;
}

.timeline-location-tag {
  font-size: 0.82rem;
  font-weight: 500;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 4px;
}

.timeline-activity-desc {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
}

/* Toast Alert Popup */
.toast-alert {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  color: #ffffff;
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Footer */
footer {
  background: var(--dark-bg);
  color: #94a3b8;
  padding: 45px 20px;
  text-align: center;
  font-size: 0.88rem;
}

footer a {
  color: #cbd5e1;
  text-decoration: none;
}

@media (max-width: 640px) {
  .input-group {
    flex-direction: column;
  }
  .track-btn {
    padding: 14px;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .result-card-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .stepper-steps {
    gap: 4px;
  }
  .step-circle {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }
  .step-title {
    font-size: 0.72rem;
  }
  .stepper-track-bg, .stepper-track-progress {
    top: 15px;
  }
  .carrier-details-grid {
    grid-template-columns: 1fr;
  }
  .package-specs-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Courier Filter Tabs & Search Bar */
.courier-tab {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #475569;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.courier-tab:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.courier-tab.active {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}



/* ==========================================================================
   SUPPORTED COURIERS 48+ GRID & SEARCH FILTER STYLES
   ========================================================================== */

.supported-couriers-section {
    padding: 80px 0;
    background: #f8fafc;
}

.courier-tabs-container {
    max-width: 900px;
    margin: 0 auto 40px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.courier-search-box {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.courier-search-box .search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.1rem;
    pointer-events: none;
}

.courier-search-box input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    font-size: 1rem;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
    outline: none;
    color: #1e293b;
}

.courier-search-box input:focus {
    border-color: #2563eb;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.15);
}

.courier-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.courier-tab {
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 30px;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    color: #64748b;
    cursor: pointer;
    transition: all 0.25s ease;
}

.courier-tab:hover {
    border-color: #cbd5e1;
    color: #1e293b;
    background: #f1f5f9;
}

.courier-tab.active {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.couriers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.courier-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);

}

.courier-card:hover {
    transform: translateY(-4px);
    border-color: #3b82f6;
    box-shadow: 0 12px 24px -6px rgba(37, 99, 235, 0.12);
}

.courier-logo-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 6px;
}

.courier-logo-wrapper svg {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.courier-card-info {
    flex: 1;
    min-width: 0;
}

.courier-card-name {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.courier-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-express {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

.badge-postal {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.badge-ecommerce {
    background: #faf5ff;
    color: #9333ea;
    border: 1px solid #e9d5ff;
}

.badge-regional {
    background: #fff7ed;
    color: #ea580c;
    border: 1px solid #ffedd5;
}

.courier-card-arrow {
    color: #cbd5e1;
    font-size: 0.9rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.courier-card:hover .courier-card-arrow {
    color: #2563eb;
    transform: translateX(4px);
}


/* ==========================================================================
   COMPETITOR LOGO TILE GRID STYLES (MATCHING USER SCREENSHOT)
   ========================================================================== */

.supported-couriers-competitor-section {
    padding: 70px 0;
    background: linear-gradient(135deg, #fef3c7 0%, #ffedd5 50%, #fee2e2 100%);
    position: relative;
}

.competitor-tiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 16px;
    max-width: 1050px;
    margin: 30px auto 0 auto;
    justify-content: center;
}

.competitor-courier-tile {
    height: 70px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.competitor-courier-tile:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.tile-brand-name {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: -0.3px;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.expand-btn-wrapper {
    margin-top: 35px;
}

.btn-expand-couriers {
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-expand-couriers:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.4);
}


/* ==========================================================================
   OFFICIAL BRAND VECTOR LOGO TILES & TRENDING GRID
   ========================================================================== */

.supported-couriers-official-section {
    padding: 70px 0;
    background: #f8fafc;
    position: relative;
}

.official-tiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 18px;
    max-width: 1100px;
    margin: 30px auto 0 auto;
}

.official-logo-tile {
    height: 95px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.official-logo-tile:hover {
    transform: translateY(-4px);
    border-color: #2563eb;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.12);
}

.trending-tag {
    position: absolute;
    top: 4px;
    right: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    background: #fef3c7;
    color: #d97706;
    padding: 1px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.tile-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    width: 100%;
}

.tile-logo-container svg {
    max-height: 38px;
    max-width: 90%;
    object-fit: contain;
}

.tile-courier-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #475569;
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}


/* ==========================================================================
   EXACT TRACKMYPACKAGE.NET 3-COLUMN BANNER & TILE GRID STYLES
   ========================================================================== */

.trackmypackage-banner-section {
    background: linear-gradient(135deg, #facc15 0%, #fb923c 50%, #f97316 100%);
    padding: 50px 15px;
    position: relative;
    overflow: hidden;
}

.banner-decorations {
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 10%;
    pointer-events: none;
    opacity: 0.25;
}

.decor-mountain, .decor-ship {
    font-size: 2.5rem;
    color: #78350f;
}

.trackmypackage-title {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: #1e293b;
    letter-spacing: 1px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.trackmypackage-title .highlight-orange {
    color: #ea580c;
}

.trackmypackage-tabs-container {
    max-width: 480px;
    margin: 0 auto 20px auto;
}

.trackmypackage-search-box {
    position: relative;
    width: 100%;
}

.trackmypackage-search-box .search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.trackmypackage-search-box input {
    width: 100%;
    padding: 10px 16px 10px 42px;
    font-size: 0.95rem;
    border-radius: 20px;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    outline: none;
}

.exact-3col-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 480px;
    margin: 0 auto;
    justify-content: center;
}

.trackmypackage-tile {
    height: 62px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.trackmypackage-tile:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
}

.trackmypackage-tile svg {
    max-width: 92%;
    max-height: 85%;
    object-fit: contain;
}

.btn-expand-pill {
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 7px 20px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transition: all 0.2s ease;
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
}

.btn-expand-pill:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}


/* ==========================================================================
   PERFECT CENTER ALIGNMENT FOR EXPAND BUTTON & LAST GRID TILE
   ========================================================================== */

.expand-btn-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 25px auto 0 auto !important;
    text-align: center !important;
}

.btn-expand-pill {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 auto !important;
}

/* Center 19th tile (Aramex) in column 2 of the 3-column grid when 19 tiles are visible */
.exact-3col-grid > .trackmypackage-tile:nth-child(19) {
    grid-column: 2;
}


/* ==========================================================================
   TRACKMYPACKAGE.NET/CARRIERS 4-COLUMN PAGE STYLES
   ========================================================================== */

.carriers-main-content {
    padding: 40px 0 80px 0;
    background: #fafafa;
}

.carriers-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.top-bar-subtitle {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
}

.carriers-search-input-wrapper {
    position: relative;
    width: 260px;
}

.carriers-search-input-wrapper input {
    width: 100%;
    padding: 8px 36px 8px 14px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    font-size: 0.88rem;
    outline: none;
}

.carriers-search-input-wrapper .search-magnifier {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.85rem;
}

.carriers-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1.5px solid #e2e8f0;
    padding-bottom: 12px;
    margin-bottom: 25px;
}

.header-title-box h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.btn-download-list {
    font-size: 0.82rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-download-list:hover {
    text-decoration: underline;
}

.all-carriers-grid-4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

@media (max-width: 992px) {
    .all-carriers-grid-4col {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .all-carriers-grid-4col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .all-carriers-grid-4col {
        grid-template-columns: 1fr;
    }
}

.all-carriers-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.all-carriers-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
    transform: translateY(-2px);
}

.carrier-card-logo-box {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.carrier-card-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.carriers-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.page-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.page-btn.active {
    background: #f59e0b;
    color: #ffffff;
    border-color: #f59e0b;
}

.page-btn:hover:not(.active) {
    background: #f1f5f9;
}

.page-dots {
    color: #94a3b8;
    font-size: 0.9rem;
}


/* ==========================================================================
   RICH SAAS TRACKING RESULT CARD & CARRIER DETAILS STYLES
   ========================================================================== */

.saas-tracking-result-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    margin-top: 30px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.saas-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: #ffffff;
    flex-wrap: wrap;
    gap: 15px;
}

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

.header-logo-box {
    width: 54px;
    height: 54px;
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.header-logo-box svg {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.carrier-type-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #93c5fd;
}

.tracking-code-heading {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin: 4px 0 0 0;
}

.highlight-code {
    color: #fde047;
}

.header-status-badge {
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.badge-in-transit {
    background: rgba(254, 240, 138, 0.2);
    color: #fef08a;
    border: 1px solid #fde047;
}

.badge-delivered {
    background: rgba(187, 247, 208, 0.2);
    color: #bbf7d0;
    border: 1px solid #4ade80;
}

.saas-progress-stepper-box {
    padding: 25px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.stepper-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.step-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #94a3b8;
}

.step-label.completed {
    color: #059669;
}

.step-label.active {
    color: #2563eb;
}

.stepper-bar-container {
    height: 8px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.stepper-fill-line {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #2563eb 100%);
    border-radius: 10px;
    transition: width 0.8s ease;
}

.saas-utility-actions {
    display: flex;
    gap: 12px;
    padding: 16px 25px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    flex-wrap: wrap;
}

.utility-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.utility-btn:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

.saas-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    padding: 25px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}

.spec-card {
    background: #f8fafc;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
}

.spec-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 4px;
}

.spec-value {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
}

.saas-carrier-profile-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: #eff6ff;
    border-bottom: 1px solid #dbeafe;
    flex-wrap: wrap;
    gap: 15px;
}

.profile-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.profile-logo-wrapper {
    width: 44px;
    height: 44px;
    background: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.profile-name {
    font-size: 1rem;
    font-weight: 800;
    color: #1e3a8a;
    margin: 0;
}

.profile-desc {
    font-size: 0.8rem;
    color: #3b82f6;
    margin: 2px 0 0 0;
}

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

.profile-contact-link {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1d4ed8;
    text-decoration: none;
}

.profile-website-btn {
    padding: 7px 16px;
    font-size: 0.82rem;
    font-weight: 700;
    background: #2563eb;
    color: #ffffff;
    border-radius: 6px;
    text-decoration: none;
}

.saas-timeline-container {
    padding: 25px;
    background: #ffffff;
}

.timeline-section-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 20px 0;
}

.timeline-rows-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.timeline-row {
    display: flex;
    gap: 16px;
}

.timeline-marker-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 20px;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e1;
}

.latest-row .timeline-dot {
    background: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

.timeline-line {
    width: 2px;
    flex: 1;
    background: #e2e8f0;
    margin-top: 4px;
}

.timeline-body-col {
    flex: 1;
    background: #f8fafc;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #f1f5f9;
}

.timeline-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 4px;
}

.timeline-activity {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
}


/* ==========================================================================
   WORLD-CLASS HIGH-END SAAS STYLING ENHANCEMENTS
   ========================================================================== */

.saas-tracking-result-card {
    border-radius: 20px !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.12), 0 0 1px rgba(0, 0, 0, 0.05) !important;
}

.saas-card-header {
    padding: 24px 30px !important;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.header-logo-box {
    width: 60px !important;
    height: 60px !important;
    border-radius: 14px !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15) !important;
    background: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.carrier-type-tag {
    font-size: 0.72rem !important;
    padding: 3px 10px !important;
    border-radius: 20px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    display: inline-block !important;
}

.tracking-code-heading {
    font-size: 1.35rem !important;
    font-weight: 900 !important;
    letter-spacing: -0.3px !important;
}

.highlight-code {
    color: #fde047 !important;
    font-family: 'JetBrains Mono', 'Fira Code', monospace !important;
}

.header-status-badge {
    padding: 8px 20px !important;
    border-radius: 30px !important;
    font-size: 0.9rem !important;
    font-weight: 800 !important;
    backdrop-filter: blur(8px) !important;
}

.badge-in-transit {
    background: rgba(254, 240, 138, 0.25) !important;
    color: #fef08a !important;
    border: 1.5px solid #fde047 !important;
    box-shadow: 0 0 12px rgba(253, 224, 71, 0.3) !important;
}

.saas-progress-stepper-box {
    padding: 28px 30px !important;
    background: #f8fafc !important;
}

.step-label {
    font-size: 0.88rem !important;
    font-weight: 800 !important;
}

.step-label.active {
    color: #2563eb !important;
    text-shadow: 0 0 10px rgba(37, 99, 235, 0.2) !important;
}

.stepper-bar-container {
    height: 10px !important;
    border-radius: 20px !important;
    background: #e2e8f0 !important;
}

.stepper-fill-line {
    border-radius: 20px !important;
    background: linear-gradient(90deg, #10b981 0%, #3b82f6 50%, #2563eb 100%) !important;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.4) !important;
}

.saas-utility-actions {
    padding: 18px 30px !important;
    gap: 14px !important;
}

.utility-btn {
    padding: 9px 18px !important;
    border-radius: 10px !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
}

.utility-btn:hover {
    background: #2563eb !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25) !important;
}

.saas-specs-grid {
    padding: 30px !important;
    gap: 20px !important;
}

.spec-card {
    padding: 16px 20px !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02) !important;
}

.spec-label {
    font-size: 0.75rem !important;
    color: #64748b !important;
    font-weight: 800 !important;
}

.spec-value {
    font-size: 1.05rem !important;
    font-weight: 900 !important;
    color: #0f172a !important;
}

.saas-carrier-profile-box {
    padding: 24px 30px !important;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%) !important;
    border-top: 1px solid #bfdbfe !important;
    border-bottom: 1px solid #bfdbfe !important;
}

.profile-logo-wrapper {
    width: 50px !important;
    height: 50px !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.1) !important;
}

.profile-name {
    font-size: 1.1rem !important;
    font-weight: 900 !important;
    color: #1e3a8a !important;
}

.profile-website-btn {
    padding: 9px 20px !important;
    border-radius: 8px !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25) !important;
}

.saas-timeline-container {
    padding: 30px !important;
}

.timeline-section-title {
    font-size: 1.15rem !important;
    font-weight: 900 !important;
}

.timeline-body-col {
    padding: 16px 20px !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02) !important;
}

.latest-row .timeline-body-col {
    background: #ffffff !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.08) !important;
}

.pulsing-dot {
    width: 14px !important;
    height: 14px !important;
    background: #2563eb !important;
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.25) !important;
    animation: pulseGlow 2s infinite !important;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(37, 99, 235, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}


/* ==========================================================================
   PERFECT RESPONSIVE MOBILE & TABLET STYLING OVERRIDES (max-width: 768px & 480px)
   ========================================================================== */

@media (max-width: 768px) {
    .navbar {
        padding: 12px 10px !important;
        flex-direction: column !important;
        gap: 12px !important;
        text-align: center !important;
        width: 100% !important;
    }

    .navbar .container {
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
        padding: 0 !important;
    }

    .nav-links {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px 12px !important;
        font-size: 0.82rem !important;
        width: 100% !important;
        padding: 0 !important;
    }

    .brand-logo, .logo {
        font-size: 1.15rem !important;
        justify-content: center !important;
        width: 100% !important;
        text-align: center !important;
    }

    .container {
        padding: 0 12px !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
    
    .hero-section {
        padding: 30px 12px 25px 12px !important;
        width: 100% !important;
    }

    .hero-title {
        font-size: 1.45rem !important;
        line-height: 1.25 !important;
        word-break: break-word !important;
    }

    .hero-subtitle {
        font-size: 0.95rem !important;
    }

    .tracker-box {
        padding: 16px !important;
    }

    .input-group {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .tracker-input {
        width: 100% !important;
        font-size: 0.95rem !important;
        padding: 14px 16px !important;
        border-radius: 10px !important;
        box-sizing: border-box !important;
    }

    .track-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 14px 20px !important;
        font-size: 1rem !important;
        border-radius: 10px !important;
        box-sizing: border-box !important;
    }

    .saas-tracking-result-card, #result-card {
        border-radius: 12px !important;
        overflow: hidden !important;
    }

    .saas-card-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 18px 20px !important;
        gap: 12px !important;
    }

    .header-brand-info {
        width: 100% !important;
    }

    .tracking-code-heading {
        font-size: 1.05rem !important;
        word-break: break-all !important;
    }

    .header-status-badge {
        align-self: flex-start !important;
        font-size: 0.82rem !important;
        padding: 5px 12px !important;
    }

    .saas-progress-stepper-box {
        padding: 18px 15px !important;
    }

    .stepper-labels {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px 8px !important;
        text-align: left !important;
        font-size: 0.75rem !important;
    }

    .step-label {
        justify-content: flex-start !important;
    }

    .saas-utility-actions {
        padding: 14px 12px !important;
        gap: 8px !important;
        justify-content: space-between !important;
    }

    .utility-btn {
        flex: 1 1 calc(50% - 8px) !important;
        justify-content: center !important;
        padding: 10px 8px !important;
        font-size: 0.78rem !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    .saas-specs-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 18px 15px !important;
    }

    .spec-card {
        padding: 12px 14px !important;
    }

    .spec-label {
        font-size: 0.7rem !important;
    }

    .spec-value {
        font-size: 0.88rem !important;
    }

    .saas-carrier-profile-box {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 18px 15px !important;
        gap: 14px !important;
    }

    .profile-right {
        width: 100% !important;
        flex-direction: column !important;
        gap: 8px !important;
    }

    .profile-contact-link, .profile-website-btn {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    .saas-timeline-container {
        padding: 20px 15px !important;
    }

    .timeline-meta {
        flex-direction: column !important;
        gap: 4px !important;
        align-items: flex-start !important;
    }

    .timeline-activity {
        font-size: 0.88rem !important;
    }
}

@media (max-width: 480px) {
    .utility-btn {
        flex: 1 1 100% !important;
        width: 100% !important;
    }

    .saas-specs-grid {
        grid-template-columns: 1fr !important;
    }
}


/* ==========================================================================
   BULLETPROOF OFFICIAL PRINT RECEIPT EXPORT (@media print)
   ========================================================================== */
@media print {
    body * {
        visibility: hidden !important;
    }
    
    #result-card, #result-card *, 
    .saas-tracking-result-card, .saas-tracking-result-card * {
        visibility: visible !important;
    }

    #result-card, .saas-tracking-result-card {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 1px solid #cbd5e1 !important;
        border-radius: 12px !important;
        background: #ffffff !important;
        box-shadow: none !important;
        page-break-inside: avoid !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .saas-utility-actions, .ad-banner {
        display: none !important;
        visibility: hidden !important;
    }

    .saas-card-header, .header-status-badge, .stepper-fill-line, .profile-website-btn {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
}
