/* Basic reset and variables */
:root {
  --bg: #e2e2e2;
  --card: #ffffff;
  --text: #111111;
  --muted: #6b7280;
  --primary: #111111; /* black */
  --google: #4285F4; /* blue */
  --email: #EA4335; /* red */
  --focus: #3b82f6;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(0,0,0,.12);
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
}

/* Page layout */
.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.auth-brand {
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
}
.auth-logo {
  height: 70px !important;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.15));
}
/* Image */
.auth-page a img {
  height: 70px !important;
}
.auth-card {
  width: 100%;
  max-width: 380px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.auth-card h1 {
  margin: 4px 0 18px 0;
  font-size: 32px;
  text-align: center;
}

/* Inputs */
input[type="email"],
input[type="password"],
input[type="text"] {
  width: 100%;
  padding: 14px 16px;
  margin: 10px 0;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  outline: none;
  font-size: 15px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus {
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(59,130,246,.2);
}

/* Buttons */
.btn {
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: 10px;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: transform .04s ease, opacity .2s ease, filter .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: not-allowed; }
.btn + .btn { margin-top: 12px; }

.btn-primary { background: var(--primary); }
.btn-google { background: var(--google); }
.btn-email { background: var(--email); }

/* Icons */
.btn .icon {
  width: 22px; height: 22px;
  display: inline-grid; place-items: center;
  background: rgba(255,255,255,.12);
  border-radius: 999px;
  font-weight: 700;
}

/* Helper */
.help {
  text-align: center;
  color: var(--muted);
  margin: 12px 0 0 0;
}
.help a { color: inherit; text-decoration: none; }
.help a:hover { text-decoration: underline; }

/* Status messages */
.status {
  margin-top: 12px;
  padding: 10px 12px;
  font-size: 14px;
  border-radius: 8px;
  background: #f3f4f6;
  color: #374151;
}
.status.success { background: #ecfdf5; color: #065f46; }
.status.error { background: #fef2f2; color: #991b1b; }
.status.warn { background: #fff7ed; color: #9a3412; }

/* A11y */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
