/* Sign-in tabs (QR code, device code, account): same as the web app sign-in page. */
.qr-alt a { color: var(--blue-d); text-decoration: underline; text-underline-offset: 2px; }
[hidden] { display: none !important; }

/* tabs */
.login-tabs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
  padding: 4px; margin-bottom: 16px; border-radius: 999px; background: #EEF0F4;
}
.login-tab {
  min-height: 44px; padding: 8px 14px; border-radius: 999px;
  font-weight: 600; font-size: 15px; line-height: 1.2; color: var(--dark-muted);
  transition: background .2s, color .2s;
}
.login-tab:hover { color: var(--dark-text); }
.login-tab[aria-selected="true"] { background: var(--navy); color: #fff; }
@media (max-width: 600px) {
  .tab-long { display: none; }
  .login-tab { font-size: 14px; padding: 8px 6px; }
}
@media (min-width: 601px) { .tab-short { display: none; } }
@media (max-width: 360px) { .login-tab { font-size: 13px; padding: 8px 2px; white-space: nowrap; } }

.link-btn {
  padding: 0; color: var(--blue-d); text-decoration: underline; text-underline-offset: 2px; font: inherit;
}

/* device code */
.code-box { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.code-value {
  font-family: var(--display); font-weight: 800; font-size: 30px; letter-spacing: .05em;
  color: var(--dark-text); font-variant-numeric: tabular-nums; white-space: nowrap; user-select: all;
}
.code-value.faded { opacity: .12; }
.code-timer { font-size: 14px; font-weight: 600; color: var(--dark-muted); min-height: 1.5em; }

/* account */
.account-card { grid-template-columns: 1fr; }
.provider-btns { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; max-width: 380px; }
.provider-btn {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  height: 50px; padding: 0 20px; border-radius: 999px;
  font-weight: 600; font-size: 16px; transition: background .2s, transform .2s;
}
.provider-btn svg { width: 20px; height: 20px; flex: none; }
.provider-btn:active:not(:disabled) { transform: scale(.98); }
.provider-btn.google { background: #fff; color: var(--dark-text); box-shadow: 0 1px 2px rgba(23,27,44,.12), inset 0 0 0 1px rgba(23,27,44,.12); }
.provider-btn.google:hover { background: #F7F8FA; }
.provider-btn.apple { background: #000; color: #fff; }
.provider-btn:disabled { opacity: .38; cursor: not-allowed; }
.account-msg { margin-top: 16px; color: rgba(23,27,44,.82); font-size: 16px; max-width: 640px; }
.account-msg strong { display: block; color: var(--navy); font-size: 17px; }
.account-msg p { margin-top: 6px; }
.account-msg a { color: var(--blue-d); text-decoration: underline; text-underline-offset: 2px; }
.account-msg-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }

.account-note { margin-top: 22px; max-width: 640px; }

/* delete-account page: the fine print as wide as the cookie note above it */
.del-page .fine-print { max-width: none; }
