*, *::before, *::after { box-sizing: border-box; }

:root {
  --green-800: #1b4332;
  --green-700: #2d6a4f;
  --green-600: #40916c;
  --green-500: #52b788;
  --green-100: #d8f3dc;
  --green-50: #f0faf3;
  --earth-600: #7f5539;
  --earth-100: #f5ebe0;
  --orange-500: #e67e22;
  --orange-100: #fff3e0;
  --red-500: #d32f2f;
  --red-50: #fdecea;
  --blue-500: #1976d2;
  --blue-50: #e3f2fd;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-400: #adb5bd;
  --gray-600: #6c757d;
  --gray-800: #343a40;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.06);
  --shadow: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.12);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
  font-family: var(--font);
  color: var(--gray-800);
}

a {
  color: var(--green-600);
  text-decoration: none;
  font-weight: 600;
}
a:hover { text-decoration: underline; }

.btn-primary {
  background: var(--green-600);
  color: #fff;
  border-color: var(--green-700);
}
.btn-primary:hover {
  background: var(--green-700);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(45,106,79,.3);
}
.btn-primary:active { transform: translateY(0); }

.muted {
  color: var(--gray-600);
  font-size: 13px;
  line-height: 1.4;
}

header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
  height: 56px;
  background: var(--green-700);
  color: #fff;
}
header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}
header .logo svg {
  width: 26px;
  height: 26px;
}
header nav {
  margin-left: auto;
  display: flex;
  gap: 8px;
}
header nav a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  transition: background .15s;
}
header nav a:hover {
  background: rgba(255,255,255,.22);
  text-decoration: none;
}

.order-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.status-PENDING { background: #fff3e0; color: #e65100; }
.status-CONFIRMED { background: #e3f2fd; color: #1565c0; }
.status-IN_PROGRESS { background: #fff8e1; color: #f57f17; }
.status-COMPLETED { background: var(--green-50); color: var(--green-700); }
.status-CANCELLED { background: var(--red-50); color: var(--red-500); }
.status-PLANNING { background: var(--gray-100); color: var(--gray-600); }

@keyframes spin { to { transform: rotate(360deg); } }
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--gray-200);
  border-top-color: var(--green-600);
  border-radius: 50%;
  animation: spin .6s linear infinite;
}
