* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: #0a0a0a; color: #e8e8e8; min-height: 100vh; display: flex; align-items: center; justify-content: center; font-family: system-ui, -apple-system, sans-serif; padding: 24px; }
.page { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 12px; }
.card { background: #111; border: 1px solid #222; border-radius: 20px; padding: 32px; }
.card-header { text-align: center; margin-bottom: 24px; }
.logo { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.5px; }
.subtitle { color: #666; font-size: 0.85rem; margin-top: 4px; }
.btn-google { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px; background: #fff; color: #111; border: none; border-radius: 12px; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: opacity 0.15s; }
.btn-google:hover { opacity: 0.9; }
.btn-google:disabled { opacity: 0.5; cursor: not-allowed; }
.divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: #444; font-size: 0.75rem; }
.divider::before, .divider::after { content: ''; flex: 1; border-top: 1px solid #222; }
.tabs { display: flex; background: #0a0a0a; border-radius: 10px; padding: 3px; margin-bottom: 20px; }
.tab { flex: 1; padding: 8px; background: none; border: none; color: #555; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; cursor: pointer; border-radius: 8px; transition: all 0.15s; }
.tab.active { background: #1a1a1a; color: #fff; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 0.78rem; font-weight: 600; color: #888; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.05em; }
.field input { width: 100%; padding: 11px 14px; background: #0a0a0a; border: 1px solid #222; border-radius: 10px; color: #e8e8e8; font-size: 0.9rem; outline: none; transition: border-color 0.15s; }
.field input:focus { border-color: #444; }
.field-error { display: block; font-size: 0.75rem; color: #f87171; margin-top: 4px; }
.btn-primary { width: 100%; padding: 12px; background: #fff; color: #000; border: none; border-radius: 12px; font-size: 0.9rem; font-weight: 700; cursor: pointer; margin-top: 4px; transition: opacity 0.15s; }
.btn-primary:hover { opacity: 0.9; }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-outline { width: 100%; padding: 11px; background: none; border: 1px solid #333; color: #888; border-radius: 12px; font-size: 0.85rem; font-weight: 600; cursor: pointer; margin-top: 12px; transition: all 0.15s; }
.btn-outline:hover { border-color: #555; color: #ccc; }
.error-msg { background: #2a1010; border: 1px solid #5a2020; color: #f87171; padding: 10px 14px; border-radius: 10px; font-size: 0.82rem; margin-bottom: 16px; }
.user-info { display: flex; align-items: center; gap: 12px; padding: 14px; background: #0a0a0a; border-radius: 12px; margin-bottom: 4px; }
#user-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.user-name { font-weight: 700; font-size: 0.95rem; }
.user-email { font-size: 0.8rem; color: #666; margin-top: 2px; }
.role-badge { display: inline-block; font-size: 0.65rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; padding: 2px 8px; border-radius: 100px; background: #1a2a1a; color: #4ade80; border: 1px solid #2a4a2a; margin-top: 4px; }
.tutorial { background: #111; border: 1px solid #222; border-radius: 16px; overflow: hidden; }
.tutorial-toggle { width: 100%; padding: 14px 18px; background: none; border: none; color: #555; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; cursor: pointer; text-align: left; display: flex; align-items: center; gap: 8px; transition: color 0.15s; }
.tutorial-toggle:hover { color: #888; }
.tutorial-body { padding: 4px 18px 18px; display: flex; flex-direction: column; gap: 16px; }
.step { display: flex; gap: 14px; align-items: flex-start; font-size: 0.83rem; line-height: 1.6; color: #888; }
.step strong { color: #ccc; }
.step-num { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: #1a1a1a; border: 1px solid #333; color: #666; font-size: 0.7rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.step a { color: #888; }
.step code { display: inline-block; font-family: monospace; font-size: 0.78rem; background: #0a0a0a; border: 1px solid #222; border-radius: 6px; padding: 2px 7px; color: #aaa; margin-top: 4px; word-break: break-all; }
.btn-setup { width: 100%; padding: 13px; background: #22c55e; color: #000; border: none; border-radius: 12px; font-size: 0.9rem; font-weight: 800; cursor: pointer; transition: opacity 0.15s; }
.btn-setup:hover { opacity: 0.88; }