/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: #f5f9fa;
  min-height: 100vh;
}

/* Main Container */
.track-order-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px 80px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

/* Title and Info */
.track-order-container h1 {
  color: #007c91;
  font-size: 2rem;
  margin-bottom: 10px;
  text-align: center;
}

.track-order-container p {
  text-align: center;
  max-width: 600px;
  font-size: 1rem;
  color: #444;
  line-height: 1.7;
}

/* Box */
.track-box {
  background: #fff;
  border: 1px solid #d0e6e8;
  padding: 30px;
  border-radius: 12px;
  margin-top: 30px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.track-box:hover {
  /* transform: translateY(-4px); */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* Form */
.track-form {
  display: flex;
  /* flex-wrap: wrap; */
  margin-bottom: 20px;
}

.track-form input {
  flex: 1;
  padding: 12px 15px;
  border-radius: 6px 0 0 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.track-form input:focus {
  outline: none;
  border-color: #00acc1;
  box-shadow: 0 0 5px rgba(0, 172, 193, 0.3);
}

.track-form button {
  background: #00acc1;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}

.track-form button:hover {
  background: #007c91;
  /* transform: translateY(-2px); */
}

/* Result Box */
.order-result {
  background: #e0f7fa;
  border: 1px solid #26c6da;
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
  font-size: 1rem;
  line-height: 1.5;
  animation: fadeIn 0.4s ease;
}

.order-result h3 {
  color: #007c91;
  margin-bottom: 15px;
}

.order-result p {
  margin-bottom: 8px;
}

.order-result.error {
  background: #ffe0e0;
  border-color: #ff4d4d;
  color: #b30000;
}

/* Back Link */
.back-link {
  margin-top: 25px;
  text-decoration: none;
  color: #007c91;
  font-weight: 600;
  transition: color 0.3s ease;
}

.back-link:hover {
  text-decoration: underline;
  color: #005f70;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Styles */
@media (max-width: 768px) {
  .section-header h2 {
    font-size: 1.7rem;
  }

  .track-order-container h1 {
    font-size: 1.6rem;
  }

  .track-box {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .track-order-container {
    padding: 30px 15px;
  }

  .track-order-container h1 {
    font-size: 1.4rem;
  }

  .track-order-container p {
    font-size: 0.95rem;
  }

  .track-box {
    padding: 15px;
  }

  .order-result {
    font-size: 0.95rem;
  }
}
