:root {
  --rg-orange: #f97316;
  --rg-green: #16a34a;
  --rg-dark: #0f172a;
  --rg-muted: #f8fafc;
  --rg-subtext: #64748b;
  --radius: 18px;
  --shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  --gradient: linear-gradient(135deg, var(--rg-orange), var(--rg-green));
  font-family: "Poppins", Sans-serif;
}

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

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
}

/* Mobile Toggle Menu Styles */
.mobile-menu-toggle {
  display: none;
}

.timezone-note {
  text-align: center;
  font-size: 12px;
  color: var(--rg-subtext);
  background: #f1f5f9;
  border-radius: 999px;
  padding: 6px 14px;
  display: inline-block;
  margin: 0 auto 14px;
}

.timezone-note-wrap {
  margin-top: 20px;
  text-align: center;
}

.timelinePanel {
  position: relative;
  padding: 20px 0;
  max-width: 700px;
  margin: 0 auto;
}

.track-line {
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, #e5e7eb 0%, #e5e7eb 100%);
  z-index: 1;
}

.timeline-item {
  position: relative;
  margin: 24px 0;
  padding-left: 44px;
  min-height: 60px;
  z-index: 2;
}

.timeline-dot {
  position: absolute;
  left: 0;
  top: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #d1d5db;
  border: 5px solid white;
  box-shadow: 0 0 0 4px #e5e7eb;
  transition: all 0.3s ease;
}

.completed .timeline-dot {
  background: #10b981;
  box-shadow: 0 0 0 4px #d1fae5;
}

.active .timeline-dot {
  background: var(--rg-orange);
  box-shadow: 0 0 0 6px #dbeafe;
  animation: pulse 2s infinite;
}

.pending .timeline-dot,
.future .timeline-dot {
  background: #9ca3af;
  border-color: #e5e7eb;
  box-shadow: none;
}

.timeline-content {
  background: white;
  padding: 12px 16px;
  border-radius: 8px;
}

.status {
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
}

.tip {
  font-size: 0.92rem;
  color: #4b5563;
  line-height: 1.4;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.5);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(249, 115, 22, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0);
  }
}

.mobile-menu-toggle + label {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
  position: relative;
}

.mobile-menu-toggle + label span {
  width: 25px;
  height: 3px;
  background: #ff6600;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 3px;
  transform-origin: center;
}

#mobile-menu-toggle:checked ~ label span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

#mobile-menu-toggle:checked ~ label span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

#mobile-menu-toggle:checked ~ label span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  color: white;
  font-size: 24px;
  cursor: pointer;
  z-index: 1001;
  display: block;
}

@media (max-width: 768px) {
  .mobile-menu-toggle + label {
    display: flex;
  }
}

.mobile-nav.active {
  left: 0;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
}

.mobile-nav li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 15px 20px;
  font-size: 16px;
  transition: background 0.3s;
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mobile-nav .close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  color: white;
  font-size: 53px;
  cursor: pointer;
}

.mobile-logo img {
  width: 230px;
  height: auto;
  margin: -40px 0 20px 10px;
  max-width: 100%;
}

.logo img {
  width: 200px;
  height: auto;
  margin: 10px 0 0 0;
  max-width: 100%;
}

/* Top Bar */
.top-bar {
  background: var(--gradient);
  color: white;
  padding: 5px 0;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 50px;
  justify-content: space-around;
  margin-left: 0px;
  flex: auto;
  flex-wrap: wrap;
}

.top-bar-left a {
  color: white;
  text-decoration: none;
}

.top-bar-left a:hover {
  text-decoration: underline;
}

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

.social-icons a {
  color: white;
  font-size: 16px;
  margin-left: 5px;
}

.social-icons a:hover {
  color: #ffd700;
}

.main-header {
  background-color: #fff;
  padding: 10px 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 9;
  flex-wrap: wrap;
}

.logo {
  margin-left: 0px;
  font-size: 24px;
  font-weight: bold;
  color: #008080;
}

.logo i {
  color: #ff6600;
  margin-right: 5px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 20px;
  width: 100%;
  justify-content: flex-end;
}

.main-nav a {
  color: #000;
  text-decoration: none;
  font-weight: bold;
  text-transform: capitalize;
  font-size: 15px;
  padding: 0 10px 0 0px;
}

.main-nav a:hover {
  color: #ff6600;
}

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

.cart {
  position: relative;
  color: #ff6600;
  font-weight: bold;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: #ff6600;
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.search-icon,
.user-icon {
  color: #008080;
  font-size: 18px;
  cursor: pointer;
}

/* Sub Menu */
.sub-menu {
  background: var(--gradient);
  color: #fff;
  padding: 20px 24px 16px;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.sub-menu a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  position: relative;
}

.sub-menu a:hover {
  color: #ffd700;
}

/* Page Title Area */
.page-title-area {
  min-height: 465px;
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: rgba(0, 0, 0, 0.9);
}

.page-title-area:before {
  position: absolute;
  content: "";
  left: 0;
  width: 72.5%;
  height: 100%;
  background: #1a1a2b;
  z-index: -1;
}

@media (max-width: 575px) {
  .page-title-area {
    min-height: 465px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: rgba(0, 0, 0, 0.9);
    top: 0;
  }

  .page-title-area:before {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
  }
}

.page-title-area::after {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  width: 27.5%;
  height: 100%;
  background: #ff5e14;
  z-index: -1;
}

@media (max-width: 575px) {
  .page-title-area::after {
    width: 0;
  }
}

.page-title-content {
  position: relative;
  z-index: 55;
  padding: 210px 0 0 0;
  text-align: center;
}

@media (max-width: 575px),
  only screen and (min-width: 1200px) and (max-width: 1400px) {
  .page-title-content {
    padding-right: 0;
  }
}

.page-title-content p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.6);
  font-family: "Roboto", sans-serif;
  line-height: 55px;
  margin-bottom: 0;
}

@media (max-width: 575px) {
  .page-title-content p {
    font-size: 16px;
  }
}

.page-title-content h1 {
  color: #ffffff;
  margin-bottom: 33px;
  text-transform: capitalize;
  text-align: center;
  margin: 0 0 0 0;
}

@media (max-width: 575px) {
  .page-title-content h1 {
    font-size: 34px;
    letter-spacing: -1px;
  }
}

.breadcrumb-menu {
  position: absolute;
  bottom: 0;
  right: 22.9%;
}

.breadcrumb {
  margin-bottom: 0;
  height: 50px;
  line-height: 50px;
  padding: 0 35px;
  background: white;
}

.trail-item.trail-end {
  color: #ff5e14;
}

.trail-item + .trail-item::before {
  color: #777777;
  content: "|";
  padding-right: 8px;
}

.container1 {
  min-width: auto;
  margin: 0 auto;
  padding: 30px 20px;
}

.header1 {
  background: var(--gradient);
  color: #fff;
  padding: 20px 24px 16px;
  box-shadow: var(--shadow);
}

.brand {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  height: 46px;
  background: #fff;
  border-radius: 10px;
  padding: 6px;
}

.brand-title h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.tagline {
  opacity: 0.9;
  font-size: 12px;
  letter-spacing: 0.8px;
}

.summary {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 22px;
  position: relative;
  text-align: center;
}

.summary h2 {
  color: #008080;
  margin-bottom: 33px;
  font-size: 30px;
  text-transform: capitalize;
}

#steps-h {
  flex-direction: row;
}

.search-box {
  margin-top: 14px;
  text-align: center;
}

.timeline-h .steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
  flex-direction: row;
}

.search-box input[type="text"] {
  padding: 18px 16px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  width: 100%;
  max-width: 300px;
  font-size: 14px;
}

.search-btn {
  background: var(--gradient);
  color: #fff;
  border: 0;
  padding: 18px 38px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  margin-top: 10px;
  max-width: 300px;
  display: inline-block;
}

.route {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
  color: var(--rg-dark);
  font-weight: 600;
}

.route span {
  font-size: 16px;
}

.route .arrow {
  font-size: 20px;
  color: var(--rg-orange);
}

.last-updated {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 12px;
  color: var(--rg-subtext);
  font-weight: 500;
}

.order-info {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
}

.info-block {
  background: #f9fafb;
  border-radius: 12px;
  padding: 12px 18px;
  min-width: 140px;
  text-align: center;
  border: 1px solid #eef2f7;
  flex: 1;
  max-width: 185px;
}

.info-label {
  font-size: 11px;
  color: var(--rg-subtext);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-value {
  font-weight: 800;
  margin-top: 6px;
  font-size: 14px;
}

.timeline-h {
  position: relative;
  margin: 28px 0 6px;
  display: none;
}

.timeline-h .line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 6px;
  background: #e5e7eb;
  border-radius: 999px;
  transform: translateY(-50%);
}

.timeline-h .progress {
  position: absolute;
  top: 50%;
  left: 0;
  height: 6px;
  background: var(--gradient);
  border-radius: 999px;
  transform: translateY(-50%);
  width: 0;
  transition: width 0.8s ease;
}

.steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
  flex-direction: row;
}

.timeline-h .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  transition: color 0.3s ease;
  padding: 0 5px;
  position: relative;
}

.timeline-h .step:hover label {
  color: var(--rg-orange);
}

.timeline-h .node {
  width: 24px;
  height: 24px;
  margin-bottom: 5px;
  border-radius: 50%;
  background: #e5e7eb;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #e5e7eb;
  transition: all 0.3s ease;
  z-index: 2;
}

.timeline-h .step.done .node {
  background: var(--rg-green);
  box-shadow: 0 0 0 2px var(--rg-green);
}

.timeline-h .step.active .node {
  background: var(--rg-orange);
  box-shadow: 0 0 0 3px var(--rg-orange);
  animation: pulse 1.6s ease-in-out infinite;
}

.timeline-h label {
  margin-top: 20px;
  font-size: 12px;
  color: var(--rg-subtext);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.status-message {
  text-align: center;
  font-size: 15px;
  color: var(--rg-subtext);
  margin-top: 12px;
  font-weight: 500;
}

.note-box {
  display: none;
  margin: 18px auto 0;
  background: #ecfdf5;
  border: 2px solid var(--rg-orange);
  border-radius: 12px;
  padding: 14px 16px;
  max-width: 800px;
  text-align: left;
  font-size: 14px;
  box-shadow: var(--shadow);
}

.note-box.visible {
  display: block;
}

.note-box strong {
  color: var(--rg-dark);
}

.note-box span {
  color: var(--rg-orange);
  margin-right: 4px;
}

.panel {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 24px 24px 50px;
  position: relative;
  overflow: hidden;
  margin-top: 20px;
}

.track-line {
  position: absolute;
  left: 32px;
  top: 40px;
  width: 4px;
  background: var(--rg-green);
  border-radius: 999px;
}

.track-line.dotted {
  background: repeating-linear-gradient(
    to bottom,
    var(--rg-green) 0 10px,
    transparent 10px 18px
  );
  opacity: 0.5;
  height: 50px !important;
}

.item {
  display: flex;
  gap: 20px;
  position: relative;
  margin-bottom: 26px;
  align-items: flex-start;
}

.dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e5e7eb;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #e5e7eb;
  flex-shrink: 0;
  z-index: 2;
  margin-top: 2px;
  position: relative;
}

.item.done .dot {
  background: var(--rg-green);
  box-shadow: 0 0 0 2px var(--rg-green);
}

.item.active .dot {
  background: var(--rg-orange);
  box-shadow: 0 0 0 2px var(--rg-orange);
  animation: pulse 1.6s ease-in-out infinite;
}

.content {
  padding-top: 2px;
  flex: 1;
  font-family: "Inter", Arial, sans-serif;
}

.status {
  font-weight: 800;
  font-size: 15px;
  margin: 0;
  line-height: normal;
}

.time {
  font-size: 12px;
  color: var(--rg-subtext);
  line-height: normal;
  margin: 0;
}

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 16px;
}

.btn {
  appearance: none;
  border: 0;
  background: #ff6600;
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  border: 1px solid #e2e8f0;
  width: 100%;
  max-width: 254px;
  font-size: 20px;
}

.eta {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
}

/* Status Logs in Timeline Panel */
.logs-header {
  margin-top: 40px;
  padding: 20px 0 0;
  border-top: 1px solid #e5e7eb;
}

.logs-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--rg-dark);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logs-body {
  max-height: 400px;
  overflow-y: auto;
  margin-top: 20px;
}

.log-item {
  padding: 16px 0;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.log-item:last-child {
  border-bottom: none;
}

.log-change {
  font-weight: 600;
  color: var(--rg-dark);
  font-size: 14px;
}

.log-details {
  font-size: 12px;
  color: var(--rg-subtext);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.log-user {
  font-weight: 500;
}

.log-sheet {
  background: #eff6ff;
  color: #2563eb;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
}

.no-logs {
  text-align: center;
  padding: 40px;
  color: var(--rg-subtext);
  font-style: italic;
}

/* Modal Styles */
.rgs-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.rgs-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.rgs-modal {
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 500px;
  padding: 30px;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1000000;
}

.rgs-modal-overlay.active .rgs-modal {
  transform: translateY(0);
}

.rgs-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.rgs-modal-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--rg-dark);
}

.rgs-close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--rg-subtext);
  transition: color 0.2s;
  line-height: 1;
}

.rgs-close-btn:hover {
  color: var(--rg-orange);
}

.rgs-form-group {
  margin-bottom: 20px;
}

.rgs-form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--rg-dark);
}

.rgs-form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 14px;
  transition: border-color 0.3s;
}

.rgs-form-control:focus {
  outline: none;
  border-color: var(--rg-orange);
}

.rgs-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 25px;
}

.rgs-btn-secondary {
  background: #f1f5f9;
  color: var(--rg-dark);
  border: 1px solid #e2e8f0;
}

.rgs-btn-primary {
  background: var(--rg-orange);
  color: white;
  border: none;
}

.rgs-btn-secondary,
.rgs-btn-primary {
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.rgs-btn-secondary:hover {
  background: #e2e8f0;
}

.rgs-btn-primary:hover {
  background: #ea580c;
}

.rgs-loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: rgs-spin 1s ease-in-out infinite;
  margin-right: 10px;
}

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

.ship {
  position: absolute;
  top: calc(0% - 0px);
  width: 40px;
  height: 40px;
  fill: var(--rg-dark);
  transition: left 0.8s ease;
  z-index: 3;
}

/* Footer Styles */
.footer {
  padding: 40px 100px 10px;
  background-color: #11111f;
  color: white;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  padding: 10px 10px 30px;
}

.footer-section {
  flex: 1;
  min-width: 220px;
  max-width: 280px;
}

.footer-section.get-in-touch {
  max-width: 320px;
}

.logo-section .logo {
  font-size: 24px;
  font-weight: bold;
  color: #008080;
  margin-bottom: 15px;
}

.logo-section .logo i {
  color: #ff6600;
  margin-right: 8px;
}

.logo-section p {
  font-size: 14px;
  margin-bottom: 15px;
  opacity: 0.8;
  line-height: 1.5;
}

.logo-section address {
  font-style: normal;
  font-size: 14px;
  opacity: 0.85;
  line-height: 1.5;
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  color: white;
  font-size: 18px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #ff6600;
}

.footer-section h3 {
  font-size: 17px;
  margin-bottom: 15px;
  color: white;
  position: relative;
  padding-bottom: 8px;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--rg-orange);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
  opacity: 0.9;
}

.footer-section ul li a:hover {
  color: #ff6600;
  opacity: 1;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  align-items: flex-start;
}

.footer-contact-icon {
  color: var(--rg-orange);
  font-size: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-label {
  font-size: 13px;
  opacity: 0.8;
  margin-bottom: 2px;
}

.footer-contact-value {
  font-size: 14px;
  font-weight: 700;
  word-break: break-word;
}

.footer-contact-value a {
  color: #fff;
  text-decoration: none;
}

.footer-contact-value a:hover {
  color: var(--rg-orange);
}

.footer-bottom {
  background-color: #ff6600;
  text-align: center;
  padding: 15px;
}

.footer-bottom p {
  color: white;
  font-size: 14px;
}

.footer-bottom a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

#refId {
  font-size: 12px;
  word-break: break-word;
  line-height: 1.3;
}

#refInfo,
.info-block:has(#refId) {
  max-width: 220px;
}

.info-block.ref-block {
  max-width: 220px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .main-header {
    padding: 10px 30px;
  }

  .footer {
    padding: 30px 30px 10px;
  }

  .footer-top {
    padding: 20px 0 20px;
  }

  .footer-section {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 10px;
  }

  .top-bar-left,
  .top-bar-right {
    margin: 0;
    justify-content: center;
    gap: 20px;
  }

  .main-header {
    padding: 10px 20px;
    position: relative;
  }

  .logo {
    margin-left: 0;
  }

  .main-nav {
    display: none;
  }

  .mobile-menu-toggle + label {
    display: flex;
  }

  nav.sub-menu-2 {
    display: none;
  }

  .sub-menu {
    display: none;
  }

  .page-title-content {
    padding: 200px 0 0 0;
  }

  .page-title-content h1 {
    font-size: 28px;
    padding: 0;
  }

  .container1 {
    padding: 20px 15px;
  }

  .summary {
    padding: 20px 15px;
  }

  .summary h2 {
    font-size: 24px;
  }

  .search-box input[type="text"] {
    max-width: 100%;
  }

  .search-btn {
    max-width: 100%;
    padding: 15px 30px;
  }

  .route {
    flex-direction: column;
    gap: 5px;
  }

  .route .arrow {
    transform: rotate(90deg);
  }

  .order-info {
    gap: 10px;
    justify-content: center;
  }

  .info-block {
    min-width: 120px;
    padding: 10px 12px;
    max-width: 100%;
  }

  .timeline-h {
    display: none;
  }

  .status-message {
    font-size: 14px;
  }

  .panel {
    padding: 20px 15px 20px 40px;
  }

  .track-line {
    left: 22px;
  }

  .item {
    margin-bottom: 20px;
    gap: 15px;
    flex-direction: column;
    align-items: center;
  }

  .status {
    font-size: 14px;
  }

  .time {
    font-size: 11px;
  }

  .rgs-modal {
    padding: 20px;
    margin: 20px;
  }

  .rgs-modal-title {
    font-size: 20px;
  }

  .rgs-modal-actions {
    flex-direction: column;
  }

  .logs-body {
    max-height: 300px;
  }

  .footer {
    padding: 25px 20px 10px;
  }

  .footer-top {
    flex-direction: column;
    gap: 25px;
    padding: 10px 0 25px;
    text-align: center;
  }

  .footer-section {
    max-width: 100%;
  }

  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-contact-item {
    justify-content: center;
    text-align: left;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-bottom {
    text-align: center;
    padding: 15px;
  }

  .brand {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  #steps-h {
    flex-direction: column;
  }

  .ship {
    top: calc(96.5% - 0px);
    display: none;
  }

  .last-updated {
    position: initial;
    margin: 20px 0 10px 0;
    text-align: center;
  }

  .log-item {
    padding: 12px 0;
  }

  .logs-title {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  #steps-h {
    flex-direction: row;
    flex-wrap: wrap;
    margin: 20px 0 20px 0;
  }

  .timeline-h .steps {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
    flex-direction: row;
  }

  .timeline-h .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 45%;
    transition: color 0.3s ease;
    padding: 20px 5px;
    position: relative;
  }

  .timeline-h .progress {
    position: relative;
    left: 0;
    height: 25px;
    background: var(--gradient);
    border-radius: 999px;
    transform: translateY(-50%);
    width: 0;
    transition: width 0.8s ease;
    margin: 0px 0 20px 0;
    top: -27px;
  }

  .timeline-h .line {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    height: 25px;
    background: #e5e7eb;
    border-radius: 999px;
    transform: translateY(-50%);
  }

  .timeline-h {
    position: relative;
    margin: 58px 0 36px 0;
    display: none;
  }

  .brand img {
    height: 40px;
  }

  .brand-title h1 {
    font-size: 14px;
  }

  .tagline {
    font-size: 10px;
  }

  .summary h2 {
    font-size: 18px;
  }

  .order-info {
    flex-direction: column;
    align-items: center;
  }

  .info-block {
    min-width: 100%;
    max-width: 100%;
  }

  .status-message {
    font-size: 13px;
  }

  .panel {
    padding: 20px 15px 20px 35px;
  }

  .track-line {
    left: 20px;
  }

  .logs-header {
    padding: 16px 0 0;
  }

  .logs-title {
    font-size: 16px;
  }

  .top-bar-left {
    gap: 10px;
    flex-direction: column;
  }
}

/* Loader */
#loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: #f8fafc;
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  height: 100vh;
  background: #10101b;
  z-index: 1000;
  transition: left 0.3s ease;
  padding-top: 70px;
}

#content {
  display: none;
}

.error-message {
  background: #fee2e2;
  color: #991b1b;
  padding: 15px;
  border-radius: 8px;
  margin: 20px 0;
  display: none;
}
