.upload-section {
    margin-bottom: 2rem;
}

.upload-area {
    border: 2px dashed var(--border);
    border-radius: 1rem;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(21, 27, 46, 0.4);
}

.upload-area:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.upload-area.drag-over {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
    transform: scale(1.02);
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.upload-area h3 {
    color: var(--text);
    margin-bottom: 0.5rem;
}

.upload-area p {
    color: var(--text-secondary);
}

.files-container {
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(21, 27, 46, 0.6);
    border-radius: 1rem;
    border: 1px solid rgba(71, 85, 105, 0.3);
}

.files-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(71, 85, 105, 0.3);
}

.files-header h3 {
    color: var(--text);
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.files-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(71, 85, 105, 0.3);
    border-radius: 0.75rem;
    cursor: move;
    transition: all 0.3s ease;
}

.file-item:hover {
    background: rgba(30, 41, 59, 0.9);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.file-item.dragging {
    opacity: 0.5;
    transform: scale(0.98);
}

.drag-handle {
    font-size: 1.25rem;
    cursor: grab;
    color: var(--text-secondary);
    padding: 0.25rem;
    user-select: none;
}

.drag-handle:active {
    cursor: grabbing;
}

.file-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.file-info {
    flex: 1;
    min-width: 0;
}

.file-name {
    color: var(--text);
    font-weight: 600;
    margin-bottom: 0.375rem;
    font-size: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-details {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 400;
}

.file-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-icon {
    padding: 0.625rem 0.75rem;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 0.5rem;
    color: #ef4444;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.125rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: #ef4444;
    transform: scale(1.05);
}

.merge-options {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(21, 27, 46, 0.6);
    border-radius: 1rem;
    border: 1px solid rgba(71, 85, 105, 0.3);
}

.merge-options h3 {
    color: var(--text);
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.options-grid {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1.125rem 1.25rem;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(71, 85, 105, 0.3);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-item:hover {
    background: rgba(30, 41, 59, 0.9);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.option-item input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
    accent-color: var(--primary);
}

.option-item span {
    color: var(--text);
    font-weight: 500;
    font-size: 0.9375rem;
}

.btn-large {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}
