
.custom-select-wrapper {
    position: relative;
    user-select: none;
}

.custom-select {
    background-color: var(--colorLogo);
    color: white;
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.custom-select span {
    color: white;
    padding-right: 1rem;
}

.custom-select:hover {
    border-color: var(--colorLogo);
}

.custom-select::after {
    content: "▼";
    font-size: 0.7rem;
    color: #fff;
    transition: transform 0.2s ease;
}

.custom-select-wrapper.open .custom-select::after {
    transform: rotate(180deg);
}

.select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    /* top: -75px; */
    background-color: white;
    z-index: 100;
    display: none;
    max-height: 50vh;
    width: fit-content;
    min-width: 200px;
    max-width: 200px;
    white-space: nowrap;
    overflow-y: auto;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.custom-select-wrapper.open .select-options {
    display: block;
}

.option {
    text-overflow: ellipsis;
    word-wrap: break-word;
    overflow: hidden;
    white-space: nowrap;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background-color 0.15s ease, color 0.15s ease;

}

.option:hover {
    background-color: var(--colorLogo);
    color: white;
}

.option.selected {
    background-color: var(--colorLogo);
    color: #fff;
}

@media screen and (max-width: 500px)
{
    .select-options {
        max-width: 100%;
        width: 100%;
    }
}