/* ── Filter Dropdown ── */
.filter-dropdown {
  position: fixed;
  top: 3.6rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  border: 1px solid #e0e0e0;
  z-index: 1000;
  min-width: 260px;
  padding: 0.5rem 0;
  animation: fdropIn 0.15s ease both;
}

@keyframes fdropIn {
  from { opacity: 0; transform: translateY(-6px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.filter-dropdown__section {
  border-bottom: 1px solid #f0f0f0;
}
.filter-dropdown__section:last-of-type {
  border-bottom: none;
}

.filter-dropdown__section-btn {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #374151;
  transition: background 0.1s;
}
.filter-dropdown__section-btn:hover { background: #f9fafb; }
.filter-dropdown__section-btn--open { color: #1d4ed8; }
.filter-dropdown__section-btn--open .filter-dropdown__chevron {
  transform: rotate(180deg);
}

.filter-dropdown__chevron {
  transition: transform 0.2s;
  color: #9ca3af;
  flex-shrink: 0;
}

.filter-dropdown__options {
  padding: 0.25rem 0.75rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  max-height: 180px;
  overflow-y: auto;
}

.filter-dropdown__checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #374151;
  cursor: pointer;
  padding: 0.3rem 0.25rem;
  border-radius: 5px;
  transition: background 0.1s;
}
.filter-dropdown__checkbox-label:hover { background: #f3f4f6; }

.filter-dropdown__checkbox-label input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: #4095f6;
  flex-shrink: 0;
}

.filter-dropdown__flag {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}

.filter-dropdown__empty {
  font-size: 0.78rem;
  color: #9ca3af;
  font-style: italic;
  padding: 0.25rem 0;
}

.filter-dropdown__footer {
  padding: 0.6rem 1rem;
  border-top: 1px solid #f0f0f0;
  display: flex;
  justify-content: flex-end;
}

/* ── List view toolbar (below nav) ── */
.list-view-toolbar {
  padding: 0.6rem 1.5rem;
  display: flex;
  justify-content: flex-end;
  border-bottom: 1px solid #f0f0f0;
  background: white;
  flex-shrink: 0;
}

.list-view-toolbar__inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  max-width: 780px;
  width: 100%;
  justify-content: flex-start;
}

.list-view-toolbar__label {
  font-size: 0.78rem;
  font-weight: 500;
  color: #6b7280;
  white-space: nowrap;
  flex-shrink: 0;
}

.list-view-toolbar__group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-reviews-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 14px;
  font-weight: 600;
  color: #4b5563;
  padding: 6px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: all 0.16s ease;
}
.nav-reviews-toggle:hover,
.nav-reviews-toggle:focus-within {
  border-color: #cbd5e1;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}
.nav-reviews-toggle span:first-child {
  color: #111827;
  font-weight: 600;
}
.nav-reviews-toggle .nav-ios-toggle {
  transform: scale(0.92);
}

select.nav-list-sort,
.nav-past-toggle-wrap {
  height: 36px;
}

#event-list-view-container {
  max-width: 780px;
  width: 100%;
  margin: 0 auto;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
