body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f9f9f9;
}

.header {
  background: #215732;
  color: #fff;
  padding: 1rem;
  text-align: center;
}

.banner {
  background: #ffedcc;
  color: #333;
  text-align: center;
  padding: .75rem;
  font-weight: bold;
}
.hidden { display: none; }

.orders-container {
  padding: 1rem;
  margin-top: 100px;
}

.order-card {
  background: #fff;
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: .5rem;
}

.order-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: .25rem;
}

.order-row.small {
  font-size: 0.85rem;
  color: #666;
}

.status { font-weight: 600; }
.status.placed { color: #0055aa; }
.status.delivered { color: #2e7d32; }
.payment.paid { color: green; }
.payment.unpaid { color: red; }

.progress {
  display: flex;
  justify-content: space-between;
  margin: .5rem 0;
  font-size: 0.75rem;
  color: #999;
}
.progress span.activate { color: #215732; font-weight: bold; }

.order-actions {
  display: flex;
  justify-content: flex-end;
  gap: .5rem;
}
.cancel-btn, .view-btn {
  padding: .5rem 1rem;
  border: none;
  cursor: pointer;
  border-radius: .25rem;
}
.cancel-btn { background: #eee; }
.view-btn { background: #215732; color: #fff; }

/* OTP dialog */
.otp-dialog {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  display: none; /* default hidden */
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.otp-box {
  background: #fff;
  padding: 1rem;
  border-radius: .5rem;
  width: 300px;
  text-align: center;
}
.otp-box input {
  display: block;
  margin: .5rem auto;
  padding: .4rem;
  width: 90%;
}
.otp-msg {
  font-size: 0.85rem;
  color: red;
  margin-top: .25rem;
}
.progress-tracker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  position: relative;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
}

.step .dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #ccc;
  background: #fff;
  transition: background 0.6s ease, border-color 0.6s ease;
}

.step.activate .dot {
  background: #006400; /* dark green */
  border-color: #006400;
}

.step.cancelled .dot{
 background: #fb0202; /* dark green */
}
.cancelled{
 color: #fb0202; /* dark green */
}
.step span {
  margin-top: 6px;
  font-size: 12px;
  color: #555;
}

.line {
  flex: 1;
  height: 3px;
  background: #ccc;
  transition: background 1s ease;
}

.line.activate {
  background: #006400;
}
