/* Vision — persistent "card removed" overlay (nfc-session.js). Lives in
   base.html so it's available on every screen, including login.html. */

.nfc-session-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 24, 39, 0.55);
}

/* An author-stylesheet rule beats the UA's default [hidden]{display:none}
   even at equal specificity, so the unconditional `display: flex` above
   would otherwise show this on every page load — see login.css's own
   .login-success-overlay[hidden] rule for the same reasoning. */
.nfc-session-overlay[hidden] {
  display: none;
}

.nfc-session-overlay-card {
  background: var(--vds-surface-raised);
  border-radius: var(--vds-radius-lg);
  box-shadow: var(--vds-shadow-pop);
  padding: var(--vds-space-24) var(--vds-space-32);
  text-align: center;
  max-width: 360px;
}

.nfc-session-overlay-title {
  font-size: 18px;
  font-weight: var(--vds-weight-semibold);
  color: var(--vds-danger);
}

.nfc-session-overlay-subtitle {
  margin-top: var(--vds-space-8);
  font-size: 14px;
  color: var(--vds-text-secondary);
}

.nfc-session-overlay-countdown {
  font-weight: var(--vds-weight-semibold);
  color: var(--vds-text-primary);
}
