:root {
  --bg: #0f1115;
  --surface: #171a21;
  --surface-2: #1f232c;
  --border: #2a2f3a;
  --text: #e9ebf0;
  --text-dim: #9aa1af;
  --accent: #ff7a30;
  --accent-dim: #b85623;
  --success: #33c17a;
  --warning: #e5b93d;
  --danger: #e5484d;
  --radius: 10px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  border-radius: var(--radius);
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 600;
  background: var(--accent);
  color: #1a1103;
  transition: opacity 0.15s;
}
button:hover { opacity: 0.9; }
button:disabled { opacity: 0.4; cursor: not-allowed; }
button.secondary { background: var(--surface-2); color: var(--text); border: 1px solid var(--border); }
button.danger { background: var(--danger); color: white; }

input, select, textarea {
  font-family: inherit;
  font-size: 15px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius);
  padding: 10px 12px;
  width: 100%;
}

.container { max-width: 720px; margin: 0 auto; padding: 16px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
}
.row { display: flex; gap: 8px; align-items: center; }
.row.between { justify-content: space-between; }
.muted { color: var(--text-dim); font-size: 13px; }
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.badge.recebido { background: #33415522; color: #7ea6e5; }
.badge.preparando { background: #e5b93d22; color: var(--warning); }
.badge.pronto { background: #33c17a22; color: var(--success); }
.badge.entregue { background: #2a2f3a; color: var(--text-dim); }
.badge.cancelado { background: #e5484d22; color: var(--danger); }
.error { color: var(--danger); font-size: 14px; margin: 8px 0; }
