/**
 * VideoSat Platform - I18n Stilleri
 */

.language-selector {
    position: relative;
    display: inline-block;
}

.language-selector-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-surface);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.language-selector-btn:hover {
    border-color: var(--primary-color);
    background: var(--bg-card);
}

.language-flag {
    font-size: 1.2rem;
}

.language-name {
    font-weight: 500;
}

.language-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.language-option:hover {
    background: var(--bg-surface);
}

.language-option.active {
    background: var(--primary-color);
    color: #ffffff;
}

.language-option.active .language-flag {
    filter: brightness(0) invert(1);
}

.language-option i {
    margin-left: auto;
    color: var(--primary-color);
}

.language-option.active i {
    color: #ffffff;
}

/* Panel header'da dil seçici */
.panel-header .language-selector {
    margin-left: auto;
}

