/* Inlogscherm, in dezelfde stijl als Mijn geld en Mijn sport. */

[hidden] { display: none !important; }

.auth { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; box-sizing: border-box; }
.auth-card {
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
  box-sizing: border-box;
}
.auth-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.auth-brand img { border-radius: 10px; }
.auth-brand h1 { font-family: var(--font-serif); font-size: 26px; font-weight: 600; margin: 0; color: var(--ink); }

.auth-step label { display: block; font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.auth-step label + label { margin-top: 12px; }
.auth-step input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 5px;
  font: inherit;
  font-family: var(--font-sans);
  font-size: 16px; /* voorkomt inzoomen op iPhone */
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 12px;
  min-height: 42px;
}
.auth-step input:focus { outline: 2px solid var(--teal); outline-offset: 1px; }
.auth-step .btn.wide { display: block; width: 100%; margin-top: 18px; min-height: 42px; font-size: 15px; border-radius: 10px; }
.auth-step .btn.link { display: block; margin: 10px auto 0; background: none; border: none; color: var(--ink-soft); }
.auth-step .hint { color: var(--ink-soft); font-size: 14px; margin: 0 0 14px; }
.code-input { font-size: 24px !important; letter-spacing: 0.3em; text-align: center; font-variant-numeric: tabular-nums; }
.steps { padding-left: 20px; margin: 0 0 12px; font-size: 14px; color: var(--ink); }
.steps li + li { margin-top: 6px; }
.qr { display: block; margin: 6px auto 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.secret { font-size: 13px; margin-bottom: 12px; color: var(--ink-soft); }
.secret summary { cursor: pointer; }
.secret code { display: block; font-size: 15px; padding: 8px; background: var(--paper-alt); border-radius: 8px; word-break: break-all; color: var(--ink); }
.form-error { color: var(--brick); font-size: 14px; margin: 12px 0 0; }

/* Oogje om het wachtwoord te tonen */
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 44px !important; width: 100%; box-sizing: border-box; }
.pw-toggle {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
  border: none; background: none; color: var(--ink-soft); cursor: pointer; border-radius: 8px; padding: 0;
}
.auth-step .pw-toggle { top: calc(50% + 2.5px); } /* veld heeft daar 5px marge boven */
.pw-toggle:hover, .pw-toggle:focus-visible { color: var(--teal); }

/* Account-blok bij Instellingen */
.account-password { margin: 4px 0 10px; }
.account-password summary { color: var(--teal); font-size: 14px; }
.account-fields { margin-top: 10px; }
