:root {
    --m-select-list-background: #fff;
    --m-select-selected-item: #999999;
    --m-select-item-hover: #365EDC;
    --m-select-item: #999999;
    --m-select-background: #F2F2F2;
}
.m-select {
    width: 100%;
    position: relative;
    border-radius: 8px;
    background-color: var(--m-select-background);
}
.m-select__list {
    list-style: none;
    transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
    position: absolute;
    opacity: 0;
    width: 100%;
    background-color: var(--m-select-list-background);
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.15);
    border-radius: 8px;
}
.m-select__selected {
    width: 100%;
    display: inline-flex;
    cursor: pointer;
    color: var(--m-select-item);
}
.m-select__list.show {
    top: 0%;
    opacity: 1;
    pointer-events: all;
}
.m-select__item {
    padding: 8px 16px;
    box-sizing: border-box;
    color: var(--m-select-item);
    transition: .25s;
    cursor: pointer;
}
.m-select__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    box-sizing: border-box;
}
.m-select__arrow {
    cursor: pointer;
    z-index: 10;
    transition: .3s;
}
.m-select.show .m-select__arrow {
    transform: rotate(180deg);
}
.m-select__item:first-child {
    padding-top: 16px;
}
.m-select__item:last-child {
    padding-bottom: 16px;
}
.m-select__item:hover {
    color: var(--m-select-item-hover);
}
.m-select__item:last-child {
    margin-bottom: 0px;
}
.m-select__arrow-svg {
    width: 12px;
    height: 9px;
}