.custom-select {
    width: 60%;
    height: 80%;

    position: absolute;
    left: 3px;
    top: 10%;

    font-family: system-ui, sans-serif;
}


.select-trigger {
    all: unset;
    box-sizing: border-box;

    position: absolute;

    width: 100%;
    height: 80%;

    top: 10%;
    left: 3px;
    
    padding: 12px;
    background: #111;
    color: #0f0;
    border: 1px solid #0f0;
    border-radius: 8px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.select-trigger:focus {
    box-shadow: 0 0 0 5px #0f05;
}

.select-options {
    width: calc(100% - 2px);

    position: absolute;
    inset: auto 0 auto 0;
    top: 90%;
    left: 3px;

    background: #000;
    border: 1px solid #0f0;
    border-radius: 8px;
    padding: o;
    margin: 0;

    list-style: none;
    max-height: 730%;
    overflow-y: auto;

    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: 0.15s ease;

    z-index: 1000;

    scrollbar-gutter: stable;
    scrollbar-width: none;

    list-style: none;
    padding-left: 0 !important;
}

.custom-select.open .select-options {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.select-options li {
    padding: 10px 12px;
    cursor: pointer;
    color: #0f0;
    transform: translateX(0px);
}

.select-options li:hover,
.select-options li.selected {
    background: #0f0;
    color: #000;
}

.select-options li::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    transparent 0%,
    #00ff4144 84%,
    transparent 100%
  );
  transform: translateX(-100%);
  transition: transform 0.37s ease;
  pointer-events: none;
}

.select-options li:hover::before {
  transform: translateX(100%);
}

.select-value {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}