/* =============================
   1. GLOBAL
============================= */
body {
  font-family: 'Fira Sans Condensed', sans-serif;
  background: #f2f2f2;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* evita scroll lateral */
  background-color: #f5f5f5;
  padding-top: 40px; /* ajusta según altura del header */
}

/* =============================
   2. CONTENEDOR PRINCIPAL
============================= */
.flagdoku-container {
  max-width: 600px;
  width: 100%;
  margin: auto;
  padding: 16px;
  background: white;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* =============================
   3. ENCABEZADO (HEADLINE)
============================= */
.headline {
  background-color: rgba(33, 51, 46, 0.98);
  color: #fff;
  padding: 10px 20px;
  font-family: 'Fira Sans', sans-serif;
  font-weight: 600;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.headline-text {
  flex-grow: 1;
  text-align: left;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.headline-line {
  width: 100%;
  height: 1px;
  background-color: #fff;
}

/* =============================
   4. MENÚ Y ENLACES
============================= */
.menu-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-left: 10px;
  cursor: pointer;
  text-decoration: none;
  color: white;
  font-size: 10.5px;
  font-family: 'Fira Sans', sans-serif;
  line-height: 1;
}

.menu-link:hover { color: #25d96a; }
.menu-link .icon { font-size: 12px; line-height: 1; }
.menu-link .label { margin-top: 4px; }

/* =============================
   5. BÚSQUEDA Y FILTROS
============================= */
.search-input {
  width: 100%;  /* ocupa todo el ancho del bloque de filtros */
  margin: 12px 0;
padding: 8px 12px 8px 30px;
  font-size: 16.1px;
  border: 1px solid rgb(151, 151, 151);
  border-radius: 8px;
  background: #ffffff;
  display: block;
  box-sizing: border-box;
  font-family: 'Fira Sans Condensed';
}

/* para que herede ese ancho, mételo dentro del mismo contenedor que los botones */
.filters .search-input {
  flex: 1; /* se expande como los botones combinados */
}
/* Para pantallas grandes (PC) */
@media (min-width: 768px) {
  .search-input {
    max-width: 600px; /* ⬅️ más ancho en PC */
  }
}

.filters {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 8px;
  padding: 6px 2px;
  justify-content: flex-start;
  -webkit-overflow-scrolling: touch;
}

.filters::-webkit-scrollbar { height: 6px; }
.filters::-webkit-scrollbar-thumb {
  background: #c9c9c9;
  border-radius: 4px;
}

.dropdown-wrapper {
  flex: 0 0 auto;
  width: 120px;
  display: flex;
  justify-content: center;
}

.filter-btn {
  width: 100%;
  padding: 4px 2px;
  background: #dfeffc;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  font-family: 'Fira Sans Condensed', sans-serif;
  white-space: nowrap;
  text-align: center;
  height: 32px;
  line-height: 1.2;
  overflow: hidden;
}
/* Botones de filtros: fondo blanco, texto negro */
.filter-btn {
  background: #fff !important;
  color: #000 !important;
  border: 1px solid #ccc; /* mantiene el borde */
}

.filter-btn:hover {
  background: #f2f2f2 !important; /* ligero gris al pasar el ratón */
}

/* Dropdown */
/* Asegura que el contenedor padre es relativo */
.flagdoku-container {
  position: relative;
}

/* Dropdown adaptativo */
.dropdown-menu {
  position: absolute; /* antes fixed */
  left: 0;
  background: white;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding: 6px 0;
  max-height: 45vh;
  overflow-y: auto;
  display: none;
  z-index: 1001;

  width: 100%;        /* ocupa todo el contenedor */
  max-width: 360px;   /* límite en móvil */
}


/* Escritorio */
@media (min-width: 768px) {
  .dropdown-menu {
    max-width: 720px; /* más ancho en PC */
  }
}
.dropdown-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1000;
}
.dropdown-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.2);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;               /* no bloquea clics mientras está oculto */
  transition: opacity 50ms ease;     /* <- fade */
}

/* visible */
.dropdown-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;               /* bloquea clics detrás cuando está visible */
}

.dropdown-heading {
  padding: 6px 10px;
  font-size: 13px;
  font-weight: bold;
  background: #f4f4f4;
  border-top: 1px solid #ddd;
  color: #333;
}

.dropdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  font-size: 14px;
  gap: 10px;
}


/* base cerrado */
.dropdown-menu {
  transition: opacity 100ms ease, transform 100ms ease;
  opacity: 0;
  transform: translateX(var(--tx, 0)) translateY(-8px); /* --tx se setea en JS */
  pointer-events: none;
}

/* abierto */
.dropdown-menu.is-open {
  opacity: 1;
  transform: translateX(var(--tx, 0)) translateY(0);
  pointer-events: auto;
}

.option-label { flex: 1; font-size: 13px; }

/* =============================
   6. BOTONES Y CONTROLES
============================= */
/* Toggle switch */
.binary-switch {
  position: relative;
  width: 42px;
  height: 22px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  padding: 2px;
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(255,255,255,0.75), rgba(255,255,255,0.35));
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.8),
    inset 0 -1px 2px rgba(0,0,0,0.06),
    0 1px 4px rgba(0,0,0,0.06);
  backdrop-filter: saturate(180%) blur(4px);
  transition: background 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.switch-true {
  background:
    linear-gradient(180deg, #d5f8d5, #b7e6b7); /* verde suave tipo label */
  border-color: rgba(21, 94, 21, 0.35); /* borde verde oscuro tipo texto */
}

.switch-false {
  background:
    linear-gradient(180deg, #ffd6d6, #f5bcbc); /* rojo suave tipo label */
  border-color: rgba(179, 0, 0, 0.35); /* borde rojo oscuro tipo texto */
}
.switch-false {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.75), rgba(255,255,255,0.35)),
    linear-gradient(90deg, #f87171, #ef4444);
  border-color: rgba(239, 68, 68, 0.35);
}
.switch-null {
  background: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(245,245,245,0.65));
  border-color: rgba(0,0,0,0.08);
}

.switch-knob {
  position: absolute;
  top: 1px;
  left: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background:
    radial-gradient(120% 120% at 30% 30%, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 60%, rgba(255,255,255,0.55) 100%),
    linear-gradient(180deg, #ffffff, #f2f2f2);
  box-shadow:
    0 1px 2px rgba(0,0,0,0.08),
    0 3px 6px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.9);
  transition: transform 200ms cubic-bezier(.2,.8,.2,1), width 120ms ease;
}

.switch-true .switch-knob { transform: translateX(20px); }
.switch-false .switch-knob { transform: translateX(0); }
.switch-null .switch-knob { transform: translateX(0); }

.binary-switch:active .switch-knob { width: 20px; }

.switch-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: 700;
  pointer-events: none;
}

/* ✔ visible y verde */
.switch-true .switch-icon {
  left: 6px; /* lado opuesto al knob */
  color: #155e15; /* mismo verde que .tag.green */
}

/* ✖ visible y roja */
.switch-false .switch-icon {
  right: 3px; /* lado opuesto al knob */
  color: #b30000; /* mismo rojo que .tag.red */
}
.switch-null .switch-icon { color: rgba(0,0,0,0.45); }

.clear-btn {
  background: #f6f6f6;
  border: none;
  width: 100%;
  padding: 8px;
  font-size: 13px;
  text-align: center;
  border-bottom: 1px solid #ccc;
  cursor: pointer;
  color: #b00000;
}
.clear-btn:hover { background: #fbeaea; }

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 16px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 13px;
  gap: 4px;
  white-space: nowrap;
}
.tag button {
  background: none;
  border: none;
  font-size: 14px;
  cursor: pointer;
  color: inherit;
}
.tag.green { background: #d5f8d5; color: #155e15; }
.tag.red { background: #ffd6d6; color: #b30000; }

.search-btn {
  margin: 16px 0;
  width: 100%;
  padding: 10px;
  background: #003949;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
  font-family: 'Fira Sans Condensed', sans-serif;
}

/* =============================
   7. LISTA DE BANDERAS
============================= */
.flag-list { margin-top: 1em; }
.flag-items {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 1em;
  
}

.flag-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px;
  background-color: #fff;
  border-bottom: 1px solid #bbb; /* más oscuro */
  border-radius: 6px;
}

.flag-content {
  display: flex;
  align-items: center;
  width: 100%;
}

.flag-img {
  width: 51.81px;
  height: 36.94px;
  object-fit: fill;
  border: 1.5px solid black;
  border-radius: 4px;
  background-color: white;
  margin-right: 20px;
  cursor: pointer;
  aspect-ratio: 3 / 2;
}

.flag-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.flag-name {
  font-size: 1em;
  font-weight: 600;
  color: #111;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.flag-subtitle { font-size: 0.9em; color: #888; }
/* 1) Deja que el texto pueda encogerse dentro de flex/grid */
/* 1) Deja que el texto pueda encogerse dentro del flex/grid */
.flag-content .flag-text,
.subflag-item .flag-text {
  min-width: 0; /* imprescindible para que el recorte funcione */
}

/* 2) Descripción en máximo 2 líneas con elipsis */
.flag-subtitle {
  display: -webkit-box;        /* comportamiento de caja flexible vertical */
  -webkit-line-clamp: 2;       /* máximo de 2 líneas */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
  max-width: 100%;
  cursor: pointer
}

/* (opcional) Para sub-listas de banderas, lo mismo */
.subflag-item .flag-subtitle {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* 3) Asegura que el contenedor general no bloquee el recorte */
.flag-text { max-width: 100%; }
/* =============================
   8. MODAL DE BANDERA
============================= */
#flagOverlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9998;
}

#flagModal {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 12px;
  padding: 20px;
  z-index: 9999;
  width: 90vw;
  max-width: 350px;
  max-height: 480px;
  min-height: 480px;
  overflow-y: auto;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  font-family: 'Fira Sans Condensed', sans-serif;
  text-align: center;
}

.flag-title {
  margin-top: 0;
  font-size: 18px;
  font-weight: bold;
}

.flag-image {
  width: 240px;
  height: auto;
  display: block;
  margin: 12px auto;
  border-radius: 7px;
  border: 2px solid black;
  cursor: pointer;
}

.flag-details-list {
  list-style: none;
  padding: 0;
  margin: 12px 0;
  text-align: left;
}
.flag-details-list li {
  margin-bottom: 3px;
  line-height: 1.1;
  font-size: 13px;
  color: rgb(56, 56, 56);
}

.flag-description {
  font-size: 80;
  text-align: justify;
  line-height: 1.3;
  margin-bottom: 10px;
}

* Botonera debajo de la imagen */
.link-actions {
  display: flex;
  gap: 8px;
  margin: 6px 0 12px;
  justify-content: flex-start; /* a la izquierda */
  flex-wrap: wrap;             /* por si no caben */
}

/* Botones estilo sort-select/dropdown */
.wiki-link-btn {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #f5f5f5;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 6px 10px; /* 🔹 antes 8px 12px */
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
  color: #111827;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(16,24,40,.06);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
  font-family: 'Fira Sans Condensed', sans-serif;
}

.wiki-link-btn:hover {
  background-color: #ffffff;
  border-color: #9ca3af;              /* hover del sort-select */
}

.wiki-link-btn:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);  /* focus ring */
}

/* Versión compacta en móvil */
@media (max-width: 420px) {
  .wiki-link-btn {
    padding: 5px 8px; /* 🔹 más compacto en móvil */
    font-size: 11px;
  }
}
.flag-buttons {
  display: flex;
  justify-content: flex-end; /* 🔹 alineados a la derecha */
  gap: 6px;
  margin-top: 8px; /* pegados a la imagen */
}

.flag-buttons .wiki-link-btn {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #f5f5f5;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 6px 10px; /* un pelín más bajo */
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
  color: #111827;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(16,24,40,.06);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
  font-family: 'Fira Sans Condensed', sans-serif;
}

@media (max-width: 420px) {
  .flag-buttons .wiki-link-btn {
    padding: 5px 8px;
    font-size: 10px;
  }
}


.flag-close-btn {
  margin-top: 12px;
  padding: 6px 14px;
  background-color: #004a35;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.flag-close-btn:hover { background-color: #00664e; }

.flag-close-x {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  font-weight: bold;
  z-index: 10000;
}
.flag-close-x:hover { color: #000; }

.flag-color-toast {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 7px 12px;
  border-radius: 5px;
  font-size: 13.5px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease-in-out;
  font-family: 'Fira Sans Condensed', sans-serif;
}

/* =============================
   9. OTROS ELEMENTOS
============================= */
.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 4px;
  font-size: 18px;
  font-weight: bold;
}



.sort-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #f5f5f5;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 8px 40px 8px 12px; /* ↑ más padding vertical */
  font-size: 14px;
  line-height: 1.4;           /* ↑ más altura de línea */
  font-weight: 500;
  color: #111827;
  cursor: pointer;
  font-family: 'Fira Sans Condensed', sans-serif;
  background-image: url("data:image/svg+xml,%3Csvg fill='none' stroke='%236B7280' stroke-width='2' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;     /* asegura que padding no desborde */
}

.sort-select option {
  padding: 8px 12px;          /* ↑ más aire dentro de cada opción */
}

.sort-select:hover {
  border-color: #9ca3af;
}

.sort-select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
}







.expand-btn {
  border: none;
    color: black !important;
  background-color: #f3f3f3;
  font-size: 18px;
  padding: 2px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s ease;
  width: 28px;
  min-width: 28px;
  max-width: 28px;
  text-align: center;
  justify-self: end;
  box-sizing: border-box;
  overflow: hidden;
}
.expand-btn.expanded { transform: rotate(45deg); }

.subflag-list {
  display: none;
  border-left: 2px solid #ddd;
  padding-left: 8px;
  font-size: 12px;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}
.subflag-list.visible { display: block; }

.subflag-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 6px;
  margin: 4px 0;
  padding: 4px 8px;
  font-size: 14px;
  border-bottom: 1px solid #eee;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.subflag-wrapper {
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* =============================
   10. RESPONSIVE
============================= */
@media (min-width: 500px) {
  .dropdown-wrapper { flex: 1 1 18%; }
}



/* 0) Revert: NO le pongas z-index al contenedor padre */
.flagdoku-container {
  position: relative;   /* ok */
  z-index: auto;        /* <- o elimina la línea de z-index si la tenías */
}

/* 1) Capas: header < overlay < dropdown */
.headline { z-index: 800; }              /* por debajo del overlay */

.dropdown-overlay { z-index: 10000; }    /* capa oscura para cerrar */
.dropdown-menu    { z-index: 10001; }    /* SIEMPRE por encima del overlay */

/* 2) Posición y tamaño del dropdown */
.dropdown-menu {
  top: 56px; /* debajo del header fijo */
}

/* MOBILE: dropdown centrado y acotado */
@media (max-width: 767px) {
  .dropdown-menu {
    position: fixed !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: min(92vw, 420px) !important;   /* evita que se haga “ultra horizontal” */
    max-width: 92vw !important;
    max-height: 50vh !important;
    overflow-y: auto !important;
  }
}



/* ⚡️ Haz el overlay más rápido */
.dropdown-overlay {
  transition: opacity 30ms ease;   /* antes 160ms */
}

/* ⚡️ Dropdown más ágil y con pipeline GPU */
.dropdown-menu {
  transition: opacity 30ms ease, transform 70ms ease; /* antes 100ms */
  will-change: transform, opacity;                    /* precompón */
  transform: translateX(var(--tx, 0)) translateY(-6px) translateZ(0); /* activa GPU */
}

/* Al abrir, solo mueve 6px (menos repintado) */
.dropdown-menu.is-open {
  transform: translateX(var(--tx, 0)) translateY(0) translateZ(0);
}

/* Si quieres “instantáneo”, sin animaciones: */
.dropdown-overlay,
.dropdown-menu { transition: none !important; }





/* Contenedor del toggle */
.results-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid #d0d5dd;
  border-radius: 999px;
  padding: 2px;
  background: #f8fafc;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}

/* Botones */
.tab-btn {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 8px 14px;
  font: 600 13.5px/1.1 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #334155;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, transform .02s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* “Pill” del contador */
.tab-btn .pill {
  display: inline-block;
  min-width: 22px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #0f172a;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
}

/* Estado activo */
.tab-btn.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 1px 2px rgba(16,24,40,.06);
}

/* Pill en activo */
.tab-btn.active .pill {
  background: #0ea5e9;
  color: #ffffff;
}

/* Hover/focus */
.tab-btn:hover { background: rgba(255,255,255,.8); }
.tab-btn:active { transform: translateY(1px); }

/* Responsive */
@media (max-width: 520px) {
  .tab-btn { padding: 8px 12px; font-size: 13px; }
}


/* Botón go-up, estilo tipo sort-select/dropdown */
#goUpBtn {
  position: fixed;
  left: 50%;
  top: max(70px, env(safe-area-inset-top, 70px)); /* Bastante más abajo */
  transform: translate(-50%, -8px);
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.15); /* borde sutil */
  background-color: rgba(245, 245, 245, 0.85); /* fondo gris claro semitransparente */
  backdrop-filter: blur(6px); /* efecto vidrio */
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  cursor: pointer;
  z-index: 10005;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  opacity: 0;
  font-family: 'Fira Sans Condensed', sans-serif;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease, background-color 0.2s ease, border-color 0.2s ease;
}

/* Visible al hacer scroll */
#goUpBtn.show {
  opacity: 0.95;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

#goUpBtn:hover {
  background-color: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.25);
}

#goUpBtn:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
}

@media (prefers-reduced-motion: reduce) {
  #goUpBtn { transition: none; }
  html { scroll-behavior: auto; }
}





.filters .dropdown-wrapper { width: 100px !important; flex: 0 0 100px !important; }
.filters .filter-btn { width: 100% !important; }

.dropdown-menu { transition: opacity 30ms ease; transform: none; }
.dropdown-menu.is-open { transform: none; }


