/* css.gg icons — MIT License https://css.gg */

.gg-icon {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.nav-svg.gg-icon {
  width: 20px;
  height: 20px;
  color: currentColor;
  fill: currentColor;
}

/* ——— Stat cards: icon kiri + label/value kanan (referensi dashboard) ——— */
.summary-grid .stat-card {
  flex-direction: row;
  align-items: center;
  gap: var(--space-4);
  text-align: left;
  padding: var(--space-4) var(--space-5);
}

.stat-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.stat-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md, 10px);
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: #cbd5e1;
}

.stat-icon .gg-icon {
  width: 22px;
  height: 22px;
  color: inherit;
  fill: currentColor;
}

.stat-icon .gg-icon use {
  fill: currentColor;
}

.stat-card .stat-label {
  line-height: 1.35;
}

.stat-card .stat-value {
  font-size: 1.5rem;
  line-height: 1.2;
}

.stat-card.stat-safe .stat-icon {
  color: var(--safe);
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.22);
}

.stat-card.stat-review .stat-icon {
  color: var(--review);
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.22);
}

.stat-card.stat-disavow .stat-icon {
  color: var(--disavow);
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.22);
}

.stat-card:hover .stat-icon {
  border-color: rgba(148, 163, 184, 0.28);
}

.empty-state .empty-svg.gg-icon {
  width: 48px;
  height: 48px;
}

@media (max-width: 520px) {
  .stat-icon {
    width: 38px;
    height: 38px;
  }

  .stat-icon .gg-icon {
    width: 18px;
    height: 18px;
  }

  .stat-card .stat-value {
    font-size: 1.25rem;
  }
}
