/* Compact reseller filters and color editor refinements */

.dashboardShell-reseller .resellerQuickFilters {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 1px 2px;
}

.dashboardShell-reseller .resellerQuickFilters button {
  min-height: 38px;
  gap: 9px;
  padding: 8px 13px;
  border-color: rgba(255, 255, 255, .075);
  color: rgba(226, 211, 231, .65);
  background: rgba(255, 255, 255, .025);
  font-size: 10px;
}

.dashboardShell-reseller .resellerQuickFilters button b {
  min-width: 22px;
  padding: 3px 6px;
  color: rgba(239, 225, 243, .78);
  background: rgba(255, 255, 255, .07);
  font-size: 8px;
}

.dashboardShell-reseller .resellerQuickFilters button.active {
  border-color: rgba(208, 100, 233, .48);
  color: #fff;
  background: linear-gradient(135deg, rgba(176, 56, 207, .26), rgba(104, 32, 126, .16));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055), 0 8px 24px rgba(109, 30, 132, .12);
}

.dashboardShell-reseller .resellerQuickFilters button.active b {
  color: #fff;
  background: rgba(220, 120, 240, .18);
}

.dashboardShell-reseller .resellerFiltersDisclosure {
  margin-top: 2px;
  border-color: rgba(211, 116, 237, .12);
  border-radius: 15px;
  background: rgba(255, 255, 255, .016);
}

.dashboardShell-reseller .resellerFiltersDisclosure > summary {
  grid-template-columns: 34px minmax(0, 1fr) auto 30px;
  min-height: 58px;
  gap: 10px;
  padding: 0 12px;
}

.dashboardShell-reseller .resellerFiltersDisclosure > summary > svg {
  width: 14px;
  height: 14px;
  padding: 8px;
  border-radius: 10px;
}

.dashboardShell-reseller .resellerFiltersDisclosure > summary > span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.dashboardShell-reseller .resellerFiltersDisclosure > summary > span strong {
  color: rgba(245, 233, 248, .9);
  font-size: 10px;
}

.dashboardShell-reseller .resellerFiltersDisclosure > summary > span small {
  overflow: hidden;
  color: rgba(212, 191, 219, .42);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboardShell-reseller .resellerFiltersDisclosure > summary > b {
  padding: 5px 8px;
  border: 1px solid rgba(211, 116, 237, .10);
  border-radius: 999px;
  color: rgba(222, 199, 228, .52);
  background: rgba(255, 255, 255, .02);
  font-size: 7px;
  font-weight: 800;
}

.dashboardShell-reseller .resellerFiltersDisclosure > summary > i {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(211, 116, 237, .08);
}

.dashboardShell-reseller .resellerFiltersDisclosure > .resellerManagerFilters {
  align-items: end;
  gap: 9px;
  padding: 12px;
  background: rgba(0, 0, 0, .10);
}

.dashboardShell-reseller .resellerKeyFilters.resellerManagerFilters.toolbar {
  grid-template-columns: repeat(3, minmax(180px, 1fr)) 120px;
}

.dashboardShell-reseller .resellerClientFilters.resellerManagerFilters.toolbar {
  grid-template-columns: repeat(2, minmax(210px, 320px)) 120px;
  justify-content: start;
}

.dashboardShell-reseller .resellerFilterField {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.dashboardShell-reseller .resellerFilterField > span {
  padding-left: 2px;
  color: rgba(220, 200, 226, .5);
  font-size: 8px;
  font-weight: 800;
}

.dashboardShell-reseller .resellerFilterField > select,
.dashboardShell-reseller .resellerFilterField > input,
.dashboardShell-reseller .resellerFilterField > .smartDropdown,
.dashboardShell-reseller .resellerFilterField .smartDropdownTrigger {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  border-radius: 11px;
}

.dashboardShell-reseller .resellerFilterButton {
  width: 120px;
  min-height: 42px;
  padding-inline: 14px;
  border-radius: 11px;
  font-size: 9px;
}

.brandStudioShell .brandColorWorkbench {
  gap: 11px;
  padding: 12px;
  overflow: visible;
  border-color: color-mix(in srgb, var(--brand-edit) 16%, rgba(255, 255, 255, .055));
  border-radius: 14px;
  background: rgba(7, 2, 10, .28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .022);
}

.brandColorControlRow {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(180px, .9fr);
  gap: 10px;
}

.brandStudioShell .brandColorPickerFieldModern,
.brandStudioShell .brandHexField {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.brandStudioShell .brandColorPickerFieldModern > span,
.brandStudioShell .brandHexField > span {
  color: rgba(231, 216, 236, .66);
  font-size: 8px;
  font-weight: 800;
}

.brandStudioShell .brandColorPickerFieldModern > div {
  min-height: 48px;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  padding: 4px 11px 4px 4px;
  border-color: color-mix(in srgb, var(--brand-edit) 22%, rgba(255, 255, 255, .06));
  background: rgba(255, 255, 255, .025);
}

.brandStudioShell .brandColorPickerFieldModern input[type="color"] {
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 2px;
  border-radius: 9px;
}

.brandStudioShell .brandColorPickerFieldModern b {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brandStudioShell .brandColorPickerFieldModern b strong {
  overflow: hidden;
  color: #f7edf9;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  letter-spacing: .04em;
  text-overflow: ellipsis;
}

.brandStudioShell .brandColorPickerFieldModern b small {
  color: rgba(214, 193, 220, .38);
  font-size: 7px;
  font-weight: 600;
}

.brandStudioShell .brandHexField input {
  min-height: 48px;
  border-color: rgba(211, 105, 236, .14);
  background: rgba(255, 255, 255, .025);
}

.brandColorPreview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, .045);
  border-radius: 11px;
  background: rgba(255, 255, 255, .012);
}

.brandColorPreview > span {
  display: grid;
  grid-template-columns: 7px minmax(0, 1fr);
  align-items: center;
  gap: 2px 7px;
  min-width: 0;
}

.brandColorPreview > span > i {
  grid-row: 1 / 3;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-edit);
  box-shadow: 0 0 12px color-mix(in srgb, var(--brand-edit) 70%, transparent);
}

.brandColorPreview > span b {
  color: rgba(238, 225, 241, .8);
  font-size: 8px;
}

.brandColorPreview > span small {
  overflow: hidden;
  color: rgba(211, 190, 217, .36);
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brandColorPreview > div {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 9px;
  color: color-mix(in srgb, var(--brand-edit) 28%, #15071a);
  background: var(--brand-edit);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--brand-edit) 20%, transparent);
}

.brandColorPreview > div b { font-size: 8px; }
.brandColorPreview > div i { display: grid; place-items: center; font-style: normal; }
.brandColorPreview > div svg { width: 12px; height: 12px; }

@media (max-width: 1180px) and (min-width: 761px) {
  .dashboardShell-reseller .resellerKeyFilters.resellerManagerFilters.toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dashboardShell-reseller .resellerKeyFilters .resellerFilterButton { grid-column: 2; justify-self: end; }
}

@media (max-width: 760px) {
  .dashboardShell-reseller .resellerQuickFilters button { min-height: 36px; padding: 7px 11px; }
  .dashboardShell-reseller .resellerFiltersDisclosure > summary { grid-template-columns: 32px minmax(0, 1fr) 28px; min-height: 54px; }
  .dashboardShell-reseller .resellerFiltersDisclosure > summary > b { display: none; }
  .dashboardShell-reseller .resellerKeyFilters.resellerManagerFilters.toolbar,
  .dashboardShell-reseller .resellerClientFilters.resellerManagerFilters.toolbar { grid-template-columns: 1fr; }
  .dashboardShell-reseller .resellerFilterButton { width: 100%; }
  .brandColorControlRow { grid-template-columns: 1fr; }
  .brandColorPreview { align-items: stretch; flex-direction: column; }
  .brandColorPreview > div { justify-content: center; }
}
