#page-login {
  align-items: center;
  justify-content: center;
  background: var(--bg);
}

.login-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.login-box {
  width: 100%;
  max-width: 400px;
}

/* Brand */
.login-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--green);
  border-radius: var(--r8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #0c1120;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.logo-mark.small {
  width: 30px;
  height: 30px;
  font-size: 0.6875rem;
  border-radius: 7px;
}

/* Heading */
.login-box h1 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
  line-height: 1.2;
}

.login-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* Fields */
.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.field input {
  display: block;
  width: 100%;
  height: 46px;
  padding: 0 14px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--r8);
  color: var(--text);
  font-size: 0.9375rem;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.field input::placeholder {
  color: var(--text-faint);
}

.field input:focus {
  border-color: var(--border-hi);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.04);
}

/* Submit */
.btn-enter {
  display: block;
  width: 100%;
  height: 46px;
  margin-top: 20px;
  background: var(--green);
  color: #0c1120;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: var(--r8);
  transition: filter 0.15s var(--ease), transform 0.1s var(--ease);
}

.btn-enter:hover {
  filter: brightness(1.07);
}

.btn-enter:active {
  transform: scale(0.99);
}

/* ── Tabs ─────────────────────────────────── */

.login-tabs {
  display: flex;
  gap: 2px;
  padding: 3px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r8);
  margin-bottom: 28px;
}

.login-tab {
  flex: 1;
  height: 30px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.login-tab:hover { color: var(--text); }
.login-tab.active { background: var(--bg-elevated); color: var(--text); font-weight: 600; }

/* ── Painel ───────────────────────────────── */

.login-panel h1 {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
  line-height: 1.2;
}

/* ── Estado: link enviado ─────────────────── */

.login-sent {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 0;
  gap: 10px;
}

.sent-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.login-sent h2 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.login-sent p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.login-sent strong {
  color: var(--text);
  font-weight: 600;
}

.btn-resend {
  margin-top: 8px;
  height: 36px;
  padding: 0 20px;
  border-radius: var(--r8);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: var(--bg-raised);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.btn-resend:hover {
  color: var(--text);
  border-color: var(--border-mid);
  background: var(--bg-elevated);
}

/* ── Erro de formulário ───────────────────── */

.form-error {
  color: #ef4444;
  font-size: 0.8125rem;
  margin-top: 8px;
  min-height: 18px;
}
