/* SexY-Rachel — Cash App white & green */
:root {
  --green: #00D632;
  --green-dark: #00C244;
  --green-press: #00A827;
  --bg: #ffffff;
  --card: #ffffff;
  --ink: #0b0b0c;
  --muted: #8a8a8e;
  --line: #ececec;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

body { min-height: 100vh; min-height: 100dvh; display: flex; justify-content: center; }

.wrap { width: 100%; max-width: 430px; padding: 20px 16px 40px; }

/* ── header ── */
.head { display: flex; align-items: center; gap: 10px; }
.logo {
  width: 38px; height: 38px; border-radius: 12px; background: #0b0b0c;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.logo span { color: #ffffff; font-weight: 900; font-size: 22px; line-height: 1; }
.brand { display: flex; flex-direction: column; gap: 2px; }
.brand b { font-size: 15px; font-weight: 800; letter-spacing: -0.01em; }
.brand small { font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.secure {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; color: var(--green-dark);
  padding: 7px 11px; border-radius: 999px;
  background: rgba(0, 214, 50, 0.1); border: 1px solid rgba(0, 214, 50, 0.25);
  white-space: nowrap;
}

/* ── amount display ── */
.amount-display { text-align: center; padding: 26px 10px 22px; }
.amt-big {
  font-size: 56px; font-weight: 900; letter-spacing: -0.04em; line-height: 1;
  color: var(--ink); font-variant-numeric: tabular-nums;
}
.amt-big.was-typing { opacity: 0.35; }
.amt-cur {
  margin-top: 10px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
}

.label {
  font-size: 10px; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
  padding: 4px 4px 8px;
}

/* ── quick amounts ── */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.amt {
  padding: 13px 4px; border-radius: 12px;
  background: var(--card); border: 1.5px solid var(--line);
  font-family: inherit; font-size: 14px; font-weight: 800; color: var(--ink);
  cursor: pointer; transition: border-color .12s, background .12s, transform .06s;
}
.amt:active { transform: scale(0.96); }
.amt.selected { border-color: var(--green); background: rgba(0, 214, 50, 0.08); }

/* ── keypad ── */
.keypad {
  margin-top: 14px; display: grid;
  grid-template-columns: repeat(3, 1fr); gap: 9px;
}
.keypad button {
  padding: 17px 0; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line);
  font-family: inherit; font-size: 22px; font-weight: 800; color: var(--ink);
  cursor: pointer; transition: background .12s, transform .06s;
  display: flex; align-items: center; justify-content: center;
}
.keypad button:active { background: rgba(0, 214, 50, 0.1); transform: scale(0.96); }

/* ── error ── */
.err { text-align: center; font-size: 13px; font-weight: 700; color: #d0433a; min-height: 20px; padding: 6px 0 2px; }

/* ── pay ── */
.pay {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 17px 18px; border-radius: 16px;
  background: var(--green); color: #04140a;
  font-size: 16px; font-weight: 900; letter-spacing: -0.01em;
  text-decoration: none; border: none; cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 214, 50, 0.28);
}
.pay:not(.ready) { opacity: 0.45; }
.pay:not(.ready):active { background: var(--green); }
.pay.ready:active { transform: translateY(1px); background: var(--green-dark); }
.pay svg { flex-shrink: 0; }
.pay.loading { opacity: 0.6; pointer-events: none; }

.note { font-size: 11px; line-height: 1.6; color: var(--muted); text-align: center; padding: 14px 6px 0; }

/* ── processing overlay ── */
.processing {
  position: fixed; inset: 0; z-index: 999;
  display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(5px);
  color: var(--ink); font-size: 14px; font-weight: 800;
}
.processing .spinner {
  width: 40px; height: 40px; border-radius: 50%;
  border: 3px solid rgba(0, 214, 50, 0.2);
  border-top-color: var(--green);
  animation: procspin 0.9s linear infinite;
}
@keyframes procspin { to { transform: rotate(360deg); } }

@media (max-width: 380px) {
  .grid { grid-template-columns: repeat(4, 1fr); gap: 7px; }
  .amt { padding: 11px 2px; font-size: 13px; }
  .keypad button { padding: 15px 0; font-size: 20px; }
  .amt-big { font-size: 46px; }
}
