/* Skate Bud web demo: Find a friend (js/screens-friend.js). Class prefix fd-. The Tap step itself uses css/tap.css. */

.fd-name-field { margin-top: 4px; }
.fd-chips-head { margin-top: 8px; font-size: 13px; line-height: 18px; color: var(--sb-muted); }
.fd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fd-chip {
  display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 17px; white-space: nowrap;
  background: var(--sb-sel); color: var(--sb-accent); font-size: 15px; font-weight: 600;
}
.fd-chip:active { opacity: 0.7; }

.fd-jrow { display: flex; gap: 12px; align-items: flex-end; }
.fd-jrow > .fd-num-field { flex: 0 0 110px; width: 110px; }
.fd-jrow > .fd-jname-field { flex: 1 1 auto; }
.fd-nothing {
  display: flex; align-items: center; gap: 10px; min-height: 44px; align-self: flex-start;
  font-size: 16px; line-height: 21px; color: var(--sb-text); text-align: left;
}

.fd-done { align-items: flex-start; }
.fd-done > * { align-self: stretch; }
.fd-done > .fd-tick { align-self: flex-start; }
.fd-tick {
  flex: none; width: 56px; height: 56px; border-radius: 50%; background: #d9eede; color: var(--sb-me);
  display: flex; align-items: center; justify-content: center;
}
.fd-tick svg { stroke-width: 3px; }
.fd-done .sb-hint b { font-weight: 700; }
.fd-gap { flex: 1 1 auto; }
.fd-walk .sb-walk-bar > .fd-undo { flex: none; }

/* The friend's look picker is the jersey step's own (css/firstrun.css, fr-look). A colour that can't be picked
   (the visitor's own) is greyed out with a slash. */
.fr-swatch.is-taken { position: relative; cursor: default; }
.fr-swatch.is-taken > i { opacity: 0.28; }
.fr-swatch.is-taken::after {
  content: ""; position: absolute; left: 9px; right: 9px; top: 50%; height: 2px; margin-top: -1px;
  background: var(--sb-muted); transform: rotate(-45deg); border-radius: 1px; pointer-events: none;
}
.fr-swatch.is-taken:active { opacity: 1; }
