.sticky-language-switcher {
    position: fixed;
    bottom: 10px;
    left: 10px;
    z-index: 999999999;
}

.language-switcher-toggle {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    background: white;
    border: 1px solid #d7d7d7;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}

.sticky-language-switcher, .language-switcher-dropdown {
    min-width: 124px;
}

.language-switcher-toggle span, .language-item {
    font-size: 18px;
}

.language-switcher-toggle:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.language-switcher-toggle img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 8px;
}

.language-switcher-toggle span {
    color: #333;
    margin-right: 8px;
}

.arrow-icon {
    transition: transform 0.3s ease;
}

.sticky-language-switcher.active .arrow-icon {
    transform: rotate(180deg);
}

.language-switcher-dropdown {
    position: absolute;
    bottom: calc(100% - 5px);
    left: 0;
    padding: 0 0 5px 1px;
    background: white;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border-radius: 5px 5px 0 0;
}

.sticky-language-switcher.active .language-switcher-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-item {
    display: flex;
    align-items: center;
    padding: 10px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.language-item:hover {
    background-color: #f5f5f5;
}

.language-item.active {
    background-color: #f0f0f0;
    font-weight: 500;
}

.language-item img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 8px;
}

@media (max-width: 768px) {
    .sticky-language-switcher, .language-switcher-dropdown {
        min-width: 120px;
    }
    .language-switcher-toggle span, .language-item {
        font-size: initial;
    }
}
