#fsa-container {
  max-width: 1200px;
  margin: 30px auto;
  padding: 10px;
  font-family: "Segoe UI", Roboto, sans-serif;
}

#fsa-search {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 25px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.03) inset;
  transition: border-color 0.3s;
}

#fsa-search:focus {
  border-color: #4caf50;
  outline: none;
}

.fsa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.fsa-card {
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  border-left: 5px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}

.fsa-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border-left-color: #4caf50;
}

.fsa-card h3 {
  margin: 10px 0 6px;
  font-size: 1.1rem;
  color: #333;
}

.fsa-card p {
  margin: 4px 0;
  color: #555;
  font-size: 0.95rem;
}

.fsa-img {
  width: 100%;
  height: auto;
  max-height: 160px;
  object-fit: cover;
  margin-bottom: 10px;
  border-radius: 10px;
  border: 1px solid #eee;
}

.fsa-badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  border-radius: 50px;
  margin-top: 12px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fsa-badge-green {
  background: #4caf50;
}

.fsa-badge-orange {
  background: #ff9800;
}

.fsa-badge-red {
  background: #f44336;
}

.fsa-badge-warning {
  background: #ffc107;
  color: #000;
}

@media screen and (max-width: 600px) {
  #fsa-container {
    padding: 10px;
  }

  .fsa-card {
    padding: 12px;
  }

  #fsa-search {
    font-size: 0.95rem;
    padding: 10px 12px;
  }
}
