/* frontend/src/shared/components/customerReportSelect.css */
.customer-report-select {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.customer-report-select > label {
  color: var(--color-muted);
  font-size: 12px;
}
.customer-report-select-input {
  position: relative;
  min-width: 0;
}
.customer-report-select-input input {
  width: 100%;
  min-width: 0;
  padding-right: 38px;
  text-overflow: ellipsis;
}
.customer-report-select-clear {
  position: absolute;
  right: 2px;
  top: 2px;
  bottom: 2px;
  width: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--color-primary);
  font-size: 22px;
  cursor: pointer;
}
.customer-report-select-popup {
  position: fixed;
  z-index: 2000;
  overflow-y: auto;
  box-sizing: border-box;
  padding: 6px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: 0 10px 28px #123f3426;
}
.customer-report-select-popup [role=option] {
  display: grid;
  gap: 4px;
  width: 100%;
  min-height: 52px;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  text-align: left;
  color: inherit;
  cursor: pointer;
  white-space: normal;
  overflow-wrap: anywhere;
}
.customer-report-select-popup [role=option].is-active,
.customer-report-select-popup [role=option]:hover {
  background: var(--color-surface-soft);
}
.customer-report-select-popup [role=option][aria-selected=true] {
  background: color-mix(in srgb, var(--color-primary) 9%, var(--color-surface));
}
.customer-report-select-popup small {
  color: var(--color-muted);
  font-size: 12px;
}
.customer-report-select-status {
  font-size: 12px;
  color: var(--color-muted);
  padding: 4px 12px;
}
.customer-report-select-status:empty {
  display: none;
}
.customer-report-select-status button {
  margin-left: 8px;
  color: var(--color-primary);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 8px;
}
