
body { overflow-x: clip; } 
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: radial-gradient(circle at 50% 42%, #2b2b2b 0%, #232220 60%, #1a1917 100%);
}
.auth-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.auth-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.auth-logo-text { display: flex; flex-direction: column; gap: 4px; }


.auth-intro { --logo: 56px; display: block; flex-shrink: 0; }
.auth-intro .mmd-intro__stage { margin-right: calc(var(--logo) * 0.45); } 
.auth-intro .mmd-intro__mmd { filter: drop-shadow(0 4px 10px rgba(0,0,0,.5)); }
.auth-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-blue);
  text-align: left;
}
.auth-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  text-align: left;
}
.auth-form { display: flex; flex-direction: column; gap: 10px; }
.auth-form label { font-size: 13px; color: var(--text-secondary); font-weight: 600; }
.auth-flash {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent-red);
  color: var(--accent-red);
  font-size: 13px;
}
.auth-links { text-align: center; font-size: 13px; color: var(--text-muted); }
.auth-links a { color: var(--accent-blue); text-decoration: none; }
.auth-links a:hover { text-decoration: underline; }


.pass-wrap { position: relative; }
.pass-wrap input { padding-right: 40px; }
.pass-toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  background: none; border: none; padding: 4px; cursor: pointer;
  color: var(--text-muted); display: flex; align-items: center;
}
.pass-toggle:hover { color: var(--accent-blue); }
.pass-toggle svg { width: 18px; height: 18px; }
.pass-toggle .eye-off { display: none; }
.pass-wrap.show-pass .pass-toggle .eye { display: none; }
.pass-wrap.show-pass .pass-toggle .eye-off { display: block; }
