/* ---------- Base ---------- */
* {
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  margin: 0;
  background: #f4f6f8;
  color: #222;
}

.container {
  max-width: 520px;
  margin: 0 auto;
  padding: 16px;
}

/* ---------- Headings ---------- */
h1, h2, h3 {
  margin: 0 0 12px;
}

.subtitle {
  color: #666;
  margin-bottom: 16px;
}

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

/* ---------- Forms ---------- */
input {
  width: 100%;
  padding: 12px;
  margin-bottom: 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 16px;
}

input:focus {
  outline: none;
  border-color: #4a90e2;
}

/* ---------- Buttons ---------- */
button {
  width: 100%;
  padding: 12px;
  margin-top: 6px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  background: #4a90e2;
  color: white;
}

button:hover {
  background: #357bd8;
}

button.logout {
  background: #999;
  margin-top: 20px;
}

button.logout:hover {
  background: #777;
}

/* ---------- Status ---------- */
#statusText {
  font-weight: 600;
  margin-bottom: 10px;
}

/* ---------- Preformatted ---------- */
pre {
  background: #f0f2f4;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  white-space: pre-wrap;
}

/* ---------- Links ---------- */
a {
  color: #4a90e2;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ---------- Desktop Enhancement ---------- */
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

/* ---------- Order Timeline ---------- */
.timeline {
  display: flex;
  gap: 6px;
  margin: 10px 0;
  flex-wrap: wrap;
}

.step {
  padding: 6px 10px;
  border-radius: 20px;
  background: #ddd;
  font-size: 13px;
}

.step.active {
  background: #4a90e2;
  color: #fff;
}

.meta {
  font-size: 13px;
  color: #555;
}
