.language-selector-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.language-selector-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    transition: color 0.3s ease;
}

.dark .language-selector-title {
    color: #f3f4f6;
}

.selected-file-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.file-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #4b5563;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.dark .file-name {
    color: #9ca3af;
}

.file-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #3b82f6;
    flex-shrink: 0;
}

.change-file-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.375rem;
    border: none;
    background-color: #f3f4f6;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dark .change-file-button {
    background-color: #374151;
    color: #9ca3af;
}

.change-file-button:hover {
    background-color: #e5e7eb;
    color: #1f2937;
}

.dark .change-file-button:hover {
    background-color: #4b5563;
    color: #f3f4f6;
}

.change-file-button svg {
    width: 1.25rem;
    height: 1.25rem;
}
