﻿/*Custom select*/
.custom-select {
    float: left;
    min-width: 80px;
    width: 130px;
    max-width: 135px;
    font-size: 1.15rem;
    margin-top: 0rem;
    height: 30px;
}


.select-button {
    width: 130px;
    background-color: #fff;
    border: 1px solid #caced1;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 30px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.selected-value {
    text-align: left;
}

.arrow {
    /*border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 6px solid #000;*/
    transition: transform ease-in-out 0.3s;
    z-index: 0;
    color: #a5a5a5;
}

.select-dropdown {
    z-index: 100;
    padding: 2px 0px 0px 0px;
    position: absolute;
    list-style: none;
    width: 130px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background-color: #fff;
    border: 1px solid #caced1;
    border-radius: 5px;
    margin-top: 30px;
    max-height: fit-content;
    overflow-y: scroll;
    max-height: 250px;
    /*transition: 0.5s ease;*/
    transform: scaleY(0);
    opacity: 0;
    visibility: hidden;
}

    .select-dropdown:focus-within {
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }

    .select-dropdown li {
        position: relative;
        cursor: pointer;
        display: flex;
        gap: 1rem;
        align-items: center;
    }

        .select-dropdown li label {
            width: 100%;
            padding: 3px 5px;
            cursor: pointer;
            display: flex;
            font-weight: normal;
            margin: 0px;
            font-size: 12px;
            color: #6d6d6d;
        }

    .select-dropdown::-webkit-scrollbar {
        width: 7px;
    }

    .select-dropdown::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 25px;
    }

    .select-dropdown::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 25px;
    }

    .select-dropdown li:hover,
    .select-dropdown ~ label {
        background-color: #e3e3e3;
    }

    .select-dropdown input[type="radio"] {
        position: absolute;
        left: 0;
        opacity: 0;
    }

/* interactivity */

.custom-select.active .arrow {
    transform: rotate(180deg);
}

.custom-select.active .select-dropdown {
    opacity: 1;
    visibility: visible;
    transform: scaleY(1);
}

    