body {
  font-family: sans-serif;
  margin: 0;
}

.filters-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  gap: 20px;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  flex-grow: 1;
}

.buttons button {
  background-color: transparent;
  border: 1px solid #dadada;
  border-radius: 3px;
  color: #6e6d6d;
  padding: 12px 18px;
  font-family: arial, helvetica, sans-serif;
  font-size: 0.75rem;
  font-weight: bold;
  display: inline-block;
  width: auto;
  height: auto;
  margin: 0;
  cursor: pointer;
  line-height: 1;
  letter-spacing: 0.03em;
  white-space: normal;
  word-break: break-word;
  text-align: center;
  text-decoration: none;
  position: relative;
  text-transform: uppercase;
  transition: all 0.15s linear;
}

.buttons button.active {
  background-color: rgba(238, 102, 34, 1.0);
  border: 1px solid rgba(238, 102, 34, 1);
  color: rgba(255, 255, 255, 1);
}

#search-input {
  padding: 10px 15px;
  font-size: 0.85rem;
  border: 1px solid #dadada;
  border-radius: 4px;
  min-width: 200px;
  max-width: 250px;
  flex-shrink: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 20px;
  align-items: center;
  justify-items: center;
  
}

.card {
  background: #fff;
  padding: 16px;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s;
}

.card:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.company-logo {
  width: 100%;
  max-width: 100px;
  height: auto;
  transition: transform 0.3s ease;
}

.card:hover .company-logo {
  transform: scale(1.8);
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  }
  
@media (max-width: 768px) {
  /* Remove search input on mobile */
  #search-input {
    display: none;
  }

  .company-logo {
    max-width: 80px;
  }
}
