/* Language Switcher - Shared Component */
.lang-switcher {
    position: relative;
    z-index: 200;
}

.lang-switcher-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.lang-switcher-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.lang-switcher-btn svg {
    width: 16px;
    height: 16px;
    color: #6b7280;
}

.lang-switcher-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 140px;
    overflow: hidden;
}

.lang-switcher.open .lang-switcher-menu {
    display: block;
}

.lang-switcher-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    transition: background 0.15s;
}

.lang-switcher-menu a:hover {
    background: #f3f4f6;
}

.lang-switcher-menu a.active {
    background: #f3f4f6;
    font-weight: 600;
    color: #111827;
}

@media (max-width: 640px) {
    .lang-switcher-menu {
        right: -8px;
    }
}
