/* Auth Page - Standalone, no base template */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.auth-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  width: 90%;
  max-width: 400px;
  position: relative;
  z-index: 2;
  animation: fadeIn 0.6s ease;
}

.auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  font-family: var(--font-mono);
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.auth-logo svg {
  width: 36px;
  height: 36px;
}

.auth-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: var(--text-sm);
  font-family: var(--font-mono);
  margin-top: -var(--space-md);
  margin-bottom: var(--space-lg);
}

.auth-form .form-group {
  margin-bottom: var(--space-md);
}

.auth-error {
  color: var(--accent-red);
  font-size: var(--text-sm);
  text-align: center;
  margin-bottom: var(--space-md);
  min-height: 20px;
}

.auth-toggle {
  text-align: center;
  margin-top: var(--space-lg);
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.auth-toggle a {
  color: var(--accent-cyan);
  cursor: pointer;
}

/* Matrix Canvas */
#matrix-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  pointer-events: none;
  display: none;
}

#matrix-canvas.active {
  display: block;
  pointer-events: all;
}

/* Matrix message overlay */
.matrix-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 101;
  font-family: var(--font-mono);
  font-size: var(--text-xl);
  color: var(--accent-cyan);
  white-space: nowrap;
  display: none;
}

.matrix-message.active {
  display: block;
}

.matrix-cursor {
  animation: blink 0.7s step-end infinite;
}

/* Fade transition for auth card */
.auth-card.fade-out {
  animation: fadeOut 0.4s ease forwards;
}
