/* 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("/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: 1px solid #e2e8f0;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    list-style: none;
    padding: 5px 0;
    width: 200px;
    max-height: 420px;
    overflow-y: auto;
    z-index: 9999 !important;
    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,
.custom-language-switcher .switcher-dropdown li.active {
    background-color: #f0f0f0 !important;
}

.custom-language-switcher.open .switcher-dropdown,
.custom-language-switcher.custom-language-switcher.open .switcher-dropdown {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Newly added action tags styling across languages */
.newly-added-tag {
    color: #28a745 !important;
    font-weight: bold !important;
    display: inline !important;
}

/* Dynamic styling for Digital Cleanup Challenge Why Join list */
.digital-cleanup-container .cc-simple-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.25rem !important;
}

.digital-cleanup-container .cc-simple-list li {
    display: block !important;
    position: relative !important;
    padding-left: 2rem !important;
    line-height: 1.6 !important;
}

.digital-cleanup-container .cc-simple-list li strong {
    display: inline-block !important;
    white-space: nowrap !important;
    color: #004b66 !important;
    font-weight: bold !important;
    margin-right: 0.35rem !important;
}
