:root {
  color-scheme: dark;
  --bg: #0b0d10;
  --sidebar: #0d1014;
  --card: #171b22;
  --card2: #20252e;
  --main: #2e3137;
  --main-soft: #363a42;
  --text: #f7f7fb;
  --muted: rgba(247,247,251,.58);
  --muted2: rgba(247,247,251,.38);
  --line: rgba(255,255,255,.075);
  --accent: #ff8a22;
  --accent2: #58c7ff;
  --danger: #ff7676;
  --good: #65e6b1;
  --tap: 44px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { min-height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}
button, input { font: inherit; }
button {
  border: 0;
  border-radius: 12px;
  min-height: 38px;
  padding: 9px 13px;
  background: rgba(255,255,255,.07);
  color: #fff;
  cursor: pointer;
  transition: background .14s ease, transform .14s ease, opacity .14s ease;
}
button:hover { background: rgba(255,255,255,.11); }
button:active { transform: translateY(1px) scale(.99); }
button:disabled { opacity: .42; cursor: default; transform: none; }
input {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  min-height: 42px;
  padding: 11px 13px;
  background: rgba(255,255,255,.055);
  color: #fff;
  outline: none;
}
input:focus { border-color: rgba(255,138,34,.7); box-shadow: 0 0 0 3px rgba(255,138,34,.12); }
.hidden { display: none !important; }
.status { font-size: 12px; color: var(--muted); line-height: 1.35; min-height: 16px; }
.small-button { min-height: 34px; padding: 7px 10px; font-size: 13px; }
.danger-button { background: rgba(255,92,92,.14); color: #ffc7c7; }
.danger-button:hover:not(:disabled) { background: rgba(255,92,92,.23); }
.admin-only { background: rgba(88,199,255,.13); color: #c7efff; }
.remember-row { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; }

.app-shell-root { min-height: 100vh; min-height: 100dvh; }
.login-card {
  width: min(430px, calc(100vw - 28px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  align-content: center;
  gap: 13px;
  padding: 28px;
}
.login-logo { width: 82px; height: 82px; object-fit: contain; border-radius: 22px; }
.login-card h1 { margin: 0; font-size: 28px; line-height: 1.05; }
.login-card p { margin: -4px 0 7px; color: var(--muted); }
.login-card button { min-height: 46px; background: linear-gradient(135deg,#ff7a1a,#ffb35d); color: #141414; font-weight: 800; }

::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 99px; }
::-webkit-scrollbar-track { background: transparent; }
