:root {
  --bg: #06070b;
  --glass: rgba(18, 22, 34, 0.55);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.68);
  --accent: #e11d2e;
  --stroke: rgba(255, 255, 255, 0.1);
  --radius: 12px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.staff-page { display: flex; flex-direction: column; min-height: 100vh; }

/* Header */
.staff-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--glass);
  border-bottom: 1px solid var(--stroke);
}
.staff-header__brand { font-weight: 700; color: var(--text); }
.staff-header__user {
  display: flex;
  align-items: center;
  gap: 12px;
}
.staff-header__username {
  color: var(--muted);
  font-size: 0.9rem;
}
.staff-header__logout {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: background 0.15s ease, color 0.15s ease;
}
.staff-header__logout:hover { color: var(--text); background: rgba(255, 255, 255, 0.08); }

/* Login */
.staff-login {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.staff-login h1 { margin: 0 0 4px; font-size: 1.75rem; }
.staff-login__sub { color: var(--muted); margin: 0 0 24px; }

.staff-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 320px;
}
.staff-form label { display: flex; flex-direction: column; gap: 6px; }
.staff-form label span { color: var(--muted); font-size: 0.9rem; }
.staff-form input {
  padding: 12px 14px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 1rem;
}
.staff-form input:focus {
  outline: none;
  border-color: var(--accent);
}
.staff-form__message { margin: 12px 0 0; font-size: 0.9rem; color: var(--muted); }
.staff-form__message.error { color: #f87171; }
.staff-form__message.success { color: #86efac; }

.btn {
  display: inline-block;
  padding: 12px 20px;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { filter: brightness(1.1); }

/* Dashboard */
.staff-dashboard {
  flex: 1;
  padding: 32px 20px;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}
.staff-dashboard h1 { margin: 0 0 24px; font-size: 1.5rem; }

.staff-cards { display: flex; flex-direction: column; gap: 20px; }
.staff-card {
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 24px;
}
.staff-card h2 { margin: 0 0 8px; font-size: 1.15rem; }
.staff-card p { color: var(--muted); margin: 0 0 16px; font-size: 0.95rem; }
