.statisticCard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  width: 100%;
  padding: 1rem;
}

.statisticCardItem {
  background: #fff;
  box-shadow: 0 2px 8px 0 rgb(0 0 0 / 5%);
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  padding: 1.5rem;
  transition: all 0.3s ease;

  &:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 10%);
  }
}

.flexRoundSpace {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
}

.flexRoundLeft {
  color: #374151;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;

  .iconWrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    background-color: #eff6ff;
    color: #3b82f6;
  }

  .helpIcon {
    color: #9ca3af;
    cursor: help;
    transition: color 0.2s;

    &:hover {
      color: #6b7280;
    }
  }
}

.flexRoundRight {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  color: #6b7280;
  font-size: 0.875rem;

  .num {
    color: #2563eb;
    font-weight: 700;
    font-size: 2rem;
    line-height: 1;
  }
}

/* Mobile styles applied via root class `.is-mobile` */
:global(.is-mobile) .statisticCard {
  grid-template-columns: 1fr;
  padding: 0.5rem;
}

:global(.is-mobile) .statisticCardItem {
  padding: 1.25rem;
}

.statisticCard.dark {
  .statisticCardItem {
    background-color: #1f2937;
    border-color: #374151;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 30%);
  }

  .flexRoundLeft {
    color: #e5e7eb;

    .iconWrapper {
      background-color: #1e3a8a;
      color: #60a5fa;
    }
  }

  .flexRoundRight {
    color: #9ca3af;

    .num {
      color: #60a5fa;
    }
  }
}
