/* PBWASH reusable compact primitives. Use pb-* classes for new work to avoid legacy cascade conflicts. */
.pb-card {
  border: 1px solid var(--pb-color-border, #dde5f0);
  border-radius: var(--pb-radius-xl, 16px);
  background: var(--pb-color-bg-elevated, #fff);
  box-shadow: var(--pb-shadow-card, none);
}

.pb-toolbar {
  display: inline-flex;
  align-items: center;
  gap: var(--pb-toolbar-gap, 6px);
}

.pb-button,
.pb-icon-button,
.pb-input,
.pb-select {
  min-height: var(--pb-control-height, 34px);
  border: 1px solid var(--pb-color-border, #dde5f0);
  border-radius: var(--pb-radius-md, 12px);
  background: var(--pb-color-bg-control, #fff);
  color: var(--pb-color-text, #111827);
  box-shadow: none;
}

.pb-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
}

.pb-icon-button {
  display: inline-grid;
  place-items: center;
  width: var(--pb-icon-button-size, 34px);
  min-width: var(--pb-icon-button-size, 34px);
  height: var(--pb-icon-button-size, 34px);
  min-height: var(--pb-icon-button-size, 34px);
  padding: 0;
  color: var(--pb-color-text-muted, #64748b);
}

/* PBWASH Compact Outline: reusable 44px outlined action from staff booking headers. */
.pb-compact-outline {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 44px;
  max-width: none;
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  gap: 8px;
  margin: 0;
  padding: 0 13px;
  border: 1px solid var(--pb-color-border, #dde5f0);
  border-radius: 12px;
  background: #fff;
  color: var(--pb-color-text, #111827);
  box-shadow: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  white-space: nowrap;
}

.pb-compact-outline.pb-compact-outline-icon {
  width: 44px;
  max-width: 44px;
  padding: 0;
}

.pb-compact-outline:hover {
  border-color: #c7d5e8;
  background: #f8fbff;
  color: var(--pb-color-text, #111827);
}

.pb-compact-outline:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(47, 109, 246, 0.18);
}

.pb-compact-outline:disabled {
  cursor: default;
  opacity: 0.55;
}

.pb-button:hover,
.pb-icon-button:hover,
.pb-input:hover,
.pb-select:hover {
  border-color: var(--pb-color-border-hover, #c8d4e3);
  background: var(--pb-color-bg-hover, #f7faff);
}

.pb-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  min-height: 20px;
  padding: 2px 7px;
  border-radius: var(--pb-radius-pill, 999px);
  background: var(--pb-color-bg-soft, #f8fafd);
  color: var(--pb-color-text-muted, #64748b);
  font-size: 11px;
  font-weight: 600;
  line-height: 14px;
}

@media (max-width: 700px) {
  .pb-icon-button {
    width: var(--pb-icon-button-size-mobile, 44px);
    min-width: var(--pb-icon-button-size-mobile, 44px);
    height: var(--pb-icon-button-size-mobile, 44px);
    min-height: var(--pb-icon-button-size-mobile, 44px);
  }
}
