/* Language Switcher - Frontend Styles */
.mls-switcher {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
}

.mls-lang-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: inherit;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 14px;
    border-bottom: 2px solid transparent;
}

.mls-lang-link:hover {
    opacity: 0.8;
    background: rgba(0, 0, 0, 0.05);
}

.mls-lang-link.mls-active {
    font-weight: 600;
    border-bottom-color: currentColor;
}

.mls-flag {
    font-size: 24px;
    line-height: 1;
}

/* Dropdown style */
.mls-dropdown {
    position: relative;
    display: inline-block;
}

.mls-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    font-family: inherit;
    color: inherit;
    transition: all 0.2s ease;
}

.mls-dropdown-toggle:hover {
    border-color: #999;
    background: #f9f9f9;
}

.mls-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 160px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    margin-top: 4px;
    overflow: hidden;
}

.mls-dropdown.mls-open .mls-dropdown-menu {
    display: block;
}

.mls-dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: background 0.15s ease;
}

.mls-dropdown-item:hover {
    background: #f0f0f0;
}

/* Codes style */
.mls-style-codes .mls-lang-link {
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
}