.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-tertiary) 100%);
  padding: 1rem;
}

.auth-card {
  background: var(--bg-secondary);
  padding: 3rem 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 420px;
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.auth-card h1 {
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-size: 2rem;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-card h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-secondary);
  font-size: 1.3rem;
  font-weight: 600;
}

.auth-card form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.auth-card input {
  padding: 0.9rem 1.2rem;
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  background: var(--bg-tertiary);
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.auth-card input::placeholder {
  color: var(--text-secondary);
}

.auth-card input:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: rgba(0, 212, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.auth-card button {
  padding: 0.9rem;
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: var(--bg-primary);
  border: none;
  border-radius: 8px;
  margin-top: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.auth-card button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 212, 255, 0.3);
}

.auth-card button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.auth-card p {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.auth-card a,
.auth-card .link-button {
  color: var(--accent-primary);
}

.auth-card .link-button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.auth-card .link-button:hover {
  background: none;
  color: var(--accent-secondary);
}

.error-message {
  background: rgba(255, 0, 110, 0.1);
  color: #ff006e;
  padding: 0.9rem 1.2rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  border-left: 4px solid #ff006e;
  font-weight: 500;
}
