.language-switcher {
    position: relative;
    margin-left: 15px;
}

.lang-dropdown {
    position: relative;
    cursor: pointer;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: background 0.3s ease;
}

.lang-current:hover {
    background: rgba(255, 255, 255, 0.15);
}

.lang-flag {
    font-size: 1.2em;
}

.lang-name {
    font-weight: 500;
}

.lang-options {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.lang-options.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    color: #333;
    transition: background 0.2s ease;
}

.lang-option:hover {
    background: #f5f5f5;
}

.lang-option.active {
    background: #e3f2fd;
    color: #1976d2;
    font-weight: 600;
}

.lang-option:first-child {
    border-radius: 8px 8px 0 0;
}

.lang-option:last-child {
    border-radius: 0 0 8px 8px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .lang-current .lang-name {
        display: none;
    }

    .lang-options {
        right: -20px;
    }
}