.selection {
    position: relative;
    width: 100%;
    border-radius: 12px;
}
.selection::before {
    content: "";
    position: absolute;
    right: 20px;
    bottom: 20px;
    z-index: 50;
    width: 12px;
    height: 12px;
    border: 2px solid grey;
    border-top: transparent;
    border-right: transparent;
    transform: rotate(-45deg);
    pointer-events: none;
    transition: all 0.3s linear;
}
.selection.z50 .options { z-index: 50; }
.selection.z100 .options { z-index: 100; }
.selection input {
    border-radius: 9px;
    border: 2px solid transparent;;
    outline: none;
    box-shadow: 0 10px 25px rgba(124, 130, 141, 0.2);
    user-select: none;
}
.options {
    width: 100%;
    border-radius: 12px;
    cursor: pointer;
    background: var(--white);
    outline: none;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    position: absolute;
    z-index: 100;
    top: calc(100% + 5px);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-25px);
}
.option {
    color: var(--secondary);
    padding: 14px 16px;
    transition: all 0.2s ease;
}
.option.selected {
    font-weight: 700;
    color: var(--black);
}
.option:hover { background: var(--input); }
.selection.opened input { border: 2px solid rgba(0, 0, 0, 0.2); }
.selection.opened .options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.selection.opened::before {
    transform: rotate(-225deg);
    bottom: 16px;
}

.selection input.warning,
.selection.opened input.warning {
    border: 2px solid var(--negative);
}
