/* AECOM Navigation Language Switcher Styles */

/* Namespace all selectors to prevent conflicts */
.aecom-translation-plugin .aecom-language-switcher-nav-item,
.aecom-language-switcher-nav-item {
    position: relative;
    display: inline-block;
    list-style: none;
}

.aecom-language-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    text-decoration: none;
    color: inherit;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.aecom-language-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.aecom-dropdown-arrow {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.aecom-language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 150px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 1000;
    margin-top: 4px;
    padding: 8px 0;
}

.aecom-language-dropdown.active {
    display: block;
}

.aecom-language-dropdown li {
    list-style: none;
    margin: 0;
}

.aecom-translation-link {
    display: block;
    padding: 10px 16px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s ease;
}

.aecom-translation-link:hover {
    background-color: #f8f9fa;
    color: #0073aa;
}





/* Responsive adjustments */
@media (max-width: 768px) {
    .aecom-language-toggle {
        padding: 6px 8px;
    }
    
    .aecom-lang-text {
        font-size: 12px;
    }
    
    .aecom-language-dropdown {
        right: auto;
        left: 0;
        min-width: 140px;
    }
}
