.select-new {
  position: relative;
  width: 100%;
}

.select-new__label {
  color: #021318;
  display: block;
  font-weight: 400;
  line-height: 130%;
  padding-bottom: 8px;
  font-family: 'Roboto', sans-serif;
}

.select-new__label span {
  color: #ef4444;
  font-weight: 600;
}

.select-new__container {
  position: relative;
  width: 100%;
}

.select-new__input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border: 0.063rem solid #cbd1d6;
  border-radius: 0.625rem;
  cursor: pointer;
  height: 2.875rem;
  padding: 0.375rem 1rem;
  gap: 0.313rem;
  transition: all 200ms ease;
  font-family: 'Roboto', sans-serif;
}

.select-new__input-wrapper[aria-expanded='true'] {
    border-color: var(--blue-secondary-clr);
  }

.select-new__input-wrapper[data-disabled='true'] {
  background-color: #f5f5f5;
  color: #999;
  pointer-events: none;
  cursor: not-allowed;
}

.select-new__input {
  flex: 1 1 auto;
  background: none;
  border: none;
  color: #021318;
  cursor: pointer;
  display: block;
  font-size: 0.938rem;
  font-weight: 400;
  line-height: 130%;
  outline: none;
  padding: 0;
  width: 100%;
  font-family: inherit;
}

.select-new__input::-moz-placeholder {
  color: #999;
  font-weight: 400;
}

.select-new__input::placeholder {
  color: #999;
  font-weight: 400;
}

.select-new__input:-moz-read-only {
  cursor: pointer;
}

.select-new__input:read-only {
  cursor: pointer;
}

.select-new__input:disabled {
  cursor: not-allowed;
  color: #999;
}

.select-new__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform 150ms ease;
  margin-left: 8px;
}

.select-new__icon svg {
  width: 100%;
  height: 100%;
  transition: transform 150ms ease;
  transform: rotate(0deg);
}

.select-new__icon--opened svg {
  transform: rotate(180deg);
}

.select-new__options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1000;
  margin-top: 10px;
  background-color: #ffffff;
  border: 1px solid #021318;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-height: 250px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 150ms ease;
}

.select-new__options--opened {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  border-color: var(--blue-secondary-clr);
}

.select-new__options::-webkit-scrollbar {
  width: 6px;
}

.select-new__options::-webkit-scrollbar-track {
  background: transparent;
}

.select-new__options::-webkit-scrollbar-thumb {
  background-color: #d1d5db;
  border-radius: 3px;
}

.select-new__options::-webkit-scrollbar-thumb:hover {
  background-color: #9ca3af;
}

.select-new__option {
  padding: 12px 16px;
  cursor: pointer;
  transition: all 150ms ease;
  border-left: 4px solid transparent;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 130%;
  color: #021318;
  height: 45px;
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #ffffff;
  border-top: 1px solid #f2f2f2;
}

.select-new__option:first-child {
  border-top: none;
}

.select-new__option:hover {
  background-color: var(--light-purple-clr);
}

.select-new__option--active {
  background-color: #edecff;
  color: #021318;
  border-left-color: #302ec8;
  font-weight: 400;
  cursor: default;
}

.select-new__option--active:hover {
  background-color: #edecff;
}

.select-new__option:active {
  transform: scale(0.98);
}

.select-new__empty {
  padding: 12px 16px;
  text-align: center;
  color: #999;
  font-style: italic;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 130%;
}

@media (max-width: 768px) {
  .select-new__input-wrapper {
    padding: 10px 14px;
    height: 40px;
  }

  .select-new__option {
    padding: 10px 14px;
    height: 40px;
  }

  .select-new__options {
    max-height: 200px;
  }
}

@media (max-width: 480px) {
  .select-new__input-wrapper {
    padding: 8px 12px;
    height: 36px;
  }

  .select-new__input {
    font-size: 14px;
  }

  .select-new__option {
    padding: 8px 12px;
    height: 36px;
    font-size: 14px;
  }

  .select-new__options {
    max-height: 150px;
  }
}
