/* Woodduk Multilingual - Language Switcher */
.wdml-lang-switcher {
    position: relative;
    display: inline-block;
    margin-left: 8px;
}

.wdml-lang-current {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    padding: 4px 8px;
    cursor: pointer;
    color: inherit;
    font-size: 13px;
    line-height: 1.4;
    transition: border-color 0.2s, background 0.2s;
}

.wdml-lang-current:hover {
    border-color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.05);
}

.wdml-lang-flag {
    font-size: 14px;
    line-height: 1;
}

.wdml-lang-label {
    font-size: 12px;
}

.wdml-lang-arrow {
    margin-left: 2px;
    transition: transform 0.2s;
}

.wdml-lang-switcher.open .wdml-lang-arrow {
    transform: rotate(180deg);
}

.wdml-lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    list-style: none;
    padding: 4px 0;
    min-width: 140px;
    z-index: 1000;
}

.wdml-lang-switcher.open .wdml-lang-dropdown {
    display: block;
}

.wdml-lang-dropdown li {
    margin: 0;
    padding: 0;
}

.wdml-lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    transition: background 0.15s;
    white-space: nowrap;
}

a.wdml-lang-option:hover {
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
}

.wdml-lang-active {
    font-weight: 600;
    background: #f5f5f5;
}

.wdml-lang-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .wdml-lang-label {
        display: none;
    }

    .wdml-lang-current {
        padding: 4px 6px;
    }

    .wdml-lang-dropdown {
        right: -10px;
    }
}
