.select__wrap {
    position: relative;
    margin-bottom: 0;
    line-height: 34px;
    width: 100%;
    display: inline-flex;
    align-items: center;
}

.select__icon {
    margin-right: 5px;
}

.select {
    position: relative;
    display: flex;
    align-items: center;
    color: #555;
    background: none;
    padding: 0 20px;
    border: none;
    font-size: 12px;
    outline: none;
    width: 100%;
    height: 15px;
    cursor: pointer;
    transition: all .5s;
    border-right: 1px solid #e0e0e0;
}

.select__wrap:hover .currency-list{
    opacity: 1;
    visibility: visible;
    transform: translateY(15px);
}

.select:hover {
    color: var(--main-color);
}

.select i {
    color: var(--text-color);
    transition: all .5s;
}

.select:hover i:first-child {
    color: var(--main-color);
}

.currency-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: absolute;
    left: 0;
    opacity: 0;
    visibility: hidden;
    top: 100%;
    background: #fff;
    width: fit-content;
    border-radius: 6px;
    z-index: 100;
    box-shadow: 1px 2px 3px rgba(0,0,0, 0.2);
    transform: translateY(45px);
    transition: all .3s;
}

.select-value {
    padding: 5px 5px 5px 10px;
    cursor: pointer;
    width: 170px;
    transition: all .3s;
}

.select-value:first-child {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.select-value:last-child {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}


@media (max-width: 768px) {
    .select-value {
        width: 145px;
    }
}

.select-value:hover {
    background: var(--main-color);
    color: white;
}

@media (max-width: 768px) {
    .select__wrap {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .select {
        font-size: 14px;
        border-bottom: 1px solid #eee;
        padding-bottom: 10px;
        margin-bottom: 0px;
        border-right: none;
        margin-right: 10px;
        height: auto;
        padding: 0;
    }

    .select i {
        margin-right: 10px;
    }

    .currency-list {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: translateY(15px);
        background: none;
        border-radius: 0;
        box-shadow: none;
    }

    .select-value {
        padding: 5px 0;
    }

    .select-value:hover {
        background: none;
        color: #000;
    };
}
