/* STARLINK PAYMENT SYSTEM v1.8.12 — Distinct premium KPI cards.
   Visual-only dashboard overrides; card contents and calculation logic remain unchanged. */

#appView .metric-grid > .metric-card:nth-child(1) {
  background:
    radial-gradient(circle at 100% 0%, rgba(117, 178, 255, .23), transparent 44%),
    linear-gradient(145deg, #245487 0%, #1b3c63 56%, #152c49 100%) !important;
  border-color: #527eae !important;
  box-shadow: 0 13px 30px rgba(5, 19, 39, .24), inset 0 1px 0 rgba(224, 239, 255, .11) !important;
}

#appView .metric-grid > .metric-card:nth-child(2) {
  background:
    radial-gradient(circle at 100% 0%, rgba(95, 224, 184, .2), transparent 44%),
    linear-gradient(145deg, #176052 0%, #17483f 56%, #14343a 100%) !important;
  border-color: #398b78 !important;
  box-shadow: 0 13px 30px rgba(5, 24, 29, .24), inset 0 1px 0 rgba(218, 255, 244, .1) !important;
}

#appView .metric-grid > .metric-card:nth-child(3) {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 194, 105, .2), transparent 44%),
    linear-gradient(145deg, #694821 0%, #4c3929 56%, #352d2d 100%) !important;
  border-color: #a47b48 !important;
  box-shadow: 0 13px 30px rgba(27, 18, 8, .24), inset 0 1px 0 rgba(255, 239, 214, .1) !important;
}

#appView .metric-grid > .metric-card:nth-child(4) {
  background:
    radial-gradient(circle at 100% 0%, rgba(183, 160, 255, .23), transparent 44%),
    linear-gradient(145deg, #4a3d7b 0%, #34345f 56%, #262b4b 100%) !important;
  border-color: #7568ad !important;
  box-shadow: 0 13px 30px rgba(13, 12, 34, .25), inset 0 1px 0 rgba(240, 234, 255, .11) !important;
}

/* Keep all KPI text crisp on the stronger backgrounds. */
#appView .metric-grid > .metric-card .metric-label,
#appView .metric-grid > .metric-card .metric-value {
  color: #ffffff !important;
}
#appView .metric-grid > .metric-card .metric-note,
#appView .metric-grid > .metric-card .metric-foot {
  color: #e0eaf8 !important;
}
#appView .metric-grid > .metric-card .metric-note.positive {
  color: #9af0d0 !important;
}

#appView .metric-grid > .metric-card:hover {
  filter: brightness(1.07) saturate(1.05);
  transform: translateY(-3px);
}

@media (max-width: 600px) {
  #appView .metric-grid > .metric-card {
    background-blend-mode: screen, normal;
  }
}
