/* Language Switcher Styles */
.language-switcher {
    position: relative;
}

.language-dropdown {
    position: relative;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    color: #333;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.language-btn:hover {
    background: #f5f5f5;
    border-color: #2c5aa0;
}

.language-btn i.fa-globe {
    color: #2c5aa0;
}

.language-btn i.fa-chevron-down {
    font-size: 12px;
    transition: transform 0.2s;
}

.language-dropdown.active .language-btn i.fa-chevron-down {
    transform: rotate(180deg);
}

.language-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    display: none;
    z-index: 1000;
    overflow: hidden;
}

.language-menu.active {
    display: block;
}

.language-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    transition: background 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: #f5f5f5;
}

.language-option.active {
    background: #e8f0fe;
    color: #2c5aa0;
    font-weight: 500;
}

.language-option.active i {
    color: #2c5aa0;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .language-menu {
        right: auto;
        left: 0;
    }
    
    .language-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
}
