:root {
  --bg: #ffffff;
  --bg-panel: #f4f6f8;
  --ink: #0b1220;
  --ink-soft: #6b7280;
  --border: #eef0f3;
  --blue: #007AFF;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-panel);
  color: var(--ink);
}

.login-card {
  width: 400px;
  max-width: calc(100vw - 32px);
  margin: 120px auto;
  background: var(--bg);
  border-radius: 24px;
  border: 1px solid var(--border);
  padding: 48px 40px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,.04);
}

.login-title { font-weight: 700; font-size: 22px; margin-bottom: 8px; }
.login-sub { font-size: 14px; color: var(--ink-soft); margin-bottom: 32px; }
.error-msg { color: #e05353; font-size: 13px; margin-bottom: 16px; }

.btn-full {
  display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 15px; border-radius: 13px;
  font-size: 14.5px; font-weight: 600; border: none; cursor: pointer;
  text-decoration: none; transition: opacity .15s;
}
.btn-full:hover { opacity: .88; }
.btn-full.dark { background: var(--ink); color: var(--bg); }

.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px; background: var(--bg); border-bottom: 1px solid var(--border);
}
.topbar .brand { font-weight: 700; font-size: 17px; }
.topbar a { color: var(--ink-soft); font-size: 14px; text-decoration: none; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; padding: 32px; }
.card { background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 20px; }
