/* Language Selector — shared styles (ported from SPA_website). */
.lang-selector { position: relative; }
.lang-btn {
    background: transparent;
    border: 1px solid var(--border-default);
    color: var(--text-primary);
    padding: 6px 8px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.lang-btn:hover { background: var(--bg-medium); border-color: var(--accent-primary); }
.lang-selector:hover .lang-btn { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: -1px;
    background: var(--bg-medium);
    border: 1px solid var(--border-default);
    border-top: none;
    border-bottom-left-radius: var(--radius-md);
    border-bottom-right-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: 1000;
    min-width: 100%;
}
.lang-dropdown.show { display: block; }
.lang-option {
    padding: 6px 8px;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
}
.lang-option:hover { background: var(--bg-light); opacity: 1; }
.lang-option.active { opacity: 1; background: var(--bg-dark); border-left: 3px solid var(--accent-primary); }
