:root { --bg: #ffffff; --card: #ffffff; --text: #0f172a; --muted: #6b7280; --primary: #2e8fb6; --primary-700: #236f8c; --outline: #e5e7eb; --ring: rgba(46,143,182,.18); }
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; background: var(--bg); color: var(--text); }

.auth-layout { min-height: 100vh; display: grid; place-items: center; padding: 40px 24px; background: radial-gradient(1200px 600px at 10% 10%, #eff6ff 0%, transparent 60%), radial-gradient(800px 500px at 90% 90%, #f0fdf4 0%, transparent 55%), linear-gradient(180deg, #ffffff 0%, #fafafa 100%); }
.brand-mark { width: 84px; height: 84px; border-radius: 999px; border: 1px solid var(--outline); display: grid; place-items: center; font-weight: 700; letter-spacing: 1px; color: #94a3b8; }
.logo-wrap { display: grid; place-items: center; margin-bottom: 10px; }

.login-pane { display: grid; place-items: center; }
.login-card { width: 100%; max-width: 480px; margin: 0 auto; text-align: center; background: var(--card); border: 1px solid var(--outline); border-radius: 18px; box-shadow: 0 30px 60px rgba(16,24,40,.08); padding: 30px; backdrop-filter: saturate(180%) blur(4px); }
.login-card h1 { margin: 0 0 8px; font-size: 24px; }
.login-card .muted { margin: 0 0 18px; color: var(--muted); font-size: 14px; }

.form-field { margin-bottom: 14px; text-align: left; }
.form-field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.form-field input { width: 100%; padding: 10px 12px; border: 1px solid var(--outline); border-radius: 10px; outline: none; font-size: 14px; background: #fbfdff; }
.form-field input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--ring); }
.password-wrap { position: relative; }
.password-wrap .toggle-pass { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: none; background: transparent; cursor: pointer; font-size: 16px; }

.btn { display: inline-block; width: 100%; padding: 10px 14px; border-radius: 10px; border: none; text-align: center; font-weight: 600; cursor: pointer; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-700); }
.btn-google { display: none; }

.divider { display: none; }

.links { display: flex; gap: 8px; justify-content: center; align-items: center; margin-top: 8px; font-size: 13px; }
.links a { color: #0ea5e9; text-decoration: none; }
.links a:hover { text-decoration: underline; }
.link-danger { color: #ef4444; }

.alert { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; border-radius: 10px; padding: 10px 12px; margin-bottom: 12px; font-size: 14px; text-align: center; }

@media (max-width: 920px) { .auth-layout { padding: 24px; } }
.btn-google { display: inline-block; width: 100%; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--outline); background: #fff; }
.logo-img { width: 84px; height: 84px; object-fit: contain; border-radius: 8px; }
.cta-group { display: grid; gap: 12px; margin-top: 12px; }
#google-btn { display: block; min-height: 42px; }
.btn { height: 42px; line-height: 20px; width: 100%; }
.btn-primary { transition: background .2s ease; }
