/* Kvitteringen for "Del med en, du holder af" (share_receipt.js).
   Fælles for frie apps og om-siderne; farver falder tilbage, hvor en skal
   ikke har tokenet. */
.share-receipt-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.62);
}
.share-receipt-backdrop[hidden] {
  display: none;
}
.share-receipt {
  width: 100%;
  max-width: 420px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  box-sizing: border-box;
  padding: 28px 18px 18px;
  border-radius: 14px;
  border: 1px solid var(--card-border, rgba(255, 255, 255, 0.14));
  background: var(--card-flat, #10251f);
  color: var(--text, #eef7f2);
  text-align: center;
  font-family: var(--font-sans, Inter, "Segoe UI", system-ui, sans-serif);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}
.share-receipt-check {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #2fa86b;
  color: #ffffff;
  font-size: 38px;
  line-height: 64px;
  font-weight: 700;
}
.share-receipt-check[hidden] {
  display: none;
}
.share-receipt-title {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--text, #eef7f2);
}
.share-receipt-body {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text-soft, var(--text, #eef7f2));
}
.share-receipt-url {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  margin: 0 0 18px;
  padding: 12px 8px;
  border-radius: 8px;
  border: 1px solid var(--card-border, rgba(255, 255, 255, 0.2));
  background: rgba(0, 0, 0, 0.28);
  color: var(--text, #eef7f2);
  font-size: 16px;
  line-height: 1.4;
  text-align: center;
  overflow-wrap: anywhere;
  cursor: text;
  user-select: all;
  -webkit-user-select: all;
}
.share-receipt-backdrop.is-manual .share-receipt-url {
  border-color: var(--accent, #8fd6b4);
}
.share-receipt-ok {
  display: block;
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  background: var(--accent, #8fd6b4);
  color: var(--on-accent, #0b0f1e);
  font: inherit;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
}
.share-receipt-ok:focus-visible,
.share-receipt-url:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}
