.tdx-find-filters { --tdx-ff-bg: #1f1f1f; --tdx-ff-panel: #252528; --tdx-ff-border: rgba(255, 255, 255, 0.1); --tdx-ff-text: #f0f0f0; --tdx-ff-muted: #9a9a9a; --tdx-ff-accent: var(--color-accent, #ff5e62); margin: 0 0 24px; position: relative; z-index: 20; } .tdx-find-filters__bar { display: flex; align-items: stretch; justify-content: space-between; gap: 8px; padding: 6px; border: 1px solid var(--tdx-ff-border); border-radius: 14px; background: var(--tdx-ff-bg); flex-wrap: wrap; } .tdx-find-filters__left, .tdx-find-filters__right { display: flex; align-items: stretch; gap: 4px; flex-wrap: wrap; } .tdx-find-filter { position: relative; } .tdx-find-filter__btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--tdx-ff-text); font-size: 13px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: background 0.15s ease, border-color 0.15s ease; } .tdx-find-filter__btn:hover, .tdx-find-filter.is-open .tdx-find-filter__btn, .tdx-find-filter.has-value .tdx-find-filter__btn { background: rgba(255, 255, 255, 0.06); border-color: var(--tdx-ff-border); } .tdx-find-filter__btn svg { width: 16px; height: 16px; opacity: 0.85; } .tdx-find-filter__chevron { width: 14px !important; height: 14px !important; opacity: 0.55; transition: transform 0.15s ease; } .tdx-find-filter.is-open .tdx-find-filter__chevron { transform: rotate(180deg); } .tdx-find-filter__badge { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--tdx-ff-accent); color: #fff; font-size: 11px; font-weight: 700; line-height: 1; } .tdx-find-filter__badge[hidden] { display: none !important; } .tdx-find-filter__panel { position: absolute; top: calc(100% + 8px); left: 0; width: min(420px, calc(100vw - 32px)); max-height: min(460px, 70vh); display: flex; flex-direction: column; border: 1px solid var(--tdx-ff-border); border-radius: 14px; background: var(--tdx-ff-panel); box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45); overflow: hidden; z-index: 40; } .tdx-find-filter__panel[hidden] { display: none !important; } .tdx-find-filter--sort .tdx-find-filter__panel, .tdx-find-filters__right .tdx-find-filter__panel { left: auto; right: 0; width: 220px; } .tdx-find-filter__panel--compact { width: 280px; max-height: none; } .tdx-find-filter__panel--blacklist { width: min(460px, calc(100vw - 32px)); } .tdx-find-filter__search { display: flex; align-items: center; gap: 8px; margin: 12px 12px 0; padding: 0 12px; height: 40px; border: 1px solid var(--tdx-ff-border); border-radius: 10px; background: rgba(0, 0, 0, 0.25); } .tdx-find-filter__search svg { width: 15px; height: 15px; color: var(--tdx-ff-muted); flex-shrink: 0; } .tdx-find-filter__search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--tdx-ff-text); font-size: 13px; outline: none; } .tdx-find-filter__search input::placeholder { color: var(--tdx-ff-muted); } .tdx-find-filter__body { flex: 1; overflow: auto; padding: 12px; min-height: 120px; max-height: 300px; } .tdx-find-filter__chips { display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; } .tdx-find-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border: 1px solid var(--tdx-ff-border); border-radius: 999px; background: rgba(255, 255, 255, 0.04); color: var(--tdx-ff-text); font-size: 12px; cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease; } .tdx-find-chip:hover { background: rgba(255, 255, 255, 0.08); } .tdx-find-chip.is-active { border-color: var(--tdx-ff-accent); background: rgba(255, 94, 98, 0.14); color: #fff; } .tdx-find-chip.is-disabled { opacity: 0.35; pointer-events: none; } .tdx-find-chip__count { color: var(--tdx-ff-muted); font-variant-numeric: tabular-nums; } .tdx-find-chip.is-active .tdx-find-chip__count { color: rgba(255, 255, 255, 0.7); } .tdx-find-chip--quick .tdx-find-chip__plus { color: var(--tdx-ff-muted); font-weight: 700; } .tdx-find-filter__checks { display: flex; flex-direction: column; gap: 2px; } .tdx-find-check { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--tdx-ff-text); font-size: 13px; text-align: left; cursor: pointer; } .tdx-find-check:hover { background: rgba(255, 255, 255, 0.05); } .tdx-find-check.is-active { background: rgba(255, 94, 98, 0.1); } .tdx-find-check__box { width: 16px; height: 16px; border: 1.5px solid rgba(255, 255, 255, 0.28); border-radius: 4px; flex-shrink: 0; position: relative; } .tdx-find-check.is-active .tdx-find-check__box { border-color: var(--tdx-ff-accent); background: var(--tdx-ff-accent); } .tdx-find-check.is-active .tdx-find-check__box::after { content: ""; position: absolute; left: 4px; top: 1px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); } .tdx-find-check__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .tdx-find-check__count { color: var(--tdx-ff-muted); font-size: 12px; background: rgba(255, 255, 255, 0.06); border-radius: 6px; padding: 2px 7px; } .tdx-find-filter__section { padding: 12px 12px 0; } .tdx-find-filter__section-title { margin-bottom: 8px; color: var(--tdx-ff-muted); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; } .tdx-find-filter__hidden { min-height: 44px; } .tdx-find-filter__empty { padding: 14px; border: 1px dashed var(--tdx-ff-border); border-radius: 10px; color: var(--tdx-ff-muted); font-size: 12px; text-align: center; } .tdx-find-filter__chips--quick { max-height: 180px; overflow: auto; padding-bottom: 4px; } .tdx-find-filter__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-top: 1px solid var(--tdx-ff-border); background: rgba(0, 0, 0, 0.2); } .tdx-find-filter__status { color: var(--tdx-ff-muted); font-size: 12px; } .tdx-find-filter__clear { display: inline-flex; align-items: center; gap: 4px; border: 0; background: transparent; color: var(--tdx-ff-muted); font-size: 12px; cursor: pointer; } .tdx-find-filter__clear:hover { color: #fff; } .tdx-find-filter__clear svg { width: 13px; height: 13px; } .tdx-find-filter__pills { display: flex; flex-direction: column; gap: 4px; padding: 10px; } .tdx-find-pill { display: block; width: 100%; padding: 10px 12px; border: 0; border-radius: 8px; background: transparent; color: var(--tdx-ff-text); font-size: 13px; text-align: left; cursor: pointer; } .tdx-find-pill:hover { background: rgba(255, 255, 255, 0.05); } .tdx-find-pill.is-active { color: var(--tdx-ff-accent); background: rgba(255, 94, 98, 0.1); font-weight: 600; } .tdx-find-filter__sort-list { padding: 8px; } .tdx-find-sort-item { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 11px 12px; border: 0; border-radius: 8px; background: transparent; color: var(--tdx-ff-text); font-size: 13px; text-align: left; cursor: pointer; } .tdx-find-sort-item:hover { background: rgba(255, 255, 255, 0.05); } .tdx-find-sort-item svg { width: 15px; height: 15px; opacity: 0; color: var(--tdx-ff-accent); } .tdx-find-sort-item.is-active { color: var(--tdx-ff-accent); font-weight: 600; } .tdx-find-sort-item.is-active svg { opacity: 1; } .tdx-find-filter__loading, .tdx-find-filter__error { padding: 24px 12px; color: var(--tdx-ff-muted); font-size: 13px; text-align: center; } @media (max-width: 720px) { .tdx-find-filters__bar { flex-direction: column; align-items: stretch; } .tdx-find-filters__left, .tdx-find-filters__right { width: 100%; } .tdx-find-filters__left { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; } .tdx-find-filter__panel, .tdx-find-filter__panel--blacklist, .tdx-find-filter--sort .tdx-find-filter__panel { left: 0; right: 0; width: calc(100vw - 24px); max-width: calc(100vw - 24px); } }