/* ================================================================
   PMS Funds — Extended Stylesheet (add-on to aif-shared.css)
   AltWealth | Portfolio Management Services
   ================================================================ */

/* PMS-specific card extension: Performance table */
.card-perf-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 10px 18px 14px;
  gap: 0;
}
.cp-item { text-align: center; }
.cp-item:not(:last-child) {
  border-right: 1px solid var(--s100);
  padding-right: 6px;
}
.cp-item:not(:first-child) { padding-left: 6px; }
.cp-val {
  font-size: .82rem;
  font-weight: 800;
  color: var(--navy);
  display: block;
  line-height: 1.2;
}
.cp-val.pos  { color: var(--green); }
.cp-val.neg  { color: var(--red); }
.cp-label {
  font-size: .6rem;
  font-weight: 600;
  color: var(--s400);
  text-transform: uppercase;
  letter-spacing: .04em;
  display: block;
  margin-top: 2px;
}

/* PMS Strategy badge */
.strategy-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(201,168,76,.1);
  border: 1px solid rgba(201,168,76,.25);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: .65rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 4px;
}
.strategy-badge i { font-size: .62rem; }

/* SEBI registration strip */
.sebi-strip {
  background: linear-gradient(90deg, rgba(10,147,150,.07), rgba(13,27,42,.04));
  border-bottom: 1px solid rgba(10,147,150,.15);
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .68rem;
  color: var(--s500);
}
.sebi-strip i { color: var(--teal); font-size: .72rem; }
.sebi-strip strong { color: var(--navy); }

/* Benchmark compare tag */
.bench-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .65rem;
  color: var(--s400);
  font-weight: 600;
}
.bench-tag i { font-size: .6rem; }

/* PMS category label in hero */
.pms-category-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(13,27,42,.5);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: .75rem;
  color: rgba(255,255,255,.7);
  font-weight: 600;
  margin-bottom: 12px;
}

/* Comparison bar for benchmark */
.vs-bench {
  padding: 10px 18px 0;
}
.vs-bench-label {
  font-size: .62rem;
  font-weight: 600;
  color: var(--s400);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 6px;
}
.vs-bench-bars { display: flex; gap: 8px; align-items: flex-end; height: 32px; }
.bench-bar-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.bench-bar-fill-wrap { width: 100%; background: var(--s100); border-radius: 4px 4px 0 0; height: 28px; display: flex; align-items: flex-end; }
.bench-bar-inner { width: 100%; border-radius: 4px 4px 0 0; }
.bench-bar-fund  .bench-bar-inner { background: var(--navy); }
.bench-bar-nifty .bench-bar-inner { background: var(--s300); }
.bench-bar-label-text { font-size: .58rem; color: var(--s400); font-weight: 600; white-space: nowrap; }

/* Expand on hover glow ring */
.fund-card:hover {
  box-shadow: 0 12px 40px rgba(13,27,42,.12), 0 2px 8px rgba(13,27,42,.06), 0 0 0 1px rgba(201,168,76,.08);
}
.fund-card.featured:hover {
  box-shadow: 0 12px 40px rgba(13,27,42,.15), 0 0 0 2px rgba(201,168,76,.25);
}
