.auth-text-button {
  appearance: none;
  border: 0;
  background: transparent;
  color: #1d5ce5;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 2px 0;
  text-align: center;
}

.auth-text-button:hover { text-decoration: underline; }

.password-change-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2, 13, 55, .78);
  backdrop-filter: blur(5px);
}

.password-change-overlay.is-hidden { display: none; }

.password-change-card {
  width: min(100%, 480px);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 30px;
  border: 1px solid #d5e1f5;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 17, 75, .28);
}

.password-change-card h2 { margin: 5px 0 8px; color: #071b61; font-size: 28px; }

.password-change-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 18px;
  background: #edf3ff;
  color: #205ff0;
  font-size: 28px;
}

.nav-alert-count {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  margin-left: 5px;
  padding: 0 6px;
  place-items: center;
  border-radius: 999px;
  background: #ef233c;
  color: #fff;
  font-size: 11px;
  line-height: 20px;
}

.nav-alert-count.is-hidden { display: none; }

.security-request-list { display: grid; gap: 10px; }

.security-request-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid #d7e2f4;
  border-radius: 16px;
  background: #f8faff;
}

.security-request-item strong { display: block; color: #071b61; }
.security-request-item small { display: block; margin-top: 3px; color: #5f719b; }
.security-request-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

.button.danger-secondary { border-color: #ffcbd1; background: #fff4f5; color: #d71631; }

.temporary-password-notice {
  margin-bottom: 14px;
  padding: 13px 15px;
  border: 1px solid #cfe0ff;
  border-radius: 14px;
  background: #f2f6ff;
  color: #203a76;
  font-size: 13px;
  line-height: 1.45;
}

.temporary-password-notice code { color: #071b61; font-weight: 800; }

.user-status-stack { display: flex; gap: 6px; flex-wrap: wrap; }
.badge.warning { background: #fff2ce; color: #9a6100; }
.badge.danger { background: #ffe7ea; color: #c4162f; }

@media (max-width: 760px) {
  .security-request-item { grid-template-columns: 1fr; }
  .security-request-actions { justify-content: stretch; }
  .security-request-actions .button { flex: 1; }
  .password-change-card { padding: 24px; }
}
