* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
  font-family: var(--font-body, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
  background: #f5f5f5;
  color: #404041;
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px 16px;
}

.auth-wrap {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.auth-brand {
  text-align: center;
  margin-bottom: 28px;
}
.auth-brand img {
  height: 56px;
  width: 56px;
  display: block;
  margin: 0 auto 12px;
}
.auth-brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1a1a1a;
}
.auth-brand-sub {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #888889;
  margin-top: 4px;
}

.auth-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 24px rgba(0,0,0,0.06);
  padding: 32px;
  width: 100%;
}

.auth-card h1 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: #1a1a1a;
}

.auth-card p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.5;
  color: #4b5563;
}

.auth-card label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #1a1a1a;
}

.auth-card input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  outline: none;
  margin-bottom: 16px;
  -webkit-appearance: none;
  appearance: none;
}

.auth-card input[type="email"]:focus {
  border-color: #8DD7F7;
  box-shadow: 0 0 0 3px rgba(141,215,247,0.35);
}

.btn, .auth-card button {
  display: inline-block;
  background: #8DD7F7;
  color: #1a1a1a;
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: background 120ms ease;
  -webkit-appearance: none;
  appearance: none;
  touch-action: manipulation;
}

.btn:hover, .auth-card button:hover { background: #6cc7ef; }
.btn:active, .auth-card button:active { background: #5bbde8; }

.auth-card .msg-ok { color: #1d4427; font-size: 14px; }
.auth-card .msg-err { color: #b91c1c; font-size: 14px; }

.auth-card a:not(.btn) { color: #1a1a1a; font-weight: 600; }
