/* ============================================================================
   LUME — Telas de autenticação
   ========================================================================== */

.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 860px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-showcase { display: none; }
}

/* --- Lado da ilustração --- */
.auth-showcase {
  background: var(--gradient-plum-dark);
  color: var(--text-inverse);
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.auth-showcase::before,
.auth-showcase::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  opacity: 0.5;
  filter: blur(2px);
}
.auth-showcase::before {
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(201,123,99,0.35), transparent 70%);
  top: -80px; right: -80px;
}
.auth-showcase::after {
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(182,160,201,0.3), transparent 70%);
  bottom: -60px; left: -60px;
}
.auth-showcase-quote {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.35;
  max-width: 420px;
}
.auth-showcase-quote span { color: var(--peach); }

.auth-brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 24px;
}
.auth-brand .brand-mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}

.auth-showcase-footer {
  position: relative;
  z-index: 1;
  font-size: 13px;
  opacity: 0.7;
}

/* --- Lado do formulário --- */
.auth-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: var(--bg);
}
.auth-card {
  width: 100%;
  max-width: 380px;
}
.auth-card-header { margin-bottom: 30px; }
.auth-card-header h1 {
  font-size: 27px;
  margin-bottom: 8px;
}
.auth-card-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.auth-links-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin: -6px 0 20px;
}
.auth-links-row a { color: var(--terracotta); font-weight: 600; }
.auth-links-row a:hover { text-decoration: underline; }

.auth-footer-text {
  text-align: center;
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 26px;
}
.auth-footer-text a { color: var(--terracotta); font-weight: 600; }

.auth-alert {
  display: none;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  margin-bottom: 18px;
}
.auth-alert.show { display: block; }
.auth-alert.error { background: var(--rose-soft); color: var(--danger); }
.auth-alert.success { background: var(--sage-soft); color: #3E5C3A; }

.theme-toggle-floating {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 5;
}
