.custom-select-container {
  position: relative;
  box-sizing: border-box;
}
.custom-select-container * {
  box-sizing: border-box;
}
.custom-select-container.is-disabled {
  opacity: 0.333;
}
.custom-select-opener {
  background-color: var(--white-100);
  display: block;
  cursor: pointer;
  width: 100%;
  font: inherit;
  border-radius: 3px;
  border: 1px solid var(--gray-300);
  padding: 1.8rem 2.4rem;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  font-size: 1.45rem;
  color: var(--gray-100);
}
.custom-select-opener::after {
  content: url(../svg/arrow-bottom-blue.svg);
  transform: translateY(-1.5px);
}

.custom-select-opener span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  max-width: 6rem;
}

@media (min-width: 1200px) {
  .custom-select-opener span {
    max-width: 7rem;
  }
}

@media (min-width: 1780px) {
  .custom-select-opener span {
    max-width: 100%;
  }
}

.custom-select-container select {
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
}
.custom-select-panel {
  max-height: 0;
  transition: max-height 0.2s ease-out, overflow-y 0.1s 0.5s;
  overflow: hidden;
  background-color: var(--white-100);
  position: absolute;
  top: 100%;
  z-index: 1;
  margin-top: 0.7rem;
  border-radius: 0 3px 8px 8px;
}
.custom-select-container.is-open .custom-select-panel {
  max-height: 16.7em;
  overflow-y: auto;
  box-shadow: 0 3px 10px #959595;
}

.custom-select-panel::-webkit-scrollbar {
  width: 8px;
}

.custom-select-panel::-webkit-scrollbar-thumb {
  background: var(--gray-100);
  border-radius: 20px;
}

.custom-select-option {
  color: var(--gray-100);
  padding: 1.5rem 2.1rem;
  padding-right: 5rem;
  white-space: nowrap;
  cursor: pointer;
  font-size: 1.45rem;
}
.custom-select-option.has-focus {
  background-color: #edf3f7;
}

.custom-select-optgroup > .custom-select-option {
  padding-left: 2em;
}
