/**
 * @file
 * NodeHive Apps overview page styles.
 *
 * Uses Gin theme CSS variables for colors so dark mode works automatically.
 */

.nh-apps {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem 0;
}

.nh-apps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.nh-apps__card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--gin-border-radius, 8px);
  border: 1px solid var(--gin-border-color, #d4d4d8);
  background: var(--gin-bg-layer, #fff);
  text-decoration: none;
  color: var(--gin-color-text, #1b1b1f);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.nh-apps__card:hover {
  border-color: var(--gin-color-primary, #003ecc);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: var(--gin-color-text, #1b1b1f);
}

.nh-apps__card-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--gin-border-radius, 8px);
  background: var(--gin-bg-layer2, #f4f4f5);
  color: var(--gin-color-primary, #003ecc);
}

.nh-apps__card-icon svg {
  width: 22px;
  height: 22px;
}

.nh-apps__card-content {
  flex: 1;
  min-width: 0;
}

.nh-apps__card-title {
  margin: 0 0 0.25rem;
  font-size: 0.938rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--gin-color-text, #1b1b1f);
}

.nh-apps__card-description {
  margin: 0;
  font-size: 0.813rem;
  line-height: 1.5;
  color: var(--gin-color-text-light, #70707b);
}

.nh-apps__empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--gin-color-text-light, #70707b);
}
