.yatranslate {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    cursor: pointer;
    font-size: 12px;
}

.yatranslate_lang_selected {
    cursor: pointer;
    background: #7d00ca;
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.yatranslate_langs {
    display: none;
    position: absolute;
    right: 0;
    bottom: 60px;
    background: #fff;
    border: 1px solid #7d00ca;
    border-radius: 10px;
    min-width: 100px;
    max-height: 300px;
    overflow-y: auto;
    flex-wrap: wrap;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.yatranslate_langs::-webkit-scrollbar {
    display: none;
}

.yatranslate_langs a {
    display: block;
    color: #333;
    text-align: center;
    text-decoration: none;
    padding: 8px 12px;
    width: 100%;
    border-bottom: 1px solid #dda6ff;
}

.yatranslate_langs a:hover {
    background: #7d00ca;
    color: #fff;
}

.yatranslate:hover .yatranslate_langs {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}