/* GENERATED FILE. Do not edit. Source: ep-checkdrop.less in this folder.
   Edit the .less, then run: node Styles/build-standalone.js */
/* ============================================================
   CheckDrop multi-select dropdown: ep-checkdrop.css
   Styles for Scripts/ep-checkdrop.js, which replaced bootstrap-multiselect.
   Visual values are copied from the New-mode survey CheckDrop
   (Scripts/New/survey/ep-survey-modern.less, "CHECKDROP") so both controls match.
   That file scopes its tokens under .ep-modern, which Classic pages do not have,
   so the same values are declared here on the component root.
   ============================================================ */
.ep-checkdrop {
  --epcd-line: #d6d3d1;
  /* --ep-stone-300 */
  --epcd-line-soft: #f5f5f4;
  /* --ep-stone-100 */
  --epcd-line-mid: #e7e5e4;
  /* --ep-stone-200 */
  --epcd-subtle: #fafaf9;
  /* --ep-stone-50 */
  --epcd-ink: #292524;
  /* --ep-stone-800 */
  --epcd-hover-bg: #eef3f9;
  /* --ep-amber-50 */
  --epcd-hover-line: #3d6fa0;
  /* --ep-amber-400 */
  --epcd-accent: var(--brand-color, #164983);
  --epcd-radius: 10px;
  position: relative;
  display: inline-block;
  /* Size to content like the bootstrap-multiselect button it replaced, so it sits inline in
       report-parameter toolbars. Call sites that pass buttonWidth set an explicit width instead. */
  width: auto;
  min-width: 200px;
  max-width: 500px;
  vertical-align: middle;
  font-family: inherit;
}
/* The native select stays in the DOM as the source of truth, but is hidden. */
select.ep-checkdrop__native {
  display: none;
}
.ep-checkdrop__trigger {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  border: 1.5px solid var(--epcd-line);
  border-radius: var(--epcd-radius);
  background: #fff;
  padding: 8px 14px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--epcd-ink);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.ep-checkdrop__trigger:hover {
  border-color: var(--epcd-hover-line);
}
.ep-checkdrop__trigger:focus {
  border-color: var(--epcd-accent);
  box-shadow: 0 0 0 3px rgba(22, 73, 131, 0.35);
  outline: none;
}
.ep-checkdrop__trigger:focus-visible {
  outline: 3px solid var(--epcd-accent);
  outline-offset: 2px;
}
.ep-checkdrop__text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ep-checkdrop__arrow {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  margin-left: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2378716c' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5l6.5 6 6.5-6'/%3E%3C/svg%3E") no-repeat center;
}
.ep-checkdrop__panel {
  display: none;
  position: absolute;
  z-index: 1000;
  left: 0;
  width: 100%;
  min-width: 200px;
  box-sizing: border-box;
  background: #fff;
  border: 1.5px solid var(--epcd-line);
  border-top: none;
  border-radius: 0 0 var(--epcd-radius) var(--epcd-radius);
  box-shadow: 0 4px 12px rgba(28, 25, 23, 0.08);
  max-height: 280px;
  overflow-y: auto;
}
.ep-checkdrop__panel--open {
  display: block;
}
.ep-checkdrop__item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  margin: 0;
  padding: 6px 12px;
  box-sizing: border-box;
  font-size: 1rem;
  font-weight: normal;
  color: var(--epcd-ink);
  cursor: pointer;
  user-select: none;
  border-bottom: 1px solid var(--epcd-line-soft);
}
.ep-checkdrop__item:last-child {
  border-bottom: none;
}
.ep-checkdrop__item:hover {
  background: var(--epcd-hover-bg);
}
.ep-checkdrop__item--select-all {
  font-weight: 600;
  background: var(--epcd-subtle);
  border-bottom: 1px solid var(--epcd-line-mid);
}
.ep-checkdrop__item-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ep-checkdrop__checkbox {
  margin: 0;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--epcd-accent);
}
.ep-checkdrop__checkbox:focus-visible {
  outline: 3px solid var(--epcd-accent);
  outline-offset: 2px;
}
