/* Profile-only additions are separate so the account page can invalidate them
   without changing the shared header stylesheet used by the rest of the shop. */
.auth-profile-password-field { gap: 8px; }
.auth-profile-value {
  display: flex;
  align-items: center;
  height: auto;
  min-height: 54px;
  margin: 0;
  padding: 14px 16px;
  line-height: 1.4;
  overflow-wrap: anywhere;
  cursor: default;
}
.auth-profile-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.auth-profile-password { letter-spacing: .16em; color: var(--ink2); background: rgba(0, 0, 0, .025); cursor: default; }
.auth-profile-account-id { font-weight: 700; letter-spacing: .04em; }
.auth-profile-id-wrap { position: relative; min-width: 0; }
.auth-profile-id-wrap .auth-profile-value { box-sizing: border-box; width: 100%; padding-right: 58px; }
.auth-profile-copy-button {
  position: absolute;
  top: 8px;
  right: 9px;
  display: grid;
  width: 38px;
  height: 38px;
  box-sizing: border-box;
  place-items: center;
  padding: 0;
  transform: none !important;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
}
.auth-profile-copy-button:hover { background: var(--accent-soft); }
.auth-profile-copy-button.is-copied { color: #168247; background: #eaf8f0; }
.auth-profile-copy-button.is-copy-error { color: #c9342b; background: #fff0ed; }
.auth-profile-copy-button:focus-visible { outline: 2px solid rgba(0, 122, 255, .3); outline-offset: 2px; }
.auth-profile-copy-button svg { display: block; width: 19px; height: 19px; }
.auth-password-change {
  justify-self: start;
  margin: -1px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-size: .8rem;
  font-weight: 650;
  cursor: pointer;
}
.auth-password-change:hover { text-decoration: underline; text-underline-offset: 3px; }
.auth-password-change:disabled { opacity: .55; cursor: wait; }

.auth-secondary-action.auth-logout-action {
  color: #fff;
  border-color: #ff3b30;
  background: #ff3b30;
}
.auth-secondary-action.auth-logout-action:hover { color: #fff; border-color: #df2d24; background: #df2d24; }
.auth-secondary-action:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.auth-secondary-action.auth-logout-action:focus-visible { outline-color: #ff3b30; }
.auth-secondary-action:disabled { opacity: .6; cursor: wait; }
.auth-logout-dialog {
  position: fixed;
  width: min(360px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 32px);
  box-sizing: border-box;
  margin: auto;
  padding: 24px;
  border: 0;
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .2);
  overflow: auto;
}
.auth-logout-dialog::backdrop { background: rgba(16, 24, 40, .38); }
.auth-logout-dialog h2 { margin: 0; font-size: 1.1rem; line-height: 1.5; font-weight: 700; text-align: center; }
.auth-logout-dialog-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.auth-logout-dialog-actions .auth-secondary-action { min-height: 42px; }
.auth-logout-message { margin: 14px 0 0; color: #d92820; font-size: .85rem; line-height: 1.5; overflow-wrap: anywhere; text-align: center; }
