/* ============================================================
   THF BuddyPress Bridge — Styles
   Skins BuddyPress components to match Poize dark theme
   ============================================================ */

/* ── Section wrappers ─────────────────────────────────────── */
.thf-bp-section { padding: 4px 0 20px; }

.thf-bp-section-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ecdbcb;
  border-bottom: 1px solid #2e2e2e;
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-family: 'Anton', Impact, sans-serif;
}

/* ── Member header on Family Info tab ─────────────────────── */
.thf-bp-member-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.thf-bp-member-name {
  font-family: 'Anton', Impact, sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #f1f0eb;
  margin: 0 0 4px;
}
.thf-bp-malayalam {
  font-size: 15px;
  color: #ecdbcb;
  margin: 0 0 8px;
  font-family: 'Noto Sans Malayalam', sans-serif;
}

/* ── Info blocks ──────────────────────────────────────────── */
.thf-bp-info-block {
  background: #1c1d1d;
  border: 1px solid #2e2e2e;
  border-radius: 4px;
  padding: 16px 20px;
  margin-bottom: 14px;
}
.thf-bp-info-block h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #ecdbcb;
  margin: 0 0 12px;
  font-family: 'Anton', Impact, sans-serif;
  border-bottom: 1px solid #2e2e2e;
  padding-bottom: 8px;
}
.thf-bp-info-block dl { margin: 0; }
.thf-bp-info-block dt {
  font-size: 11px;
  font-weight: 600;
  color: #6b6b6b;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-top: 10px;
  margin-bottom: 2px;
}
.thf-bp-info-block dt:first-child { margin-top: 0; }
.thf-bp-info-block dd {
  font-size: 14px;
  color: #f1f0eb;
  margin-left: 0;
}

/* Relatives list */
.thf-bp-relatives ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.thf-bp-relatives li {
  font-size: 14px;
  color: #9a9a9a;
  margin-bottom: 6px;
}
.thf-bp-relatives li strong {
  color: #f1f0eb;
  margin-right: 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .8px;
}
.thf-bp-relatives a {
  color: #ecdbcb;
  text-decoration: none;
  border-bottom: 1px solid rgba(236,219,203,.25);
  margin-right: 6px;
}
.thf-bp-relatives a:hover { border-bottom-color: #ecdbcb; }

/* Social links */
.thf-bp-social { display: flex; gap: 8px; margin-top: 12px; }

/* ── Tree intro line ──────────────────────────────────────── */
.thf-bp-tree-intro {
  color: #9a9a9a;
  font-size: 13px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Mini tree wrap (profile) */
.thf-bp-mini-tree { margin-top: 0; }

/* Tree caption in toolbar */
.thf-tree-caption {
  font-size: 11px;
  color: #555;
  margin-left: auto;
}

/* ── No-member state ──────────────────────────────────────── */
.thf-bp-no-member {
  background: #1c1d1d;
  border: 1px solid #2e2e2e;
  border-radius: 4px;
  padding: 24px;
  text-align: center;
  color: #9a9a9a;
}
.thf-bp-no-member p { margin-bottom: 14px; }

/* ── Pending approval page ─────────────────────────────────── */
.thf-pending-notice {
  max-width: 560px;
  margin: 40px auto;
  background: #1c1d1d;
  border: 1px solid #2e2e2e;
  border-radius: 4px;
  padding: 36px;
  text-align: center;
  color: #9a9a9a;
}
.thf-pending-notice h2 {
  font-family: 'Anton', Impact, sans-serif;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ecdbcb;
  margin-bottom: 16px;
}
.thf-pending-notice p { color: #9a9a9a; line-height: 1.7; }

/* ── BP Nav tab overrides (Poize dark) ────────────────────── */
#buddypress #thf-family-tree-tab a,
#buddypress #thf-family-info-tab a {
  font-family: 'Anton', Impact, sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ── Small button variant ─────────────────────────────────── */
.thf-btn--small {
  padding: 4px 10px;
  font-size: 10px;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 600px) {
  .thf-bp-tree-intro { flex-direction: column; align-items: flex-start; gap: 8px; }
  .thf-bp-info-block { padding: 12px; }
}
