/* track.css — scoped styles for /pages/track.php only (safe to include from the page) */

/* Layout container */
.track-container {
  max-width: 1000px;
  margin: 24px auto 48px auto;
  padding: 0 16px;
}

/* Hero heading */
.track-hero {
  text-align: center;
  padding: 16px 0 10px 0;
}
.track-hero h1 {
  margin: 0 0 6px 0;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: .2px;
}
.track-hero p {
  margin: 0;
  opacity: .9;
}

/* Card */
.track-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

/* Title inside card */
.track-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}
.track-card h3::before {
  content: "🔍";
  margin-right: 8px;
}

/* Form layout */
.track-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 10px;
}
.track-form label {
  font-weight: 600;
  margin-bottom: 4px;
  display: block;
  color: #111827;
}

/* Inputs and selects */
.track-form input[type="text"],
.track-form input[type="number"],
.track-form select {
  width: 100%;
  height: 46px;
  line-height: 46px;
  padding: 0 14px;
  font-size: 15px;
  color: #111827;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background-color: #fff;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

/* Remove number spinners for consistent look */
.track-form input[type="number"]::-webkit-outer-spin-button,
.track-form input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.track-form input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.track-form input[type="text"]:focus,
.track-form input[type="number"]:focus,
.track-form select:focus {
  border-color: #0c3c78;
  box-shadow: 0 0 0 3px rgba(12, 60, 120, 0.2);
  outline: none;
}

/* Submit button */
.track-form button {
  background-color: #0c3c78; /* MFA blue */
  color: #fff;
  border: none;
  padding: 13px 20px;
  font-weight: 600;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.25s ease-in-out, transform 0.05s ease-in-out;
}

.track-form button:hover {
  background-color: #082c5a;
}

.track-form button:active {
  transform: scale(0.98);
}

/* Two-column info grid */
.track-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 36px;
}
.track-section h2 {
  font-size: 20px;
  margin: 0 0 8px 0;
  font-weight: 700;
}
.track-help .note {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #7c2d12;
  padding: 10px 12px;
  border-radius: 10px;
  margin: 8px 0 12px 0;
}

/* Lists */
.track-section ul {
  padding-left: 18px;
  margin: 8px 0 0 0;
}
.track-section li {
  margin: 6px 0;
}

/* Contact button */
.track-cta {
  background-color: #0c3c78;
  color: #fff;
  border-radius: 6px;
  padding: 12px 20px;
  text-align: center;
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  transition: background-color 0.2s ease-in-out;
  text-decoration: none;
  margin-top: 12px;
}

.track-cta:hover {
  background-color: #082c5a;
  text-decoration: none;
}

/* Make legacy plain elements look good */
.track-container h1,
.track-container h2,
.track-container h3 {
  color: #0f172a;
}
.track-container p,
.track-container li {
  color: #0f172a;
}
.track-container a {
  color: #0b66ff;
  text-decoration: none;
}
.track-container a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
  .track-sections {
    grid-template-columns: 1fr;
  }
  .track-hero h1 {
    font-size: 28px;
  }
  .track-form button {
    width: 100%;
  }
  .track-cta {
    width: 100%;
  }
}
