.container {
  display: flex;
  gap: 20px;
  margin: 30px auto;
  max-width: 1100px;
}

.sidebar {
  width: 220px;
  padding: 20px;
  height: 100%;
  background-color: #fff;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.sidebar h3 {
  margin-bottom: 15px;
  font-size: 1.2em;
  color: #ffc818;
}

.sidebar label {
  font-weight: bold;
  color: #555;
  margin-bottom: 5px;
  margin-top: 10px;
}

.sidebar select {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #f0f0f0;
  font-size: 1em;
  margin-top: 5px;
}

.main-content {
  flex-grow: 1;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  border: 1px solid #ddd;
  margin-bottom: 65px;
}

.search-bar {
  display: flex;
  position: relative;
  margin-bottom: 25px;
}

.search-bar input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px 0 0 5px;
  background-color: #f0f0f0;
  font-size: 1em;
}

.search-bar button {
  padding: 12px;
  border: 1px solid #ccc;
  border-left: none;
  background-color: #ffc818;
  color: #fff;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  transition: background-color 0.3s;
}

.search-bar button img {
  width: 16px;
  height: 16px;
}

.result .item {
  display: flex;
  align-items: center;
  padding: 15px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fff;
}
.result .item .info p {
  margin: 0;
  padding: 0;
  line-height: 1.2;
  cursor: pointer;
}

.thumbnail {
  width: 60px;
  height: 60px;
  background-color: #ccc;
  border-radius: 5px;
  margin-right: 20px;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 5px;
  margin-right: 20px;
}

.info {
  flex-grow: 1;
  color: #000000;
}

.clear-filters-btn {
  width: 100%;
  padding: 10px;
  background-color: #dddddd;
  color: #000;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  margin-top: 10px;
  transition: background-color 0.3s;
}

.confirm-filters-btn {
  width: 100%;
  padding: 10px;
  background-color: #ffc818;
  color: #000;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  margin-top: 10px;
  transition: background-color 0.3s;
}

.search-container {
  position: relative;
  width: 100%;
}

@media (max-width: 1200px) {
  .container {
    flex-direction: column;
    margin: 10px auto;
    width: 80%;
    max-width: 600px;
  }

  .sidebar {
    width: 90%;
    height: 100%;
    margin-bottom: 20px;
  }

  .main-content {
    width: 90%;
    margin: 10px auto;
    margin-bottom: 65px;
  }

  .result .item {
    flex-direction: row;
    align-items: center;
    margin: 10px auto;
  }

  .thumbnail {
    margin-right: 10px;
    margin-bottom: 0;
  }
}

#selected-filters {
  margin-top: 10px;
  margin-bottom: 5px;
}

.filter-tag {
  background-color: #ffc818;
  color: #000;
  border-radius: 20px;
  padding: 5px 15px;
  display: inline-block;
  align-items: center;
  font-size: 0.9em;
  font-weight: 500;
  transition: all 0.3s ease;
  width: fit-content;
  margin-bottom: 10px;
  margin-right: 8px;
}

.filter-tag .remove-tag {
  margin-left: 8px;
  cursor: pointer;
  color: #000;
  font-weight: bold;
  font-size: 1.2em;
  display: inline-block;
}