.language-selector-card {
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.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;
}

.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;
}

.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;
}

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

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

.language-selector-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.language-actions {
    display: flex;
    gap: 0.75rem;
}

.action-button {
    font-size: 0.875rem;
    color: #2563eb;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: color 0.2s ease;
}

.action-button:hover {
    color: #1d4ed8;
}

.convert-button {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: white;
    background: linear-gradient(to bottom, #3b82f6, #2563eb);
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.2;
}

.convert-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.06);
}

.convert-button:active {
    transform: translateY(0);
}

.convert-button.disabled {
    background: #e5e7eb;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Dark mode styles */
.dark .language-selector-card {
    background-color: #1f2937;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2), 0 1px 2px 0 rgba(0, 0, 0, 0.1);
}

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

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

.dark .file-icon {
    color: #60a5fa;
}

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

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

.dark .language-selector-footer {
    border-color: #374151;
}

.dark .action-button {
    color: #60a5fa;
}

.dark .action-button:hover {
    color: #93c5fd;
}

.dark .convert-button.disabled {
    background: #374151;
}
