/* ==========================================================================
   LOGIN & REGISTER LAYOUT
   ========================================================================== */

.auth-page {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.auth-title {
  width: 100%;
  max-width: 450px;
  margin: 0 auto 1rem auto;
  text-align: center;
  font-size: 1.2rem;
  font-family: var(--font-sans);
}

.auth-switch {
  margin-top: 1.5rem;
  text-align: center;
}

.auth-switch p {
  margin: 0;
}

.auth-switch a {
  display: block;
  margin-top: 0.3rem;
}

.auth-error {
  color: #ff6b6b;
  text-align: center;
  font-weight: bold;
}

.auth-success {
  color: #2ed573;
  text-align: center;
  font-weight: bold;
}

/* ==========================================================================
   LOGIN & REGISTER FORM
   ========================================================================== */

.logreg {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--bg-main);
  border: 1px solid var(--border-color-main);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
}

.logreg label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-family: var(--font-sans);
}

.logreg input {
  width: 100%;
  padding: 0.9rem 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color-main);
  border-radius: 4px;
  background: white;
  font-family: var(--font-sans);
  font-size: 1rem;
  box-sizing: border-box;
}

.logreg input:focus {
  outline: none;
  border-color: var(--bg-button);
}

.logreg button {
  display: block;
  margin: 0 auto;
  width: 40%;
  padding: 1rem;
  background: var(--bg-button);
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 10px;
  color: white;
  cursor: pointer;
  transition: background-color 0.2s;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: bold;
}

.logreg button:hover {
  background: var(--bg-button-hover);
} 