.boardgames-filter {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#boardgameFilterInput {
  flex: 1;
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.boardgame-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.boardgame-item {
  display: flex;
  gap: 15px;
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  align-items: flex-start;
}

.boardgame-image img {
  width: 150px;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

.boardgame-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.boardgame-name {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
}

.boardgame-desc {
  font-size: 1rem;
  color: #555;
}

.boardgame-note {
  font-size: 0.9rem;
  color: #666;
}

.boardgame-form {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.boardgame-form input[type="text"], .boardgame-form textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #bbb;
  border-radius: 6px;
}

.boardgame-form label {
  font-weight: bold;
}

.boardgame-form button {
  align-self: flex-start;
  background: #007bff;
  color: white;
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.boardgame-form button:hover {
  background: #0056b3;
}

.header {
  margin-bottom: 20px;
}

/* 🔁 Mobile Responsive Styles */
@media (max-width: 700px) {

.boardgame-image img {
  width: 100px;
}

}