/* app/public/auth/auth.css — shared minimal styling for the auth pages.
   Deliberately plain: the real product design is owned by the frontend
   workstream; these pages are functional scaffolding.
   Inputs are >=16px to avoid iOS Safari auto-zoom. */
* { box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #0f172a; color: #e2e8f0; margin: 0; min-height: 100vh;
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
main { width: 100%; max-width: 420px; }
h1 { font-size: 1.4rem; margin: 0 0 16px; }
form { display: flex; flex-direction: column; gap: 10px; }
label { font-size: .9rem; color: #94a3b8; }
input, select {
  font-size: 16px; padding: 10px 12px; border-radius: 8px;
  border: 1px solid #334155; background: #1e293b; color: #e2e8f0; width: 100%;
}
button {
  font-size: 16px; padding: 12px; border: 0; border-radius: 8px;
  background: #38bdf8; color: #0f172a; font-weight: 600; cursor: pointer;
}
button.secondary { background: #334155; color: #e2e8f0; }
.msg { margin-top: 12px; font-size: .95rem; min-height: 1.2em; }
.msg.err { color: #f87171; }
.msg.ok { color: #4ade80; }
a { color: #7dd3fc; }
.links { margin-top: 16px; font-size: .9rem; color: #94a3b8; }
.card { background: #1e293b; border: 1px solid #334155; border-radius: 10px; padding: 16px; margin-top: 16px; }
.hidden { display: none; }

/* Official-style social login buttons, distinct from the email/password
   form below (product owner feedback: buttons looked generic, and being
   inside the same form as email/password implied users had to fill both). */
.oauth-group { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.oauth-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 11px 16px; border-radius: 8px; font-size: 15px; font-weight: 600;
  text-decoration: none; cursor: pointer; border: 1px solid transparent; box-sizing: border-box;
  font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.oauth-btn svg { flex-shrink: 0; }
.oauth-btn-google { background: #ffffff; color: #1f1f1f; border-color: #dadce0; }
.oauth-btn-google:hover { background: #f8f9fa; }
.oauth-btn-facebook { background: #1877F2; color: #ffffff; }
.oauth-btn-facebook:hover { background: #166fe5; }
.divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: #64748b; font-size: .85rem; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: #334155; }
