/* =========================
   TRACK STATUS PAGE
   ========================= */

.track-page {
  background: #f6fff6;
  padding: 60px 20px 80px;
}

/* CENTER CONTENT */
.track-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* =========================
   HEADER
   ========================= */

.track-header {
  text-align: center;
  margin-bottom: 30px;
}

.track-header h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.track-header p {
  color: #555;
  max-width: 720px;
  margin: 0 auto;
  font-size: 15px;
}

/* =========================
   SEARCH BAR
   ========================= */

.track-search {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 25px 0 45px;
}

.track-search input {
  width: 340px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.track-search button {
  background: #2ecc40;
  color: white;
  border: none;
  padding: 12px 22px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}

.track-search button:hover {
  background: #28b737;
}

/* =========================
   RESULT CARD
   ========================= */

.track-result {
  background: #eaffea;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

/* =========================
   CASE HEADER
   ========================= */

.case-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  background: white;
  padding: 20px;
  border-radius: 14px;
  margin-bottom: 25px;
}

.case-header h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.case-type {
  font-weight: 600;
  margin-bottom: 4px;
}

.case-location {
  font-size: 14px;
  color: #555;
}

.case-dates {
  font-size: 13px;
  color: #555;
  text-align: right;
}

/* =========================
   STATUS TIMELINE
   ========================= */

.status-timeline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 18px 20px;
  border-radius: 14px;
  margin-bottom: 30px;
}

.status-timeline span {
  font-size: 12px;
  color: #aaa;
  position: relative;
  text-align: center;
  flex: 1;
}

.status-timeline span::before {
  content: '';
  width: 12px;
  height: 12px;
  background: #ccc;
  border-radius: 50%;
  display: block;
  margin: 0 auto 6px;
}

.status-timeline span.done {
  color: #2ecc40;
}

.status-timeline span.done::before {
  background: #2ecc40;
}

.status-timeline span.active {
  color: #f39c12;
}

.status-timeline span.active::before {
  background: #f39c12;
}

/* =========================
   INFO CARDS
   ========================= */

.track-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.track-card {
  background: white;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
}

.track-card h4 {
  font-size: 15px;
  margin-bottom: 10px;
}

.track-card p {
  font-size: 14px;
  margin: 6px 0;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 900px) {
  .case-header {
    flex-direction: column;
  }

  .case-dates {
    text-align: left;
  }

  .track-cards {
    grid-template-columns: 1fr;
  }

  .status-timeline {
    flex-wrap: wrap;
    gap: 10px;
  }
}
