/* Premium lightweight UI components (shared) */
:root{
  --cf-card-bg: rgba(255,255,255,.06);
  --cf-card-brd: rgba(255,255,255,.10);
  --cf-card-brd2: rgba(255,255,255,.14);
  --cf-card-shadow: 0 18px 60px rgba(0,0,0,.35);
  --cf-radius: 18px;
}

.cf-card{
  background: var(--cf-card-bg);
  border: 1px solid var(--cf-card-brd);
  border-radius: var(--cf-radius);
  box-shadow: var(--cf-card-shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
}
.cf-card-h{
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.cf-card-h .cf-card-title{
  font-weight: 900;
  letter-spacing: .01em;
}
.cf-card-b{ padding: 16px; }

.cf-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
}

/* Table / list wrapper (mobile-safe) */
.cf-table-wrap{
  width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}
.cf-table{
  width:100%;
  border-collapse: collapse;
  min-width: 520px; /* keeps columns readable; scrolls on mobile */
}
.cf-table th, .cf-table td{
  padding: 12px 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  white-space: nowrap;
}
.cf-table th{
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.70);
}
.cf-table tr:last-child td{ border-bottom: 0; }

/* Mobile-first: make cards breathe */
@media(max-width: 560px){
  .cf-card-h{ padding: 12px 14px; }
  .cf-card-b{ padding: 14px; }
}
