.custom-select-wrapper {
    position: relative;
    user-select: none;
    margin-left: 3rem;
    margin-top: 3rem
}

.global-account-select-wrapper {
    position: inherit;
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 1rem;
}

.custom-select {
    display: flex;
    flex-direction: column;
}

.custom-select-trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 400;
    height: 3rem;
    line-height: 3rem;
    cursor: pointer;
    border-bottom: 1px solid #9e9e9e;
    padding-right: 1rem;
}

.custom-select-options {
    position: absolute;
    display: block;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid #9e9e9e;
    border-top: 0;
    transition: all 0.5s;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 2;
    background-color: var(--color-white);
    overflow: auto;
    max-height: 25rem;
}

.custom-select.open .custom-select-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.custom-select-option {
    position: relative;
    display: block;
    font-size: 1.2rem;
    color: var(--color-blue);
    background-color: var(--color-white);
    line-height: 3rem;
    cursor: pointer;
}

.custom-select-option:hover {
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.15);
}

.custom-select-option-hovered {
    background-color: rgba(0, 0, 0, 0.25) !important;
}

.custom-select-option.selected {
    color: var(--color-blue);
    background-color: rgba(0, 0, 0, 0.15);
}

.custom-select-arrow {
    position: relative;
    height: 10px;
    width: 10px;
}

.custom-select-arrow::before,
.custom-select-arrow::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 0.15rem;
    height: 100%;
    background-color: var(--color-text);
}

.custom-select-arrow::before {
    left: -3px;
    transform: rotate(-45deg);
}

.custom-select-arrow::after {
    left: 3px;
    transform: rotate(45deg);
}

.open .custom-select-arrow::before {
    left: -3px;
    transform: rotate(45deg);
}

.open .custom-select-arrow::after {
    left: 3px;
    transform: rotate(-45deg);
}


/* dark theme */

[data-theme="dark"] .custom-select-options,
[data-theme="dark"] .custom-select-option {
    background-color: #CCCCCC;
}

[data-theme="dark"] .custom-select-option.selected {
    background-color: #A6A6A6;
}

[data-theme="dark"] .custom-select-option:hover {
    background-color: #EBEBEB;
}

[data-theme="dark"] .custom-select-option-hovered {
    background-color: var(--color-white) !important;
}