/* === track-package.css === */
/* ---------------------------------------------------------------------------
track-package.css

Lifted verbatim out of views/track-package.ejs (an inline <style> block). The template now
links this file from the exact spot the block occupied, because that position
decides which declarations win ties against the core stylesheet.
--------------------------------------------------------------------------- */

.tracking-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
}

.tracking-form {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.tracking-form h1 {
  margin-bottom: 20px;
  color: #333;
  font-size: 28px;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #555;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: #007bff;
}

.track-button {
  background: #007bff;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.track-button:hover {
  background: #0056b3;
}

.tracking-result {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.tracking-result h2 {
  margin-bottom: 20px;
  color: #333;
  font-size: 24px;
}

.tracking-result h3 {
  margin-top: 30px;
  margin-bottom: 15px;
  color: #333;
  font-size: 20px;
  border-bottom: 2px solid #007bff;
  padding-bottom: 8px;
}

.tracking-info {
  margin-bottom: 12px;
  padding: 12px 15px;
  background: #f8f9fa;
  border-left: 4px solid #007bff;
  border-radius: 4px;
}

.tracking-info strong {
  display: inline-block;
  min-width: 180px;
  color: #555;
}

.error-message {
  background: #f8d7da;
  color: #721c24;
  padding: 15px;
  border-radius: 4px;
  border-left: 4px solid #f5c6cb;
}

.status-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: 600;
  margin-left: 10px;
}

.status-TRANSIT {
  background: #fff3cd;
  color: #856404;
}

.status-DELIVERED {
  background: #d4edda;
  color: #155724;
}

.status-PENDING {
  background: #d1ecf1;
  color: #0c5460;
}
