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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #1a1a1a;
  color: #ffffff;
  min-height: 100vh;
}

/* Header Navigation - Placeholder */
.nav-placeholder {
  height: 80px;
  background: #2d2d2d;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
  padding: 80px 20px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(255, 107, 53, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 50%,
      rgba(255, 107, 53, 0.1) 0%,
      transparent 50%
    );
}

.page-header-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.page-header h1 {
  font-size: 3em;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-header h1 i {
  color: #ff6b35;
}

.page-header .subtitle {
  font-size: 1.3em;
  color: #cccccc;
  margin-bottom: 10px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 0.95em;
}

.breadcrumb a {
  color: #ff6b35;
  text-decoration: none;
  transition: opacity 0.3s;
}

.breadcrumb a:hover {
  opacity: 0.8;
}

.breadcrumb span {
  color: #666;
}

.container {
  max-width: 1200px;
  margin: -50px auto 50px;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* Back Button */
.back-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: #2d2d2d;
  color: #ffffff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  margin-bottom: 20px;
  transition: all 0.3s;
  border: 1px solid #3d3d3d;
}

.back-button:hover {
  background: #3d3d3d;
  transform: translateX(-5px);
  border-color: #ff6b35;
}

.back-button i {
  color: #ff6b35;
}

/* Tracking Form Card */
.tracking-card {
  background: #2d2d2d;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  margin-bottom: 30px;
  border: 1px solid #3d3d3d;
}

.card-header {
  text-align: center;
  margin-bottom: 30px;
}

.card-header h2 {
  color: #ffffff;
  font-size: 2em;
  margin-bottom: 10px;
}

.card-header p {
  color: #aaaaaa;
  font-size: 1.1em;
}

.tracking-form {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.form-group {
  flex: 1;
  min-width: 250px;
}

label {
  display: block;
  margin-bottom: 8px;
  color: #cccccc;
  font-weight: 600;
  font-size: 0.95em;
}

label i {
  color: #ff6b35;
  margin-right: 5px;
}

input[type="text"] {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #3d3d3d;
  border-radius: 12px;
  font-size: 1em;
  transition: all 0.3s ease;
  background: #1a1a1a;
  color: #ffffff;
}

input[type="text"]:focus {
  outline: none;
  border-color: #ff6b35;
  background: #252525;
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

input[type="text"]::placeholder {
  color: #666666;
}

.btn-track {
  padding: 14px 40px;
  background: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.05em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-track:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
  background: linear-gradient(135deg, #ff8c5a 0%, #ff6b35 100%);
}

.btn-track:active {
  transform: translateY(0);
}

/* Sample IDs */
.sample-ids {
  background: #252525;
  border-left: 4px solid #ff6b35;
  padding: 15px 20px;
  border-radius: 10px;
  margin-bottom: 30px;
  border: 1px solid #3d3d3d;
}

.sample-ids strong {
  color: #ff6b35;
}

.sample-ids .id-code {
  display: inline-block;
  background: #1a1a1a;
  padding: 5px 12px;
  border-radius: 6px;
  margin: 5px 5px 5px 0;
  font-family: monospace;
  color: #ff6b35;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid #3d3d3d;
}

.sample-ids .id-code:hover {
  background: #ff6b35;
  color: white;
  transform: scale(1.05);
}

/* Tracking Info */
.tracking-info {
  background: #252525;
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 25px;
  display: none;
  animation: fadeIn 0.5s ease;
  border: 1px solid #3d3d3d;
}

.tracking-info.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tracking-info h2 {
  color: #ffffff;
  margin-bottom: 20px;
  font-size: 1.5em;
}

.tracking-info h2 i {
  color: #ff6b35;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.info-item {
  background: #2d2d2d;
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid #ff6b35;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.info-item h3 {
  font-size: 0.85em;
  color: #aaaaaa;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-item h3 i {
  color: #ff6b35;
  margin-right: 5px;
}

.info-item p {
  font-size: 1.1em;
  color: #ffffff;
  font-weight: 600;
}

.status-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.9em;
  font-weight: 600;
  margin-top: 5px;
}

.status-in-transit {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid #22c55e;
}

.status-pickup {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
  border: 1px solid #f59e0b;
}

.status-delivered {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  border: 1px solid #3b82f6;
}

/* Map Container */
.map-container {
  width: 100%;
  height: 500px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  position: relative;
  background: #1a1a1a;
  border: 1px solid #3d3d3d;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.route-info {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #2d2d2d;
  padding: 15px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  z-index: 10;
  border-left: 4px solid #ff6b35;
  border: 1px solid #3d3d3d;
}

.route-info h3 {
  font-size: 0.9em;
  color: #aaaaaa;
  margin-bottom: 5px;
}

.route-info p {
  font-size: 1.1em;
  color: #ffffff;
  font-weight: 600;
}

/* Timeline */
.timeline {
  margin-top: 30px;
  padding: 30px;
  background: #2d2d2d;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid #3d3d3d;
}

.timeline h2 {
  margin-bottom: 30px;
  color: #ffffff;
  font-size: 1.8em;
}

.timeline h2 i {
  color: #ff6b35;
}

.timeline-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  position: relative;
}

.timeline-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 45px;
  width: 2px;
  height: calc(100% - 25px);
  background: #3d3d3d;
}

.timeline-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #3d3d3d;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666666;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 1.1em;
  transition: all 0.3s;
  border: 2px solid #4d4d4d;
}

.timeline-dot.completed {
  background: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
  border-color: #ff6b35;
}

.timeline-content {
  flex: 1;
  padding-top: 5px;
}

.timeline-content h3 {
  font-size: 1.2em;
  margin-bottom: 8px;
  color: #ffffff;
}

.timeline-content p {
  color: #aaaaaa;
  font-size: 1em;
  line-height: 1.5;
}

.timeline-content .time {
  color: #666666;
  font-size: 0.9em;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.timeline-content .time i {
  color: #ff6b35;
}

@media (max-width: 768px) {
  .page-header h1 {
    font-size: 2em;
  }

  .page-header .subtitle {
    font-size: 1.1em;
  }

  .tracking-form {
    flex-direction: column;
  }

  .btn-track {
    width: 100%;
    justify-content: center;
  }

  .map-container {
    height: 350px;
  }

  .route-info {
    position: static;
    margin-bottom: 10px;
  }

  .tracking-card {
    padding: 25px;
  }

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