/* public/css/auth.css */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --green:    #22c55e;
  --green-dk: #16a34a;
  --green-lt: #dcfce7;
  --ink:      #0f172a;
  --ink-2:    #334155;
  --ink-3:    #64748b;
  --border:   #e2e8f0;
  --surface:  #ffffff;
  --r:        10px;
}
body {
  font-family: 'DM Sans', sans-serif;
  background: #f8fafc;
  color: var(--ink);
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
}
.auth-wrap { width: 100%; padding: 2rem 1rem; display: flex; justify-content: center; }
.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  width: 100%; max-width: 440px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}
.logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 800; font-size: 1.4rem;
  color: var(--ink); text-decoration: none;
  display: inline-flex; align-items: center; gap: 4px;
  margin-bottom: 1.75rem;
}
.logo-p {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  background: var(--green); color: #fff;
  border-radius: 7px; font-size: .9rem;
}
h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem; font-weight: 800;
  margin-bottom: .35rem;
}
.subtitle { color: var(--ink-3); font-size: .95rem; margin-bottom: 1.75rem; }
.alert {
  padding: .85rem 1rem; border-radius: var(--r);
  font-size: .9rem; margin-bottom: 1.25rem; line-height: 1.5;
}
.alert-ok { background: var(--green-lt); color: var(--green-dk); border: 1px solid #bbf7d0; }
.alert-err { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.btn-google {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: .8rem;
  border: 1.5px solid var(--border); border-radius: var(--r);
  background: #fff; color: var(--ink);
  font-size: .95rem; font-weight: 500;
  text-decoration: none; transition: all .2s;
  cursor: pointer;
}
.btn-google:hover { border-color: #94a3b8; background: #f8fafc; }
.or-divider {
  display: flex; align-items: center; gap: .75rem;
  margin: 1.25rem 0; color: var(--ink-3); font-size: .85rem;
}
.or-divider::before, .or-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.field { margin-bottom: 1rem; }
.field label {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .85rem; font-weight: 500; margin-bottom: .4rem;
  color: var(--ink-2);
}
.field small { font-weight: 400; color: var(--ink-3); }
.field input {
  width: 100%; padding: .7rem .9rem;
  border: 1.5px solid var(--border); border-radius: var(--r);
  font-size: .95rem; font-family: inherit; color: var(--ink);
  background: #fff; transition: border-color .2s;
  outline: none;
}
.field input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(34,197,94,.15); }
.forgot { font-size: .8rem; color: var(--ink-3); text-decoration: none; }
.forgot:hover { color: var(--green); }
.btn-submit {
  width: 100%; padding: .85rem;
  background: var(--green); color: #fff;
  border: none; border-radius: var(--r);
  font-size: 1rem; font-weight: 500;
  cursor: pointer; transition: background .2s; margin-top: .5rem;
  font-family: inherit;
}
.btn-submit:hover { background: var(--green-dk); }
.legal-note { font-size: .78rem; color: var(--ink-3); text-align: center; margin-top: .75rem; }
.legal-note a { color: var(--ink-3); }
.switch { text-align: center; font-size: .9rem; color: var(--ink-2); margin-top: 1.5rem; }
.switch a { color: var(--green); text-decoration: none; font-weight: 500; }
