/* FlyingFish My account (/account/). Layered over partners.css; brand colours only:
   teal #0d9488 → cyan #06b6d4, deep teal ink, and the Dive Club logo blues for the member ticket. */
:root {
  --ffa-blue-50: #e9fdfe;
  --ffa-blue-200: #a9f0f7;
  --ffa-blue-400: #5fcff4;
  --ffa-blue-600: #1e9be0;
  --ffa-deep: #134e4a;
}

/* ── Role deck header: a quiet sheet of water with depth contours ── */
.ffa-deck {
  position: relative; overflow: hidden; isolation: isolate;
  margin-bottom: 20px; padding: 26px 28px 28px; border-radius: 22px;
  background: linear-gradient(120deg, var(--ffa-deep) 0%, var(--ffp-teal-d) 55%, var(--ffp-teal) 100%);
  color: #fff;
}
.ffa-deck::after { /* light falling through the water */
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 60%; height: 180%; z-index: -1;
  background: radial-gradient(closest-side, rgba(6, 182, 212, .45), transparent 70%);
  transform: rotate(-12deg);
}
.ffa-contour::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .18;
  background:
    repeating-radial-gradient(ellipse at 85% 120%, transparent 0 18px, rgba(255, 255, 255, .9) 18px 19px);
  mask-image: linear-gradient(90deg, transparent 20%, #000 90%);
  -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 90%);
}
.ffa-deck h2 { margin: 6px 0 6px; font-family: var(--ffp-head); font-size: clamp(26px, 4vw, 34px); line-height: 1.1; letter-spacing: -.01em; }
.ffa-deck p { margin: 0 0 16px; max-width: 52ch; color: var(--ffp-teal-100); font-size: 15.5px; }
.ffa-deck p:last-child { margin-bottom: 0; }
.ffa-deck .ffp-btn--primary { background: #fff; color: var(--ffa-deep); }
.ffa-eyebrow {
  display: inline-block; font-family: var(--ffp-mono); font-size: 11.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ffp-teal-200);
}

/* ── Dive Club layout ── */
.ffa-club__grid { display: grid; gap: 20px; grid-template-columns: minmax(280px, 380px) 1fr; align-items: start; }
@media (max-width: 980px) { .ffa-club__grid { grid-template-columns: 1fr; } }

/* Member ticket in the Dive Club logo blues, with a torn stub */
.ffa-ticket {
  display: grid; grid-template-columns: 1fr 86px; border-radius: 20px; overflow: hidden;
  background: linear-gradient(135deg, var(--ffa-blue-50) 0%, var(--ffa-blue-200) 45%, var(--ffa-blue-400) 100%);
  color: var(--ffa-deep); box-shadow: 0 18px 40px -18px rgba(30, 155, 224, .55);
}
.ffa-ticket__main { padding: 20px 20px 18px; display: grid; gap: 18px; }
.ffa-ticket__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ffa-ticket__top img { height: 21px; width: auto; }
.ffa-ticket__tier {
  font-family: var(--ffp-mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 99px; background: rgba(255, 255, 255, .7); color: var(--ffa-blue-600);
}
.ffa-ticket__no { font-family: var(--ffp-mono); font-weight: 600; font-size: clamp(28px, 6vw, 36px); letter-spacing: .02em; line-height: 1; }
.ffa-ticket__row { display: flex; justify-content: space-between; gap: 12px; }
.ffa-ticket__row small, .ffa-ticket__stub small { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.ffa-ticket__row b { font-size: 14.5px; }
.ffa-ticket__row > div:last-child { text-align: right; }
.ffa-ticket__stub {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: var(--ffa-blue-600); color: #fff; border-left: 2px dashed rgba(255, 255, 255, .55);
}
.ffa-ticket__stub::before, .ffa-ticket__stub::after { /* punched notches */
  content: ""; position: absolute; left: -10px; width: 18px; height: 18px; border-radius: 50%; background: var(--ffp-line-2);
}
.ffa-ticket__stub::before { top: -9px; }
.ffa-ticket__stub::after { bottom: -9px; }
.ffa-ticket__stub b { font-size: 38px; line-height: .9; font-weight: 500; }
.ffa-ticket__st { margin-top: 8px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 99px; background: rgba(255, 255, 255, .22); }
.ffa-ticket__st--paused, .ffa-ticket__st--expired { background: rgba(19, 78, 74, .35); }

/* Depth-gauge stats */
.ffa-gauge { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--ffp-line); overflow: hidden; }
.ffa-gauge > div { padding: 14px 12px; text-align: center; }
.ffa-gauge > div + div { border-left: 1px solid var(--ffp-line); }
.ffa-gauge b { display: block; font-family: var(--ffp-head); font-size: 24px; color: var(--ffp-teal-d); line-height: 1.1; }
.ffa-gauge span { font-size: 12px; color: var(--ffp-muted); }

/* Money owed: the one place red is allowed */
.ffa-due { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--ffp-red-bg); border: 1px solid #fecaca; }
.ffa-due b { display: block; color: var(--ffp-red); font-size: 14px; }
.ffa-due span { font-size: 13.5px; color: var(--ffp-ink-2); }

/* Booking form */
.ffa-book { margin-top: 12px; }
.ffa-book__go { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 10px; }
.ffa-book__go .ffp-btn svg { width: 16px; height: 16px; }

/* Dive log */
.ffa-log { list-style: none; margin: 10px 0 0; padding: 0; }
.ffa-log__row { display: grid; grid-template-columns: 48px 1fr auto auto; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--ffp-line-2); }
.ffa-log__row:first-child { border-top: 0; }
.ffa-log__d { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--ffp-teal-50); color: var(--ffp-teal-d); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; line-height: 1.1; }
.ffa-log__d b { font-family: var(--ffp-head); font-size: 19px; letter-spacing: 0; }
.ffa-log__t b { display: block; font-size: 14.5px; }
.ffa-log__t span { font-size: 13px; color: var(--ffp-muted); }
@media (max-width: 520px) {
  .ffa-log__row { grid-template-columns: 48px 1fr auto; row-gap: 6px; }
  .ffa-log__d { grid-row: 1 / span 2; }
  .ffa-log__row > .ffp-badge { grid-column: 2; grid-row: 2; justify-self: start; }
  .ffa-log__row > .ffp-btn { grid-column: 3; grid-row: 1 / span 2; }
}
.ffa-hist { margin-top: 12px; }
.ffa-hist summary { cursor: pointer; font-weight: 600; color: var(--ffp-teal-d); font-size: 14px; }

.ffa-kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 12px 0 0; font-size: 14.5px; }
.ffa-kv dt { color: var(--ffp-muted); }
.ffa-kv dd { margin: 0; font-weight: 600; text-align: right; }
.ffa-kv a { color: var(--ffp-teal-d); }

/* Gentle "join the club" card for guests who are not members */
.ffa-promo {
  display: flex; align-items: center; gap: 16px; margin-top: 22px; padding: 16px 18px; border-radius: 18px;
  background: linear-gradient(110deg, var(--ffa-blue-50), #fff 70%); border: 1px solid var(--ffa-blue-200);
  color: var(--ffa-deep); text-decoration: none; transition: transform .25s var(--ffp-ease), box-shadow .25s var(--ffp-ease);
}
.ffa-promo:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(30, 155, 224, .6); }
.ffa-promo__inf { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--ffa-blue-600); color: #fff; font-size: 26px; }
.ffa-promo b { display: block; font-family: var(--ffp-head); font-size: 17px; }
.ffa-promo span span { font-size: 13.5px; color: var(--ffp-ink-2); }
.ffa-promo > svg { margin-left: auto; flex: none; width: 20px; height: 20px; color: var(--ffa-blue-600); }

/* One orchestrated entrance, staggered by --d */
.ffa-rise { animation: ffa-rise .6s var(--ffp-ease) both; animation-delay: var(--d, 0ms); }
@keyframes ffa-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ffa-rise { animation: none; } .ffa-promo { transition: none; } }
