/* Signed-out wrapper + auth card + primary auth button. */

.auth-wrapper { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(6,6,10,0.97); backdrop-filter: blur(12px); }
.auth-wrapper.hidden { display: none; }
.auth-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; max-width: 400px; width: 100%; animation: fadeInUp 0.3s ease-out; }
.auth-card .auth-logo { width: 48px; height: 48px; margin: 0 auto 20px; border-radius: 12px; background: linear-gradient(135deg, var(--accent-dim), var(--accent)); display: flex; align-items: center; justify-content: center; }
.auth-card .auth-logo svg { width: 22px; height: 22px; stroke: white; fill: none; }
.auth-card h2 { font-size: 22px; font-weight: 700; text-align: center; margin-bottom: 6px; }
.auth-card .auth-subtitle { font-size: 15px; color: var(--text-secondary); text-align: center; margin-bottom: 28px; }
.auth-card .form-group { margin-bottom: 16px; }
.auth-card .form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.auth-card .form-group input { width: 100%; padding: 12px 14px; background: var(--bg-primary); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-primary); font-family: var(--font-display); font-size: 15px; outline: none; transition: border-color 0.2s; }
.auth-card .form-group input:focus { border-color: var(--accent); }
.auth-card .form-group input::placeholder { color: var(--text-muted); }

.btn-primary { width: 100%; padding: 13px; background: linear-gradient(135deg, var(--accent-dim), var(--accent)); border: none; border-radius: var(--radius-sm); color: white; font-family: var(--font-display); font-size: 15px; font-weight: 600; cursor: pointer; transition: opacity 0.2s; margin-top: 4px; }
.btn-primary:hover { opacity: 0.9; }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.auth-footer { text-align: center; margin-top: 20px; font-size: 14px; color: var(--text-muted); }
.auth-footer a { color: var(--accent-bright); text-decoration: none; cursor: pointer; }
.auth-footer a:hover { text-decoration: underline; }
.auth-error { color: var(--danger); font-size: 13px; text-align: center; margin-top: 12px; display: none; }
.auth-error.show { display: block; }
.auth-success { color: var(--success); font-size: 13px; text-align: center; margin-top: 12px; display: none; }
.auth-success.show { display: block; }
.auth-view { display: none; }
.auth-view.active { display: block; }
