/* Reservision swipe stack (swipe.js; mock page 16 "Requests (swipe)"). The stack keeps page 16's own dark colours on
   every page (the dashboard's light theme too), so a card reads the same wherever it is drawn. */
.rvs {
  --rvs-bg: #000000;
  --rvs-text: #F4F1EA;
  --rvs-muted: #AAAAAA;
  --rvs-rule: #333333;
  --rvs-no: #E0574F;
  --rvs-yes: #4FD1B5;
  position: relative;
  display: flex; flex-direction: column; gap: 16px;
  background: var(--rvs-bg); color: var(--rvs-text);
  font-family: var(--font-body, Inter, system-ui, sans-serif);
  padding: 16px; border-radius: 10px; box-sizing: border-box;
  max-width: 420px; width: 100%;
}
.rvs * { box-sizing: border-box; }
.rvs-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.rvs-count { font-size: 13px; color: var(--rvs-muted); font-variant-numeric: tabular-nums; }
.rvs-list { font: inherit; font-size: 13px; font-weight: 700; color: var(--rvs-muted); text-decoration: none; background: none; border: 0; padding: 4px 0; cursor: pointer; }
.rvs-list:hover, .rvs-list:focus-visible { color: #FFFFFF; }

.rvs-hints { display: flex; justify-content: space-between; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; }
.rvs-hint-no { color: var(--rvs-no); opacity: 0.5; transition: opacity 120ms; }
.rvs-hint-yes { color: var(--rvs-yes); opacity: 0.5; transition: opacity 120ms; }
.rvs-lean-no .rvs-hint-no, .rvs-lean-yes .rvs-hint-yes { opacity: 1; }

.rvs-stack { position: relative; min-height: 380px; outline: none; }
.rvs-stack:focus-visible { box-shadow: 0 0 0 2px var(--rvs-text); border-radius: 10px; }
.rvs-card { border-radius: 10px; }
.rvs-back2 { position: absolute; left: 14px; right: 14px; top: 18px; height: 360px; background: #141414; border: 1px solid #262626; }
.rvs-back1 { position: absolute; left: 7px; right: 7px; top: 9px; height: 360px; background: #171717; border: 1px solid #2B2B2B; }
.rvs-top-card {
  position: relative; background: #1A1A1A; border: 1.5px solid var(--rvs-text);
  padding: 22px 18px; min-height: 360px;
  display: flex; flex-direction: column; gap: 14px;
  transform: rotate(-2deg);
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab;
  transition: transform 160ms ease-out, border-color 120ms;
}
.rvs-top-card.rvs-dragging { transition: none; cursor: grabbing; }
.rvs-top-card.rvs-fly { transition: transform 180ms ease-in, opacity 180ms ease-in; }
.rvs-lean-yes .rvs-top-card { border-color: var(--rvs-yes); }
.rvs-lean-no .rvs-top-card { border-color: var(--rvs-no); }
.rvs-empty { min-height: 140px; display: flex; align-items: center; justify-content: center; }
.rvs-empty-line { margin: 0; color: var(--rvs-muted); font-size: 14px; }
.rvs-err { margin: 0; color: #FF7B72; font-size: 13px; font-weight: 600; }

/* The card's insides (page 16): label, avatar + name + handle, four rows, the footer chip. */
.rvs-label { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; color: var(--rvs-muted); text-transform: uppercase; }
.rvs-id { display: flex; align-items: center; gap: 12px; }
.rvs-avatar { width: 56px; height: 56px; flex: none; border-radius: 6px; border: 1.5px solid var(--rvs-text); display: flex; align-items: center; justify-content: center; font-family: var(--font-headline, Anton, sans-serif); font-size: 24px; }
.rvs-name { font-size: 24px; font-weight: 800; line-height: 1.15; overflow-wrap: anywhere; }
.rvs-ig { font-size: 14px; color: var(--rvs-muted); overflow-wrap: anywhere; }
.rvs-rows { display: flex; flex-direction: column; gap: 8px; font-size: 14px; border-top: 1px solid var(--rvs-rule); padding-top: 12px; margin: 0; }
.rvs-row { display: flex; justify-content: space-between; gap: 12px; }
.rvs-row > span:first-child { color: var(--rvs-muted); flex: none; }
.rvs-row > span:last-child { text-align: right; overflow-wrap: anywhere; }
.rvs-cardfoot { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--rvs-muted); }
.rvs-chip { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 4px; background: #262626; border: 1px solid var(--rvs-rule); font-weight: 800; letter-spacing: 0.04em; color: var(--rvs-text); }

.rvs-btns { display: flex; justify-content: center; gap: 28px; }
.rvs-btn { width: 68px; height: 68px; border-radius: 999px; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.rvs-btn-no { border: 2px solid var(--rvs-no); background: transparent; color: var(--rvs-no); }
.rvs-btn-yes { border: 0; background: var(--rvs-yes); color: #000000; }
.rvs-btn:disabled { opacity: 0.35; cursor: default; }
.rvs-btn:focus-visible { outline: 2px solid var(--rvs-text); outline-offset: 3px; }
.rvs-foot { margin: 0; text-align: center; font-size: 12px; color: var(--rvs-muted); }

.rvs-undo {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60;
  display: flex; align-items: center; gap: 16px; max-width: calc(100vw - 32px);
  background: #F4F1EA; color: #000000; border-radius: 999px; padding: 10px 10px 10px 18px;
  font-size: 14px; font-weight: 600; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}
.rvs-undo[hidden] { display: none; }
.rvs-undo-btn { font: inherit; font-weight: 800; background: #000000; color: #F4F1EA; border: 0; border-radius: 999px; padding: 6px 14px; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  .rvs-top-card, .rvs-top-card.rvs-fly { transition: none; }
}

/* The team page (team.js): the stack sits above the Requests and invites list. */
.tm-swipe { margin: 0 0 16px; }
.tm-swipe .rvs { margin: 0 auto; }
