/* GIFTEd — donate page styles. Shared tokens/components live in design-system.css. */

*, *::before, *::after { box-sizing: border-box; }

/* Single-purpose, full-bleed page: the form fills the viewport and does its
   own scrolling inside the frame, so the page itself never scrolls. */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  background: #1A5C6B;
}

.give-frame {
  position: fixed;
  inset: 0;
  width: 100%;
  /* dvh tracks the mobile browser chrome; vh is the fallback */
  height: 100vh;
  height: 100dvh;
  border: 0;
  display: block;
}

.back {
  position: fixed;
  top: max(18px, env(safe-area-inset-top));
  left: max(18px, env(safe-area-inset-left));
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 20px 11px 15px;
  border: 0;
  border-radius: 999px;
  background: rgba(13,13,13,0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(0,0,0,0.28);
  transition: background 0.2s ease, transform 0.15s ease;
}
.back:hover { background: rgba(13,13,13,0.82); transform: translateY(-1px); }
.back:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.back svg { flex-shrink: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
