﻿.language-selector {
    position: relative;
}

.language-dropdown {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .language-dropdown:hover {
        background-color: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.5);
    }

    .language-dropdown.show {
        background-color: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.5);
    }

.language-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.1);
    overflow: hidden;
    min-width: 120px;
    z-index: 1000;
    margin-top: 0.5rem;
    display: none;
}

    .language-menu.show {
        display: block;
    }

.language-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

    .language-item:hover {
        background-color: #f8f9fa;
        color: rgb(0, 163, 232);
        text-decoration: none;
    }

    .language-item.active {
        background-color: rgb(0, 163, 232);
        color: white;
    }

        .language-item.active:hover {
            background-color: rgb(0, 140, 200);
            color: white;
        }

.flag-icon {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    object-fit: cover;
}

.language-selector-desktop {
    display: flex;
}

.language-selector-mobile {
    display: none;
}
