/**
 * payments-hub.css
 *
 * Payments hub page styles — comparison table, method guide cards,
 * withdrawal times featured card, Joshua note, related section.
 * Mobile-first with min-width breakpoints.
 *
 * Classes from base.css / layout.css / hero.css / cards.css are NOT
 * duplicated here:
 *   .hero, .hero h1, .hero-intro, .breadcrumb, .wrap,
 *   .section-paper, .section-surface, .section-felt,
 *   .eyebrow, .section-title, .section-title--tight, .section-sub
 *
 * @package BeatTheFish
 * @since   2.1.0
 */

/* ── Withdrawal Times Featured Card ─────────────────────────────── */

.wt-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 36px;
  transition: border-color 0.15s;
}

.wt-card:hover {
  border-color: var(--brass);
}

.wt-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brass);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wt-label::before {
  content: '';
  display: block;
  width: 14px;
  height: 1.5px;
  background: var(--brass);
}

.wt-title {
  font-family: 'Instrument Serif', serif;
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.15;
}

.wt-desc {
  font-size: 0.88rem;
  color: var(--ink3);
  line-height: 1.65;
  max-width: 520px;
}

.wt-cta {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--felt);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}

.wt-cta:hover {
  color: var(--felt2);
}

/* ── Comparison Table ───────────────────────────────────────────── */

.compare-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.compare-table th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink4);
  background: var(--bg);
  padding: 11px 16px;
  text-align: left;
  border-bottom: 1px solid var(--rule);
}

.compare-table th:first-child {
  min-width: 160px;
}

.compare-table td {
  padding: 13px 16px;
  font-size: 0.84rem;
  color: var(--ink2);
  border-bottom: 1px solid var(--rule);
  vertical-align: middle;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table tr:hover td {
  background: var(--felt-bg);
}

.compare-table tr:hover .method-name {
  color: var(--felt);
}

.method-name {
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 9px;
  transition: color 0.12s;
}

.method-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Speed indicators */
.speed {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
}

.speed.fast   { color: var(--felt3); }
.speed.medium { color: var(--amber); }
.speed.slow   { color: var(--red); }

/* Fee indicators */
.fee-none {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--felt3);
}

.fee-low {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brass);
}

.fee-varies {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--amber);
}

/* Privacy */
.privacy {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 600;
}

.privacy.high   { color: var(--felt3); }
.privacy.medium { color: var(--brass); }
.privacy.low    { color: var(--red); }

/* Availability dots */
.avail {
  display: flex;
  gap: 3px;
  align-items: center;
}

.avail-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.avail-label {
  font-size: 0.75rem;
  color: var(--ink3);
  margin-left: 4px;
}

.avail.high .avail-dot   { background: var(--felt3); }
.avail.medium .avail-dot { background: var(--brass); }
.avail.low .avail-dot    { background: var(--red); }

/* Empty availability dots (unfilled) */
.avail-dot.empty {
  background: var(--rule);
}

.table-cta {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--felt);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}

.table-cta:hover {
  color: var(--felt2);
}

.compare-footnote {
  font-size: 0.78rem;
  color: var(--ink4);
  margin-top: 10px;
}

/* ── Method Guide Cards ─────────────────────────────────────────── */

.methods-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.method-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.method-card-top {
  padding: 20px 22px 14px;
  border-bottom: 1px solid var(--rule);
}

.method-card-icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
  display: block;
}

.method-card-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.63rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--felt3);
  margin-bottom: 4px;
}

.method-card-name {
  font-family: 'Instrument Serif', serif;
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 5px;
  line-height: 1.2;
}

.method-card-verdict {
  font-size: 0.82rem;
  color: var(--ink3);
  line-height: 1.6;
}

.method-card-body {
  padding: 14px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.method-stat {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 6px;
  font-size: 0.79rem;
  align-items: baseline;
}

.method-stat-label {
  color: var(--ink4);
  font-weight: 500;
}

.method-stat-val {
  color: var(--ink2);
  font-weight: 600;
}

.method-stat-val.green { color: var(--felt3); }
.method-stat-val.amber { color: var(--amber); }
.method-stat-val.red   { color: var(--red); }

.method-card-footer {
  padding: 14px 22px 18px;
  border-top: 1px solid var(--rule);
  margin-top: auto;
}

.method-cta {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--felt);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.15s;
}

.method-cta:hover {
  color: var(--felt2);
  text-decoration: none;
}


/* Related section uses shared .section-felt + .related-* classes from base.css */

/* ── 600px breakpoint ───────────────────────────────────────────── */

@media (min-width: 600px) {
  .wt-card {
    padding: 24px 28px;
  }

  .wt-title {
    font-size: 1.4rem;
  }

  .methods-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── 900px breakpoint ───────────────────────────────────────────── */

@media (min-width: 900px) {
  .wt-card {
    grid-template-columns: 1fr auto;
    padding: 28px 32px;
    gap: 24px;
  }

  .wt-title {
    font-size: 1.6rem;
  }

  .methods-grid {
    grid-template-columns: repeat(3, 1fr);
  }

}
