.top-buttons table {
  margin: 0 auto;
  border-collapse: collapse;
  width: auto;
}

.top-buttons td, .top-buttons th {
  text-align: center;
  padding: 3px; /* less spacing between icons */
}

/* Smaller icons */
.top-buttons img {
  width: 28px;    /* reduced from 32px */
  max-width: 28px;
  height: auto;
}

/* Responsive: On narrow screens, switch to flex layout */
@media (max-width: 600px) {
  .top-buttons table,
  .top-buttons tbody,
  .top-buttons tr {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px; /* small gap between wrapped icons */
  }

  .top-buttons td, .top-buttons th {
    display: inline-block;
    padding: 4px;
  }
}
.icon-menu {
  display: flex;
  flex-direction: column;  /* stack rows */
  align-items: center;     /* center them */
  gap: 12px;
  margin: 20px auto;
}

.icon-row {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.icon-row img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.icon-row img:hover {
  transform: scale(1.1);
}

.ai-badges {
  margin: 15px 0;
  text-align: center;
}

.ai-badge {
  display: inline-block;
  background-color: #fff8dc;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 5px 10px;
  margin: 4px;
  font-family: Arial, sans-serif;
  font-weight: bold;
  color: #000;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
}

.ai-badge:hover {
  background-color: #f7e8b0;
}
