.selectWrapper {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  font-size: small;
}

.selectLabel {
  font-weight: 500;
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.selectRequired {
  color: var(--color-error);
  font-weight: 600;
}

.selectContainer {
  position: relative;
  display: inline-block;
}

.select {
  appearance: none;
  background-color: var(--color-bg-primary);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--border-radius);
  padding: 0.5rem 2.5rem 0.5rem 0.75rem;
  line-height: 1.5;
  color: var(--color-text-primary);
  width: 100%;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary), 0.1);
}

.select:hover:not(:disabled) {
  border-color: var(--color-text-muted);
}

.select--small {
  padding: 0.375rem 2rem 0.375rem 0.5rem;
}

.select--medium {
  padding: 0.5rem 2.5rem 0.5rem 0.75rem;
}

.select--large {
  padding: 0.75rem 3rem 0.75rem 1rem;
}

.select--default {
  background-color: var(--color-bg-primary);
  border: 1px solid var(--color-border-dark);
}

.select--outlined {
  background-color: transparent;
  border: 2px solid var(--color-border-dark);
}

.select--outlined:focus {
  border-color: var(--color-primary);
  background-color: var(--color-bg-primary);
}

.select--filled {
  background-color: var(--color-bg-secondary);
  border: 1px solid transparent;
}

.select--filled:focus {
  background-color: var(--color-bg-primary);
  border-color: var(--color-primary);
}

.select--filled:hover:not(:disabled) {
  background-color: var(--color-bg-tertiary);
}

.select--disabled {
  background-color: var(--color-bg-secondary);
  color: var(--color-text-muted);
  cursor: not-allowed;
  border-color: var(--color-border-light);
}

.select--full-width {
  width: 100%;
}

.selectIcon {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.selectChevron {
  width: 1rem;
  height: 1rem;
  color: var(--color-text-secondary);
  transition: transform 0.2s ease-in-out;
}

.select:focus + .selectIcon .selectChevron {
  color: var(--color-primary);
}

.select--disabled + .selectIcon .selectChevron {
  color: var(--color-border-dark);
}

.select--small + .selectIcon {
  right: 0.5rem;
}

.select--small + .selectIcon .selectChevron {
  width: 0.875rem;
  height: 0.875rem;
}

.select--large + .selectIcon {
  right: 1rem;
}

.select--large + .selectIcon .selectChevron {
  width: 1.25rem;
  height: 1.25rem;
}


