/* H-FEC Language Switcher Styles */
.hfec-lang-switcher {
    position: relative;
    display: inline-flex;
    z-index: 100;
}
.hfec-lang-switcher__toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    padding: 6px 12px;
    cursor: pointer;
    color: inherit;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}
.hfec-lang-switcher__toggle:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.3);
}
.hfec-lang-switcher__arrow {
    transition: transform 0.3s ease;
}
.hfec-lang-switcher[aria-expanded="true"] .hfec-lang-switcher__arrow {
    transform: rotate(180deg);
}
.hfec-lang-switcher__dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 150px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    padding: 6px;
    list-style: none;
    margin: 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
}
.hfec-lang-switcher--open .hfec-lang-switcher__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.hfec-lang-switcher__item {
    margin: 0;
}
.hfec-lang-switcher__link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    color: #1e293b;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}
.hfec-lang-switcher__link:hover {
    background: rgba(0,119,182,0.08);
    color: #0077B6;
}
.hfec-lang-switcher__item--active .hfec-lang-switcher__link {
    background: rgba(0,119,182,0.1);
    color: #0077B6;
    font-weight: 600;
}
.hfec-lang-switcher__flag {
    font-size: 18px;
    line-height: 1;
}
[data-theme="dark"] .hfec-lang-switcher__dropdown {
    background: rgba(17,24,39,0.95);
    border-color: rgba(255,255,255,0.1);
}
[data-theme="dark"] .hfec-lang-switcher__link {
    color: #e2e8f0;
}
[data-theme="dark"] .hfec-lang-switcher__link:hover {
    background: rgba(0,180,216,0.15);
    color: #00B4D8;
}
