/* login.css — pagina /entrar (era a modal de login da home, agora pagina).
   O card e o formulario vieram do bloco de auth do index.css. */

main { max-width: 460px; }

.auth-page {
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 26px 24px;
  margin-top: 24px;
}

.auth-head { margin-bottom: 20px; }
.auth-head h3 { margin: 0; font-size: 20px; }
.auth-head p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }

input {
  width: 100%; padding: 10px 12px; background: var(--bg); border: 1px solid var(--line);
  border-radius: 10px; color: var(--t); font-size: 14px; outline: none;
}
input:focus { border-color: var(--accent); }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; font-weight: 600; }

.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 48px; }
.pw-toggle {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--muted); cursor: pointer;
  padding: 4px; border-radius: 6px; display: grid; place-items: center;
}
.pw-toggle:hover { color: var(--accent); background: rgba(245,166,35,.1); }
.pw-toggle svg { display: block; }
.pw-hint { display: block; font-size: 11px; margin-top: 6px; color: var(--muted); }

.auth-submit {
  width: 100%; padding: 11px; border: none; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #111; font-weight: 800; font-size: 14px; cursor: pointer;
  justify-content: center;
}
.auth-submit:disabled { opacity: .5; cursor: not-allowed; }
.auth-submit-secondary {
  background: var(--card-2); color: var(--t); border: 1px solid var(--line);
  box-shadow: none;
}
.auth-submit-secondary:hover { border-color: var(--accent); }

/* Separador "ou" entre o formulario de e-mail e o botao do Steam. */
.auth-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 18px 0 14px; color: var(--muted); font-size: 12px;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--line);
}

.auth-footer {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 18px; font-size: 12px; color: var(--muted); gap: 8px;
}

button.link-btn {
  background: none; border: none; color: var(--accent); cursor: pointer;
  font-weight: 700; padding: 0; font-size: 12px; box-shadow: none;
}
button.link-btn:hover { text-decoration: underline; }

.err { color: var(--bad); font-size: 13px; margin-top: 10px; text-align: center; }
.ok { color: var(--good); font-size: 13px; margin-top: 10px; text-align: center; }

/* Recuperacao de senha (revelada sob demanda, sem prompt do navegador) */
.auth-forgot {
  margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line);
}
.auth-forgot-hint { margin: 0 0 10px; font-size: 12px; color: var(--muted); text-align: center; }
.auth-forgot input { margin-bottom: 10px; }
.auth-forgot-status { font-size: 12px; margin-top: 10px; text-align: center; color: var(--muted); }
.auth-forgot-status.err { color: var(--bad); }
.auth-forgot-status.ok { color: var(--good); }

@media (max-width: 720px) {
  .auth-page { padding: 20px 16px; margin-top: 12px; }
}
