/* loot-proxy-calculator — generated by scripts/tools-v2/build-tool-css.js from
   views/v1-backup/tools-loot-proxy-calculator.ejs. DO NOT EDIT BY HAND: npm run test:tools-page-v2
   regenerates it and fails if this file has drifted.

   The shared vocabulary (.btn-primary, .form-input, .tool-card, .badge-*,
   .toast-*, #map, headings) is NOT here — public/css/tools-page-v2.css
   declares it once for every tool page. What is left is this tool's own,
   with its colour literals resolved to theme tokens and every selector
   scoped to the tool body so nothing reaches the shared header. */

.tpv2-body .multi-select-container {
  position: relative;
  width: 100%;
}

.tpv2-body .multi-select-button {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--sk-border);
  border-radius: 0.375rem;
  background: var(--sk-surface);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s;
}

.tpv2-body .multi-select-button:hover {
  border-color: var(--sk-border-2);
}

.tpv2-body .multi-select-button:focus {
  outline: none;
  border-color: var(--sk-info);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--sk-info) 20%, transparent);
}

.tpv2-body .multi-select-button.active {
  border-color: var(--sk-info);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--sk-info) 20%, transparent);
}

.tpv2-body .multi-select-button i {
  transition: transform 0.2s;
}

.tpv2-body .multi-select-button.active i {
  transform: rotate(180deg);
}

.tpv2-body .multi-select-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--sk-surface);
  border: 1px solid var(--sk-border);
  border-radius: 0.375rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  max-height: 300px;
  overflow-y: auto;
  margin-top: 2px;
}

.tpv2-body .optgroup-label {
  padding: 8px 12px;
  background-color: var(--sk-surface);
  color: var(--sk-muted);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--sk-border-2);
}

.tpv2-body .option-item {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 0.875rem;
  transition: background-color 0.2s;
}

.tpv2-body .option-item:hover {
  background-color: var(--sk-surface);
}

.tpv2-body .option-item input[type="checkbox"] {
  margin-right: 8px;
  width: 16px;
  height: 16px;
  accent-color: var(--sk-info);
}

.tpv2-body .selected-text {
  color: var(--sk-muted);
  font-size: 0.875rem;
}

.tpv2-body .selected-text.has-selections {
  color: var(--sk-muted);
  font-weight: 500;
}
