/* ============================================================
   Clickfu — Apps page (apps.html) modern SVG icons
   Tweaks .app-icon to host inline SVG cleanly + matches the
   homepage tool-grid look (lime-tinted tile, hover brightens).
   ============================================================ */

.app-card .app-icon {
  /* Override emoji-era font-size so it doesn't push the SVG */
  font-size: 0;
  /* Lime-tinted gradient matching homepage tool-icon */
  background: linear-gradient(
    145deg,
    rgba(198, 255, 61, 0.10) 0%,
    rgba(255, 255, 255, 0.02) 60%
  );
  border: 1px solid rgba(198, 255, 61, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s ease, background 0.2s ease,
              transform 0.2s ease;
}

.app-card .app-icon svg {
  display: block;
  width: 26px;
  height: 26px;
  overflow: visible;
}

/* Brighten icon tile when its card is hovered (matches tool-grid) */
.app-card:hover .app-icon {
  border-color: rgba(198, 255, 61, 0.45);
  background: linear-gradient(
    145deg,
    rgba(198, 255, 61, 0.18) 0%,
    rgba(255, 255, 255, 0.03) 60%
  );
  transform: translateY(-1px);
}

[data-theme="light"] .app-card .app-icon {
  background: linear-gradient(145deg,
    rgba(198, 255, 61, 0.15) 0%,
    rgba(0, 0, 0, 0.02) 60%);
  border-color: rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .app-card .app-icon svg [stroke="#7d8290"] {
  stroke: #4a5160;
}
