@charset "UTF-8";
@keyframes searhbar_mirror {
  0% {
    left: -30%;
  }
  30% {
    left: 130%;
  }
  100% {
    left: 130%;
  }
}
@keyframes vnx-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.vnx-media-search-wrapper {
  position: relative;
  z-index: 0;
  width: 100%;
  max-width: 529px;
  margin: 0 auto;
  border-radius: 17.5px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.31);
  padding: 15px;
  overflow: hidden;
}
.vnx-media-search-wrapper::before {
  content: "";
  display: block;
  width: 120px;
  height: 200px;
  position: absolute;
  z-index: 0;
  background: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.15) 20%, rgba(255, 255, 255, 0.55) 50%, rgba(255, 255, 255, 0.15) 80%, transparent 100%);
  transform: rotateZ(-34deg);
  top: -50px;
  left: -30%;
  animation: searhbar_mirror 3s linear 1.5s infinite;
}
@media (max-width: 768px) {
  .vnx-media-search-wrapper {
    border: none;
    background: none;
    padding: 0px;
    border-radius: 8px;
  }
}
.vnx-media-search-wrapper .vnx-search-loading-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
  border-radius: inherit;
  cursor: wait;
}
.vnx-media-search-wrapper .vnx-search-loading-spinner {
  color: #f3b847;
  font-size: 24px;
  line-height: 1;
}
.vnx-media-search-wrapper .vnx-search-loading-spinner i {
  display: block;
}
.vnx-media-search-wrapper .vnx-media-search-button:disabled {
  cursor: not-allowed;
}
.vnx-media-search-wrapper .vnx-media-search-bar {
  display: flex;
  align-items: stretch;
  height: 52px;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.vnx-media-search-wrapper .vnx-media-search-input-container {
  position: relative;
  flex: 1 0 0;
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 5px 0 0 5px;
  padding: 12px 15px;
  min-width: 0;
}
.vnx-media-search-wrapper .vnx-media-search-field {
  width: 100%;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  padding: 0 !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 28px !important;
  color: #282829 !important;
  box-shadow: none !important;
  white-space: nowrap;
}
.vnx-media-search-wrapper .vnx-media-search-field::placeholder {
  color: #828282;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
}
.vnx-media-search-wrapper .vnx-search-clear-btn {
  position: absolute;
  right: 10px;
  cursor: pointer;
  color: #828282;
  padding: 4px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}
.vnx-media-search-wrapper .vnx-search-clear-btn:hover {
  background: #f1f5f9;
  color: #64748b;
}
.vnx-media-search-wrapper .vnx-media-search-button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 145px;
  padding: 12px 16px;
  border: none;
  outline: none;
  border-radius: 0 5px 5px 0;
  background-image: linear-gradient(109.716deg, rgb(255, 189, 42) 5.0001%, rgb(253, 118, 89) 170.21%);
  cursor: pointer;
  gap: 8px;
}
.vnx-media-search-wrapper .vnx-media-search-button:active {
  opacity: 1;
  transform: translateY(0);
}
.vnx-media-search-wrapper .vnx-media-search-btn-text {
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: #ffffff;
  white-space: nowrap;
}
.vnx-media-search-wrapper .vnx-media-search-btn-icon i {
  color: #ffffff;
}
.vnx-media-search-wrapper .vnx-media-search-btn-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  display: inline-block;
  vertical-align: middle;
}
@media (max-width: 768px) {
  .vnx-media-search-wrapper {
    max-width: 100%;
  }
  .vnx-media-search-wrapper .vnx-media-search-bar {
    height: 48px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
  }
  .vnx-media-search-wrapper .vnx-media-search-input-container {
    border-radius: 8px 0 0 8px;
    padding: 0 8px 0 12px;
  }
  .vnx-media-search-wrapper .vnx-media-search-field {
    font-size: 16px !important;
    line-height: 24px !important;
  }
  .vnx-media-search-wrapper .vnx-media-search-field::placeholder {
    color: #b3b3b3;
    font-size: 16px;
    line-height: 24px;
  }
  .vnx-media-search-wrapper .vnx-media-search-button {
    width: 112px;
    padding: 12px;
    border-radius: 0 8px 8px 0;
    background-image: linear-gradient(to right, #f3b847, #f49846);
    gap: 4px;
  }
  .vnx-media-search-wrapper .vnx-media-search-btn-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
  }
}

.vnx-media-search-result-wrapper {
  height: 100%;
  width: 100%;
}
.vnx-media-search-result-wrapper .vnx-media-search-result {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  position: relative;
}
@media (max-width: 768px) {
  .vnx-media-search-result-wrapper .vnx-media-search-result {
    gap: 0;
  }
}
.vnx-media-search-result-wrapper .vnx-media-search-result.is-loading .vnx-media-search-result__grid,
.vnx-media-search-result-wrapper .vnx-media-search-result.is-loading .vnx-media-search-result__footer,
.vnx-media-search-result-wrapper .vnx-media-search-result.is-loading .vnx-media-search-result__empty {
  opacity: 0.45;
  pointer-events: none;
}
.vnx-media-search-result-wrapper .vnx-media-search-result .vnx-media-search-loading-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(1.5px);
          backdrop-filter: blur(1.5px);
  cursor: wait;
  border-radius: 8px;
}
.vnx-media-search-result-wrapper .vnx-media-search-result .vnx-media-search-loading-overlay[hidden] {
  display: none !important;
}
.vnx-media-search-result-wrapper .vnx-media-search-result .vnx-media-search-loading-spinner {
  color: #007cfc;
  font-size: 32px;
  line-height: 1;
}
.vnx-media-search-result-wrapper .vnx-media-search-result .vnx-media-search-loading-spinner i {
  display: block;
  animation: vnx-spin 1s linear infinite;
}
.vnx-media-search-result-wrapper .vnx-media-search-result {
  /* ---- Title ---- */
}
.vnx-media-search-result-wrapper .vnx-media-search-result__title-wrap {
  display: flex;
  align-items: center;
  padding-left: 8px;
  width: 100%;
}
.vnx-media-search-result-wrapper .vnx-media-search-result__title {
  font-weight: 600;
  font-size: 24px;
  line-height: 36px;
  color: #f2f3f5;
  margin: 0;
  word-break: break-word;
}
.vnx-media-search-result-wrapper .vnx-media-search-result {
  /* ---- Image Grid ---- */
}
.vnx-media-search-result-wrapper .vnx-media-search-result__grid {
  gap: 12px;
  padding: 8px;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .vnx-media-search-result-wrapper .vnx-media-search-result__grid {
    padding: 0;
  }
}
.vnx-media-search-result-wrapper .vnx-media-search-result {
  /* ---- Image Item ---- */
}
.vnx-media-search-result-wrapper .vnx-media-search-result__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 368/207;
}
.vnx-media-search-result-wrapper .vnx-media-search-result__item img.vnx-media-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  display: block;
}
.vnx-media-search-result-wrapper .vnx-media-search-result__item:hover .vnx-media-search-result__overlay {
  opacity: 1;
}
.vnx-media-search-result-wrapper .vnx-media-search-result__item:hover .vnx-media-search-result__download {
  opacity: 1;
}
.vnx-media-search-result-wrapper .vnx-media-search-result {
  /* Checkbox — luôn hiển thị, nằm trên cùng */
}
.vnx-media-search-result-wrapper .vnx-media-search-result__checkbox {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  z-index: 4; /* cao hơn overlay(1) và download(3) */
  cursor: pointer;
}
.vnx-media-search-result-wrapper .vnx-media-search-result__checkbox input[type=checkbox] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  padding: 0;
  background: #ffffff;
  border: 1.5px solid #e0e3eb;
  border-radius: 4px;
  box-shadow: 0 0 2px 0 rgba(66, 74, 98, 0.09);
  cursor: pointer;
  flex-shrink: 0;
  margin: 0;
  transition: background 0.15s, border-color 0.15s;
}
.vnx-media-search-result-wrapper .vnx-media-search-result__checkbox input[type=checkbox]:checked {
  background: #007cfc;
  border-color: #007cfc;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23fff' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}
.vnx-media-search-result-wrapper .vnx-media-search-result {
  /* Hover gradient overlay */
}
.vnx-media-search-result-wrapper .vnx-media-search-result__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 1;
  pointer-events: none;
}
.vnx-media-search-result-wrapper .vnx-media-search-result {
  /* Download icon — ẩn mặc định, hiện khi hover */
}
.vnx-media-search-result-wrapper .vnx-media-search-result__download {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.2s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
}
.vnx-media-search-result-wrapper .vnx-media-search-result__download svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}
@media (max-width: 768px) {
  .vnx-media-search-result-wrapper .vnx-media-search-result__download {
    opacity: 1;
  }
}
.vnx-media-search-result-wrapper .vnx-media-search-result {
  /* ---- Load More Button ---- */
}
.vnx-media-search-result-wrapper .vnx-media-search-result__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 0;
  width: 100%;
}
.vnx-media-search-result-wrapper .vnx-media-search-result__load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 24px;
  width: 260px;
  border: 1.5px solid #007cfc;
  border-radius: 8px;
  background: transparent;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #007cfc;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: border 0.2s ease;
  overflow: hidden;
  box-sizing: border-box;
}
.vnx-media-search-result-wrapper .vnx-media-search-result__load-more:hover {
  border: 1.5px solid #085fc5;
}
.vnx-media-search-result-wrapper .vnx-media-search-result {
  /* ---- Empty State (no results) ---- */
}
.vnx-media-search-result-wrapper .vnx-media-search-result__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 184px 16px 184px;
  width: 100%;
  height: 100%;
  text-align: center;
  border-radius: 8px;
  background: #fafafc;
}
.vnx-media-search-result-wrapper .vnx-media-search-result__empty[hidden] {
  display: none !important;
}

.vnx-empty-state__illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.vnx-empty-state__img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  display: block;
}
@media (max-width: 768px) {
  .vnx-empty-state__img {
    width: 120px;
    height: 120px;
  }
}

.vnx-empty-state__text {
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  color: #525666;
  max-width: 320px;
  margin: 0 0 16px;
}

.vnx-empty-state__clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 20px;
  border: 1px solid #c5c8d5;
  border-radius: 6px;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  color: #282829;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.vnx-empty-state__clear:hover {
  border-color: #007cfc;
  color: #007cfc;
  background: rgba(0, 124, 252, 0.04);
}

.vnx-media-search-filter {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}
.vnx-media-search-filter *,
.vnx-media-search-filter *::before,
.vnx-media-search-filter *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.vnx-media-search-filter.is-filter-loading .vnx-msf-panel,
.vnx-media-search-filter.is-filter-loading .vnx-msf-sections,
.vnx-media-search-filter.is-filter-loading .vnx-msf-header__reset {
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}
.vnx-media-search-filter.is-filter-loading .vnx-msf-item,
.vnx-media-search-filter.is-filter-loading .vnx-msf-subitem,
.vnx-media-search-filter.is-filter-loading .vnx-msf-section__toggle,
.vnx-media-search-filter.is-filter-loading .vnx-msf-cb input[type=checkbox],
.vnx-media-search-filter.is-filter-loading .vnx-msf-toggle-sub {
  cursor: not-allowed !important;
  pointer-events: none;
}
.vnx-media-search-filter .vnx-msf-mobile-trigger {
  display: none;
}
.vnx-media-search-filter .vnx-msf-overlay {
  display: none;
}
.vnx-media-search-filter .vnx-msf-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.vnx-media-search-filter .vnx-msf-desktop-only {
  display: flex;
}
.vnx-media-search-filter .vnx-msf-mobile-only {
  display: none;
}
.vnx-media-search-filter {
  /* ── Header ──────────────────────────────────────────── */
}
.vnx-media-search-filter .vnx-msf-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1px;
  border-bottom: 1px solid #e5e7eb;
}
.vnx-media-search-filter .vnx-msf-header__title {
  font-size: 18px;
  font-weight: 600;
  line-height: 30px;
  color: #282829;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .vnx-media-search-filter .vnx-msf-header__title {
    font-size: 16px;
    line-height: 30px;
  }
}
.vnx-media-search-filter .vnx-msf-header__right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.vnx-media-search-filter .vnx-msf-header__reset {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.12px;
  color: #2a6df4;
  text-decoration: none;
  padding: 0;
  transition: opacity 0.2s;
}
.vnx-media-search-filter .vnx-msf-header__reset:hover {
  opacity: 0.75;
}
.vnx-media-search-filter .vnx-msf-close-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  cursor: pointer;
  padding: 4px;
  transition: background 0.2s;
}
.vnx-media-search-filter .vnx-msf-close-btn:hover {
  background: rgba(0, 0, 0, 0.1);
}
.vnx-media-search-filter .vnx-msf-close-btn svg {
  display: block;
}
@media (max-width: 768px) {
  .vnx-media-search-filter .vnx-msf-close-btn {
    display: flex;
  }
}
.vnx-media-search-filter {
  /* ── Sections ────────────────────────────────────────── */
}
.vnx-media-search-filter .vnx-msf-sections {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.vnx-media-search-filter {
  /* ── Section ─────────────────────────────────────────── */
}
.vnx-media-search-filter .vnx-msf-section {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.vnx-media-search-filter .vnx-msf-section__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
}
.vnx-media-search-filter .vnx-msf-section__label {
  font-size: 16px;
  font-weight: 600;
  line-height: 28px;
  color: #282829;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .vnx-media-search-filter .vnx-msf-section__label {
    font-size: 12px;
    line-height: 24px;
  }
}
.vnx-media-search-filter .vnx-msf-section__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.vnx-media-search-filter .vnx-msf-section.is-collapsed .vnx-msf-section__icon {
  transform: rotate(180deg);
}
.vnx-media-search-filter .vnx-msf-section.is-collapsed .vnx-msf-section__body {
  max-height: 0;
  opacity: 0;
}
.vnx-media-search-filter .vnx-msf-section__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  max-height: 9999px;
  opacity: 1;
}
.vnx-media-search-filter {
  /* ── Label item ────────────────────────────────────── */
}
.vnx-media-search-filter .vnx-msf-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  width: 100%;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s;
  -webkit-user-select: none;
          user-select: none;
}
.vnx-media-search-filter .vnx-msf-item:hover {
  background: #f5f6f8;
}
.vnx-media-search-filter .vnx-msf-item__text {
  flex: 1;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.14px;
  color: #101219;
  text-align: left;
}
.vnx-media-search-filter .vnx-msf-item__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.25s;
}
.vnx-media-search-filter .vnx-msf-item-wrap.is-open > .vnx-msf-item .vnx-msf-item__arrow {
  transform: rotate(180deg);
}
.vnx-media-search-filter {
  /* ── Checkbox wrapper ──────────────────────────────── */
}
.vnx-media-search-filter .vnx-msf-cb {
  position: relative;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vnx-media-search-filter .vnx-msf-cb input[type=checkbox] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  padding: 0;
  margin: 0;
  flex-shrink: 0;
  border-radius: 4px;
  border: 1.5px solid #c5c8d5;
  background: #fff;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.12);
  transition: background 0.15s, border-color 0.15s;
  cursor: pointer;
}
.vnx-media-search-filter .vnx-msf-cb input[type=checkbox]:checked {
  background: #007cfc;
  border-color: #007cfc;
  box-shadow: 0 0 1px rgba(61, 93, 255, 0.08), 0 2px 2px rgba(61, 93, 255, 0.12);
}
.vnx-media-search-filter .vnx-msf-cb input[type=checkbox]:checked + i {
  display: block;
}
.vnx-media-search-filter .vnx-msf-cb input[type=checkbox]:indeterminate {
  background: #007cfc;
  border-color: #007cfc;
  box-shadow: 0 0 1px rgba(61, 93, 255, 0.08), 0 2px 2px rgba(61, 93, 255, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cline x1='5' y1='10' x2='15' y2='10' stroke='%23fff' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.vnx-media-search-filter .vnx-msf-cb i {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  pointer-events: none;
}
.vnx-media-search-filter {
  /* ── Sub-items ─────────────────────────────────────── */
}
.vnx-media-search-filter .vnx-msf-subitems {
  display: flex;
  flex-direction: column;
  padding-left: 18px;
  width: 100%;
  overflow: hidden;
  max-height: 9999px;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 1;
}
.vnx-media-search-filter .vnx-msf-subitems.is-hidden {
  max-height: 0;
  opacity: 0;
}
.vnx-media-search-filter .vnx-msf-subitem {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 8px 8px 16px;
  border-left: 1px solid #e0e0e0;
  width: 100%;
  cursor: pointer;
  transition: background 0.15s;
  -webkit-user-select: none;
          user-select: none;
}
.vnx-media-search-filter .vnx-msf-subitem:hover {
  background: #f5f6f8;
}
.vnx-media-search-filter .vnx-msf-subitem .vnx-msf-item__text {
  color: #424242;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
}
.vnx-media-search-filter .vnx-msf-mobile-footer {
  display: none;
}
.vnx-media-search-filter .vnx-msf-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s;
}
.vnx-media-search-filter .vnx-msf-btn--reset {
  background: #f2f3f5;
  color: #424242;
}
.vnx-media-search-filter .vnx-msf-btn--reset:hover {
  background: #e5e7eb;
}
.vnx-media-search-filter .vnx-msf-btn--confirm {
  background: #007cfc;
  color: #fcfcfc;
}
.vnx-media-search-filter .vnx-msf-btn--confirm:hover {
  background: #0060cc;
}
@media (max-width: 768px) {
  .vnx-media-search-filter .vnx-msf-mobile-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    padding-bottom: 8px;
    gap: 8px;
    cursor: pointer;
    -webkit-user-select: none;
            user-select: none;
  }
  .vnx-media-search-filter .vnx-msf-mobile-trigger__title {
    font-size: 16px;
    font-weight: 600;
    color: #282829;
    line-height: 24px;
  }
  .vnx-media-search-filter .vnx-msf-mobile-trigger__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }
  .vnx-media-search-filter .vnx-msf-mobile-trigger__icon i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    font-size: 20px;
  }
  .vnx-media-search-filter .vnx-msf-mobile-trigger__icon i::before {
    height: 20px;
    width: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
@media (max-width: 768px) and (max-width: 768px) {
  .vnx-media-search-filter .vnx-msf-mobile-trigger__icon i {
    font-size: 16px;
  }
}
@media (max-width: 768px) {
  .vnx-media-search-filter.has-active-filters .vnx-msf-mobile-trigger__icon {
    position: relative;
  }
  .vnx-media-search-filter.has-active-filters .vnx-msf-mobile-trigger__icon::after {
    content: "";
    position: absolute;
    top: 0px;
    right: 0px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f73131;
    border: 1.5px solid #ffffff;
    pointer-events: none;
  }
  .vnx-media-search-filter .vnx-msf-desktop-only {
    display: none !important;
  }
  .vnx-media-search-filter .vnx-msf-mobile-only {
    display: flex !important;
  }
  .vnx-media-search-filter .vnx-msf-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }
  .vnx-media-search-filter .vnx-msf-panel {
    position: fixed;
    top: 269px;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: #ffffff;
    border-radius: 12px 12px 0 0;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    gap: 0;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
    overflow: hidden;
  }
  .vnx-media-search-filter .vnx-msf-header {
    padding: 12px 0px 12px;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
    margin: 0px 16px;
  }
  .vnx-media-search-filter .vnx-msf-sections {
    padding: 8px 16px;
    overflow-y: auto;
    flex: 1;
    -webkit-overflow-scrolling: touch;
  }
  .vnx-media-search-filter .vnx-msf-mobile-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
  }
  .vnx-media-search-filter.is-open .vnx-msf-overlay {
    opacity: 1;
    pointer-events: auto;
  }
  .vnx-media-search-filter.is-open .vnx-msf-panel {
    transform: translateY(0);
  }
}

.vnx-media-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -4px 3px rgba(0, 0, 0, 0.1), 0 -10px 7.5px rgba(0, 0, 0, 0.1);
}
.vnx-media-action-bar[hidden] {
  display: none !important;
}
.vnx-media-action-bar__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 12px 24px;
}
.vnx-media-action-bar__count {
  flex: 1 0 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  color: #282829;
  white-space: nowrap;
}
.vnx-media-action-bar__count strong {
  font-weight: 600;
}
.vnx-media-action-bar__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.vnx-media-action-bar__download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 24px;
  min-width: 200px;
  background: #007cfc;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #fcfcfc;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.vnx-media-action-bar__download svg {
  flex-shrink: 0;
}
.vnx-media-action-bar__download:hover {
  background: #0060cc;
}
.vnx-media-action-bar__download:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.vnx-media-action-bar__cancel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 4px;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #525666;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s;
}
.vnx-media-action-bar__cancel svg {
  flex-shrink: 0;
}
.vnx-media-action-bar__cancel svg path {
  stroke: #525666;
  transition: stroke 0.2s;
}
.vnx-media-action-bar__cancel:hover {
  color: #282829;
}
.vnx-media-action-bar__cancel:hover svg path {
  stroke: #282829;
}
@media (max-width: 480px) {
  .vnx-media-action-bar__inner {
    padding: 10px 16px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .vnx-media-action-bar__count {
    font-size: 14px;
  }
  .vnx-media-action-bar__download {
    font-size: 14px;
    padding: 7px 16px;
    min-width: 0;
  }
}

.vnx-img-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.vnx-img-modal[hidden] {
  display: none !important;
}
.vnx-img-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}
.vnx-img-modal__container {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(1280px, 100vw - 20px);
  height: min(818px, 100vh - 20px);
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
}
@media (max-width: 768px) {
  .vnx-img-modal__container {
    background: none;
  }
}
.vnx-img-modal__img-section {
  flex: 1 0 0;
  min-width: 0;
  background: #f2f3f5;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) {
  .vnx-img-modal__img-section {
    background: rgba(0, 0, 0, 0.6);
  }
}
.vnx-img-modal__img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.vnx-img-modal__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  -webkit-user-select: none;
          user-select: none;
  -webkit-user-drag: none;
}
.vnx-img-modal__counter {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
}
.vnx-img-modal__info {
  position: relative;
  width: 371px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 21px;
  padding: 24px;
  overflow-y: auto;
}
@media (max-width: 768px) {
  .vnx-img-modal__info {
    background: #ffffff;
    gap: 16px !important;
    border-radius: 0px;
  }
}
.vnx-img-modal__close {
  position: absolute;
  z-index: 10;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 4px;
  transition: background 0.2s;
}
.vnx-img-modal__close:hover {
  background: rgba(0, 0, 0, 0.12);
}
.vnx-img-modal__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
  color: #282829;
  margin: 0;
  padding-right: 28px;
  word-break: break-word;
}
.vnx-img-modal__meta-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (max-width: 768px) {
  .vnx-img-modal__meta-section {
    gap: 16px;
  }
}
.vnx-img-modal__meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.vnx-img-modal__meta-label {
  font-size: 12px;
  font-weight: 400;
  line-height: 22px;
  color: #747475;
  flex-shrink: 0;
}
.vnx-img-modal__meta-value {
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  color: #282829;
  word-break: break-word;
}
.vnx-img-modal__divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.05);
}
.vnx-img-modal__meta-grid {
  display: flex;
  gap: 16px;
  white-space: nowrap;
}
.vnx-img-modal__meta-col {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.vnx-img-modal__meta-col .vnx-img-modal__meta-value {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vnx-img-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (max-width: 768px) {
  .vnx-img-modal__actions {
    gap: 8px;
    display: flex;
    flex-direction: row;
    padding: 16px 0px;
  }
}
.vnx-img-modal__btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 8px 24px;
  background: #007cfc;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #fcfcfc;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}
.vnx-img-modal__btn-download svg {
  flex-shrink: 0;
}
.vnx-img-modal__btn-download:hover {
  background: #0060cc;
  color: #ffffff;
}
@media (max-width: 768px) {
  .vnx-img-modal__btn-download {
    font-size: 14px;
    line-height: 24px;
    width: 50%;
  }
}
.vnx-img-modal__btn-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 8px 24px;
  background: #f2f3f5;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #424242;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.vnx-img-modal__btn-copy i {
  height: 20px;
  width: 20px;
  font-size: 20px;
  flex-shrink: 0;
}
.vnx-img-modal__btn-copy:hover {
  background: #e5e7eb;
  color: #282829;
}
@media (max-width: 768px) {
  .vnx-img-modal__btn-copy {
    font-size: 14px;
    line-height: 24px;
    padding: 8px 0px;
    width: 50%;
  }
}
.vnx-img-modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 54px;
  height: 54px;
  background: rgba(0, 0, 0, 0.3);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.vnx-img-modal__nav svg {
  flex-shrink: 0;
}
.vnx-img-modal__nav:hover {
  background: rgba(0, 0, 0, 0.5);
}
.vnx-img-modal__nav--prev {
  left: 16px;
}
.vnx-img-modal__nav--next {
  right: 16px;
}
@media (max-width: 768px) {
  .vnx-img-modal {
    padding: 0;
  }
  .vnx-img-modal__container {
    flex-direction: column;
    width: 100%;
    height: 100%;
    border-radius: 0;
    background: none;
  }
  .vnx-img-modal__img-section {
    flex: 1 0 0;
    min-height: 0;
    background: rgba(0, 0, 0, 0.6);
  }
  .vnx-img-modal__close {
    top: 10px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: rgba(0, 0, 0, 0.1);
    padding: 4px;
    border-radius: 50%;
  }
  .vnx-img-modal__close svg path {
    stroke: #ffffff;
  }
  .vnx-img-modal__close:hover {
    background: rgba(0, 0, 0, 0.2);
  }
  .vnx-img-modal__counter {
    top: 12px;
    left: 16px;
    transform: none;
    background: none;
    padding: 0;
    font-size: 14px;
    line-height: 20px;
    color: #fcfcfc;
    font-weight: 400;
  }
  .vnx-img-modal__info {
    width: 100%;
    max-height: 50vh;
    padding: 16px;
    gap: 12px;
    background: #ffffff;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  }
}
@media (max-width: 768px) and (max-width: 768px) {
  .vnx-img-modal__info {
    gap: 0px !important;
    border-radius: 0px;
    padding: 0px 16px;
  }
}
@media (max-width: 768px) {
  .vnx-img-modal__title {
    font-size: 18px;
    line-height: 30px;
    font-weight: 600;
    padding-right: 0;
  }
}
@media (max-width: 768px) and (max-width: 768px) {
  .vnx-img-modal__title {
    font-size: 16px;
    line-height: 30px;
    padding: 12px 0px;
  }
}
@media (max-width: 768px) {
  .vnx-img-modal__meta-row {
    gap: 16px;
  }
  .vnx-img-modal__meta-label {
    font-size: 12px;
    color: #747475;
  }
  .vnx-img-modal__meta-value {
    font-size: 14px;
    font-weight: 500;
    color: #101828;
  }
  .vnx-img-modal__actions {
    flex-direction: row-reverse;
    gap: 8px;
  }
  .vnx-img-modal__btn-download, .vnx-img-modal__btn-copy {
    flex: 1 0 0;
    width: auto;
    font-size: 14px;
    line-height: 24px;
    padding: 8px 16px;
  }
  .vnx-img-modal__nav {
    width: 40px;
    height: 40px;
  }
  .vnx-img-modal__nav--prev {
    left: 8px;
  }
  .vnx-img-modal__nav--next {
    left: auto;
    right: 8px;
  }
}
