.analyzer-modal {
  display: inline-block;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  border-radius: 5px;
  padding: 10px;
  font-size: 20px;
  vertical-align: top;
  font-family: "Arial", sans-serif;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.stat-box {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); /* Adds a slight shadow for depth */
  transition: transform 0.2s ease-in-out, background-color 0.2s;
}

.stat-box:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: scale(1.05); /* Slight grow effect on hover */
}

.stat-label {
  font-weight: bold;
  height: auto;
}

.stat-value {
  margin-top: 5px;
  font-size: 17px;
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr; /* Stack boxes on smaller screens */
  }
}
