/* search-filters.css - Search box and filter styles */

/* ============== SEARCH SECTION ============== */
.search-section {
  background: rgba(20, 21, 26, 0.95);
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 215, 0, 0.3);
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.search-box {
  width: 100%;
  padding: 0.8rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--primary-color);
  border-radius: 8px;
  color: var(--text-color);
  font-family: var(--font-base);
  margin-bottom: 1rem;
}

/* ============== FILTERS ============== */
.filter-section {
  margin: 15px 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.filter-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 5px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}

.filter-tag {
  background: transparent;
  border: 1px solid rgba(255, 215, 0, 0.4);
  color: var(--primary-color);
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-base);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 12px;
}

.filter-tag:hover {
  background: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

.filter-tag.active {
  background: var(--primary-color);
  color: var(--secondary-color);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* ============== COUNTRY FILTERS ============== */
.country-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 5px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}

.country-flag {
  width: 26px;
  height: 18px;
  object-fit: cover;
  border-radius: 3px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  filter: grayscale(30%);
}

.country-flag:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 5px rgba(255, 215, 0, 0.3);
  filter: grayscale(0%);
}

.country-flag.active {
  border-color: var(--primary-color);
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
  filter: grayscale(0%);
}

.country-flag.global-flag {
  filter: brightness(0.8);
  background-color: #2a2a2a;
  padding: 2px;
}

.country-flag.global-flag:hover {
  background-color: #3c3c3c;
  filter: brightness(1);
}

.country-flag.global-flag.active {
  background-color: var(--primary-color);
  filter: none;
}

/* Удалены стили сортировки, так как элемент больше не используется */