:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172033;
  background: #f3f6fb;
}

* { box-sizing: border-box; }
body { --accent: #3569e8; margin: 0; min-width: 320px; min-height: 100vh; display: grid; place-items: center; padding: 24px; }
body[data-role="super_admin"] { --accent: #16804b; background: #f0f5fb; }
body[data-role="admin"] { --accent: #7654c8; background: #f5f2fb; }
body[data-role="player"] { --accent: #167f8c; background: #eff8f8; }
button, input { font: inherit; }
.login-card { width: min(100%, 430px); padding: 32px; border: 1px solid #e3e9f2; border-radius: 20px; background: white; box-shadow: 0 16px 48px rgb(34 54 94 / 9%); }
.brand { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.mark { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 14px; color: white; background: var(--accent); font-weight: 800; }
h1 { margin: 0; font-size: 23px; }
.subtitle { margin: 5px 0 0; color: #78849b; font-size: 13px; }
h2 { margin: 0 0 8px; font-size: 21px; }
.description { margin: 0 0 22px; color: #63708a; font-size: 14px; line-height: 1.6; }
.field { display: grid; gap: 7px; margin: 15px 0; }
label { color: #4b5872; font-size: 13px; font-weight: 650; }
input { width: 100%; padding: 12px; border: 1px solid #d6deea; border-radius: 9px; color: #172033; background: white; }
input:focus { outline: 3px solid color-mix(in srgb, var(--accent) 15%, transparent); border-color: var(--accent); }
button { width: 100%; margin-top: 10px; padding: 12px; border: 0; border-radius: 9px; color: white; background: var(--accent); font-weight: 750; cursor: pointer; }
button:hover { filter: brightness(.92); }
.error { min-height: 20px; color: #b42318; font-size: 13px; }
.links { display: flex; justify-content: space-between; gap: 10px; margin-top: 22px; font-size: 13px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
@media (max-width: 480px) { .login-card { padding: 24px; } }
