body{ background:var(--bg); color:var(--text); }

/*
  Auth pages devem respeitar header/footer global.
  NÃO centralize o <body> inteiro (isso quebrava o header/footer).
*/

.auth-page {
  background: #0f0f12;
  color: #fff;
}

.auth-wrap {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 14px;
}

.auth-box {
  width: min(980px, 100%);
  background: rgba(255,255,255,.05);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,.6);
}

.auth-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: start;
}

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

.auth-note{
  font-size: 13px;
  opacity: .9;
  line-height: 1.35;
  margin-top: 10px;
}

.auth-avatar-preview{
  display:flex;
  justify-content:center;
  align-items:center;
  padding: 10px;
  background: rgba(0,0,0,.25);
  border-radius: 16px;
}

.auth-avatar-preview img{
  width: 240px;
  height: auto;
  image-rendering: pixelated;
}

.auth-choice-row{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}

.auth-pill{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  cursor: pointer;
  user-select:none;
  font-size: 13px;
}

.auth-pill input{ width:auto; margin:0; }

.auth-box h1 {
  margin: 0 0 16px;
  text-align: center;
}

.auth-box label {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
}

.auth-box input {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: none;
  margin-top: 4px;
}

.remember-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.auth-box button {
  width: 100%;
  margin-top: 14px;
  padding: 12px;
  border-radius: 12px;
  border: none;
  background: #2f80ff;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.auth-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.auth-actions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: inherit;
  text-decoration:none;
  font-weight: 800;
}

.auth-actions button{ flex: 1; }

.error {
  background: #b00020;
  padding: 8px;
  border-radius: 8px;
  margin-bottom: 10px;
  font-size: 13px;
}
