/* 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;
}

/* frontend/src/features/pos/components/sellerSelectionModal.css */
.seller-selection-backdrop {
  z-index: 2100;
}
.modal-panel.seller-selection-modal {
  width: min(560px, calc(100vw - 24px));
  max-height: calc(100dvh - 32px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}
.seller-selection-modal header,
.seller-selection-modal footer,
.seller-selection-modal > label {
  flex-shrink: 0;
}
.seller-selection-modal input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-text);
}
.seller-selection-modal header,
.seller-selection-modal footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.seller-selection-modal h3 {
  margin: 0 0 8px;
}
.seller-selection-modal p,
.seller-selection-modal small,
.seller-selection-modal footer span {
  color: var(--color-muted);
}
.seller-selection-modal label {
  display: grid;
  gap: 8px;
}
.seller-selection-list {
  overflow: auto;
  min-height: 0;
  display: grid;
  gap: 8px;
}
.seller-selection-option {
  display: grid;
  gap: 4px;
  text-align: left;
  padding: 12px 16px;
  min-height: 56px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  overflow-wrap: anywhere;
}
.seller-selection-option:hover,
.seller-selection-option:focus-visible {
  background: var(--color-surface-soft);
  border-color: var(--color-primary);
}
.seller-selection-modal footer > div {
  display: flex;
  gap: 8px;
}
@media (max-width: 480px) {
  .seller-selection-modal header,
  .seller-selection-modal footer {
    align-items: flex-start;
    flex-wrap: wrap;
  }
}

.select-field-readable .select-field-trigger{height:auto;min-height:44px}.select-field-readable .select-field-trigger span,.select-field-popover.select-popover-readable button span{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;line-height:1.4}.select-field-popover.select-popover-portal{position:fixed;right:auto;bottom:auto;z-index:2200;box-sizing:border-box}.select-field-popover.select-popover-readable button{min-height:44px;height:auto;align-items:center}.user-access-grid .user-username-field,.user-access-grid .user-role-field{grid-column:span 6}.user-access-grid .user-status-field{grid-column:span 4}.user-access-grid .user-salesperson-field{grid-column:span 8}@media(max-width:640px){.user-access-grid .user-username-field,.user-access-grid .user-role-field,.user-access-grid .user-status-field,.user-access-grid .user-salesperson-field{grid-column:1}}