/* Container */
.aAxwDjSE-9U- {
  position: relative;
  width: 100%;
}

/* Control (Input button) */
.i9fC83pPHHg- {
  position: relative;
  display: flex;
  align-items: center;
  background-color: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-md);
  min-height: 36px;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
  width: 100%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.i9fC83pPHHg-:hover:not(.GLASRBCOKdI-) {
  border-color: var(--border-strong);
}

.vNXR7hmdZ94- {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 4px var(--focus-ring);
}

.GLASRBCOKdI- {
  opacity: 0.8;
  cursor: not-allowed;
  background-color: var(--input-bg);
}

/* Input */
.laAF3GVE3G4- {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: var(--dark-blue);
  font-size: var(--font-size-sm);
  padding: 8px 40px 8px 12px;
  margin: 0;
  line-height: 1.4;
}

.laAF3GVE3G4-::placeholder {
  color: var(--text-secondary);
  opacity: 0.95;
}

.r9VgFAVGkSM- {
  cursor: pointer;
  caret-color: transparent;
}

/* Value display */
.gURFNaK3yRA- {
  width: 100%;
  color: var(--dark-blue);
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 6px 36px 6px 10px;
  line-height: 1.4;
}

.kQIeCzdovHY- {
  color: var(--dark-blue);
  opacity: 0.6;
}

/* Indicators */
.DHLIoeL62y0- {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  pointer-events: none;
}

.qCPbMMsowyc- {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  cursor: pointer;
  color: var(--dark-blue);
  opacity: 0.5;
  transition:
    opacity 0.2s ease,
    color 0.2s ease;
  pointer-events: all;
  background: none;
  border: none;
  padding: 0;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.qCPbMMsowyc- svg {
  width: 16px;
  height: 16px;
}

.qCPbMMsowyc-:hover {
  opacity: 1;
  color: var(--accent-blue);
}

.Ist81Ba8JC8- {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
  opacity: 0.6;
  transition:
    transform 0.2s,
    opacity 0.2s;
  pointer-events: none; /* Иконка не кликабельна, клик проходит к родителю */
  flex-shrink: 0;
}

.Ist81Ba8JC8- svg {
  width: 16px;
  height: 16px;
}

.i9fC83pPHHg-:hover .Ist81Ba8JC8- {
  opacity: 0.9;
}

.e52A9AhMCh4- {
  transform: rotate(180deg);
  opacity: 1;
}

.JeRqurl23r8- {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--accent-blue);
  opacity: 0.8;
  pointer-events: none;
  flex-shrink: 0;
}

.JeRqurl23r8- svg {
  width: 16px;
  height: 16px;
  animation: Tlu2p94XWvY- 1s linear infinite;
}

@keyframes Tlu2p94XWvY- {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Menu — positioned by Headless UI anchor (portaled to body) */
._3RbJ-OWeyMs- {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 99999;
  pointer-events: auto;
  background-color: var(--surface-elevated);
  border-radius: calc(var(--radius-md) + 2px);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  max-height: 300px;
  border: 1px solid var(--border-subtle);
  width: max-content;
  min-width: 100%;
  max-width: 90vw !important;
  transition: none !important;
  animation: IfIRiSSPXec- 0s backwards;
}

@keyframes IfIRiSSPXec- {
  from {
    opacity: 0;
  }
}

/* Menu list */
.hTIWDU-Nl4M- {
  max-height: 300px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--icon-grey) transparent;
}

/* Scrollbar styling for Webkit browsers */
.hTIWDU-Nl4M-::-webkit-scrollbar {
  width: 8px;
}

.hTIWDU-Nl4M-::-webkit-scrollbar-track {
  background: transparent;
  border-radius: var(--radius-sm);
}

.hTIWDU-Nl4M-::-webkit-scrollbar-thumb {
  background: var(--icon-grey);
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease;
}

.hTIWDU-Nl4M-::-webkit-scrollbar-thumb:hover {
  background: var(--accent-blue);
}

/* Option */
.wtFnem80nHw- {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  cursor: pointer;
  color: var(--dark-blue);
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
  user-select: none;
  white-space: nowrap;
}

.wtFnem80nHw-:hover,
.QniZp84vVNo- {
  background-color: var(--accent-soft);
}

.PDPD7Vw4dpE- {
  background-color: var(--accent-soft);
  font-weight: 500;
}

._5Fzjaf8MSbg- {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Checkbox for multi-select */
.fM2xxZXsoOI- {
  margin-right: 8px;
  cursor: pointer;
}

/* Multi-value chips */
._4Hscx3SlQu4- {
  display: inline-flex;
  align-items: center;
  background-color: var(--accent-soft);
  border-radius: 4px;
  padding: 2px 8px;
  margin: 2px;
  font-size: 13px;
  color: var(--dark-blue);
}

.ZvdiVt8sQtU- {
  padding-right: 4px;
}

._6EDCwO2nh4E- {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0 4px;
  opacity: 0.6;
  transition: opacity 0.2s;
}

._6EDCwO2nh4E-:hover {
  opacity: 1;
}

/* No options message */
.f9-zWhIuiaE- {
  padding: 12px;
  text-align: center;
  color: var(--text-secondary);
}

/* Loading state in menu */
.HEHk9DBi9ts- {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 12px;
  gap: var(--spacing-sm);
}

.brzsn-au0jo- {
  color: var(--accent-blue);
  animation: Tlu2p94XWvY- 1s linear infinite;
}

._3IsJ0TK0-iI- {
  color: var(--dark-blue);
  opacity: 0.7;
  font-size: 14px;
}

/* Async select with label */
.p3TUsN-eyGc- {
  display: grid;
  grid-template-columns: minmax(auto, max-content) 1fr;
  gap: var(--spacing-sm);
  align-items: center;
}

.RCzaCJNBbYc- {
  display: flex;
  align-items: center;
  color: var(--font-color);
  white-space: nowrap;
  min-width: fit-content;
}
