/* Standalone public tracking page (suivi.soonebox.fr): no framework, no external resource. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #212529;
  background: #ffffff;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.tracking-page {
  max-width: 640px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.tracking-page__title {
  text-align: center;
  font-weight: 300;
  font-size: 2.3rem;
  margin: 2rem 0 1.5rem;
}

.tracking-page__form {
  display: flex;
  gap: 8px;
  margin-bottom: 1.5rem;
}

.tracking-page__message {
  text-align: center;
  color: #8a9794;
}

.form-control {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
}

.form-control:focus {
  outline: none;
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.btn {
  white-space: nowrap;
  padding: 0.375rem 0.9rem;
  font-size: 1rem;
  color: #ffffff;
  background: #3e8acc;
  border: 1px solid #3e8acc;
  border-radius: 0.25rem;
  cursor: pointer;
}

.btn:hover {
  background: #2f75b5;
}

.alert {
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}

.alert--warning {
  color: #856404;
  background: #fff3cd;
  border-color: #ffeeba;
}

.alert--danger {
  color: #721c24;
  background: #f8d7da;
  border-color: #f5c6cb;
  margin: 0;
}

.tracking-card {
  background: #ffffff;
  border: 1px solid #e9eeed;
  border-radius: 12px;
  padding: 1.5rem;
}

.tracking-card__header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.tracking-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.tracking-step {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0 0.75rem 2rem;
  margin-left: 0.5rem;
  color: #8a9794;
  border-left: 2px solid #e9eeed;
}

.tracking-step::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 1rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #e9eeed;
}

.tracking-step--done {
  color: #44514f;
  font-weight: 600;
}

.tracking-step--done::before {
  background: #2a9d8f;
}

.tracking-step--current::before {
  box-shadow: 0 0 0 4px rgba(42, 157, 143, 0.25);
}
