/* Auth message styles for login/register feedback */
.auth-message {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 1rem;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--bg-secondary);
  color: var(--text-primary);
  transition: opacity 0.2s;
}

.auth-message.success {
  background: rgba(80, 200, 120, 0.18);
  color: #7fffa2;
}
/* Auth Page Styles - Login & Register */

.auth-content {
  max-width: 400px;
  margin: 4rem auto 0 auto;
  background: var(--bg-primary);
  border-radius: 0.75rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  padding: 2.5rem 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.2s ease;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  align-self: flex-start;
}

.back-button:hover {
  color: var(--text-primary);
  background: var(--bg-secondary);
}

.back-button svg {
  width: 18px;
  height: 18px;
}

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

.auth-link {
  margin-top: 2rem;
  text-align: center;
  color: var(--text-secondary);
  font-size: 1rem;
}

.auth-link a {
  color: var(--accent-blue);
  text-decoration: underline;
  transition: color 0.2s;
}

.auth-link a:hover {
  color: #8fb1cc;
}

@media (max-width: 600px) {
  .auth-content {
    max-width: 95vw;
    padding: 1.5rem 0.5rem 1.5rem 0.5rem;
    margin: 2rem auto 0 auto;
  }

  .back-button {
    font-size: 0.875rem;
    padding: 0.375rem 0.5rem;
  }

  .back-button svg {
    width: 16px;
    height: 16px;
  }
}
