/* High specificity using the class name twice or !important where needed */
.custom-language-switcher.custom-language-switcher {
    position: relative;
    display: inline-block !important;
    font-family: Arial, sans-serif !important;
    font-size: 1rem !important;
    color: #333 !important;
}

.custom-language-switcher .switcher-btn {
    background-color: transparent !important;
    background-image: url("https://carbonchallenge-uat.concentrix.com/app/uploads/2025/11/Icon_-2.svg") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-size: 12px 12px !important;
    border: none !important;
    box-shadow: none !important;
    padding: 8px 30px 8px 12px !important;
    font-size: inherit;
    color: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: auto;
    min-width: 120px;
    height: 40px;
    outline: none !important;
}

/* Hide original text chevron since we use the SVG background */
.custom-language-switcher .switcher-btn .chevron {
    display: none !important;
}

.custom-language-switcher .switcher-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background: #fff;
    border: none !important;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    list-style: none;
    padding: 5px 0;
    width: 180px;
    z-index: 999;
    margin: 0;
}

.custom-language-switcher .switcher-dropdown li {
    padding: 0; /* Remove padding from LI to make link fully clickable */
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.custom-language-switcher .switcher-dropdown li a {
    text-decoration: none;
    color: #333;
    display: block;
    font-size: 1rem;
    padding: 8px 15px;
}

.custom-language-switcher .switcher-dropdown li:hover {
    background-color: #f0f0f0 !important;
}

.custom-language-switcher.open .switcher-dropdown {
    display: block;
}

