/* Login screen, brand and owl illustrations */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.auth-card { width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 6px; }
.auth-owl { width: 96px; align-self: center; margin-bottom: 4px; }
.auth-card h1 { text-align: center; }
.auth-tagline { text-align: center; margin: 0; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); font-size: 18px; }
.brand img { width: 30px; height: 30px; }
.with-owl { display: flex; align-items: center; gap: 8px; }
.with-owl img { width: 28px; height: 28px; }
.empty-owl { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 24px 12px; text-align: center; }
.empty-owl img { width: 72px; opacity: .9; }
.legal-links { font-size: 13px; text-align: center; margin: 8px 0 0; }

/* Login / signup tabs, show-password button and per-mode text */
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-top: 10px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.auth-tabs button { background: transparent; color: var(--muted); font-weight: 600; }
#authForm[data-mode="login"] .auth-tabs [data-mode="login"],
#authForm[data-mode="signup"] .auth-tabs [data-mode="signup"] { background: var(--card); color: var(--accent); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
#authForm[data-mode="login"] .signup-only, #authForm[data-mode="signup"] .login-only { display: none; }
.pw-field { position: relative; display: block; }
.pw-field input { padding-inline-end: 64px; }
.pw-toggle { position: absolute; inset-inline-end: 6px; top: calc(50% + 3px); transform: translateY(-50%); padding: 4px 10px; min-height: 0;
  background: transparent; color: var(--accent); font-size: 13px; }
.auth-hint { margin: 2px 0 0; font-size: 12.5px; }
.auth-submit { margin-top: 4px; padding: 12px 16px; font-size: 16px; font-weight: 600; }
.auth-switch { text-align: center; margin: 6px 0 0; }

/* "Continue with Google" button and the "or" divider under it */
.google-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 12px; padding: 12px 16px; border-radius: 999px;
  background: #fff; color: #1f1f1f; text-decoration: none; font-weight: 500; font-size: 16px; border: 1px solid #dadce0;
}
.google-btn:hover { box-shadow: 0 0 0 3px var(--accent-soft); }
.google-btn svg { width: 20px; height: 20px; }
.auth-or { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
